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

Disassembly:
mov ecx, dword [0x59df64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x124]
cmp eax, dword [ecx + 8]
jbe 0x418d13
sub esp, 0x1a4
nop
lea eax, [0x59de90]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00402b50
mov eax, dword [0x59de90]
cmp eax, 1
jne 0x417c1a
mov eax, 1
jmp 0x417c20
cmp eax, 2
sete al
mov byte [0x59e074], al
mov byte [0x59e070], al
lea eax, [0x59e728]
mov dword [esp], eax
call fcn.00402b80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5794b4], eax
mov dword [0x5794b0], ecx
nop
call fcn.00466740
mov eax, dword [0x59df64]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x54], edx
mov ebx, dword [esp]
mov dword [esp + 0x38], ebx
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x78], 5
mov ecx, dword [0x59e070]
test ecx, ecx
je 0x417c93
mov ecx, dword [eax + 0x74]
call fcn.00465a30
mov dword [edi], ecx
mov dword [esp + 0x194], eax
lea ecx, [0x4cd34a]
mov dword [eax + 0x74], ecx
mov byte [eax + 0x9d], 2
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x19c], ecx
nop
mov byte [ecx + 0x64], 6
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.0043bd70
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
lea eax, [0x418d20]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xd0]
mov dword [esp], eax
call fcn.00464540
lea eax, [0x4d7cf8]
mov dword [esp], eax
call fcn.00464540
mov eax, dword [esp + 0x194]
mov byte [eax + 0x9d], 0
mov ecx, dword [esp + 0x19c]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.0043bd70
movzx eax, byte [0x5824e4]
test al, al
je 0x417d94
nop
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.00456a80
mov eax, dword [esp + 0x194]
mov dword [eax + 0x78], 0
mov ecx, dword [0x59e070]
test ecx, ecx
je 0x417db6
mov ecx, dword [eax + 0x74]
call fcn.00465a30
mov dword [edi], ecx
mov dword [eax + 0x74], 0
mov ecx, dword [0x59de90]
test ecx, ecx
jne 0x418cfc
lea eax, [0x59e7d0]
mov dword [esp], eax
call fcn.00402b80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5a368c], eax
mov dword [0x5a3688], ecx
lea eax, [0x4d7ce4]
mov dword [esp], eax
call fcn.00464540
nop
call fcn.00466740
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [esp]
mov dword [esp + 0x34], edx
call fcn.004667b0
mov eax, dword [esp + 8]
mov ecx, dword [esp]
mov edx, eax
mov eax, 0x3b9aca00
mov ebx, edx
mul ecx
mov ecx, dword [esp + 4]
imul ecx, ecx, 0x3b9aca00
add ecx, edx
mov edx, ebx
sar ebx, 0x1f
mov ebp, dword [0x579498]
mov esi, dword [0x57949c]
mov dword [esp + 0xc4], esi
mov edi, dword [0x5794a0]
mov esi, dword [0x5794a4]
add edx, eax
mov dword [esp + 0x60], edx
adc ecx, ebx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x34]
mov ebx, eax
sub eax, edi
mov edi, dword [esp + 0x3c]
sbb edi, esi
add ebp, eax
mov dword [0x579498], ebp
mov eax, dword [esp + 0xc4]
adc edi, eax
mov dword [0x57949c], edi
mov eax, dword [esp + 0x50]
mov dword [0x579494], eax
mov dword [0x579490], ebx
mov ebp, dword [0x5794a0]
mov esi, dword [0x5794a4]
lea edi, [0x5a3698]
mov dword [esp], edi
sub ebx, ebp
mov ebp, dword [esp + 0x3c]
sbb ebp, esi
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
call fcn.004088e0
lea eax, [0x5a2660]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00402ba0
lea eax, [0x5a3680]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00402ba0
mov eax, dword [0x5a3670]
and eax, 0xff
lea ecx, [0x5a2670]
lea edx, [ecx + eax*8]
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [0x579498]
mov ebx, dword [0x57949c]
mov dword [edx], ecx
mov dword [eax], ebx
mov eax, dword [0x5a3670]
and eax, 0xff
lea ecx, [0x5a2e70]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x60]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov eax, dword [0x5a2668]
mov ecx, dword [0x5a266c]
mov edx, dword [0x579498]
mov ebx, dword [0x57949c]
add eax, edx
mov dword [0x5a2668], eax
adc ecx, ebx
mov dword [0x5a266c], ecx
mov eax, dword [0x579470]
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [0x579490]
mov ebx, dword [0x579494]
mov ebp, dword [0x579488]
mov esi, dword [0x57948c]
mov edi, dword [0x5794d8]
mov dword [esp + 0xc0], edi
mov edi, dword [0x5794dc]
sub edx, ebp
sbb ebx, esi
mov ebp, edx
mov esi, eax
mul edx
mov dword [esp + 0x78], eax
imul ebx, esi
add edx, ebx
imul ecx, ebp
add ecx, edx
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xc0]
add edx, eax
mov dword [0x5794d8], edx
adc edi, ecx
mov dword [0x5794dc], edi
mov edx, dword [0x5794e0]
mov ebx, dword [0x5794e4]
add edx, eax
mov dword [0x5794e0], edx
adc ebx, ecx
mov dword [0x5794e4], ebx
lea edx, [0x5794c0]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov byte [esp + 0xc], 1
call fcn.00431460
mov eax, dword [0x5794e0]
mov ecx, dword [0x5794e4]
mov edx, dword [0x5794d0]
mov ebx, dword [0x5794d4]
sub eax, edx
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045e300
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xc8], xmm0
mov eax, dword [0x579510]
mov ecx, dword [0x579514]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045e300
movsd xmm0, qword [esp + 0xc8]
divsd xmm0, qword [esp + 8]
movsd qword [0x5a3678], xmm0
nop
lea eax, [0x59e110]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004029c0
nop
lea eax, [0x59e118]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004029c0
nop
lea eax, [0x579f60]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004029c0
mov dword [0x5790dc], 0
mov dword [0x5790e0], 0
movzx eax, byte [0x57944c]
test al, al
je 0x41810d
inc dword [0x5a3674]
nop
nop
lea eax, [0x579464]
mov dword [esp], eax
call fcn.00409e40
inc dword [0x5a3670]
lea eax, [0x579468]
mov dword [esp], eax
call fcn.004406b0
nop
nop
lea eax, [0x579464]
mov dword [esp], eax
call fcn.0040a040
lea eax, [0x57dea0]
mov dword [esp], eax
call fcn.00423b10
lea eax, [0x59e1e0]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0041a340
nop
lea eax, [0x59dea8]
mov dword [esp], eax
call fcn.0042e790
lea eax, [0x5790e4]
mov dword [esp], eax
call fcn.00424720
movzx eax, byte [esp + 8]
test al, al
je 0x418ce6
mov byte [esp + 0x23], al
mov eax, dword [esp + 4]
mov dword [esp + 0xc0], eax
lea ecx, [0x4d7cfc]
mov dword [esp], ecx
call fcn.00464540
call fcn.0042ed20
call fcn.00426f90
lea eax, [0x4d7cd8]
mov dword [esp], eax
call fcn.00464540
lea eax, [0x4d7d00]
mov dword [esp], eax
call fcn.00464540
lea eax, [0x5790e4]
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.004247a0
mov eax, dword [0x59e2c4]
test eax, eax
jle 0x418b87
movsd xmm0, qword [0x4f22cc]
mulsd xmm0, qword [0x5a3678]
movsd qword [esp + 0xc8], xmm0
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.00465bea
call fcn.00438f80
mov ecx, dword [0x579478]
mov edx, dword [0x57947c]
mov ebx, dword [0x59dfb0]
mov ebp, dword [0x59dfb4]
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.0045e540
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x41828b
adc ebx, 0
mov ecx, dword [esp + 0xc0]
mov eax, edx
mov edx, ebx
test edx, edx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebp
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4182b4
cmp eax, 0x14
jl 0x41835b
mov dword [esp + 0x58], ecx
mov dword [esp + 0x7c], eax
mov eax, ecx
mov ebp, 0xcccccccd
mov esi, edx
mul ebp
mov eax, esi
mov edi, edx
mul ebp
shr edi, 3
lea eax, [edi + edi*4]
shr edx, 3
lea ebx, [edx + edx*4]
shl eax, 1
sub ecx, eax
shl ebx, 1
sub esi, ebx
mov eax, 0x19999999
mov ebx, edx
mul esi
lea esi, [esi + esi*2]
lea esi, [ecx + esi*2]
mov ecx, eax
mov eax, esi
mov esi, edx
mul ebp
shr edx, 3
add edi, 0
adc ebx, 0
add edi, ecx
adc ebx, esi
mov eax, edx
add edx, edi
mov dword [esp + 0xc0], edx
mov ecx, eax
mov eax, edx
mov esi, 0xa
mul esi
mov edx, dword [esp + 0x58]
sub edx, eax
add edx, 0x30
mov eax, dword [esp + 0x7c]
cmp eax, 0x18
jae 0x418cdc
mov byte [esp + eax + 0xdc], dl
lea edx, [eax - 1]
cmp eax, 0x15
jne 0x418354
mov byte [esp + eax + 0xdb], 0x2e
add ecx, edi
mov edx, 0x13
jmp 0x41827d
add ecx, edi
jmp 0x41827d
add ecx, 0x30
cmp eax, 0x18
jae 0x418cd2
mov byte [esp + eax + 0xdc], cl
movsd xmm0, qword [esp + 0xc8]
cvttsd2si ecx, xmm0
mov dword [esp + 0x5c], ecx
sar ecx, 0x1f
mov dword [esp + 0xc4], ecx
mov ebx, dword [0x5a3670]
mov dword [esp + 0xc0], ebx
lea ebp, [esp + 0x14c]
mov dword [esp], ebp
lea ebp, [eax - 0x18]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
lea eax, [esp + eax + 0xdc]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00450240
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], ecx
call fcn.00438f80
lea eax, [0x4cd096]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00439800
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.004394e0
lea eax, [0x4cd044]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439800
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00439800
lea eax, [0x4cd046]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439800
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00439620
lea eax, [0x4cd099]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00439800
call fcn.00438fe0
mov eax, dword [0x579478]
mov ecx, dword [0x57947c]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0xf4]
mov edx, eax
xor eax, eax
call fcn.00465bea
mov ecx, dword [0x579480]
mov ebx, dword [0x579484]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], ebx
mov ecx, dword [0x579488]
mov ebx, dword [0x57948c]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ebx
mov ecx, dword [0x579490]
mov ebx, dword [0x579494]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x6c]
jmp 0x4185a0
lea eax, [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
inc ecx
mov dword [esp + 0xb8], ecx
sub esi, edx
sbb ebp, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
call fcn.00419e30
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.00450240
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb4], ecx
call fcn.00438f80
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.00439800
call fcn.00438fe0
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp ecx, 3
jge 0x418619
lea ebp, [esp + ecx*8 + 0xf4]
mov esi, dword [ebp]
mov dword [esp + 0x68], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x6c], ebp
test ecx, ecx
je 0x418503
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x84], ecx
call fcn.00438f80
lea eax, [0x4cd015]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439800
call fcn.00438fe0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
jmp 0x418503
call fcn.00438f80
lea eax, [0x4cdf5a]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00439800
call fcn.00438fe0
nop
lea eax, [0x59e780]
mov dword [esp], eax
call fcn.00402a00
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
lea edx, [0x59e788]
mov dword [esp], edx
call fcn.00402a00
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x59e790]
mov dword [esp], edx
call fcn.00402a00
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
nop
lea edx, [0x59e798]
mov dword [esp], edx
call fcn.00402a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x16c]
mov edx, eax
xor eax, eax
call fcn.00465be6
mov eax, dword [0x579470]
mov ecx, eax
sar ecx, 0x1f
mov ebx, dword [0x579480]
mov ebp, dword [0x579484]
mov esi, dword [0x579478]
mov edi, dword [0x57947c]
sub ebx, esi
sbb ebp, edi
mov esi, edx
mov edi, eax
mul ebx
mov dword [esp + 0x16c], eax
imul edi, ebp
lea eax, [edi + edx]
imul ecx, ebx
add eax, ecx
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
adc eax, ecx
mov dword [esp + 0x180], eax
mov dword [esp + 0x188], esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x190], eax
xor eax, eax
jmp 0x4187f7
lea eax, [esp + 0xdc]
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.00419e30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00450240
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], ecx
call fcn.00438f80
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00439800
call fcn.00438fe0
mov eax, dword [esp + 0x80]
inc eax
cmp eax, 5
jge 0x41888e
mov dword [esp + 0x80], eax
lea ecx, [esp + eax*8 + 0x16c]
mov edx, dword [ecx]
mov dword [esp + 0x70], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], ecx
cmp eax, 2
je 0x418825
cmp eax, 3
jne 0x418852
call fcn.00438f80
lea eax, [0x4cd021]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439800
call fcn.00438fe0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x41876f
test eax, eax
je 0x41876f
call fcn.00438f80
lea eax, [0x4cd015]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439800
call fcn.00438fe0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x41876f
lea eax, [0x59e740]
mov dword [esp], eax
call fcn.00402b80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
mov dword [esp + 0xc0], edx
shr ecx, 0x14
or eax, ecx
mov dword [esp + 0xbc], eax
lea ecx, [0x59e750]
mov dword [esp], ecx
call fcn.00402b80
mov eax, dword [0x5794ac]
mov ecx, dword [0x5794a8]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
mov dword [esp + 0xb0], edx
shr ecx, 0x14
or eax, ecx
mov dword [esp + 0xac], eax
mov ecx, dword [0x5794b4]
mov ebx, dword [0x5794b0]
mov ebp, ecx
shl ecx, 0xc
shr ebp, 0x14
mov dword [esp + 0xa8], ebp
shr ebx, 0x14
or ecx, ebx
mov dword [esp + 0xa4], ecx
mov ebx, dword [0x5794bc]
mov esi, dword [0x5794b8]
mov edi, ebx
shl ebx, 0xc
shr edi, 0x14
mov dword [esp + 0xa0], edi
shr esi, 0x14
or ebx, esi
mov dword [esp + 0x9c], ebx
mov esi, dword [0x59e724]
mov dword [esp + 0x98], esi
mov ebx, dword [0x59e720]
shl esi, 0xc
mov edi, dword [esp + 0x98]
shr edi, 0x14
mov dword [esp + 0x98], edi
shr ebx, 0x14
or esi, ebx
mov dword [esp + 0x94], esi
mov ebx, dword [esp + 8]
mov dword [esp + 0x48], ebx
mov esi, dword [esp + 4]
shl ebx, 0xc
mov edi, dword [esp + 0x48]
shr edi, 0x14
mov dword [esp + 0x90], edi
shr esi, 0x14
or ebx, esi
mov dword [esp + 0x8c], ebx
mov esi, dword [0x579474]
mov dword [esp + 0xc4], esi
call fcn.00438f80
lea eax, [0x4cd9d9]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00439800
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp], eax
call fcn.004394e0
lea eax, [0x4cd048]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439800
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.004394e0
lea eax, [0x4cd048]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439800
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.004394e0
lea eax, [0x4cd34f]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00439800
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.004394e0
lea eax, [0x4cdc40]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00439800
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004394e0
lea eax, [0x4ce2e6]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00439800
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.004394e0
lea eax, [0x4ce688]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00439800
mov eax, dword [esp + 0xc4]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439620
lea eax, [0x4cd04a]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439800
call fcn.00438fe0
movzx eax, byte [0x57944c]
test al, al
je 0x418b44
call fcn.00438f80
lea eax, [0x4cd9e2]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00439800
call fcn.00438fe0
call fcn.00438f80
call fcn.00439190
call fcn.00438fe0
mov eax, dword [0x59df64]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
nop
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x418b87
nop
nop
lea eax, [0x59def0]
mov dword [esp], eax
call fcn.0040a040
nop
nop
lea eax, [0x5790b0]
mov dword [esp], eax
call fcn.00409e40
mov eax, dword [0x5790c4]
mov dword [esp + 0x88], eax
mov ecx, dword [0x5790c0]
mov dword [esp + 0x198], ecx
mov dword [0x5790c4], 0
mov dword [0x5790c8], 0
mov edx, dword [0x59e070]
test edx, edx
je 0x418bdc
mov edx, dword [0x5790c0]
call fcn.00465a30
mov dword [edi], edx
mov dword [0x5790c0], 0
nop
nop
lea eax, [0x5790b0]
mov dword [esp], eax
call fcn.0040a040
xor eax, eax
jmp 0x418c1d
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x198]
lea edx, [ecx + eax*8]
mov edx, dword [edx]
mov dword [esp], edx
call fcn.00404170
mov eax, dword [esp + 0xb8]
inc eax
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jl 0x418bfa
lea eax, [0x59e6c0]
mov dword [esp], eax
call fcn.004208e0
mov eax, dword [esp + 8]
test eax, eax
seta al
sete cl
cmp dword [esp + 4], 0x40000000
seta dl
and edx, ecx
or edx, eax
test dl, dl
je 0x418c63
lea eax, [0x4d7d08]
mov dword [esp], eax
call fcn.00464540
nop
lea eax, [0x56e344]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a7e0
nop
lea eax, [0x56e348]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a7e0
mov eax, dword [esp + 0x194]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x59df64]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x418ccb
movzx eax, byte [ebx + 0x65]
test al, al
je 0x418ccb
mov dword [ebx + 8], 0xfffffade
add esp, 0x1a4
ret
mov ecx, 0x18
call fcn.00465a90
mov ecx, 0x18
call fcn.00465a90
lea eax, [0x4d2550]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004376d0
lea eax, [0x4d2dd9]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004376d0
nop
call fcn.00464630
jmp fcn.00417bd0