While reading a book it mentioned that the following code is usually used to as an antidebugger
mov eax, large fs:18h
mov eax, [eax+30h]
movzx eax, byte ptr [eax+2]
retn
I don't understand what are the keywords large
, byte
, ptr
and retn
. I am new learner of assembly and its usage in malware.
[eax 30h]
is not valid assembler.