📄 pespin 1.txt
字号:
/*========================================================================== PESpin 1.0-1.3 Delphi IAT repair script for OllyScript plugin (SHaG)========================================================================== Script should work on all Windows systems. On a big files (1MB and more) this script can be *very* slow (it takes minutes). The purpose of this script is to change imports jumps from JMP DWORD[xxxxxxxx] to JMP yyyyyyyy. Then you need to build basic smalest IAT manually. Read tutorial for more info. [ haggar ]==========================================================================*/var importsmov imports,0var Vvar addrmov addr,401000log "[ Number of found and fixed imports ]"//This part will find jumps to API:search:findop addr,#FF25????????#cmp $RESULT,0je doneadd $RESULT,2mov V,[$RESULT]mov V,[V]sub V,$RESULTsub V,3sub $RESULT,2fill $RESULT,1,E9add $RESULT,1mov [$RESULT],Vadd $RESULT,4fill $RESULT,1,90inc importsmov addr,$RESULTsub addr,4jmp searchdone://This one finds calls:mov addr,401000search2:findop addr,#FF15????????#cmp $RESULT,0je done2add $RESULT,2mov V,[$RESULT]mov V,[V]sub V,$RESULTsub V,3sub $RESULT,2fill $RESULT,1,E8add $RESULT,1mov [$RESULT],Vadd $RESULT,4fill $RESULT,1,90inc importsmov addr,$RESULTsub addr,4jmp search2done2:log importsret
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -