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

Disassembly:
sub esp, 0x47c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x54], edi
mov eax, dword [edi + 0x54]
push eax
call fcn.005c475e
mov ecx, dword [esp + 0x494]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x20]
add esp, 4
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
xor ecx, ecx
mov cx, word [eax + edx*4 + 0x58]
lea ebx, [eax + edx*4]
push ecx
mov dword [esp + 0x2c], ebx
call fcn.005c22bd
mov edx, dword [edi + 0x4c]
add esp, 4
and edx, 0x10000
mov esi, eax
push edx
mov edx, dword [edi + 0x3c]
lea eax, [edi + 8]
lea ecx, [edi + 0x14]
push edx
push eax
mov eax, dword [esp + 0x4a0]
push ecx
push 1
push eax
call fcn.005d0045
mov ecx, dword [edi + 0x7c]
lea edx, [edi + 0x40]
add esp, 0x18
mov ebp, dword [ebx + ecx*4 + 0x14]
mov eax, dword [edx]
mov dword [esp + 0xc8], 0
mov dword [esp + 0x1c], eax
fld dword [esi + 0x21]
fadd dword [esp + 0x1c]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x494]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], ebp
mov edx, dword [edx + 8]
mov ecx, dword [eax + 0x10]
fstp dword [esp + 0x1c]
fld dword [esi + 0x25]
fadd dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x10]
add edx, 0x10
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], ecx
push edx
fstp dword [esp + 0x24]
fld dword [esi + 0x29]
fadd dword [esp + 0x28]
lea esi, [edi + 0x14]
push eax
mov ecx, esi
fstp dword [esp + 0x2c]
call fcn.005da066
test byte [esp + 0x38], 0x40
je 0x5c9112
fld dword [edi + 0xc]
fadd dword [esp + 0x40]
fld dword [edi + 0x10]
fadd dword [esp + 0x44]
sub esp, 0xc
mov eax, esp
sub esp, 0x24
fstp dword [esp + 0x90]
fld dword [edi + 8]
fadd dword [esp + 0x6c]
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov ecx, esp
fstp dword [eax]
push esi
fstp dword [eax + 4]
call fcn.005c7ab2
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x5c]
push edx
push eax
lea ecx, [esp + 0x100]
call fcn.005c18f9
mov ecx, dword [edi + 0x7c]
mov edx, dword [edi + 0x64]
fild dword [edi + 0x68]
mov al, byte [ebx + ecx + 4]
mov dword [esp + 0x38], 0
test al, al
fstp dword [esp + 0x14]
mov dword [esp + 0x18], edx
jbe 0x5c95b9
jmp 0x5c913d
mov ebp, dword [esp + 0x48]
xor edx, edx
xor eax, eax
mov dl, byte [ebp + 2]
mov al, byte [ebp]
xor ecx, ecx
mov esi, eax
mov cl, byte [ebp + 1]
mov ebp, edx
mov edx, dword [esp + 0x48]
mov edi, ecx
add edx, 3
xor eax, eax
mov al, byte [esi + 0x75dad8]
mov dword [esp + 0x48], edx
xor ecx, ecx
xor edx, edx
mov cl, byte [edi + 0x75dad8]
mov dl, byte [ebp + 0x75dad8]
test eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
jne 0x5c91c0
fld dword [esp + 0x14]
lea eax, [esi + esi*2]
lea ebx, [eax*4 + 0x745058]
push ebx
push esi
call fcn.00674a84
mov ecx, dword [esp + 0x498]
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005c4026
push ebx
push esi
call dword [0x757978]
mov ebx, dword [esp + 0x30]
add esp, 8
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x5c9203
fld dword [esp + 0x14]
lea eax, [edi + edi*2]
lea ebx, [eax*4 + 0x745058]
push ebx
push edi
call fcn.00674a84
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x49c]
push edx
push eax
call fcn.005c4026
push ebx
push edi
call dword [0x757978]
mov ebx, dword [esp + 0x30]
add esp, 8
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x5c9247
fld dword [esp + 0x14]
lea eax, [ebp + ebp*2]
lea ebx, [eax*4 + 0x745058]
push ebx
push ebp
call fcn.00674a84
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x498]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.005c4026
push ebx
push ebp
call dword [0x757978]
mov ebx, dword [esp + 0x30]
add esp, 8
push ebp
push edi
push esi
call dword [0x75dac4]
mov al, byte [esi + 0x75dad8]
add esp, 0xc
test al, 2
je 0x5c9365
mov ecx, dword [ebx + 0x54]
lea eax, [esi + esi*8]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + eax*2]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], edx
test eax, eax
mov dword [esp + 0x34], ecx
je 0x5c92b6
fld dword [esp + 0x14]
lea edx, [esi + esi*2]
lea eax, [edx*4 + 0x745058]
push eax
push esi
call fcn.00674a84
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x498]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.005c4026
lea eax, [esi + esi*2]
lea ecx, [esp + 0xb0]
push ebx
lea edx, [esp + 0x30]
fld dword [eax*4 + 0x745058]
fsub dword [esp + 0x40]
lea eax, [eax*4 + 0x745058]
push ecx
push edx
lea ecx, [esp + 0xd4]
fstp dword [esp + 0xbc]
fld dword [eax + 4]
fsub dword [esp + 0x4c]
fstp dword [esp + 0xc0]
fld dword [eax + 8]
fsub dword [esp + 0x50]
fstp dword [esp + 0xc4]
call fcn.005c1d09
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x68]
mov ecx, eax
push edx
and ecx, 0xffff
mov dword [esp + 0x74], ecx
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xb0], ecx
fild qword [esp + 0x74]
shr eax, 0x10
mov dword [esp + 0xac], eax
lea eax, [esp + 0x30]
fmul dword [0x7dc8b8]
push eax
push esi
fstp dword [esp + 0x74]
fild qword [esp + 0xb4]
fmul dword [0x7dc8b8]
fstp dword [esp + 0x78]
call dword [0x757938]
mov ebx, dword [esp + 0x34]
add esp, 0xc
test byte [edi + 0x75dad8], 2
je 0x5c9481
mov edx, dword [ebx + 0x54]
mov eax, dword [esp + 0x1c]
lea ecx, [edi + edi*8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
lea esi, [edx + ecx*2]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
test eax, eax
mov dword [esp + 0x34], edx
je 0x5c93c7
fld dword [esp + 0x14]
lea eax, [edi + edi*2]
lea ecx, [eax*4 + 0x745058]
push ecx
push edi
call fcn.00674a84
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x49c]
push edx
push eax
call fcn.005c4026
lea ecx, [edi + edi*2]
lea edx, [esp + 0xbc]
push esi
push edx
fld dword [ecx*4 + 0x745058]
fsub dword [esp + 0x44]
lea eax, [ecx*4 + 0x745058]
lea ecx, [esp + 0xd0]
fstp dword [esp + 0xc4]
fld dword [eax + 4]
fsub dword [esp + 0x48]
fstp dword [esp + 0xc8]
fld dword [eax + 8]
fsub dword [esp + 0x4c]
lea eax, [esp + 0x34]
push eax
fstp dword [esp + 0xd0]
call fcn.005c1d09
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x78]
mov ecx, eax
push edx
and ecx, 0xffff
mov dword [esp + 0x84], ecx
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0xa8], ecx
fild qword [esp + 0x84]
shr eax, 0x10
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x30]
fmul dword [0x7dc8b8]
push eax
push edi
fstp dword [esp + 0x84]
fild qword [esp + 0xac]
fmul dword [0x7dc8b8]
fstp dword [esp + 0x88]
call dword [0x757938]
add esp, 0xc
test byte [ebp + 0x75dad8], 2
je 0x5c9597
mov edx, dword [ebx + 0x54]
mov eax, dword [esp + 0x1c]
lea ecx, [ebp + ebp*8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
xor edi, edi
lea esi, [edx + ecx*2]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
je 0x5c94e7
fld dword [esp + 0x14]
lea eax, [ebp + ebp*2]
lea ecx, [eax*4 + 0x745058]
push ecx
push ebp
call fcn.00674a84
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x49c]
push edx
push eax
call fcn.005c4026
lea ecx, [ebp + ebp*2]
lea edx, [esp + 0x58]
push esi
push edx
fld dword [ecx*4 + 0x745058]
fsub dword [esp + 0x44]
lea eax, [ecx*4 + 0x745058]
lea ecx, [esp + 0xd0]
fstp dword [esp + 0x60]
fld dword [eax + 4]
fsub dword [esp + 0x48]
fstp dword [esp + 0x64]
fld dword [eax + 8]
fsub dword [esp + 0x4c]
lea eax, [esp + 0x34]
push eax
fstp dword [esp + 0x6c]
call fcn.005c1d09
mov eax, dword [esi + 0xc]
mov dword [esp + 0x94], edi
mov ecx, eax
mov dword [esp + 0x8c], edi
and ecx, 0xffff
lea edx, [esp + 0x98]
mov dword [esp + 0x90], ecx
push edx
fild qword [esp + 0x94]
shr eax, 0x10
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x30]
fmul dword [0x7dc8b8]
push eax
push ebp
fstp dword [esp + 0xa4]
fild qword [esp + 0x94]
fmul dword [0x7dc8b8]
fstp dword [esp + 0xa8]
call dword [0x757938]
add esp, 0xc
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
inc eax
mov edx, dword [ecx + 0x7c]
xor ecx, ecx
mov dword [esp + 0x38], eax
mov cl, byte [ebx + edx + 4]
cmp eax, ecx
jl 0x5c9139
mov edi, dword [esp + 0x54]
call fcn.005d02ea
mov ecx, dword [edi + 0x54]
call fcn.005c471f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret 8