吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 4102|回复: 1
收起左侧

[Scripts] !EP Exe Pack (Software Compress) 1.2

[复制链接]
mycsy 发表于 2009-8-9 01:15
//////////////////////////////////////////////////////////
// !EP Exe Pack (Software Compress) 1.2
// Get Thunk Table Addresses, Keep Original Thunk Table,
// Calculate Thunk Table Size, Find OEP
// Written by Fungus
// Date: 2006-31-10
//////////////////////////////////////////////////////////

var addr1            // temp variable for thunk table origin
var addr2            // temp variable for think table end
var org                // variable for thunk table origin
var end               // variable for thunk table end
var size               // variable for thunk table size
var oep               // variable for OEP
var temp

eob getthunk
findop eip,#61#
bphws $RESULT,"x"
mov temp,$RESULT
run

getthunk:             // get thunk table origin, end, and size

eob dothunk
bphwc temp
findop eip,#0305#
bphws $RESULT,"x"
mov temp,$RESULT
run

dothunk:

eob findoep

bphwc temp
sto
mov addr1,eax      // get thunk table origin
mov org,eax
sto
sto
sto
sto
sto
sto
sto
sto
sto
mov addr2,ebx      // get thunk table end
mov end,ebx
sub addr2,addr1    // calculate size
mov size,addr2
find eip,#8907#
fill $RESULT,2,90 // keep original thunk table
find eip,#61#
bphws $RESULT,"x"
mov temp,$RESULT
run

findoep:                // find OEP

bphwc temp
sto
sto
sti
mov oep,eip
eval "OEP = {oep}"
msg $RESULT
eval "Start of Thunk Table = {org}"
msg $RESULT
eval "End of Thunk Table = {end}"
msg $RESULT
eval "Size of Thunk Table = {size}"
msg $RESULT
ret

/end

!EPack_Lite_1.2_OEP_Finder.txt

1.43 KB, 下载次数: 0, 下载积分: 吾爱币 -1 CB

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

taody 发表于 2013-10-10 21:02
耐人寻味,经典中的经典
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-12-26 13:11

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表