//上能跨平台

//VirProtector 0.1

var temp

var temps

mov temps,eip

add temps,270

mov temp,eip

add temp,27D

mov [temp],#8D148B8B1A891889780466C707FF2589570283C00890909090909090909090#

add temp,5B

mov [temp],#8D0C8B8B09890883C0089090909090#





gpa "VirtualAlloc","kernel32.dll"

cmp $RESULT,0

je err

var iat

mov iat,$RESULT

bp $RESULT

esto

esto

bc eip

rtu

mov temp,eax

eval "IAT:{temp}"

msg $RESULT



find eip,#50C3#

cmp $RESULT,0

je err

add $RESULT,1

go $RESULT

sto

cmt eip,"OEP!!!"



end:

ret



err:

msg "Error"

ret