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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e3df8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x4f560d
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
jmp 0x4f5809
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], ecx
fstp qword [esp + 0x3c]
lea ecx, [esp + 0x14]
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
push ecx
mov ecx, esi
fstp qword [esp + 0x48]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fstp qword [esp + 0x50]
fild dword [esp + 0x10]
fstp qword [esp + 0x58]
call fcn.004f2ea0
fld qword [eax]
lea edx, [esp + 0x3c]
fstp qword [esp + 0x24]
push edx
fld qword [eax + 8]
lea ecx, [esp + 0x50]
fstp qword [esp + 0x30]
call fcn.005c00f0
movzx ecx, word [esi + 0x20]
fldz
test cl, 2
jne 0x4f57a5
fld st(0)
fucomp st(2)
fnstsw ax
test ah, 0x44
jnp 0x4f57a5
fld qword [esp + 0x54]
fsub qword [esp + 0x44]
fld qword [esp + 0x4c]
fsub qword [esp + 0x3c]
fchs
test cl, 1
je 0x4f56ad
fxch st(1)
fchs
fxch st(1)
fchs
fild dword [esi + 0x1c]
fld st(0)
fmulp st(3)
fxch st(2)
fdiv st(4)
fadd qword [esp + 0x24]
fxch st(2)
fmulp st(1)
fdivrp st(3)
fxch st(2)
fadd qword [esp + 0x2c]
fxch st(2)
fcom st(1)
fnstsw ax
fld qword [0x5f3df0]
test ah, 1
jne 0x4f56dd
fadd st(1), st(0)
jmp 0x4f56df
fsub st(1), st(0)
fxch st(1)
call fcn.005c3ce0
fxch st(1)
fcomp st(2)
mov dword [esp + 0xc], eax
fnstsw ax
test ah, 0x41
jp 0x4f56f9
faddp st(1)
jmp 0x4f56fb
fsubp st(1)
call fcn.005c3ce0
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004f41c0
fcomp qword [0x5f5c58]
fnstsw ax
test ah, 5
jp 0x4f5801
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x28]
call fcn.005c0190
push eax
mov ecx, esi
call fcn.004f51e0
test eax, eax
jne 0x4f5801
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x68]
call fcn.004f8540
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], 0
call fcn.004f85e0
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x60]
mov dword [esp + 0x10], eax
mov dword [esp + 0x80], 0xffffffff
call fcn.004f85b0
jmp 0x4f5801
fstp st(1)
fld qword [esp + 0x24]
fld qword [0x5f5c48]
fmul st(1), st(0)
fxch st(1)
fsub qword [esp + 0x3c]
fld qword [esp + 0x2c]
fmulp st(2)
fxch st(1)
fsub qword [esp + 0x44]
fxch st(1)
fcom st(2)
fnstsw ax
fld qword [0x5f3df0]
test ah, 1
jne 0x4f57da
fadd st(1), st(0)
jmp 0x4f57dc
fsub st(1), st(0)
fxch st(1)
call fcn.005c3ce0
fxch st(2)
fcomp st(1)
mov dword [esp + 0xc], eax
fnstsw ax
test ah, 0x41
jp 0x4f57f6
faddp st(1)
jmp 0x4f57f8
fsubrp st(1)
call fcn.005c3ce0
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4