温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,汇文网负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
网站客服:3074922707
Thinstall
2.521
OEP
Finder
/*
============================
.:[OllyScript Editor v2.0]:.
Author: GaBoR RES]
Packer: Thinstall 2.521
Script for: Thinstall 2.521 packed appz
Level: Intermediate
Date: Monday, November 28, 2005
Thanks to: MaDMAn_H3rCul3s, haggar
for their tutorials on Thinstall
============================
*/
var GetEnvironmentVariableA
var v
gpa "GetEnvironmentVariableA","kernel32.dll"
mov GetEnvironmentVariableA,$RESULT
bp GetEnvironmentVariableA
run
run
run
rtu
bc GetEnvironmentVariableA
find eip,#83BDE4FEFFFF00#
bp $RESULT
run
bc $RESULT
sto
sto
sto
sto
sto
sti
find eip,#0F84#
bphws $RESULT,"x"
run
bphwc $RESULT
cmp eax,0
jne change
cont:
rtr
/*
uncomment the following line if you don't have "After Executing till RET, step over RET" enabled in "Debugging Options->Trace'"
*/
//sto
find eip,#5968FA000000#
bp $RESULT
run
bc $RESULT
find eip,#83601000#
mov v,$RESULT
add v,24
bp v
run
bc v
sti
cmt eip,"OEP reached"
msg "Dump & fix IAT"
ret
change:
repl eip,#0F84#,#0F85#,2
jmp cont