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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [esp + 0x70]
push esi
push eax
call fcn.005baec0
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
add esp, 8
test edi, edi
je 0x48a864
fld dword [edi]
fsub dword [esi + 0x30]
fld dword [edi + 4]
fsub dword [esi + 0x34]
fstp dword [esp + 0x14]
fld dword [edi + 8]
fsub dword [esi + 0x38]
fstp dword [esp + 0x18]
fld dword [esp + 0x90]
fmul dword [esp + 0x18]
fld dword [esp + 0x80]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x70]
fmul st(2)
faddp st(1)
fadd dword [esp + 0xa0]
fld dword [esp + 0x94]
fmul dword [esp + 0x18]
fld dword [esp + 0x84]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x74]
fmul st(3)
faddp st(1)
fadd dword [esp + 0xa4]
fld dword [esp + 0x98]
fmul dword [esp + 0x18]
fld dword [esp + 0x88]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x78]
fmul st(4)
faddp st(1)
fadd dword [esp + 0xa8]
fstp dword [esp + 0xb8]
mov ecx, dword [esp + 0xb8]
fld dword [esp + 0x9c]
fmul dword [esp + 0x18]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x8c]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x7c]
fmul st(4)
faddp st(1)
fadd dword [esp + 0xac]
fstp dword [esp + 0xbc]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x1c], edx
fxch st(1)
mov edx, dword [0x8654a4]
fstp dword [esp + 0x10]
cmp edx, 3
sete al
fstp dword [esp + 0x14]
movzx eax, al
test eax, eax
fstp st(0)
je 0x48a7a8
mov ecx, dword [0x78d794]
fld dword [0x78d790]
mov dword [esp + 0x2c], ecx
jmp 0x48a7b8
mov edx, dword [0x78d78c]
fld dword [0x78d788]
mov dword [esp + 0x2c], edx
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fsqrt
fst dword [esp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x48a7f3
fstp dword [esp + 0xc]
jmp 0x48a80c
fstp st(0)
fld dword [esp + 0xc]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x48a80c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x24], 0
call fcn.0043d080
fld dword [esp + 0x14]
fmul dword [esp + 0x18]
add esp, 8
fld dword [esp + 0xc]
mov dword [ebx + 0xcc], 0x3f800000
fmul dword [esp + 0x14]
fld dword [esp + 0xc]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fxch st(1)
mov dword [ebx + 0xc8], eax
fstp dword [ebx + 0xc0]
fstp dword [ebx + 0xc4]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48aacc
test edi, edi
je 0x48aacc
fld dword [esi]
lea edi, [ebx + 0xe0]
fmul dword [eax]
fld dword [eax + 0x30]
fmul dword [esi + 0xc]
faddp st(1)
fld dword [eax + 0x20]
fmul dword [esi + 8]
faddp st(1)
fld dword [eax + 0x10]
fmul dword [esi + 4]
faddp st(1)
fstp dword [esp + 0x30]
fld dword [esi]
fmul dword [eax + 4]
fld dword [eax + 0x14]
fmul dword [esi + 4]
faddp st(1)
fld dword [eax + 0x24]
fmul dword [esi + 8]
faddp st(1)
fld dword [eax + 0x34]
fmul dword [esi + 0xc]
faddp st(1)
fstp dword [esp + 0x34]
fld dword [eax + 0x38]
fmul dword [esi + 0xc]
fld dword [eax + 0x18]
fmul dword [esi + 4]
faddp st(1)
fld dword [esi]
fmul dword [eax + 8]
faddp st(1)
fld dword [eax + 0x28]
fmul dword [esi + 8]
faddp st(1)
fstp dword [esp + 0x38]
fld dword [eax + 0x2c]
fmul dword [esi + 8]
fld dword [eax + 0x3c]
fmul dword [esi + 0xc]
faddp st(1)
fld dword [eax + 0xc]
fmul dword [esi]
faddp st(1)
fld dword [eax + 0x1c]
fmul dword [esi + 4]
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [eax + 0x20]
fmul dword [esi + 0x18]
fld dword [eax + 0x30]
fmul dword [esi + 0x1c]
faddp st(1)
fld dword [eax + 0x10]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esi + 0x10]
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x40]
fld dword [eax + 0x14]
fmul dword [esi + 0x14]
fld dword [esi + 0x1c]
fmul dword [eax + 0x34]
faddp st(1)
fld dword [esi + 0x18]
fmul dword [eax + 0x24]
faddp st(1)
fld dword [esi + 0x10]
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0x44]
fld dword [esi + 0x18]
fmul dword [eax + 0x28]
fld dword [eax + 0x18]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esi + 0x10]
fmul dword [eax + 8]
faddp st(1)
fld dword [eax + 0x38]
fmul dword [esi + 0x1c]
faddp st(1)
fstp dword [esp + 0x48]
fld dword [eax + 0x2c]
fmul dword [esi + 0x18]
fld dword [eax + 0xc]
fmul dword [esi + 0x10]
faddp st(1)
fld dword [eax + 0x1c]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [eax + 0x3c]
fmul dword [esi + 0x1c]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [eax + 0x20]
fmul dword [esi + 0x28]
fld dword [eax + 0x30]
fmul dword [esi + 0x2c]
faddp st(1)
fld dword [eax + 0x10]
fmul dword [esi + 0x24]
faddp st(1)
fld dword [esi + 0x20]
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x50]
fld dword [eax + 0x14]
fmul dword [esi + 0x24]
fld dword [esi + 0x2c]
fmul dword [eax + 0x34]
faddp st(1)
fld dword [esi + 0x28]
fmul dword [eax + 0x24]
faddp st(1)
fld dword [esi + 0x20]
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0x54]
fld dword [esi + 0x28]
fmul dword [eax + 0x28]
fld dword [eax + 0x18]
fmul dword [esi + 0x24]
faddp st(1)
fld dword [esi + 0x20]
fmul dword [eax + 8]
faddp st(1)
fld dword [eax + 0x38]
fmul dword [esi + 0x2c]
faddp st(1)
fstp dword [esp + 0x58]
fld dword [eax + 0x2c]
fmul dword [esi + 0x28]
fld dword [eax + 0xc]
fmul dword [esi + 0x20]
faddp st(1)
fld dword [eax + 0x1c]
fmul dword [esi + 0x24]
faddp st(1)
fld dword [eax + 0x3c]
fmul dword [esi + 0x2c]
faddp st(1)
fstp dword [esp + 0x5c]
fld dword [esi + 0x30]
fmul dword [eax]
fld dword [eax + 0x30]
fmul dword [esi + 0x3c]
faddp st(1)
fld dword [esi + 0x38]
fmul dword [eax + 0x20]
faddp st(1)
fld dword [eax + 0x10]
fmul dword [esi + 0x34]
faddp st(1)
fstp dword [esp + 0x60]
fld dword [eax + 0x14]
fmul dword [esi + 0x34]
fld dword [esi + 0x30]
fmul dword [eax + 4]
faddp st(1)
fld dword [esi + 0x3c]
fmul dword [eax + 0x34]
faddp st(1)
fld dword [esi + 0x38]
fmul dword [eax + 0x24]
faddp st(1)
fstp dword [esp + 0x64]
fld dword [esi + 0x38]
fmul dword [eax + 0x28]
fld dword [eax + 0x18]
fmul dword [esi + 0x34]
faddp st(1)
fld dword [eax + 0x38]
fmul dword [esi + 0x3c]
faddp st(1)
fld dword [esi + 0x30]
fmul dword [eax + 8]
faddp st(1)
fstp dword [esp + 0x68]
fld dword [esi + 0x38]
fmul dword [eax + 0x2c]
fld dword [eax + 0x1c]
fmul dword [esi + 0x34]
lea ecx, [esp + 0x30]
push ecx
push edi
faddp st(1)
fld dword [eax + 0xc]
fmul dword [esi + 0x30]
faddp st(1)
fld dword [eax + 0x3c]
fmul dword [esi + 0x3c]
faddp st(1)
fstp dword [esp + 0x74]
call fcn.00401310
add esp, 8
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x2c], eax
mov edx, dword [ebx + 0xc0]
mov dword [edi + 0x30], edx
mov ecx, dword [ebx + 0xc4]
mov dword [edi + 0x34], ecx
mov edx, dword [ebx + 0xc8]
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret