You are on page 1of 1

//Tested on VMProtect v3.3.

1
//Always use an anti-anti-debug plugin (SharpOD, ScyllaHide, etc.)

msg "VMProtect v3.x.x OEP Finder by Yildo & Mobile46"

//Clear or disable breakpoints


//bpc
//bphc
//bpmc
bpd
bphd
bpmd

//Start
bp GetCommandLineA
erun
bc GetCommandLineA

ertr 2
sto

find cip, "E8 ?? ?? ?? ??"


cmp $result, 0
je error

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

You might also like