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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
mov ebp, dword [esp + 0xb4]
cmp dword [ebp + 0xc8c], 0
push esi
push edi
je 0x5d790e
mov dword [esp + 0xac], 0xfff0f000
mov dword [esp + 0xb0], 0xffc8c800
mov dword [esp + 0xb4], 0xffa0a000
mov dword [ebp + 0xc68], 0
mov esi, ebp
mov dword [esp + 0x44], 6
test esi, esi
je 0x5d78fd
lea ebx, [esi + 0x20]
mov dword [esp + 0x10], 0
add ebp, 0xc60
mov edi, ebx
push 0x30
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004ae0b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + ecx*4 + 0xb8]
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
fld dword [esp + 0x24]
fld qword [0x6f9c10]
add esp, 0xc
fsub st(1), st(0)
push 0
fxch st(1)
mov dword [esp + 0x28], eax
push 0
fstp dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], edx
fadd dword [esp + 0x2c]
push 1
lea edx, [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x30]
push edx
mov ecx, ebp
call fcn.00414790
mov eax, dword [esp + 0x10]
add eax, 1
add edi, 0x80
cmp eax, 3
mov dword [esp + 0x10], eax
jb 0x5d762e
push 0x30
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004ae0b0
fld dword [ebx]
fsub dword [esi + 0xa0]
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
mov edi, ecx
fstp dword [esp + 0x74]
mov eax, 0xff0000f0
fld dword [ebx + 4]
mov dword [esp + 0x38], eax
fsub dword [esi + 0xa4]
mov dword [esp + 0x3c], eax
add esp, 0xc
sub edi, dword [esi + 0x108]
fstp dword [esp + 0x6c]
mov eax, edx
sbb eax, dword [esi + 0x10c]
fld dword [ebx + 8]
fsub dword [esi + 0xa8]
mov dword [esp + 0xa0], edi
mov edi, eax
and eax, 0x7fffffff
fstp dword [esp + 0x70]
and edi, 0x80000000
mov dword [esp + 0xa4], eax
fild qword [esp + 0xa0]
mov dword [esp + 0x94], edi
xor edi, edi
mov dword [esp + 0x90], edi
fild qword [esp + 0x90]
mov eax, dword [esi + 0x208]
sub eax, ecx
mov dword [esp + 0x88], edi
fchs
faddp st(1)
fld qword [0x6f9c10]
fdiv st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld1
fdivrp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x68]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
mov ecx, eax
fxch st(1)
mov eax, dword [esi + 0x20c]
sbb eax, edx
mov dword [esp + 0x98], ecx
fstp dword [esp + 0x58]
mov ecx, eax
fld dword [esp + 0x6c]
and eax, 0x7fffffff
fmul st(1)
and ecx, 0x80000000
mov dword [esp + 0x9c], eax
mov dword [esp + 0x8c], ecx
fstp dword [esp + 0x5c]
fmul dword [esp + 0x70]
fstp dword [esp + 0x60]
fild qword [esp + 0x98]
fild qword [esp + 0x88]
fchs
faddp st(1)
fdiv st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x58]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x78]
fld dword [esp + 0x5c]
fmul st(1)
push edi
push edi
push 1
fstp dword [esp + 0x88]
fmul dword [esp + 0x6c]
fstp dword [esp + 0x8c]
fld dword [ebx]
fadd dword [esp + 0x84]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
fld dword [ebx + 4]
mov dword [esp + 0x20], eax
fadd dword [esp + 0x88]
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
fld dword [ebx + 8]
mov dword [esp + 0x24], ecx
fadd dword [esp + 0x8c]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x20]
push ecx
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
fld dword [esp + 0x5c]
mov ecx, ebp
fld st(0)
mov dword [esp + 0x2c], edx
fsub st(2)
mov dword [esp + 0x38], edx
fstp dword [esp + 0x28]
faddp st(1)
fstp dword [esp + 0x34]
call fcn.00414790
push 0x30
lea edx, [esp + 0x18]
push edi
push edx
call fcn.004ae0b0
mov ecx, dword [esi + 0x1a4]
mov edx, dword [esi + 0x1a8]
mov dword [esp + 0x24], ecx
fld dword [esp + 0x24]
fld qword [0x6f9c10]
add esp, 0xc
fsub st(1), st(0)
mov eax, 0xfff00000
push edi
fxch st(1)
mov dword [esp + 0x30], eax
fstp dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1a0]
mov dword [esp + 0x28], ecx
fadd dword [esp + 0x28]
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
fstp dword [esp + 0x2c]
push 1
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], edx
call fcn.00414790
mov ebp, dword [esp + 0xbc]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
add esi, 0x210
sub dword [esp + 0x44], 1
jne 0x5d7613
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 4