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

Disassembly:
pushfd
clc
mov eax, dword [0x1560860]
adc eax, dword [0x4d7a73]
mov eax, dword [eax]
popfd
jmp 0x49f045
jmp 0x40742c
sub esp, 0x64
test eax, eax
je 0x49f051
add eax, 0x30
jmp 0x49f056
mov eax, 0xb6f02c
fld dword [eax]
push ebp
push esi
mov esi, dword [esp + 0x70]
fsub dword [esi]
fld dword [eax + 4]
fsub dword [esi + 4]
fld dword [eax + 8]
fsub dword [esi + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fcom dword [0x85a6fc]
fnstsw ax
test ah, 0x41
je 0x49f2f6
fcomp dword [0x8599d4]
fnstsw ax
test ah, 0x41
jne 0x49f0ad
test byte [0xb7cb4c], 1
jne 0x49f2f8
fld dword [esp + 0x94]
push ecx
fmul dword [0x858c98]
lea ecx, [esp + 0x54]
fstp dword [esp]
push 0
push 0x3f800000
push 0x3f800000
push 0x3f800000
push 0x3f800000
push 0x3f800000
call fcn.004ab290
fld dword [esp + 0x80]
fmul dword [0xb7cb5c]
mov eax, dword [esp + 0x7c]
xor ebp, ebp
test eax, eax
fstp dword [esp + 0x20]
mov dword [esp + 8], ebp
fld dword [esp + 0x84]
fmul dword [0xb7cb5c]
fstp dword [esp + 0x24]
fld dword [esp + 0x88]
fmul dword [0xb7cb5c]
fstp dword [esp + 0x28]
jle 0x49f2f8
fild dword [esp + 0x7c]
push ebx
mov bl, byte [esp + 0x90]
push edi
mov edi, dword [esp + 0x7c]
fstp dword [esp + 0x14]
fld dword [esp + 0x98]
fchs
fstp dword [esp + 0x78]
mov eax, dword [esp + 0x78]
fld dword [esp + 0x98]
mov dword [esp + 0x88], eax
fsub dword [esp + 0x88]
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
mov ecx, edi
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
fdiv dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x9c], edx
fsubr dword [0x858624]
fstp dword [esp + 0x94]
call fcn.00821b1e
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
fmul dword [0x858c7c]
fld dword [esp + 0x98]
fsub dword [esp + 0x9c]
fmulp st(1)
fadd dword [esp + 0x9c]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
call fcn.00821b1e
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x858c7c]
fld dword [esp + 0x98]
fsub dword [esp + 0x7c]
fmulp st(1)
fadd dword [esp + 0x7c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
call fcn.00821b1e
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x858c7c]
fmul dword [esp + 0x18]
fadd dword [esp + 0x88]
fadd dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [esp + 0x80]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fmul dword [esp + 0x80]
fstp dword [esp + 0x38]
fmul dword [esp + 0x80]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fmul dword [esp + 0x94]
fld dword [esp + 0x2c]
fmul dword [esp + 0x94]
fld dword [esp + 0x30]
fmul dword [esp + 0x94]
fstp dword [esp + 0x54]
fld dword [esi]
fsub st(2)
fstp dword [esp + 0x40]
fld dword [esi + 4]
fsub st(1)
fstp dword [esp + 0x44]
fstp st(0)
fstp st(0)
fld dword [esi + 8]
fsub dword [esp + 0x54]
test bl, bl
push 0
push 0x3f19999a
push 0x3f99999a
push 0xbf800000
fstp dword [esp + 0x58]
fld dword [esp + 0xa4]
lea ecx, [esp + 0x68]
fmul dword [0x858c28]
push ecx
push ecx
mov ecx, dword [0xa9ae28]
fstp dword [esp]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x58]
push edx
push eax
jne 0x49f2d3
mov ecx, dword [0xa9ae2c]
call fcn.004aa440
mov eax, dword [esp + 0x84]
inc ebp
cmp ebp, eax
mov dword [esp + 0x10], ebp
jl 0x49f166
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x64
ret 0x28
fstp st(0)
pop esi
pop ebp
add esp, 0x64
ret 0x28