冰楓論壇

標題: TwMS v151.2_ICS_物品過濾 [打印本頁]

作者: zx29632373    時間: 2012-12-13 18:14
標題: TwMS v151.2_ICS_物品過濾
//151.2_ICS_物品過濾
//Update: (RW)FOREVER
[Enable]
Registersymbol(CheckESP)
Alloc(CheckESP,512)
Registersymbol(ItemList)
Alloc(ItemList,204800)
Label(HookESP)
Label(HookFun)
Label(HookOr1)
Label(HookOr2)
Label(Filter)
Label(Skip)
Label(End)
ItemList:
//請在以下加入欲過濾名單
//請在以上加入欲過濾名單
DD 00
CheckESP:
Cmp [Esp+6C], 004FC141
Je  HookESP
Jmp 0074B5F1
HookESP:
Mov [Esp+6C], HookFun
Jmp 0074B5F1
HookFun:
mov eax,[ebp-1C]
mov esi,[ebp-54]
mov [esi+1C],al
cmp eax,01
Je HookOr1
cmp eax,02
Je HookOr1
xor al,al
Jmp HookOr2
HookOr1:
mov al,01
HookOr2:
mov [esi+1D],al
mov [esi+20],edi
mov edi,[ebp+08]
mov ecx,edi
call 00408B78
movzx eax,al
mov ecx,edi
Xor Eax, Eax   //過濾楓幣
mov [esi+30],eax
call 00408BD4
PUSH ESI
MOV ESI,ItemList
Filter:
CMP EAX,C350
JLE End
CMP DWORD PTR DS:[ESI],0
Je End
CMP DWORD PTR DS:[ESI],EAX
Je Skip
ADD ESI,4
JMP Filter
Skip:
XOR EAX,EAX
End:
POP ESI
MOV ECX,EDI
MOV [ESI+34],EAX
Jmp 004FC17C
00E71014:
DD CheckESP
[Disable]
00E71014:
DD 0074B5F1
UnRegistersymbol(CheckESP)
DeAlloc(CheckESP)
UnRegistersymbol(ItemList)
DeAlloc(ItemList)
作者: 瘋子    時間: 2012-12-18 22:07
提示: 作者被禁止或刪除 內容自動屏蔽




歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓