var m1
var m2
var baddr
var bdone
var patch
var seip
var _jmp
var start
mov seip, eip
mov patch, 401000 // 运行地址
mov eip, patch
mov start, 40FEB0 // 首个 jmp[] 项地址
decide:
cmp eip, baddr
jne next
gmi esi, MODULEBASE
mov m1, $RESULT
gmi edi, MODULEBASE
mov m2, $RESULT
cmp m1, m2
jne none
mov !ZF,1
run
none:
mov !ZF,0
run
next:
cmp eip, bdone
jne err
bc bdone
bc baddr
fill patch, 60, 00
mov eip, seip
ret