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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x148]
cmp eax, dword [ecx + 8]
jbe 0x416d22
sub esp, 0x1c8
lea eax, [0x5a3d0c]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00402210
mov eax, dword [0x5a3d0c]
cmp eax, 1
jne 0x41587b
mov eax, 1
jmp 0x415881
cmp eax, 2
sete al
mov byte [0x5a3e94], al
test al, al
je 0x415892
mov eax, 1
jmp 0x415899
movzx eax, byte [0x5a3e95]
mov byte [0x5a3e90], al
lea eax, [0x5a45f0]
mov dword [esp], eax
call fcn.00402240
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x57f574], eax
mov dword [0x57f570], ecx
nop
call fcn.00464540
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 + 0x1c4], edi
mov eax, dword [0x5a3e90]
test eax, eax
jne 0x415918
lea eax, [0x4ce042]
mov dword [ecx + 0x74], eax
jmp 0x415923
lea eax, [0x4ce042]
call fcn.00463740
mov dword [esp + 0x1b4], ecx
mov byte [ecx + 0x9d], 2
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x1bc], eax
nop
mov byte [eax + 0x64], 6
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.00439e70
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
lea eax, [0x416d30]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xf0]
mov dword [esp], eax
call fcn.00462260
lea eax, [0x4d8638]
mov dword [esp], eax
call fcn.00462260
mov eax, dword [esp + 0x1b4]
mov byte [eax + 0x9d], 0
mov ecx, dword [esp + 0x1bc]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.00439e70
movzx eax, byte [0x588328]
test al, al
je 0x415a1d
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.00456400
mov ecx, dword [esp + 0x1b4]
mov dword [ecx + 0x78], 0
mov edx, dword [0x5a3e90]
test edx, edx
jne 0x415a3e
mov dword [ecx + 0x74], 0
jmp 0x415a4c
mov edi, dword [esp + 0x1c4]
xor eax, eax
call fcn.00463740
mov eax, dword [0x5a3d0c]
test eax, eax
jne 0x416d0b
lea eax, [0x5a4698]
mov dword [esp], eax
call fcn.00402240
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5a754c], eax
mov dword [0x5a7548], ecx
lea eax, [0x4d8628]
mov dword [esp], eax
call fcn.00462260
nop
call fcn.00464540
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.00464580
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 [0x57f560]
mov ecx, dword [0x57f564]
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 [0x57f558]
mov ebx, dword [0x57f55c]
add ecx, ebp
adc eax, ebx
mov dword [0x57f558], ecx
mov dword [0x57f55c], eax
mov eax, dword [esp + 0x84]
mov dword [0x57f554], eax
mov dword [0x57f550], esi
mov ecx, dword [0x57f560]
mov ebx, dword [0x57f564]
sub esi, ecx
sbb edi, ebx
lea ebx, [0x5a7558]
mov dword [esp], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call fcn.00408560
lea eax, [0x5a6520]
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.00402260
lea eax, [0x5a7540]
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.00402260
mov eax, dword [0x5a7530]
and eax, 0xff
lea ecx, [0x5a6530]
lea edx, [ecx + eax*8]
mov ebx, dword [0x57f558]
mov ebp, dword [0x57f55c]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x5a7530]
and eax, 0xff
lea ecx, [0x5a6d30]
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 [0x5a6528]
mov ecx, dword [0x5a652c]
mov edx, dword [0x57f558]
mov ebx, dword [0x57f55c]
add eax, edx
adc ecx, ebx
mov dword [0x5a6528], eax
mov dword [0x5a652c], ecx
mov eax, dword [0x57f530]
mov dword [esp + 0xec], eax
mov ecx, dword [0x57f540]
mov dword [esp + 0xe8], ecx
mov edx, dword [0x57f538]
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 [0x57f544]
mov dword [esp + 0xd8], edi
mov eax, dword [0x57f53c]
mov dword [esp + 0xd4], eax
nop
lea ecx, [0x5a4648]
mov dword [esp], ecx
call fcn.004020c0
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], ecx
lea edx, [0x5a4650]
mov dword [esp], edx
call fcn.004020c0
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
lea edx, [0x5a4658]
mov dword [esp], edx
call fcn.004020c0
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
lea edx, [0x5a4660]
mov dword [esp], edx
call fcn.004020c0
mov eax, dword [0x57f530]
mov dword [esp + 0xd0], eax
mov ecx, dword [0x57f550]
mov edx, dword [0x57f548]
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 [0x57f554]
mov ecx, dword [0x57f54c]
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, [0x5a3f50]
mov dword [esp], esi
call fcn.004020c0
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
lea edx, [0x5a3f58]
mov dword [esp], edx
call fcn.004020c0
mov eax, dword [0x57f580]
mov ecx, dword [0x57f584]
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 [0x57f580], eax
mov dword [0x57f584], ecx
mov eax, dword [0x57f588]
mov ecx, dword [0x57f58c]
add eax, ebp
adc ecx, esi
mov dword [0x57f588], eax
mov dword [0x57f58c], ecx
mov eax, dword [0x57f590]
mov ecx, dword [0x57f594]
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 [0x57f590], eax
mov dword [0x57f594], ecx
mov eax, dword [0x57f598]
mov ecx, dword [0x57f59c]
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 [0x57f598], eax
mov dword [0x57f59c], ecx
mov eax, dword [0x57f5a0]
mov ecx, dword [0x57f5a4]
add eax, ebp
adc edx, ecx
mov dword [0x57f5a0], eax
mov dword [0x57f5a4], edx
mov eax, dword [0x57f5a8]
mov ecx, dword [0x57f5ac]
mov edx, dword [esp + 0x3c]
add eax, edx
mov ebp, dword [esp + 0x6c]
adc ecx, ebp
mov dword [0x57f5a8], eax
mov dword [0x57f5ac], ecx
mov eax, dword [0x57f5b0]
mov ecx, dword [0x57f5b4]
mov esi, dword [esp + 0x38]
add eax, esi
mov ebx, dword [esp + 0x68]
adc ecx, ebx
add esi, edx
adc ebx, ebp
mov dword [0x57f5b0], eax
mov dword [0x57f5b4], ecx
mov eax, dword [0x57f5b8]
mov ecx, dword [0x57f5bc]
add eax, esi
adc ebx, ecx
mov dword [0x57f5b8], eax
mov dword [0x57f5bc], ebx
mov eax, dword [0x57f8d8]
mov ecx, dword [0x5a3d10]
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 [0x57f8dc]
sub ebx, ebp
mov ebx, dword [esp + 0x58]
sbb ebx, edi
mov ebp, dword [0x57f8e0]
mov edi, dword [0x57f8e4]
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 [0x57f5d0], ebp
mov dword [0x57f5d4], edi
lea eax, [0x57fe00]
mov dword [esp], eax
call fcn.004020c0
mov eax, dword [0x57f5c0]
mov ecx, dword [0x57f5c4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
add eax, edx
adc ecx, ebx
mov dword [0x57f5c0], eax
mov dword [0x57f5c4], ecx
mov edx, dword [0x57f5a0]
mov ebx, dword [0x57f5a4]
mov ebp, dword [0x57f5b8]
mov esi, dword [0x57f5bc]
add edx, ebp
adc ebx, esi
add edx, eax
adc ebx, ecx
mov eax, dword [0x57f5d0]
mov ecx, dword [0x57f5d4]
sub eax, edx
sbb ecx, ebx
mov dword [0x57f5c8], eax
mov dword [0x57f5cc], ecx
mov eax, dword [0x57f5a0]
mov ecx, dword [0x57f5a4]
mov edx, dword [0x57f590]
mov ebx, dword [0x57f594]
sub eax, edx
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044c530
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xdc], ecx
mov edx, dword [0x57f5d0]
mov ebx, dword [0x57f5d4]
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.0044c530
mov eax, dword [esp + 0xe0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.0044b2a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x5a7538], eax
mov dword [0x5a753c], ecx
nop
lea eax, [0x5a3f50]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402080
nop
lea eax, [0x5a3f58]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402080
nop
lea eax, [0x57fe00]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402080
mov dword [0x57f1bc], 0
mov dword [0x57f1c0], 0
movzx eax, byte [0x57f50c]
test al, al
je 0x416146
inc dword [0x5a7534]
nop
lea eax, [0x57f524]
mov dword [esp], eax
call fcn.00409920
inc dword [0x5a7530]
lea eax, [0x57f528]
mov dword [esp], eax
call fcn.0043e750
nop
nop
lea eax, [0x57f524]
mov dword [esp], eax
call fcn.00409b20
lea eax, [0x5a4040]
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.00418400
lea eax, [0x5a3d1c]
mov dword [esp], eax
call fcn.0042c810
lea eax, [0x57f1c4]
mov dword [esp], eax
call fcn.00422af0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x416cf5
mov byte [esp + 0x23], cl
mov dword [esp + 0xe0], eax
lea eax, [0x4d863c]
mov dword [esp], eax
call fcn.00462260
call fcn.0042cdb0
call fcn.004251f0
lea eax, [0x4d861c]
mov dword [esp], eax
call fcn.00462260
lea eax, [0x4d8644]
mov dword [esp], eax
call fcn.00462260
lea eax, [0x57f1c4]
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.00422b70
mov eax, dword [0x5a3ffc]
test eax, eax
jle 0x416bcc
mov eax, dword [0x5a7538]
mov ecx, dword [0x5a753c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0x40590000
mov dword [esp + 8], 0
call fcn.0044ae60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044c580
mov eax, dword [esp + 8]
mov dword [esp + 0xec], eax
lea edi, [esp + 0xfc]
xor eax, eax
call fcn.0046391a
call fcn.00437050
mov eax, dword [0x57f538]
mov ecx, dword [0x57f53c]
mov edx, dword [0x5a3df8]
mov ebx, dword [0x5a3dfc]
sub eax, edx
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.0045e1c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, 0x17
jmp 0x4162de
mov eax, dword [esp + 0xc8]
cmp eax, 0xa
setae bl
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x416307
cmp edx, 0x14
jl 0x4163e2
mov dword [esp + 0x8c], eax
mov ebx, eax
mov eax, ecx
mov ebp, 0xcccccccd
mov esi, edx
mul ebp
shr edx, 3
lea edi, [edx + edx*4]
shl edi, 1
sub ecx, edi
mov eax, 0x19999999
mov edi, edx
mul ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xdc], eax
mov eax, ebx
mul ebp
mov eax, esi
lea esi, [ecx + ecx*2]
shr edx, 3
mov ecx, edi
lea edi, [edx + edx*4]
shl edi, 1
sub ebx, edi
lea ebx, [ebx + esi*2]
mov esi, eax
mov eax, ebp
mov edi, edx
mul ebx
shr edx, 3
mov dword [esp + 0xcc], edx
mov ebx, edi
add edi, 0
mov ebp, dword [esp + 0xdc]
add ebp, edi
add edx, ebp
mov dword [esp + 0xc8], edx
mov eax, 0xa
mul edx
add ebx, 0
adc ecx, 0
mov edx, dword [esp + 0xdc]
add edx, edi
mov edx, dword [esp + 0xe0]
adc ecx, edx
mov edx, dword [esp + 0xcc]
add edx, ebp
adc ecx, 0
mov edx, dword [esp + 0x8c]
sub edx, eax
add edx, 0x30
cmp esi, 0x18
jae 0x416ce9
mov byte [esp + esi + 0xfc], dl
lea edx, [esi - 1]
cmp esi, 0x15
jne 0x4162d7
mov byte [esp + esi + 0xfb], 0x2e
mov edx, 0x13
jmp 0x4162d7
add eax, 0x30
cmp edx, 0x18
jae 0x416cdd
mov byte [esp + edx + 0xfc], al
mov eax, dword [0x5a7530]
mov dword [esp + 0xe0], eax
lea ecx, [esp + 0x16c]
mov dword [esp], ecx
lea ecx, [edx - 0x18]
neg ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
lea ecx, [esp + edx + 0xfc]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0044fe40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc4], ecx
call fcn.00437050
lea eax, [0x4cddd2]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00437ca0
mov dword [esp + 4], 0
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00437920
lea eax, [0x4cdc4d]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00437ca0
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00437ca0
lea eax, [0x4cdcbb]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00437ca0
mov eax, dword [esp + 0xec]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00437aa0
lea eax, [0x4cdce5]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00437ca0
call fcn.004370c0
mov eax, dword [0x57f538]
mov ecx, dword [0x57f53c]
mov dword [esp + 0xa0], ecx
lea edi, [esp + 0x114]
mov edx, eax
xor eax, eax
call fcn.0046391a
mov ecx, dword [0x57f540]
mov ebx, dword [0x57f544]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], ebx
mov ecx, dword [0x57f548]
mov ebx, dword [0x57f54c]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], ebx
mov ecx, dword [0x57f550]
mov ebx, dword [0x57f554]
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], ebx
xor ecx, ecx
mov ebx, dword [esp + 0xa0]
jmp 0x41660c
sub esi, edx
sbb ebp, ebx
lea edx, [esp + 0xfc]
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.00417eb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044fe40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc4], ecx
call fcn.00437050
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00437ca0
call fcn.004370c0
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 0x41668a
mov dword [esp + 0xb4], ecx
lea ebp, [esp + ecx*8 + 0x114]
mov esi, dword [ebp]
mov dword [esp + 0x9c], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0xa0], ebp
test ecx, ecx
je 0x41656e
mov dword [esp + 0xe0], edx
mov dword [esp + 0xec], ebx
call fcn.00437050
lea eax, [0x4cdc36]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00437ca0
call fcn.004370c0
mov edx, dword [esp + 0xe0]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
jmp 0x41656e
call fcn.00437050
lea eax, [0x4cedf1]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00437ca0
call fcn.004370c0
nop
lea eax, [0x5a4648]
mov dword [esp], eax
call fcn.004020c0
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
lea edx, [0x5a4650]
mov dword [esp], edx
call fcn.004020c0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
lea edx, [0x5a4658]
mov dword [esp], edx
call fcn.004020c0
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, [0x5a4660]
mov dword [esp], ecx
call fcn.004020c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x18c]
mov edx, eax
xor eax, eax
call fcn.00463916
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a8], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x1b0], eax
xor eax, eax
jmp 0x416853
lea eax, [esp + 0xfc]
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.00417eb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044fe40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc4], ecx
call fcn.00437050
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00437ca0
call fcn.004370c0
mov eax, dword [esp + 0xb0]
inc eax
cmp eax, 5
jge 0x4168fc
mov dword [esp + 0xb0], eax
lea ecx, [esp + eax*8 + 0x18c]
mov edx, dword [ecx]
mov dword [esp + 0xa4], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0xa8], ecx
cmp eax, 2
je 0x416887
cmp eax, 3
jne 0x4168ba
call fcn.00437050
lea eax, [0x4cdc39]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00437ca0
call fcn.004370c0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x4167cb
test eax, eax
je 0x4167cb
call fcn.00437050
lea eax, [0x4cdc36]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00437ca0
call fcn.004370c0
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x4167cb
lea eax, [0x5a4608]
mov dword [esp], eax
call fcn.00402240
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
lea edx, [0x5a4618]
mov dword [esp], edx
call fcn.00402240
mov eax, dword [0x57f56c]
mov dword [esp + 0xe8], eax
mov ecx, dword [0x57f568]
mov dword [esp + 0xe4], ecx
mov edx, dword [0x57f574]
mov dword [esp + 0xe0], edx
mov ebx, dword [0x57f570]
mov dword [esp + 0xdc], ebx
mov ebp, dword [0x57f57c]
mov dword [esp + 0xcc], ebp
mov esi, dword [0x57f578]
mov dword [esp + 0xc8], esi
mov edi, dword [0x5a45ec]
mov dword [esp + 0xc0], edi
mov edi, dword [0x5a45e8]
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 [0x57f534]
mov dword [esp + 0xec], edi
call fcn.00437050
lea eax, [0x4ce7d9]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00437ca0
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.00437920
lea eax, [0x4cdc5d]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00437ca0
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.00437920
lea eax, [0x4cdc5d]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00437ca0
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.00437920
lea eax, [0x4cdf43]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00437ca0
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.00437920
lea eax, [0x4cea4f]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00437ca0
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.00437920
lea eax, [0x4cf1bb]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00437ca0
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.00437920
lea eax, [0x4cf594]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00437ca0
mov eax, dword [esp + 0xec]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00437aa0
lea eax, [0x4cdc4f]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00437ca0
call fcn.004370c0
movzx eax, byte [0x57f50c]
test al, al
je 0x416b88
call fcn.00437050
lea eax, [0x4ce77f]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00437ca0
call fcn.004370c0
call fcn.00437050
call fcn.00437270
call fcn.004370c0
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 0x416bcc
nop
lea eax, [0x5a3cd8]
mov dword [esp], eax
call fcn.00409b20
nop
lea eax, [0x57f1d0]
mov dword [esp], eax
call fcn.00409920
mov eax, dword [0x57f1e0]
mov dword [esp + 0x1b8], eax
mov ecx, dword [0x57f1e4]
mov dword [esp + 0xb8], ecx
mov dword [0x57f1e4], 0
mov dword [0x57f1e8], 0
mov edx, dword [0x5a3e90]
test edx, edx
jne 0x416c1f
mov dword [0x57f1e0], 0
jmp 0x416c2c
lea edi, [0x57f1e0]
xor eax, eax
call fcn.00463740
nop
nop
lea eax, [0x57f1d0]
mov dword [esp], eax
call fcn.00409b20
xor eax, eax
jmp 0x416c63
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x1b8]
lea edx, [ecx + eax*8]
mov edx, dword [edx]
mov dword [esp], edx
call fcn.00403a70
mov eax, dword [esp + 0xc4]
inc eax
mov ecx, dword [esp + 0xb8]
cmp eax, ecx
jl 0x416c40
lea eax, [0x5691e8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448400
lea eax, [0x5691c8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448400
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x1b4]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x416cd6
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416cd6
mov dword [eax + 8], 0xfffffade
add esp, 0x1c8
ret
mov eax, edx
mov ecx, 0x18
call fcn.004637c0
mov eax, esi
mov ecx, 0x18
call fcn.004637c0
lea eax, [0x4d345a]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004358a0
lea eax, [0x4d3c2a]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004358a0
nop
call fcn.00462370
jmp fcn.00415830