Function at 0x417040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x150]
cmp eax, dword [ecx + 8]
jbe 0x4184ee
sub esp, 0x1d0
lea eax, [0x8e76b4]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00402250
mov eax, dword [0x8e76b4]
cmp eax, 1
jne 0x41708b
mov eax, 1
jmp 0x417091
cmp eax, 2
sete al
mov byte [0x8e7a74], al
test al, al
je 0x4170a2
mov eax, 1
jmp 0x4170a9
movzx eax, byte [0x8e7a75]
mov byte [0x8e7a70], al
lea eax, [0x8e8490]
mov dword [esp], eax
call fcn.00402280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x8c1fd4], eax
mov dword [0x8c1fd0], ecx
nop
call fcn.004650a0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x88], edx
mov ebx, dword [esp]
mov dword [esp + 0x54], ebx
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov dword [ecx + 0x78], 5
lea edi, [ecx + 0x74]
mov dword [esp + 0x1cc], edi
mov eax, dword [0x8e7a70]
test eax, eax
jne 0x417128
lea eax, [0x6c8660]
mov dword [ecx + 0x74], eax
jmp 0x417133
lea eax, [0x6c8660]
call fcn.00464190
mov dword [esp + 0x1bc], ecx
mov byte [ecx + 0x9d], 2
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x1c4], eax
nop
mov byte [eax + 0x64], 6
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.0043b000
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
lea eax, [0x418500]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xf8]
mov dword [esp], eax
call fcn.00462c70
lea eax, [0x6e4414]
mov dword [esp], eax
call fcn.00462c70
mov eax, dword [esp + 0x1bc]
mov byte [eax + 0x9d], 0
mov ecx, dword [esp + 0x1c4]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.0043b000
movzx eax, byte [0x8cbca8]
test al, al
je 0x41722d
mov byte [esp], 8
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004551f0
mov ecx, dword [esp + 0x1bc]
mov dword [ecx + 0x78], 0
mov edx, dword [0x8e7a70]
test edx, edx
jne 0x41724e
mov dword [ecx + 0x74], 0
jmp 0x41725c
mov edi, dword [esp + 0x1cc]
xor eax, eax
call fcn.00464190
mov eax, dword [0x8e76b4]
test eax, eax
jne 0x4184d7
lea eax, [0x8e8538]
mov dword [esp], eax
call fcn.00402280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x8eda0c], eax
mov dword [0x8eda08], ecx
lea eax, [0x6e4404]
mov dword [esp], eax
call fcn.00462c70
nop
call fcn.004650a0
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [esp]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x58], edx
call fcn.004650e0
mov eax, dword [esp]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
imul ebx, ebx, 0x3b9aca00
add edx, ebx
mov ebx, ecx
sar ecx, 0x1f
add ebx, eax
mov dword [esp + 0x90], ebx
adc edx, ecx
mov dword [esp + 0x94], edx
mov eax, dword [0x8c1fc0]
mov ecx, dword [0x8c1fc4]
mov ebp, dword [esp + 0x50]
mov esi, ebp
sub ebp, eax
mov eax, dword [esp + 0x58]
mov edi, eax
sbb eax, ecx
mov ecx, dword [0x8c1fb8]
mov ebx, dword [0x8c1fbc]
add ecx, ebp
adc eax, ebx
mov dword [0x8c1fb8], ecx
mov dword [0x8c1fbc], eax
mov eax, dword [esp + 0x84]
mov dword [0x8c1fb4], eax
mov dword [0x8c1fb0], esi
mov ecx, dword [0x8c1fc0]
mov ebx, dword [0x8c1fc4]
sub esi, ecx
sbb edi, ebx
lea ebx, [0x8eda18]
mov dword [esp], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call fcn.00408680
lea eax, [0x8ec9e0]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
call fcn.004022a0
lea eax, [0x8eda00]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.004022a0
mov eax, dword [0x8ed9f0]
and eax, 0xff
lea ecx, [0x8ec9f0]
lea edx, [ecx + eax*8]
mov ebx, dword [0x8c1fb8]
mov ebp, dword [0x8c1fbc]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x8ed9f0]
and eax, 0xff
lea ecx, [0x8ed1f0]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x90]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [esp + 0x94]
mov dword [eax], ecx
mov eax, dword [0x8ec9e8]
mov ecx, dword [0x8ec9ec]
mov edx, dword [0x8c1fb8]
mov ebx, dword [0x8c1fbc]
add eax, edx
adc ecx, ebx
mov dword [0x8ec9e8], eax
mov dword [0x8ec9ec], ecx
mov eax, dword [0x8c1f90]
mov dword [esp + 0xec], eax
mov ecx, dword [0x8c1fa0]
mov dword [esp + 0xe8], ecx
mov edx, dword [0x8c1f98]
mov dword [esp + 0xe4], edx
sub ecx, edx
mov dword [esp + 0xe0], ecx
mov ebp, eax
mov eax, ecx
mul ebp
mov dword [esp + 0xdc], edx
mov dword [esp + 0x98], eax
mov edi, dword [0x8c1fa4]
mov dword [esp + 0xd8], edi
mov eax, dword [0x8c1f9c]
mov dword [esp + 0xd4], eax
nop
lea ecx, [0x8e84e8]
mov dword [esp], ecx
call fcn.00402100
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], ecx
lea edx, [0x8e84f0]
mov dword [esp], edx
call fcn.00402100
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
lea edx, [0x8e84f8]
mov dword [esp], edx
call fcn.00402100
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
lea edx, [0x8e8500]
mov dword [esp], edx
call fcn.00402100
mov eax, dword [0x8c1f90]
mov dword [esp + 0xd0], eax
mov ecx, dword [0x8c1fb0]
mov edx, dword [0x8c1fa8]
mov ebx, ecx
sub ecx, edx
mov dword [esp + 0xcc], ecx
mov ebp, eax
mov eax, ecx
mov esi, edx
mul ebp
mov dword [esp + 0xc8], edx
mov dword [esp + 0xac], eax
mov edi, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
sub edi, eax
mov eax, dword [esp + 0xd8]
mov edi, dword [esp + 0xd4]
sbb eax, edi
mov dword [esp + 0xd8], eax
mov edi, dword [0x8c1fb4]
mov ecx, dword [0x8c1fac]
sub ebx, esi
sbb edi, ecx
mov dword [esp + 0xd4], edi
nop
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 8]
mov dword [esp + 0x64], ebx
lea esi, [0x8e7b70]
mov dword [esp], esi
call fcn.00402100
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
lea edx, [0x8e7b78]
mov dword [esp], edx
call fcn.00402100
mov eax, dword [0x8c1fe0]
mov ecx, dword [0x8c1fe4]
mov edx, dword [esp + 0x4c]
add eax, edx
mov ebx, dword [esp + 0x70]
adc ecx, ebx
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
add ebp, esi
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
adc esi, edi
mov edi, dword [esp + 4]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 8]
mov dword [esp + 0x68], edi
mov dword [0x8c1fe0], eax
mov dword [0x8c1fe4], ecx
mov eax, dword [0x8c1fe8]
mov ecx, dword [0x8c1fec]
add eax, ebp
adc ecx, esi
mov dword [0x8c1fe8], eax
mov dword [0x8c1fec], ecx
mov eax, dword [0x8c1ff0]
mov ecx, dword [0x8c1ff4]
mov ebp, dword [esp + 0x40]
add eax, ebp
mov esi, dword [esp + 0x64]
adc ecx, esi
mov edi, dword [esp + 0xec]
sar edi, 0x1f
mov esi, dword [esp + 0xd8]
mov ebp, dword [esp + 0xec]
imul esi, ebp
mov ebp, dword [esp + 0xdc]
add ebp, esi
mov esi, dword [esp + 0xe0]
imul esi, edi
add ebp, esi
mov dword [esp + 0xe8], ebp
mov esi, dword [esp + 0xd0]
mov edi, esi
sar esi, 0x1f
mov ebx, dword [esp + 0xd4]
imul ebx, edi
mov edi, dword [esp + 0xc8]
add ebx, edi
mov edi, dword [esp + 0xcc]
imul edi, esi
add ebx, edi
mov dword [esp + 0xe4], ebx
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0xac]
add esi, edi
adc ebp, ebx
mov dword [0x8c1ff0], eax
mov dword [0x8c1ff4], ecx
mov eax, dword [0x8c1ff8]
mov ecx, dword [0x8c1ffc]
add eax, esi
adc ecx, ebp
mov ebp, dword [esp + 0x98]
add edx, ebp
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0xe8]
adc esi, ebp
mov ebp, dword [esp + 0x48]
add ebp, edx
mov edx, dword [esp + 0x5c]
adc esi, edx
mov edx, dword [esp + 0x44]
add edx, ebp
mov ebp, dword [esp + 0x60]
adc esi, ebp
mov ebp, dword [esp + 0x40]
add ebp, edx
mov edx, dword [esp + 0x64]
adc edx, esi
add ebp, edi
adc edx, ebx
mov dword [0x8c1ff8], eax
mov dword [0x8c1ffc], ecx
mov eax, dword [0x8c2000]
mov ecx, dword [0x8c2004]
add eax, ebp
adc edx, ecx
mov dword [0x8c2000], eax
mov dword [0x8c2004], edx
mov eax, dword [0x8c2008]
mov ecx, dword [0x8c200c]
mov edx, dword [esp + 0x3c]
add eax, edx
mov ebp, dword [esp + 0x6c]
adc ecx, ebp
mov dword [0x8c2008], eax
mov dword [0x8c200c], ecx
mov eax, dword [0x8c2010]
mov ecx, dword [0x8c2014]
mov esi, dword [esp + 0x38]
add eax, esi
mov ebx, dword [esp + 0x68]
adc ecx, ebx
add esi, edx
adc ebx, ebp
mov dword [0x8c2010], eax
mov dword [0x8c2014], ecx
mov eax, dword [0x8c2018]
mov ecx, dword [0x8c201c]
add eax, esi
adc ebx, ecx
mov dword [0x8c2018], eax
mov dword [0x8c201c], ebx
mov eax, dword [0x8c2a38]
mov ecx, dword [0x8e76b8]
mov dword [esp + 0xec], ecx
mov edx, dword [esp + 0x50]
mov ebx, edx
sub edx, eax
mov ebp, eax
mov eax, ecx
mov esi, edx
mul edx
mov edi, dword [0x8c2a3c]
sub ebx, ebp
mov ebx, dword [esp + 0x58]
sbb ebx, edi
mov ebp, dword [0x8c2a40]
mov edi, dword [0x8c2a44]
sar ecx, 0x1f
imul esi, ecx
lea ecx, [edx + esi]
mov edx, dword [esp + 0xec]
imul ebx, edx
add ecx, ebx
add ebp, eax
adc edi, ecx
mov dword [0x8c2030], ebp
mov dword [0x8c2034], edi
lea eax, [0x8c2f60]
mov dword [esp], eax
call fcn.00402100
mov eax, dword [0x8c2020]
mov ecx, dword [0x8c2024]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
add eax, edx
adc ecx, ebx
mov dword [0x8c2020], eax
mov dword [0x8c2024], ecx
mov edx, dword [0x8c2000]
mov ebx, dword [0x8c2004]
mov ebp, dword [0x8c2018]
mov esi, dword [0x8c201c]
add edx, ebp
adc ebx, esi
add edx, eax
adc ebx, ecx
mov eax, dword [0x8c2030]
mov ecx, dword [0x8c2034]
sub eax, edx
sbb ecx, ebx
mov dword [0x8c2028], eax
mov dword [0x8c202c], ecx
mov eax, dword [0x8c2000]
mov ecx, dword [0x8c2004]
mov edx, dword [0x8c1ff0]
mov ebx, dword [0x8c1ff4]
sub eax, edx
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045d050
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xf0], xmm0
mov eax, dword [0x8c2030]
mov ecx, dword [0x8c2034]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045d050
movsd xmm0, qword [esp + 0xf0]
divsd xmm0, qword [esp + 8]
movsd qword [0x8ed9f8], xmm0
nop
lea eax, [0x8e7b70]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004020c0
nop
lea eax, [0x8e7b78]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004020c0
nop
lea eax, [0x8c2f60]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004020c0
mov dword [0x8c19cc], 0
mov dword [0x8c19d0], 0
movzx eax, byte [0x8c1f6c]
test al, al
je 0x417938
inc dword [0x8ed9f4]
nop
lea eax, [0x8c1f84]
mov dword [esp], eax
call fcn.00409c60
inc dword [0x8ed9f0]
lea eax, [0x8c1f88]
mov dword [esp], eax
call fcn.0043f8e0
nop
nop
lea eax, [0x8c1f84]
mov dword [esp], eax
call fcn.00409e60
lea eax, [0x8e7ca0]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.00419bd0
lea eax, [0x8e76c4]
mov dword [esp], eax
call fcn.0042d550
lea eax, [0x8c19d4]
mov dword [esp], eax
call fcn.00423890
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x4184c1
mov byte [esp + 0x23], cl
mov dword [esp + 0xe0], eax
lea eax, [0x6e4418]
mov dword [esp], eax
call fcn.00462c70
call fcn.0042daf0
call fcn.00425f30
lea eax, [0x6e43f8]
mov dword [esp], eax
call fcn.00462c70
lea eax, [0x6e4420]
mov dword [esp], eax
call fcn.00462c70
lea eax, [0x8c19d4]
mov dword [esp], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 8], al
call fcn.00423910
mov eax, dword [0x8e7c5c]
test eax, eax
jle 0x41839a
movsd xmm0, qword [0x72fed8]
mulsd xmm0, qword [0x8ed9f8]
movsd qword [esp + 0xf0], xmm0
lea edi, [esp + 0x104]
xor eax, eax
call fcn.0046442a
call fcn.00438530
mov ecx, dword [0x8c1f98]
mov edx, dword [0x8c1f9c]
mov ebx, dword [0x8e77b8]
mov ebp, dword [0x8e77bc]
sub ecx, ebx
sbb edx, ebp
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.0045d3a0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x417aa6
mov ecx, dword [esp + 0xc8]
mov eax, edx
mov edx, edi
test edx, edx
sete bl
cmp ecx, 0xa
xchg ebp, ebx
setae bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, ebp
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x417ad1
cmp eax, 0x14
jl 0x417baa
mov dword [esp + 0x8c], ecx
mov ebx, eax
mov eax, edx
mov ebp, 0xcccccccd
mov esi, edx
mul ebp
shr edx, 3
lea edi, [edx + edx*4]
shl edi, 1
sub esi, edi
mov eax, 0x19999999
mov edi, edx
mul esi
mov dword [esp + 0xe0], edx
mov dword [esp + 0xdc], eax
mov eax, ecx
mul ebp
shr edx, 3
mov eax, ebx
lea ebx, [edx + edx*4]
shl ebx, 1
sub ecx, ebx
lea ebx, [esi + esi*2]
lea ebx, [ecx + ebx*2]
mov ecx, eax
mov eax, ebp
mov esi, edx
mul ebx
shr edx, 3
mov dword [esp + 0xcc], edx
mov ebx, esi
add esi, 0
mov ebp, dword [esp + 0xdc]
add ebp, esi
add edx, ebp
mov dword [esp + 0xc8], edx
mov eax, 0xa
mul edx
add ebx, 0
adc edi, 0
mov edx, dword [esp + 0xdc]
add edx, esi
mov edx, dword [esp + 0xe0]
adc edi, edx
mov edx, dword [esp + 0xcc]
add edx, ebp
adc edi, 0
mov edx, dword [esp + 0x8c]
sub edx, eax
add edx, 0x30
cmp ecx, 0x18
jae 0x4184b5
mov byte [esp + ecx + 0x104], dl
lea edx, [ecx - 1]
cmp ecx, 0x15
jne 0x417a9b
mov byte [esp + ecx + 0x103], 0x2e
mov edx, 0x13
jmp 0x417a9b
add ecx, 0x30
cmp eax, 0x18
jae 0x4184ab
mov byte [esp + eax + 0x104], cl
mov ecx, dword [0x8ed9f0]
mov dword [esp + 0xe0], ecx
lea edx, [esp + 0x174]
mov dword [esp], edx
lea edx, [eax - 0x18]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
lea eax, [esp + eax + 0x104]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044ec30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc4], ecx
call fcn.00438530
lea eax, [0x6c8222]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00438e30
mov dword [esp + 4], 0
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00438ab0
lea eax, [0x6c7fa2]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438e30
mov eax, dword [esp + 0x1c8]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00438e30
lea eax, [0x6c8068]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438e30
movsd xmm0, qword [esp + 0xf0]
cvttsd2si eax, xmm0
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00438c30
lea eax, [0x6c8099]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00438e30
call fcn.004385a0
mov eax, dword [0x8c1f98]
mov ecx, dword [0x8c1f9c]
mov dword [esp + 0xa0], ecx
lea edi, [esp + 0x11c]
mov edx, eax
xor eax, eax
call fcn.0046442a
mov ecx, dword [0x8c1fa0]
mov ebx, dword [0x8c1fa4]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], ebx
mov ecx, dword [0x8c1fa8]
mov ebx, dword [0x8c1fac]
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], ebx
mov ecx, dword [0x8c1fb0]
mov ebx, dword [0x8c1fb4]
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], ebx
xor ecx, ecx
mov ebx, dword [esp + 0xa0]
jmp 0x417dda
sub esi, edx
sbb ebp, ebx
lea edx, [esp + 0x104]
mov dword [esp], edx
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
call fcn.00419680
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x154]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ec30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc4], ecx
call fcn.00438530
mov eax, dword [esp + 0x1c8]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00438e30
call fcn.004385a0
mov eax, dword [esp + 0xb4]
lea ecx, [eax + 1]
xor eax, eax
mov ebx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
cmp ecx, 3
jge 0x417e58
mov dword [esp + 0xb4], ecx
lea ebp, [esp + ecx*8 + 0x11c]
mov esi, dword [ebp]
mov dword [esp + 0x9c], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0xa0], ebp
test ecx, ecx
je 0x417d3c
mov dword [esp + 0xe0], edx
mov dword [esp + 0xec], ebx
call fcn.00438530
lea eax, [0x6c7f95]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00438e30
call fcn.004385a0
mov edx, dword [esp + 0xe0]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
jmp 0x417d3c
call fcn.00438530
lea eax, [0x6c9d82]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00438e30
call fcn.004385a0
nop
lea eax, [0x8e84e8]
mov dword [esp], eax
call fcn.00402100
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
lea edx, [0x8e84f0]
mov dword [esp], edx
call fcn.00402100
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
lea edx, [0x8e84f8]
mov dword [esp], edx
call fcn.00402100
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0xe0], edx
mov eax, dword [esp + 0x74]
adc eax, ecx
mov dword [esp + 0xec], eax
nop
lea ecx, [0x8e8500]
mov dword [esp], ecx
call fcn.00402100
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x194]
mov edx, eax
xor eax, eax
call fcn.00464426
mov eax, dword [esp + 0x98]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1b0], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x1b8], eax
xor eax, eax
jmp 0x418021
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
call fcn.00419680
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x134]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ec30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc4], ecx
call fcn.00438530
mov eax, dword [esp + 0x1c8]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00438e30
call fcn.004385a0
mov eax, dword [esp + 0xb0]
inc eax
cmp eax, 5
jge 0x4180ca
mov dword [esp + 0xb0], eax
lea ecx, [esp + eax*8 + 0x194]
mov edx, dword [ecx]
mov dword [esp + 0xa4], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0xa8], ecx
cmp eax, 2
je 0x418055
cmp eax, 3
jne 0x418088
call fcn.00438530
lea eax, [0x6c7f97]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00438e30
call fcn.004385a0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x417f99
test eax, eax
je 0x417f99
call fcn.00438530
lea eax, [0x6c7f95]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00438e30
call fcn.004385a0
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x417f99
lea eax, [0x8e84a8]
mov dword [esp], eax
call fcn.00402280
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
lea edx, [0x8e84b8]
mov dword [esp], edx
call fcn.00402280
mov eax, dword [0x8c1fcc]
mov dword [esp + 0xe8], eax
mov ecx, dword [0x8c1fc8]
mov dword [esp + 0xe4], ecx
mov edx, dword [0x8c1fd4]
mov dword [esp + 0xe0], edx
mov ebx, dword [0x8c1fd0]
mov dword [esp + 0xdc], ebx
mov ebp, dword [0x8c1fdc]
mov dword [esp + 0xcc], ebp
mov esi, dword [0x8c1fd8]
mov dword [esp + 0xc8], esi
mov edi, dword [0x8e848c]
mov dword [esp + 0xc0], edi
mov edi, dword [0x8e8488]
mov dword [esp + 0xbc], edi
mov edi, dword [esp + 8]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 4]
mov dword [esp + 0x24], edi
mov edi, dword [0x8c1f94]
mov dword [esp + 0xec], edi
call fcn.00438530
lea eax, [0x6c9300]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00438e30
mov eax, dword [esp + 0xe8]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xe4]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00438ab0
lea eax, [0x6c7fb8]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438e30
mov eax, dword [esp + 0xe0]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xdc]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00438ab0
lea eax, [0x6c7fb8]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438e30
mov eax, dword [esp + 0xcc]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xc8]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00438ab0
lea eax, [0x6c84ad]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00438e30
mov eax, dword [esp + 0xc0]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xbc]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00438ab0
lea eax, [0x6c974b]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00438e30
mov eax, dword [esp + 0x7c]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0x28]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00438ab0
lea eax, [0x6ca31b]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00438e30
mov eax, dword [esp + 0x78]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0x24]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00438ab0
lea eax, [0x6ca966]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00438e30
mov eax, dword [esp + 0xec]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00438c30
lea eax, [0x6c7fa4]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438e30
call fcn.004385a0
movzx eax, byte [0x8c1f6c]
test al, al
je 0x418356
call fcn.00438530
lea eax, [0x6c92a6]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00438e30
call fcn.004385a0
call fcn.00438530
call fcn.00438750
call fcn.004385a0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x41839a
nop
lea eax, [0x8e7680]
mov dword [esp], eax
call fcn.00409e60
nop
lea eax, [0x8c19e0]
mov dword [esp], eax
call fcn.00409c60
mov eax, dword [0x8c19f0]
mov dword [esp + 0x1c0], eax
mov ecx, dword [0x8c19f4]
mov dword [esp + 0xb8], ecx
mov dword [0x8c19f4], 0
mov dword [0x8c19f8], 0
mov edx, dword [0x8e7a70]
test edx, edx
jne 0x4183ed
mov dword [0x8c19f0], 0
jmp 0x4183fa
lea edi, [0x8c19f0]
xor eax, eax
call fcn.00464190
nop
nop
lea eax, [0x8c19e0]
mov dword [esp], eax
call fcn.00409e60
xor eax, eax
jmp 0x418431
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x1c0]
lea edx, [ecx + eax*8]
mov edx, dword [edx]
mov dword [esp], edx
call fcn.00403aa0
mov eax, dword [esp + 0xc4]
inc eax
mov ecx, dword [esp + 0xb8]
cmp eax, ecx
jl 0x41840e
lea eax, [0x88b564]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00449470
lea eax, [0x88b544]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00449470
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x1bc]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4184a4
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4184a4
mov dword [eax + 8], 0xfffffade
add esp, 0x1d0
ret
mov ecx, 0x18
call fcn.00464210
mov eax, ecx
mov ecx, 0x18
call fcn.00464210
lea eax, [0x6d1125]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004368a0
lea eax, [0x6d20ce]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004368a0
nop
call fcn.00462d80
jmp fcn.00417040