Professional Documents
Culture Documents
1
//Always use an anti-anti-debug plugin (SharpOD, ScyllaHide, etc.)
//Start
bp GetCommandLineA
erun
bc GetCommandLineA
ertr 2
sto
bph $result + 5
erun
bphc
mov $tmp, 0
loop:
ertr
sto
cmp $tmp, 3
inc $tmp
jb loop
d
cmt cip, "OEP"
ret
error:
msg "Couldn't find the pattern!"
ret