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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5a9be1
sub esp, 0xa0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
cmp ebx, 5
jne 0x5a9b77
cmp dword [edx], 0x70747468
jne 0x5a9b77
cmp byte [edx + 4], 0x73
jne 0x5a9b77
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005a93f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xa8]
xor ebx, ebx
jmp 0x5a9748
lea ebx, [edx + 1]
mov edx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.005a8cf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5a9aa4
mov dword [esp + 0x4c], ecx
test byte [ecx], al
lea eax, [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00401870
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
xor eax, 1
mov byte [esp + 8], al
call fcn.005b3910
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.005ac430
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov dword [esp + 0x44], edx
test eax, eax
je 0x5a9a9b
mov ebx, dword [esp + 0x1c]
cmp ebx, 6
jg 0x5a9a9b
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005a9c50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x5a99d8
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x5a9743
mov dword [esp + 0x48], eax
lea ecx, [edx - 1]
cmp ecx, 0x20
sbb eax, eax
mov ebx, 1
shl ebx, cl
and ebx, eax
mov dword [esp], ebx
call fcn.0045c8d0
fld qword [esp + 4]
fld st(0)
fstp qword [esp + 0x28]
fstp st(0)
call fcn.004c0320
fld qword [esp]
fld qword [0x6c6e90]
fld st(0)
fmulp st(2)
fld qword [esp + 0x28]
fld st(0)
fmulp st(3)
fld st(2)
faddp st(1)
fld st(0)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00453e10
mov eax, dword [esp + 8]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov ebx, dword [esp + 0xc]
mov dword [esp], eax
imul eax, ebx, 0x3b9aca00
add eax, edx
mov dword [esp + 4], eax
call fcn.0049d780
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 0x78]
mov ebp, dword [edx + 0x7c]
test ebx, ebx
je 0x5a99c6
mov eax, dword [ebx + 0x14]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0045cbb4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov word [esp + 0x78], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov word [esp + 0x90], 1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00440f30
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5a9970
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
jmp 0x5a9743
cmp eax, 1
jne 0x5a9be0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test ecx, ecx
je 0x5a99b7
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
nop
mov eax, dword [0x7cc06c]
lea ecx, [0x6cd440]
jmp 0x5a9987
nop
mov ebp, dword [0x7cc06c]
lea ebx, [0x6cd440]
jmp 0x5a98f0
test ecx, ecx
je 0x5a9a73
je 0x5a9a6c
mov eax, dword [ecx + 4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
movzx eax, byte [0x7e31c5]
test al, al
jne 0x5a9a2c
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
add esp, 0xa0
ret
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], ecx
lea eax, [0x67f593]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0057b0a0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
jmp 0x5a9a0c
mov eax, ecx
jmp 0x5a99e9
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xa0
ret
mov edx, ecx
mov ecx, eax
jmp 0x5a99d8
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00409f80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5a9b70
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ebx, [0x643700]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
movzx edx, byte [0x7e31c5]
test dl, dl
jne 0x5a9b38
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0xa0
ret
lea eax, [0x68a313]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0057b0a0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
jmp 0x5a9b18
mov edx, ecx
jmp 0x5a9ad3
cmp ebx, 4
jne 0x5a9b99
cmp dword [edx], 0x70747468
jne 0x5a9b99
mov ebp, dword [esp + 0xa4]
movzx esi, byte [ebp + 0x11]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5a970e
lea eax, [0x64d2c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x68147b]
mov dword [eax], ecx
mov dword [esp + 0xb0], 0
lea ecx, [0x6cadb0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0xa0
ret
nop
call fcn.0045b380
jmp fcn.005a96c0