TwMS v150.2_ICS_物品過濾


//TwMS v150.2_ICS_物品過濾
//Up to date by.Onion from knowlet3389.blogspot.tw

[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], 004EEFDC
Je  HookESP
Jmp 0072C5C5

HookESP:
Mov [Esp+6C], HookFun
Jmp 0072C5C5

HookFun:
mov eax,[ebp-1C]
mov esi,[ebp-50]
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 00408b13
movzx eax,al
mov ecx,edi
//Xor Eax, Eax //過濾楓幣
mov [esi+30],eax
call 00408b6f
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 004EF017

00DFCA4C:
DD CheckESP

[Disable]

00DFCA4C:
DD 0072C5C5
UnRegistersymbol(CheckESP)
DeAlloc(CheckESP)
UnRegistersymbol(ItemList)
DeAlloc(ItemList)

留言

  1. 請問舊版的洋蔥不能用了嗎?我用新洋蔥都會出現run-time error '6' overflow

    回覆刪除
  2. 過濾物品還是這樣出現耶?
    該怎麼用??

    回覆刪除

張貼留言

本月最夯

偷用電腦,怎知?事件檢視器全記錄!(開機時間、啟動項時間...)