071吸怪代码 保证有用,不会的那就磨法子了
//add:008E880C
//eip:maxYoJo
//add:008E87E6
//eip:YoYoDupe
[ENABLE]
registersymbol(YoYoDupe)
registersymbol(AfterXTimer)
registersymbol(maxYoYoCounter)
registersymbol(YoyoRunFlag)
registersymbol(maxYoJo)
registersymbol(maxYoYoOnOff)
registersymbol(ESIAddy)
registersymbol(ESIValue)
registersymbol(EDIValue)
registersymbol(ESIValueTemp)
alloc(YoYoDupe, 240)
alloc(YoyoRunFlag, 4)
alloc(ESIAddy,4)
alloc(ESIValue, 4)
alloc(EDIValue, 4)
alloc(maxYoJo, 256)
alloc(AfterXTimer,4)
alloc(maxYoYoCounter,4)
alloc(maxYoYoOnOff,4)
alloc(ESIValueTemp,4)
label(NoVac)
label(DupeXVac)
label(doGetEsiNormal)
YoyoRunFlag:
dd 0
ESIAddy:
dd 0
ESIValue:
dd 0
EDIValue:
dd 0
ESIValueTemp:
dd 0
maxYoYoOnOff:
dd 1
maxYoYoCounter:
dd 1
AfterXTimer:
dd 1
YoYoDupe:
mov [ESIValueTemp],esi
Cmp [ESIAddy], 0
Je NoVac
CMP [ESIValue], esi
JE NoVac
CMP [maxYoYoOnOff], 0
JE NoVac
INC [maxYoYoCounter]
PUSH EAX
MOV EAX, [AfterXTimer]
CMP [maxYoYoCounter], eax
POP EAX
JL NoVac
Push Eax
Push Ebx
Mov Eax,[ESIAddy]
Mov Ebx,[EDIValue]
Mov [Eax+110],Ebx
Mov Eax,[Eax+110]
Mov [Eax+4C],Ebx
Mov [Eax+50],Ebx
Pop Ebx
Pop Eax
MOV [maxYoYoCounter], 0
NoVac:
CMP EAX,EDX
JNE 008E87EE
Jmp 008E87EA
maxYoJo:
PUSH EAX
PUSH ECX
Cmp [YoyoRunFlag], 2
Je DupeXVac
Mov Eax,[00acf5c0]
Add Eax, d30
Mov Eax, [Eax]
Sub Eax, C
Mov [ESIValue],Eax
Mov Eax,[Eax+114]
Mov [EDIValue],Eax
Inc [YoyoRunFlag]
Inc [YoyoRunFlag]
DupeXVac:
Cmp Esi,[ESIValue]
Je doGetEsiNormal
Push Ecx
Mov Ecx,ESIAddy
Mov [Ecx],Esi
Pop Ecx
doGetEsiNormal:
Mov [Esi+00000110],Edi
POP ECX
POP EAX
Jmp 008E8812
[DISABLE]
unregistersymbol(maxYoYoCounter)
unregistersymbol(AfterXTimer)
unregistersymbol(ESIAddy)
unregistersymbol(YoYoDupe)
unregistersymbol(YoyoRunFlag)
unregistersymbol(ESIAddy)
unregistersymbol(ESIValue)
unregistersymbol(EDIValue)
unregistersymbol(ESIValueTemp)
unregistersymbol(maxYoYoOnOff)
dealloc(maxYoYoCounter)
dealloc(AfterXTimer)
dealloc(YoYoDupe)
dealloc(YoyoRunFlag)
dealloc(ESIValue)
dealloc(EDIValue)
dealloc(ESIValueTemp)
dealloc(ESIAddy)