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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a44c2
sub esp, 0x7c
mov eax, dword [esp + 0x80]
inc dword [eax + 0x28]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jle 0x5a3f5d
inc dword [eax + 0x2c]
mov ecx, dword [eax + 0x2c]
cmp ecx, 0x64
jle 0x5a3fd8
mov edx, dword [eax + 0x28]
cmp edx, 0x3e8
jle 0x5a3fd8
cmp edx, 0x61a80
jg 0x5a3f82
movsd xmm0, qword [0x68b0f0]
jmp 0x5a3fc2
cmp edx, 0x3d0900
jl 0x5a3f94
movsd xmm0, qword [0x68b068]
jmp 0x5a3fc2
lea ebx, [edx - 0x61a80]
cvtsi2sd xmm0, ebx
movsd xmm1, qword [0x68b158]
divsd xmm0, xmm1
movsd xmm1, qword [0x68b0e0]
mulsd xmm1, xmm0
movsd xmm0, qword [0x68b0f0]
subsd xmm0, xmm1
cvtsi2sd xmm1, ecx
cvtsi2sd xmm2, edx
divsd xmm1, xmm2
ucomisd xmm1, xmm0
ja 0x5a4418
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov ecx, dword [0x7bfe64]
mov edx, dword [esp + 0x10]
cmp dword [0x7bfe60], eax
jne 0x5a40f4
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004033d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a40f4
nop
movzx ecx, byte [0x7c0510]
test cl, cl
je 0x5a4079
lea ecx, [0x61fc80]
mov dword [0x7c0514], ecx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5a4065
mov eax, dword [esp + 0x84]
mov dword [0x7c0518], eax
jmp 0x5a4086
lea edi, [0x7c0518]
mov eax, dword [esp + 0x84]
call fcn.0045e950
jmp 0x5a4086
mov eax, dword [esp + 0x84]
lea ecx, [0x61fc80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x5a40ad
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5a40b3
or edx, 0x80
jmp 0x5a40b3
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004b8740
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
call fcn.004b9ea0
mov byte [esp + 0x94], 1
add esp, 0x7c
ret
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
cmp ecx, 1
je 0x5a4300
cmp ecx, 0x10
je 0x5a42bc
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x88]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x10], edx
call fcn.005a3a80
mov eax, dword [esp + 0x14]
movzx ecx, byte [esp + 0x20]
movzx edx, byte [esp + 0x21]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test cl, cl
jne 0x5a42b1
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
cmp edx, 2
ja 0x5a424e
test edx, edx
jne 0x5a421f
mov edx, dword [ecx + 4]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0x14]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0x1c]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0x24]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0x34]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0x44]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0x48]
test edx, edx
jne 0x5a4344
mov edx, dword [ecx + 0x4c]
test edx, edx
jne 0x5a4344
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.005a4730
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x94], al
add esp, 0x7c
ret
cmp edx, 2
jne 0x5a4344
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.005a6570
movzx eax, byte [esp + 0x14]
jmp 0x5a42a6
cmp edx, 4
je 0x5a4282
cmp edx, 8
jne 0x5a4344
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.005a47e0
movzx eax, byte [esp + 0x14]
jmp 0x5a42a6
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.005a6ad0
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x94], al
add esp, 0x7c
ret
mov byte [esp + 0x94], dl
add esp, 0x7c
ret
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], eax
call fcn.005a4560
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x94], al
add esp, 0x7c
ret
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], eax
call fcn.005a44d0
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x94], al
add esp, 0x7c
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [ecx]
mov dword [esp], eax
call fcn.00408cf0
mov eax, dword [esp + 4]
lea ecx, [0x606480]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x24]
mov dword [esp], eax
lea eax, [0x62e75f]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x63c580]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x27
call fcn.0044ac30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x60d600]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00408bb0
mov eax, dword [esp + 8]
lea ecx, [0x60d600]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004337b0
nop
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [0x62e75f]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x63b4de]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x24
call fcn.0044ac30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x60d600]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00408bb0
mov eax, dword [esp + 8]
lea ecx, [0x60d600]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004337b0
nop
call fcn.0045d540
jmp fcn.005a3f30