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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x12c]
cmp eax, dword [ecx + 8]
jbe 0x41453f
sub esp, 0x1ac
lea eax, [0x555cf4]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004021a0
mov eax, dword [0x555cf4]
cmp eax, 1
jne 0x4135db
mov eax, 1
jmp 0x4135e1
cmp eax, 2
sete al
mov byte [0x555e64], al
test al, al
je 0x4135f2
mov eax, 1
jmp 0x4135f9
movzx eax, byte [0x555e65]
mov byte [0x555e60], al
lea eax, [0x5565d0]
mov dword [esp], eax
call fcn.004021d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x531554], eax
mov dword [0x531550], ecx
nop
call fcn.00452220
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x78], edx
mov ebx, dword [esp]
mov dword [esp + 0x4c], 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 + 0x1a8], edi
mov eax, dword [0x555e60]
test eax, eax
jne 0x413675
lea eax, [0x4a5ebe]
mov dword [ecx + 0x74], eax
jmp 0x413680
lea eax, [0x4a5ebe]
call fcn.004513e0
mov dword [esp + 0x19c], ecx
mov byte [ecx + 0x9d], 2
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x1a4], eax
nop
mov byte [eax + 0x64], 6
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.00431bc0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
lea eax, [0x414550]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xd8]
mov dword [esp], eax
call fcn.0044fec0
lea eax, [0x4ae648]
mov dword [esp], eax
call fcn.0044fec0
mov eax, dword [esp + 0x19c]
mov byte [eax + 0x9d], 0
mov ecx, dword [esp + 0x1a4]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.00431bc0
movzx eax, byte [0x53a308]
test al, al
je 0x413777
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.00446e60
mov ecx, dword [esp + 0x19c]
mov dword [ecx + 0x78], 0
mov edx, dword [0x555e60]
test edx, edx
jne 0x413798
mov dword [ecx + 0x74], 0
jmp 0x4137a6
mov edi, dword [esp + 0x1a8]
xor eax, eax
call fcn.004513e0
mov eax, dword [0x555cf4]
test eax, eax
jne 0x414528
lea eax, [0x556678]
mov dword [esp], eax
call fcn.004021d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x55952c], eax
mov dword [0x559528], ecx
lea eax, [0x4ae638]
mov dword [esp], eax
call fcn.0044fec0
nop
call fcn.00452220
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x74], ecx
mov edx, dword [esp]
mov dword [esp + 0x48], edx
call fcn.00452260
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 + 0x80], ebx
adc edx, ecx
mov dword [esp + 0x84], edx
mov eax, dword [0x531540]
mov ecx, dword [0x531544]
mov ebp, dword [esp + 0x48]
mov esi, ebp
sub ebp, eax
mov eax, dword [esp + 0x50]
mov edi, eax
sbb eax, ecx
mov ecx, dword [0x531538]
mov ebx, dword [0x53153c]
add ecx, ebp
adc eax, ebx
mov dword [0x531538], ecx
mov dword [0x53153c], eax
mov eax, dword [esp + 0x74]
mov dword [0x531534], eax
mov dword [0x531530], esi
mov ecx, dword [0x531540]
mov ebx, dword [0x531544]
sub esi, ecx
sbb edi, ebx
lea ebx, [0x559538]
mov dword [esp], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call fcn.00406f60
lea eax, [0x558500]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
call fcn.004021f0
lea eax, [0x559520]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.004021f0
mov eax, dword [0x559510]
and eax, 0xff
lea ecx, [0x558510]
lea edx, [ecx + eax*8]
mov ebx, dword [0x531538]
mov ebp, dword [0x53153c]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x559510]
and eax, 0xff
lea ecx, [0x558d10]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x80]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [esp + 0x84]
mov dword [eax], ecx
mov eax, dword [0x558508]
mov ecx, dword [0x55850c]
mov edx, dword [0x531538]
mov ebx, dword [0x53153c]
add eax, edx
adc ecx, ebx
mov dword [0x558508], eax
mov dword [0x55850c], ecx
mov eax, dword [0x531510]
mov dword [esp + 0xcc], eax
mov ecx, dword [0x531520]
mov dword [esp + 0xc8], ecx
mov edx, dword [0x531518]
mov dword [esp + 0xc4], edx
sub ecx, edx
mov dword [esp + 0xc0], ecx
mov ebp, eax
mov eax, ecx
mul ebp
mov dword [esp + 0xbc], edx
mov dword [esp + 0x88], eax
mov edi, dword [0x531524]
mov dword [esp + 0xb8], edi
mov eax, dword [0x53151c]
mov dword [esp + 0xb4], eax
nop
lea ecx, [0x556628]
mov dword [esp], ecx
call fcn.00402050
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
lea edx, [0x556630]
mov dword [esp], edx
call fcn.00402050
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
lea edx, [0x556638]
mov dword [esp], edx
call fcn.00402050
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
lea edx, [0x556640]
mov dword [esp], edx
call fcn.00402050
mov eax, dword [0x531510]
mov dword [esp + 0xb0], eax
mov ecx, dword [0x531530]
mov edx, dword [0x531528]
mov ebx, ecx
sub ecx, edx
mov dword [esp + 0xac], ecx
mov ebp, eax
mov eax, ecx
mov esi, edx
mul ebp
mov dword [esp + 0xa8], edx
mov dword [esp + 0x94], eax
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
sub edi, eax
mov eax, dword [esp + 0xb8]
mov edi, dword [esp + 0xb4]
sbb eax, edi
mov dword [esp + 0xb8], eax
mov edi, dword [0x531534]
mov ecx, dword [0x53152c]
sub ebx, esi
sbb edi, ecx
mov dword [esp + 0xb4], edi
nop
mov ecx, dword [esp + 4]
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 8]
mov dword [esp + 0x58], ebx
lea esi, [0x555f30]
mov dword [esp], esi
call fcn.00402050
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
lea edx, [0x555f38]
mov dword [esp], edx
call fcn.00402050
mov eax, dword [0x531560]
mov ecx, dword [0x531564]
mov edx, dword [esp + 0x44]
add eax, edx
mov ebx, dword [esp + 0x54]
adc ecx, ebx
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
add ebp, esi
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x68]
adc esi, edi
mov edi, dword [esp + 4]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 8]
mov dword [esp + 0x64], edi
mov dword [0x531560], eax
mov dword [0x531564], ecx
mov eax, dword [0x531568]
mov ecx, dword [0x53156c]
add eax, ebp
adc ecx, esi
mov dword [0x531568], eax
mov dword [0x53156c], ecx
mov eax, dword [0x531570]
mov ecx, dword [0x531574]
mov ebp, dword [esp + 0x38]
add eax, ebp
mov esi, dword [esp + 0x58]
adc ecx, esi
mov edi, dword [esp + 0xcc]
sar edi, 0x1f
mov esi, dword [esp + 0xb8]
mov ebp, dword [esp + 0xcc]
imul esi, ebp
mov ebp, dword [esp + 0xbc]
add ebp, esi
mov esi, dword [esp + 0xc0]
imul esi, edi
add ebp, esi
mov dword [esp + 0xc8], ebp
mov esi, dword [esp + 0xb0]
mov edi, esi
sar esi, 0x1f
mov ebx, dword [esp + 0xb4]
imul ebx, edi
mov edi, dword [esp + 0xa8]
add ebx, edi
mov edi, dword [esp + 0xac]
imul edi, esi
add ebx, edi
mov dword [esp + 0xc4], ebx
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x94]
add esi, edi
adc ebp, ebx
mov dword [0x531570], eax
mov dword [0x531574], ecx
mov eax, dword [0x531578]
mov ecx, dword [0x53157c]
add eax, esi
adc ecx, ebp
mov ebp, dword [esp + 0x88]
add edx, ebp
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0xc8]
adc esi, ebp
mov ebp, dword [esp + 0x40]
add edx, ebp
mov ebp, dword [esp + 0x5c]
adc esi, ebp
mov ebp, dword [esp + 0x3c]
add ebp, edx
mov edx, dword [esp + 0x68]
adc esi, edx
mov edx, dword [esp + 0x38]
add edx, ebp
mov ebp, dword [esp + 0x58]
adc ebp, esi
add edx, edi
adc ebp, ebx
mov dword [0x531578], eax
mov dword [0x53157c], ecx
mov eax, dword [0x531580]
mov ecx, dword [0x531584]
add eax, edx
adc ebp, ecx
mov dword [0x531580], eax
mov dword [0x531584], ebp
mov eax, dword [0x531588]
mov ecx, dword [0x53158c]
mov edx, dword [esp + 0x34]
add eax, edx
mov ebp, dword [esp + 0x60]
adc ecx, ebp
mov dword [0x531588], eax
mov dword [0x53158c], ecx
mov eax, dword [0x531590]
mov ecx, dword [0x531594]
mov esi, dword [esp + 0x30]
add eax, esi
mov ebx, dword [esp + 0x64]
adc ecx, ebx
add esi, edx
adc ebp, ebx
mov dword [0x531590], eax
mov dword [0x531594], ecx
mov eax, dword [0x531598]
mov ecx, dword [0x53159c]
add eax, esi
adc ebp, ecx
mov dword [0x531598], eax
mov dword [0x53159c], ebp
mov eax, dword [0x5318b8]
mov ecx, dword [0x555cf8]
mov edx, dword [esp + 0x48]
mov ebx, edx
sub edx, eax
mov ebp, eax
mov eax, ecx
mov esi, edx
mul edx
mov edi, dword [0x5318bc]
sub ebx, ebp
mov ebx, dword [esp + 0x50]
sbb ebx, edi
mov ebp, dword [0x5318c0]
mov edi, dword [0x5318c4]
imul ebx, ecx
sar ecx, 0x1f
imul ecx, esi
add ecx, edx
add ecx, ebx
add ebp, eax
adc edi, ecx
mov dword [0x5315b0], ebp
mov dword [0x5315b4], edi
lea eax, [0x531de0]
mov dword [esp], eax
call fcn.00402050
mov eax, dword [0x5315a0]
mov ecx, dword [0x5315a4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
add eax, edx
adc ecx, ebx
mov dword [0x5315a0], eax
mov dword [0x5315a4], ecx
mov edx, dword [0x531580]
mov ebx, dword [0x531584]
mov ebp, dword [0x531598]
mov esi, dword [0x53159c]
add edx, ebp
adc ebx, esi
add edx, eax
adc ebx, ecx
mov eax, dword [0x5315b0]
mov ecx, dword [0x5315b4]
sub eax, edx
sbb ecx, ebx
mov dword [0x5315a8], eax
mov dword [0x5315ac], ecx
mov eax, dword [0x531580]
mov ecx, dword [0x531584]
mov edx, dword [0x531570]
mov ebx, dword [0x531574]
sub eax, edx
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044c500
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xd0], xmm0
mov eax, dword [0x5315b0]
mov ecx, dword [0x5315b4]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044c500
movsd xmm0, qword [esp + 0xd0]
divsd xmm0, qword [esp + 8]
movsd qword [0x559518], xmm0
nop
lea eax, [0x555f30]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402010
nop
lea eax, [0x555f38]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402010
nop
lea eax, [0x531de0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402010
mov dword [0x53121c], 0
mov dword [0x531220], 0
movzx eax, byte [0x5314ec]
test al, al
je 0x413e6d
inc dword [0x559514]
nop
lea eax, [0x531504]
mov dword [esp], eax
call fcn.004081f0
inc dword [0x559510]
lea eax, [0x531508]
mov dword [esp], eax
call fcn.004363d0
nop
nop
lea eax, [0x531504]
mov dword [esp], eax
call fcn.004083f0
lea eax, [0x556020]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call fcn.004157f0
lea eax, [0x555d04]
mov dword [esp], eax
call fcn.00426ac0
lea eax, [0x531224]
mov dword [esp], eax
call fcn.0041e190
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x414512
mov byte [esp + 0x23], cl
mov dword [esp + 0xc0], eax
lea eax, [0x4ae64c]
mov dword [esp], eax
call fcn.0044fec0
call fcn.00427060
call fcn.00420190
lea eax, [0x4ae62c]
mov dword [esp], eax
call fcn.0044fec0
lea eax, [0x4ae654]
mov dword [esp], eax
call fcn.0044fec0
lea eax, [0x531224]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 8], al
call fcn.0041e210
mov eax, dword [0x555fdc]
test eax, eax
jle 0x4143eb
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.004515aa
call fcn.0042fc00
mov ecx, dword [0x531518]
mov edx, dword [0x53151c]
mov ebx, dword [0x555dc0]
mov ebp, dword [0x555dc4]
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.0044c740
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x413fbf
mov ecx, dword [esp + 0xbc]
mov eax, edx
mov edx, edi
cmp ecx, 0xa
setae bl
test edx, edx
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 0x413fe8
cmp eax, 0x14
jl 0x4140c2
mov dword [esp + 0x7c], 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 + 0xc0], edx
mov dword [esp + 0xbc], 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 + 0xac], edx
mov ebx, esi
add esi, 0
mov dword [esp + 0xa8], esi
mov ebp, dword [esp + 0xbc]
add esi, ebp
add edx, esi
mov dword [esp + 0xbc], edx
mov eax, 0xa
mul edx
add ebx, 0
adc edi, 0
mov edx, dword [esp + 0xa8]
add edx, ebp
mov edx, dword [esp + 0xc0]
adc edi, edx
mov edx, dword [esp + 0xac]
add edx, esi
adc edi, 0
mov edx, dword [esp + 0x7c]
sub edx, eax
add edx, 0x30
cmp ecx, 0x18
jae 0x414506
mov byte [esp + ecx + 0xe4], dl
lea edx, [ecx - 1]
cmp ecx, 0x15
jne 0x413fb4
mov byte [esp + ecx + 0xe3], 0x2e
mov edx, 0x13
jmp 0x413fb4
add ecx, 0x30
cmp eax, 0x18
jae 0x4144fc
mov byte [esp + eax + 0xe4], cl
lea ecx, [esp + 0x154]
mov dword [esp], ecx
lea ecx, [eax - 0x18]
neg ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea eax, [esp + eax + 0xe4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00441730
mov eax, dword [0x531518]
mov ecx, dword [0x53151c]
mov dword [esp + 0x90], ecx
lea edi, [esp + 0xfc]
mov edx, eax
xor eax, eax
call fcn.004515aa
mov ecx, dword [0x531520]
mov ebx, dword [0x531524]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ebx
mov ecx, dword [0x531528]
mov ebx, dword [0x53152c]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ebx
mov ecx, dword [0x531530]
mov ebx, dword [0x531534]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x90]
jmp 0x414205
mov dword [esp + 0x9c], ecx
lea eax, [esp + ecx*8 + 0xfc]
mov ebp, dword [eax]
mov dword [esp + 0x8c], ebp
mov eax, dword [eax + 4]
mov dword [esp + 0x90], eax
sub ebp, edx
sbb eax, ebx
lea ebx, [esp + 0xe4]
mov dword [esp], ebx
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
call fcn.004152a0
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.00441730
mov eax, dword [esp + 0x9c]
lea ecx, [eax + 1]
xor eax, eax
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
cmp ecx, 3
jl 0x414180
nop
lea eax, [0x556628]
mov dword [esp], eax
call fcn.00402050
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
lea edx, [0x556630]
mov dword [esp], edx
call fcn.00402050
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
lea edx, [0x556638]
mov dword [esp], edx
call fcn.00402050
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0xc0], edx
mov eax, dword [esp + 0x6c]
adc ecx, eax
mov dword [esp + 0xcc], ecx
nop
lea eax, [0x556640]
mov dword [esp], eax
call fcn.00402050
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x174]
mov edx, eax
xor eax, eax
call fcn.004515a6
mov eax, dword [esp + 0x88]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x188], eax
mov dword [esp + 0x190], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x198], eax
xor eax, eax
jmp 0x414374
lea eax, [esp + 0xe4]
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.004152a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x114]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00441730
mov eax, dword [esp + 0x98]
inc eax
cmp eax, 5
jge 0x414398
mov dword [esp + 0x98], eax
lea ecx, [esp + eax*8 + 0x174]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, 2
je 0x414326
cmp eax, 3
je 0x414326
jmp 0x414326
nop
lea eax, [0x5565e8]
mov dword [esp], eax
call fcn.004021d0
nop
lea eax, [0x5565f8]
mov dword [esp], eax
call fcn.004021d0
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 0x4143eb
nop
lea eax, [0x555cc0]
mov dword [esp], eax
call fcn.004083f0
nop
lea eax, [0x531230]
mov dword [esp], eax
call fcn.004081f0
mov eax, dword [0x531240]
mov dword [esp + 0x1a0], eax
mov ecx, dword [0x531244]
mov dword [esp + 0xa0], ecx
mov dword [0x531244], 0
mov dword [0x531248], 0
mov edx, dword [0x555e60]
test edx, edx
jne 0x41443e
mov dword [0x531240], 0
jmp 0x41444b
lea edi, [0x531240]
xor eax, eax
call fcn.004513e0
nop
nop
lea eax, [0x531230]
mov dword [esp], eax
call fcn.004083f0
xor eax, eax
jmp 0x414482
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x1a0]
lea edx, [ecx + eax*8]
mov edx, dword [edx]
mov dword [esp], edx
call fcn.00403450
mov eax, dword [esp + 0xa4]
inc eax
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jl 0x41445f
lea eax, [0x51d128]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043d350
lea eax, [0x51d108]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043d350
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x19c]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4144f5
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4144f5
mov dword [eax + 8], 0xfffffade
add esp, 0x1ac
ret
mov ecx, 0x18
call fcn.00451460
mov eax, ecx
mov ecx, 0x18
call fcn.00451460
lea eax, [0x4aa14b]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0042e800
lea eax, [0x4aa804]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042e800
nop
call fcn.0044ffd0
jmp fcn.00413590