📄 asprotect 2.0x oep finder + stolen code finder + fix iat jumps.txt
字号:
//This one finds OEP, stolen code and clear IAT jumpsvar VirtualAllocvar loader_basevar loader_epvar loader_oepvar first_importvar second_importvar stolen_codevar oepvar tempvar temp2msg "Ignore ALL exceptions and delete ALL breakpoints before start!!!"dbh//Get to OEP of loader:gpa "VirtualAlloc","kernel32.dll"cmp $RESULT,0je errormov VirtualAlloc,$RESULTbp VirtualAllocestoestobc eiprtrmov loader_base,eaxstirtrmov loader_ep,[esp]stististimov temp,espbphws temp,"r"estobphwc temprtrstimov loader_oep,eip//Patch first import routine:mov first_import,loader_baseadd first_import,13780mov [first_import],#66C700FF1540408910892A909090909090#//Patch second import routine:mov second_import,loader_baseadd second_import,1CEBEmov [second_import],#6890909090C39090#mov temp,second_importadd temp,1mov [temp],loader_basemov temp,loader_basemov [temp],#014308892A6890909090C3#add temp,6mov temp2,loader_baseadd temp2,1CC73mov [temp],temp2//Find OEP and stolen code:mov stolen_code,loader_baseadd stolen_code,13767bp stolen_codeestobc eipmov oep,ebxmov stolen_code,ecxbp ecxestobc eipcmt eip,"<-- Stolen code starts here!"msg "Script is done! Check log for more information. "dbs//Logging notes:log " "log " ASPR2.0 - UNPACKING SCRIPT NOTES"log " "log loader_baselog loader_eplog loader_oeplog first_importlog second_importlog oeplog stolen_codereterror:msg "ERROR! Exiting......"ret
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -