Function at 0x4144a0
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 0x41544f
sub esp, 0x1ac
lea eax, [0x5af7e8]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00402940
mov eax, dword [0x5af7e8]
cmp eax, 1
jne 0x4144eb
mov eax, 1
jmp 0x4144f1
cmp eax, 2
sete al
mov byte [0x5af9a4], al
test al, al
je 0x414502
mov eax, 1
jmp 0x414509
movzx eax, byte [0x5af9a5]
mov byte [0x5af9a0], al
lea eax, [0x5b0130]
mov dword [esp], eax
call fcn.00402970
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x58a814], eax
mov dword [0x58a810], ecx
nop
call fcn.004539e0
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 [0x5af9a0]
test eax, eax
jne 0x414585
lea eax, [0x4fa662]
mov dword [ecx + 0x74], eax
jmp 0x414590
lea eax, [0x4fa662]
call fcn.00452b40
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.00432da0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
lea eax, [0x415460]
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.00451600
lea eax, [0x504ee4]
mov dword [esp], eax
call fcn.00451600
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.00432da0
movzx eax, byte [0x593de8]
test al, al
je 0x414687
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.004482a0
mov ecx, dword [esp + 0x19c]
mov dword [ecx + 0x78], 0
mov edx, dword [0x5af9a0]
test edx, edx
jne 0x4146a8
mov dword [ecx + 0x74], 0
jmp 0x4146b6
mov edi, dword [esp + 0x1a8]
xor eax, eax
call fcn.00452b40
mov eax, dword [0x5af7e8]
test eax, eax
jne 0x415438
lea eax, [0x5b01d8]
mov dword [esp], eax
call fcn.00402970
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5b308c], eax
mov dword [0x5b3088], ecx
lea eax, [0x504ed4]
mov dword [esp], eax
call fcn.00451600
nop
call fcn.004539e0
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.00453a20
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 [0x58a800]
mov ecx, dword [0x58a804]
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 [0x58a7f8]
mov ebx, dword [0x58a7fc]
add ecx, ebp
adc eax, ebx
mov dword [0x58a7f8], ecx
mov dword [0x58a7fc], eax
mov eax, dword [esp + 0x74]
mov dword [0x58a7f4], eax
mov dword [0x58a7f0], esi
mov ecx, dword [0x58a800]
mov ebx, dword [0x58a804]
sub esi, ecx
sbb edi, ebx
lea ebx, [0x5b3098]
mov dword [esp], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call fcn.00407bc0
lea eax, [0x5b2060]
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.00402990
lea eax, [0x5b3080]
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.00402990
mov eax, dword [0x5b3070]
and eax, 0xff
lea ecx, [0x5b2070]
lea edx, [ecx + eax*8]
mov ebx, dword [0x58a7f8]
mov ebp, dword [0x58a7fc]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x5b3070]
and eax, 0xff
lea ecx, [0x5b2870]
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 [0x5b2068]
mov ecx, dword [0x5b206c]
mov edx, dword [0x58a7f8]
mov ebx, dword [0x58a7fc]
add eax, edx
adc ecx, ebx
mov dword [0x5b2068], eax
mov dword [0x5b206c], ecx
mov eax, dword [0x58a7d0]
mov dword [esp + 0xcc], eax
mov ecx, dword [0x58a7e0]
mov dword [esp + 0xc8], ecx
mov edx, dword [0x58a7d8]
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 [0x58a7e4]
mov dword [esp + 0xb8], edi
mov eax, dword [0x58a7dc]
mov dword [esp + 0xb4], eax
nop
lea ecx, [0x5b0188]
mov dword [esp], ecx
call fcn.004027f0
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
lea edx, [0x5b0190]
mov dword [esp], edx
call fcn.004027f0
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
lea edx, [0x5b0198]
mov dword [esp], edx
call fcn.004027f0
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
lea edx, [0x5b01a0]
mov dword [esp], edx
call fcn.004027f0
mov eax, dword [0x58a7d0]
mov dword [esp + 0xb0], eax
mov ecx, dword [0x58a7f0]
mov edx, dword [0x58a7e8]
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 [0x58a7f4]
mov ecx, dword [0x58a7ec]
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, [0x5afa90]
mov dword [esp], esi
call fcn.004027f0
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
lea edx, [0x5afa98]
mov dword [esp], edx
call fcn.004027f0
mov eax, dword [0x58a820]
mov ecx, dword [0x58a824]
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 [0x58a820], eax
mov dword [0x58a824], ecx
mov eax, dword [0x58a828]
mov ecx, dword [0x58a82c]
add eax, ebp
adc ecx, esi
mov dword [0x58a828], eax
mov dword [0x58a82c], ecx
mov eax, dword [0x58a830]
mov ecx, dword [0x58a834]
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 [0x58a830], eax
mov dword [0x58a834], ecx
mov eax, dword [0x58a838]
mov ecx, dword [0x58a83c]
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 [0x58a838], eax
mov dword [0x58a83c], ecx
mov eax, dword [0x58a840]
mov ecx, dword [0x58a844]
add eax, edx
adc ebp, ecx
mov dword [0x58a840], eax
mov dword [0x58a844], ebp
mov eax, dword [0x58a848]
mov ecx, dword [0x58a84c]
mov edx, dword [esp + 0x34]
add eax, edx
mov ebp, dword [esp + 0x60]
adc ecx, ebp
mov dword [0x58a848], eax
mov dword [0x58a84c], ecx
mov eax, dword [0x58a850]
mov ecx, dword [0x58a854]
mov esi, dword [esp + 0x30]
add eax, esi
mov ebx, dword [esp + 0x64]
adc ecx, ebx
add esi, edx
adc ebp, ebx
mov dword [0x58a850], eax
mov dword [0x58a854], ecx
mov eax, dword [0x58a858]
mov ecx, dword [0x58a85c]
add eax, esi
adc ebp, ecx
mov dword [0x58a858], eax
mov dword [0x58a85c], ebp
mov eax, dword [0x58ab78]
mov ecx, dword [0x5af7ec]
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 [0x58ab7c]
sub ebx, ebp
mov ebx, dword [esp + 0x50]
sbb ebx, edi
mov ebp, dword [0x58ab80]
mov edi, dword [0x58ab84]
imul ebx, ecx
sar ecx, 0x1f
imul ecx, esi
add ecx, edx
add ecx, ebx
add ebp, eax
adc edi, ecx
mov dword [0x58a870], ebp
mov dword [0x58a874], edi
lea eax, [0x58b0a0]
mov dword [esp], eax
call fcn.004027f0
mov eax, dword [0x58a860]
mov ecx, dword [0x58a864]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
add eax, edx
adc ecx, ebx
mov dword [0x58a860], eax
mov dword [0x58a864], ecx
mov edx, dword [0x58a840]
mov ebx, dword [0x58a844]
mov ebp, dword [0x58a858]
mov esi, dword [0x58a85c]
add edx, ebp
adc ebx, esi
add edx, eax
adc ebx, ecx
mov eax, dword [0x58a870]
mov ecx, dword [0x58a874]
sub eax, edx
sbb ecx, ebx
mov dword [0x58a868], eax
mov dword [0x58a86c], ecx
mov eax, dword [0x58a840]
mov ecx, dword [0x58a844]
mov edx, dword [0x58a830]
mov ebx, dword [0x58a834]
sub eax, edx
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044d900
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xd0], xmm0
mov eax, dword [0x58a870]
mov ecx, dword [0x58a874]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044d900
movsd xmm0, qword [esp + 0xd0]
divsd xmm0, qword [esp + 8]
movsd qword [0x5b3078], xmm0
nop
lea eax, [0x5afa90]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004027b0
nop
lea eax, [0x5afa98]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004027b0
nop
lea eax, [0x58b0a0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004027b0
mov dword [0x58a49c], 0
mov dword [0x58a4a0], 0
movzx eax, byte [0x58a7ac]
test al, al
je 0x414d7d
inc dword [0x5b3074]
nop
lea eax, [0x58a7c4]
mov dword [esp], eax
call fcn.00409100
inc dword [0x5b3070]
lea eax, [0x58a7c8]
mov dword [esp], eax
call fcn.00437570
nop
nop
lea eax, [0x58a7c4]
mov dword [esp], eax
call fcn.00409300
lea eax, [0x5afb80]
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.00416700
lea eax, [0x5af7f8]
mov dword [esp], eax
call fcn.004279a0
lea eax, [0x58a4a4]
mov dword [esp], eax
call fcn.0041f0a0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x415422
mov byte [esp + 0x23], cl
mov dword [esp + 0xc0], eax
lea eax, [0x504ee8]
mov dword [esp], eax
call fcn.00451600
call fcn.00427f40
call fcn.00421070
lea eax, [0x504ec8]
mov dword [esp], eax
call fcn.00451600
lea eax, [0x504ef0]
mov dword [esp], eax
call fcn.00451600
lea eax, [0x58a4a4]
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.0041f120
mov eax, dword [0x5afb3c]
test eax, eax
jle 0x4152fb
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.00452d6a
call fcn.00430de0
mov ecx, dword [0x58a7d8]
mov edx, dword [0x58a7dc]
mov ebx, dword [0x5af8c8]
mov ebp, dword [0x5af8cc]
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.0044db40
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x414ecf
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 0x414ef8
cmp eax, 0x14
jl 0x414fd2
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 0x415416
mov byte [esp + ecx + 0xe4], dl
lea edx, [ecx - 1]
cmp ecx, 0x15
jne 0x414ec4
mov byte [esp + ecx + 0xe3], 0x2e
mov edx, 0x13
jmp 0x414ec4
add ecx, 0x30
cmp eax, 0x18
jae 0x41540c
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.004428f0
mov eax, dword [0x58a7d8]
mov ecx, dword [0x58a7dc]
mov dword [esp + 0x90], ecx
lea edi, [esp + 0xfc]
mov edx, eax
xor eax, eax
call fcn.00452d6a
mov ecx, dword [0x58a7e0]
mov ebx, dword [0x58a7e4]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ebx
mov ecx, dword [0x58a7e8]
mov ebx, dword [0x58a7ec]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ebx
mov ecx, dword [0x58a7f0]
mov ebx, dword [0x58a7f4]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x90]
jmp 0x415115
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.004161b0
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.004428f0
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 0x415090
nop
lea eax, [0x5b0188]
mov dword [esp], eax
call fcn.004027f0
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
lea edx, [0x5b0190]
mov dword [esp], edx
call fcn.004027f0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
lea edx, [0x5b0198]
mov dword [esp], edx
call fcn.004027f0
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, [0x5b01a0]
mov dword [esp], eax
call fcn.004027f0
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.00452d66
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 0x415284
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.004161b0
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.004428f0
mov eax, dword [esp + 0x98]
inc eax
cmp eax, 5
jge 0x4152a8
mov dword [esp + 0x98], eax
lea ecx, [esp + eax*8 + 0x174]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, 2
je 0x415236
cmp eax, 3
je 0x415236
jmp 0x415236
nop
lea eax, [0x5b0148]
mov dword [esp], eax
call fcn.00402970
nop
lea eax, [0x5b0158]
mov dword [esp], eax
call fcn.00402970
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 0x4152fb
nop
lea eax, [0x5af7b4]
mov dword [esp], eax
call fcn.00409300
nop
lea eax, [0x58a4b0]
mov dword [esp], eax
call fcn.00409100
mov eax, dword [0x58a4c0]
mov dword [esp + 0x1a0], eax
mov ecx, dword [0x58a4c4]
mov dword [esp + 0xa0], ecx
mov dword [0x58a4c4], 0
mov dword [0x58a4c8], 0
mov edx, dword [0x5af9a0]
test edx, edx
jne 0x41534e
mov dword [0x58a4c0], 0
jmp 0x41535b
lea edi, [0x58a4c0]
xor eax, eax
call fcn.00452b40
nop
nop
lea eax, [0x58a4b0]
mov dword [esp], eax
call fcn.00409300
xor eax, eax
jmp 0x415392
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.00403eb0
mov eax, dword [esp + 0xa4]
inc eax
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jl 0x41536f
lea eax, [0x4bc0a0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043e490
lea eax, [0x4bc080]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043e490
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 0x415405
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415405
mov dword [eax + 8], 0xfffffade
add esp, 0x1ac
ret
mov ecx, 0x18
call fcn.00452bc0
mov eax, ecx
mov ecx, 0x18
call fcn.00452bc0
lea eax, [0x5000b5]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0042f840
lea eax, [0x50098c]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042f840
nop
call fcn.00451710
jmp fcn.004144a0