2021-03-16 11:20:24 +00:00
|
|
|
offset 40cf90
|
|
|
|
|
|
|
|
#define
|
|
|
|
count=EBP-4
|
|
|
|
Strip_addr=0049D628
|
2021-03-24 01:29:02 +00:00
|
|
|
Credit.mode=49D620
|
2021-04-02 04:20:34 +00:00
|
|
|
MAX_STRIP=40
|
2021-03-16 11:20:24 +00:00
|
|
|
size=50
|
2021-03-24 01:29:02 +00:00
|
|
|
|
|
|
|
Strip.flag=EAX
|
|
|
|
Strip.x=EAX+4
|
|
|
|
Strip.y=EAX+8
|
|
|
|
Strip.cast=EAX+0C
|
|
|
|
Strip.str=EAX+10
|
2021-03-16 11:20:24 +00:00
|
|
|
#enddefine
|
2021-03-24 01:29:02 +00:00
|
|
|
push ebp
|
|
|
|
mov ebp, esp
|
|
|
|
push ecx
|
2021-03-16 11:20:24 +00:00
|
|
|
|
2021-03-24 01:29:02 +00:00
|
|
|
mov eax, [Strip_addr]
|
|
|
|
mov edx, MAX_STRIP
|
2021-03-16 11:20:24 +00:00
|
|
|
|
2021-03-24 01:29:02 +00:00
|
|
|
:$LL4@ActionStri
|
|
|
|
test BYTE [Strip.flag], 80
|
|
|
|
je :$LN5@ActionStri
|
|
|
|
cmp [Credit.mode], 0
|
|
|
|
je :$LN5@ActionStri
|
|
|
|
|
|
|
|
sub [Strip.y], 100
|
|
|
|
|
|
|
|
:$LN5@ActionStri
|
|
|
|
cmp [Strip.y], -2000
|
|
|
|
jg :$LN2@ActionStri
|
|
|
|
|
|
|
|
and [Strip.flag], 0
|
|
|
|
|
|
|
|
:$LN2@ActionStri
|
|
|
|
add eax, size
|
|
|
|
sub edx, 1
|
|
|
|
jne :$LL4@ActionStri
|
2021-03-16 11:20:24 +00:00
|
|
|
|
2021-03-24 01:29:02 +00:00
|
|
|
leave
|
|
|
|
retn
|