1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
|
PeakD:
push ecx
mov ecx,[esp+08h]
push ebp
push esi
push edi
mov eax,[ecx+0Ch]
mov dword ptr [esp+0Ch],00000000h
cmp eax,00000003h
jl L10001520
cmp eax,40000000h
jg L10001520
mov eax,[esp+20h]
mov edi,[esp+18h]
mov dword ptr [eax],00000000h
mov dl,[ecx+24h]
test dl,01h
jz L1000150F
mov esi,[ecx+0Ch]
mov eax,[esp+1Ch]
push ebx
mov dword ptr [esp+1Ch],FFFFB1DFh
mov eax,[eax]
lea ebp,[esi+esi*4]
shl ebp,03h
lea ebx,[ebp+2Bh]
and ebx,FFFFFFF8h
test eax,eax
jz L10001415
lea ecx,[ebx+04h]
push ecx
push eax
call SUB_L100162EA
add esp,00000008h
test eax,eax
jnz L1000143A
mov edx,[esp+20h]
shr ebx,03h
mov eax,[edx]
mov ecx,[eax]
xor eax,eax
mov [ecx],ebx
jmp L1000145B
L10001415:
lea edx,[ebx+04h]
push edx
call SUB_L100162CC
mov ecx,[esp+24h]
add esp,00000004h
test eax,eax
mov [ecx],eax
jz L1000143A
mov edx,ecx
shr ebx,03h
mov eax,[edx]
mov ecx,[eax]
xor eax,eax
mov [ecx],ebx
jmp L1000145B
L1000143A:
mov edx,[esp+20h]
mov eax,[edx]
test eax,eax
jz L10001457
push eax
call SUB_L100162AE
mov eax,[esp+24h]
add esp,00000004h
mov dword ptr [eax],00000000h
L10001457:
mov eax,[esp+1Ch]
L1000145B:
mov ecx,[esp+24h]
pop ebx
test eax,eax
mov [ecx],eax
jnz L1000152A
mov edx,[esp+1Ch]
mov [edi],esi
lea ecx,[esi+esi*2]
mov eax,[edx]
mov eax,[eax]
add eax,00000004h
add ebp,eax
lea edx,[eax+ecx*8]
mov ecx,esi
shl ecx,05h
add ecx,eax
mov [edi+24h],ebp
mov [edi+20h],ecx
add ebp,00000018h
xor ecx,ecx
mov [edi+1Ch],edx
mov [edi+18h],ebp
shl esi,03h
L1000149A:
mov edx,[edi+18h]
add ecx,00000004h
mov [edx+ecx-04h],eax
add eax,esi
cmp ecx,0000000Ch
jl L1000149A
L100014AB:
mov edx,[esp+14h]
push edi
push edx
call SUB_L100015B0
mov ecx,[esp+28h]
add esp,00000008h
test eax,eax
mov [ecx],eax
jnz L1000152A
mov eax,[esp+14h]
mov esi,[eax+20h]
add eax,00000014h
push esi
push eax
call SUB_L10001580
add esp,00000008h
mov [esp+0Ch],eax
test eax,eax
jnz L1000152A
mov edx,[esp+14h]
push esi
add edx,00000018h
push edx
call SUB_L10001580
add esp,00000008h
mov [esp+0Ch],eax
test eax,eax
jnz L1000152A
mov eax,[esp+14h]
push esi
add eax,0000001Ch
push eax
call SUB_L10001580
add esp,00000008h
mov [esp+0Ch],eax
jmp L1000152A
L1000150F:
mov ecx,[esp+1Ch]
cmp dword ptr [ecx],00000000h
jnz L100014AB
mov dword ptr [eax],FFFFB1A0h
jmp L1000152A
L10001520:
mov ecx,[esp+20h]
mov dword ptr [ecx],FFFFB1A3h
L1000152A:
mov edx,[esp+14h]
pop edi
pop esi
pop ebp
test byte ptr [edx+24h],04h
jnz L10001548
mov eax,[esp+14h]
cmp dword ptr [eax],00000000h
jnz L10001548
mov eax,[esp+00h]
test eax,eax
jz L1000157D
L10001548:
mov ecx,[esp+14h]
cmp dword ptr [ecx],FFFFB1DFh
jnz L1000155C
mov dword ptr [esp+00h],00000002h
L1000155C:
mov edx,[esp+10h]
mov eax,[edx]
test eax,eax
jz L10001579
push eax
call SUB_L100162AE
mov eax,[esp+14h]
add esp,00000004h
mov dword ptr [eax],00000000h
L10001579:
mov eax,[esp+00h]
L1000157D:
pop ecx
retn |
Partager