malware-dev/6-self-deleting-file/error.asm
2023-11-03 16:58:05 +02:00

15 lines
166 B
NASM

.code
GetTEB proc
mov rax, qword ptr gs:[30h]
ret
GetTEB endp
CustomError proc
xor eax, eax
call GetTEB
mov eax, dword ptr [rax+68h]
ret
CustomError endp
end