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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
mov edi, dword [esp + 0x84]
fld dword [esi]
fsub dword [edi]
fld dword [esi + 4]
fsub dword [edi + 4]
fld st(1)
fxch st(1)
fstp dword [esp + 0x90]
mov eax, dword [esp + 0x90]
fst dword [esp + 0x28]
fmul dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [0x7431bc]
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x90]
fxch st(2)
faddp st(1)
fxch st(1)
fstp dword [esp + 0x90]
cmp eax, 2
fsqrt
fld dword [esp + 0x90]
fxch st(2)
fst dword [esp + 0x84]
fxch st(2)
fmul dword [esp + 0x90]
fxch st(1)
fstp dword [esp + 0x90]
fxch st(1)
fmul dword [esp + 0x84]
fld dword [esp + 0x90]
fxch st(1)
faddp st(2)
fdivr dword [0x7dcafc]
fxch st(1)
fsqrt
fxch st(1)
fst dword [esp + 0x90]
fld dword [esp + 0x90]
fxch st(1)
fmul dword [esp + 0x28]
fxch st(2)
fstp dword [esp + 0x84]
fmul dword [esp + 0x2c]
fxch st(1)
fstp dword [esp + 0x34]
fstp dword [esp + 0x38]
jle 0x5d3ddb
fld dword [esp + 0x88]
fld dword [esp + 0x88]
fsin
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x2c]
fxch st(1)
fcos
fst dword [esp + 0x8c]
fxch st(1)
fst dword [esp + 0x14]
fchs
fld dword [esp + 0x14]
fxch st(2)
fst dword [esp + 0x1c]
fxch st(2)
fmul dword [esp + 0x98]
fxch st(1)
fst dword [esp + 0x7c]
fmul dword [esp + 0x98]
fld dword [esp + 0x1c]
fxch st(3)
fchs
fxch st(3)
fmul dword [esp + 0x98]
fld dword [esi + 8]
fld dword [esi + 8]
fxch st(2)
fst dword [esp + 0x2c]
fxch st(3)
fst dword [esp + 0x34]
fxch st(1)
fstp dword [esp + 0x7c]
fadd dword [esp + 0x7c]
fxch st(2)
fstp dword [esp + 0x50]
fxch st(1)
fstp dword [esp + 0x58]
fxch st(2)
fst dword [esp + 0x74]
fmul dword [esp + 0x98]
fld dword [0x7dcaf8]
fxch st(2)
fst dword [esp + 0x34]
fxch st(3)
fstp dword [esp + 0x7c]
fxch st(2)
fadd dword [esp + 0x7c]
fxch st(2)
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], edx
fstp dword [esp + 0x4c]
mov dword [esp + 0x48], eax
call fcn.0046bd69
mov edx, dword [esp + 0x98]
fld dword [edx]
fld dword [edx]
fsub dword [esp + 0x54]
fxch st(1)
fsub dword [esp + 0x30]
fxch st(1)
fmul dword [esp + 0x10]
fxch st(1)
fmul dword [esp + 0x10]
fxch st(1)
fdiv dword [esp + 0x18]
fxch st(1)
fdiv dword [esp + 0x18]
fxch st(1)
fadd dword [esp + 0x4c]
fxch st(1)
fadd dword [esp + 0x28]
fxch st(1)
fstp dword [esp + 0x90]
fstp dword [esp + 0x98]
jmp 0x5d3e23
mov edx, dword [esp + 0x98]
fld dword [esp + 0x94]
fld dword [edx]
fsub dword [esi + 8]
fxch st(1)
fadd st(0), st(0)
fld dword [esp + 0x84]
fxch st(1)
fdivp st(2)
fmul dword [esp + 0x94]
fxch st(1)
fsub dword [0x7dcb04]
fmul st(1)
fstp dword [esp + 0x98]
fadd dword [esp + 0x98]
fstp dword [esp + 0x90]
fld dword [edx + 4]
fsub dword [esp + 0x84]
fdiv dword [edx + 4]
fmul qword [0x7dcb0c]
fst dword [esp + 0x88]
fcomp dword [0x7dcb14]
fnstsw ax
test ah, 0x41
jne 0x5d3e55
mov dword [esp + 0x88], 0x3f333333
fld dword [esp + 0x88]
fcomp dword [0x7dcaf8]
fnstsw ax
test ah, 1
jne 0x5d420b
fld dword [edi]
fld dword [esi + 4]
fsub dword [edi + 4]
fxch st(1)
fsub dword [esi]
fld dword [esp + 0x34]
fxch st(2)
fst dword [esp + 0x10]
fmul dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0x14]
fmul dword [esp + 0x14]
fld dword [esp + 0x38]
fld dword [esp + 0x34]
fxch st(3)
faddp st(2)
fld dword [esp + 0x38]
fxch st(4)
fmul dword [esp + 0x90]
fxch st(2)
fsqrt
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x40]
push eax
mov eax, dword [edx]
mov edx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], 0
fdivr dword [0x7dcafc]
fxch st(1)
fmul dword [esp + 0x94]
fxch st(1)
fstp dword [esp + 0x94]
fxch st(2)
fmul dword [esp + 0x9c]
fld dword [esp + 0x94]
fxch st(4)
fmul dword [esp + 0x9c]
fld dword [esp + 0x94]
fxch st(3)
fadd dword [esi]
fstp dword [esp + 0x38]
fxch st(3)
fadd dword [esi + 4]
fxch st(1)
fadd dword [esi]
fxch st(3)
fadd dword [esi + 4]
fxch st(4)
fmul dword [esp + 0x14]
fxch st(1)
fstp dword [esp + 0x3c]
fxch st(1)
fmul dword [esp + 0x18]
fxch st(2)
fstp dword [esp + 0x2c]
fxch st(2)
fstp dword [esp + 0x30]
fxch st(1)
fstp dword [esp + 0x50]
fstp dword [esp + 0x54]
call fcn.0046bd69
fld dword [esp + 0x40]
fld dword [esp + 0x44]
fld dword [esp + 0x48]
fxch st(2)
fmul dword [esp + 0x94]
fxch st(1)
fmul dword [esp + 0x94]
fxch st(2)
fmul dword [esp + 0x94]
mov eax, dword [esp + 0x88]
push 0
push eax
push 0
push 0
push 1
mov ecx, dword [esp + 0x94]
fxch st(1)
fstp dword [esp + 0x24]
fxch st(1)
fstp dword [esp + 0x28]
push ecx
fstp dword [esp + 0x30]
call fcn.005d0045
fld dword [esp + 0x40]
fld dword [esp + 0x44]
fld dword [esp + 0x48]
fxch st(2)
fsub dword [esp + 0x28]
fxch st(1)
fsub dword [esp + 0x2c]
fxch st(2)
fsub dword [esp + 0x30]
fxch st(1)
fstp dword [esp + 0x64]
fxch st(1)
fstp dword [esp + 0x68]
add esp, 0x18
lea edx, [esp + 0x4c]
fstp dword [esp + 0x54]
push edx
lea ecx, [esp + 0x20]
xor edi, edi
call fcn.0046bd69
fld dword [esp + 0x10]
fld dword [esp + 0x14]
fld dword [esp + 0x18]
fxch st(2)
fadd st(0), st(0)
fxch st(1)
fadd st(0), st(0)
fxch st(2)
fadd st(0), st(0)
fxch st(1)
fstp dword [esp + 0x4c]
fxch st(1)
fstp dword [esp + 0x50]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x58]
fstp dword [esp + 0x54]
push eax
call fcn.0046bd69
fld dword [esp + 0x34]
fld dword [esp + 0x38]
fld dword [esp + 0x3c]
fxch st(2)
fsub dword [esp + 0x28]
fxch st(1)
fsub dword [esp + 0x2c]
fxch st(2)
fsub dword [esp + 0x30]
fxch st(1)
fstp dword [esp + 0x4c]
fxch st(1)
fstp dword [esp + 0x50]
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x40]
fstp dword [esp + 0x54]
push edx
call fcn.0046bd69
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x64]
push eax
mov dword [esp + 0x40], edx
call fcn.0046bd69
push esi
push edi
call dword [0x757978]
fld dword [esp + 0x24]
add esp, 8
mov ebx, 2
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
fstp dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov esi, 2
lea eax, [esp + 0x10]
push eax
push edi
call dword [0x757978]
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fxch st(2)
fadd dword [esp + 0x60]
fxch st(1)
fadd dword [esp + 0x64]
fxch st(2)
fadd dword [esp + 0x68]
fxch st(1)
fstp dword [esp + 0x18]
fxch st(1)
fstp dword [esp + 0x1c]
add esp, 8
inc edi
fstp dword [esp + 0x18]
dec esi
jne 0x5d40a0
fld dword [esp + 0x64]
fld dword [esp + 0x68]
fld dword [esp + 0x6c]
fxch st(2)
fadd dword [esp + 0x1c]
fxch st(1)
fadd dword [esp + 0x20]
fxch st(2)
fadd dword [esp + 0x24]
fxch st(1)
fst dword [esp + 0x1c]
fxch st(2)
fstp dword [esp + 0x20]
dec ebx
fstp dword [esp + 0x24]
jne 0x5d4087
fstp st(0)
xor edi, edi
mov dword [esp + 0x94], 1
lea esi, [edi + 3]
mov ebx, 1
lea ebp, [esi - 1]
push esi
lea ecx, [ebp - 1]
push ecx
push edi
call dword [0x75dac4]
add esp, 0xc
push ebp
push esi
push edi
call dword [0x75dac4]
add esp, 0xc
inc edi
inc esi
dec ebx
jne 0x5d412d
mov eax, dword [esp + 0x94]
inc edi
dec eax
mov dword [esp + 0x94], eax
jne 0x5d4125
fld dword [esp + 0x88]
fmul dword [0x7dcb18]
mov dword [esp + 0x88], 0x3f800000
xor esi, esi
mov ebx, 2
fld st(0)
fld st(1)
fxch st(1)
fstp dword [esp + 0x70]
fstp dword [esp + 0x74]
fstp dword [esp + 0x78]
mov dword [esp + 0x94], 0x3f800000
mov edi, 2
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x75dad8]
test al, 2
mov dword [esp + 0x10], edx
je 0x5d41d7
lea ecx, [esp + 0x10]
lea edx, [esp + 0x70]
push ecx
push edx
push esi
call dword [0x757938]
add esp, 0xc
fld dword [esp + 0x94]
fsub dword [0x7dcafc]
inc esi
dec edi
fstp dword [esp + 0x94]
jne 0x5d41a3
fld dword [esp + 0x88]
fsub dword [0x7dcafc]
dec ebx
fstp dword [esp + 0x88]
jne 0x5d4193
call fcn.005d02ea
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret