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

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
fld dword [esi + 4]
push edi
mov edi, dword [esp + 0xb4]
fstp dword [esp + 0x20]
fld dword [edi + 4]
mov ebp, ecx
fld dword [esp + 0xb0]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4ff92d
fstp dword [esp + 0xb0]
jmp 0x4ff94c
fstp st(0)
fld dword [esp + 0xb0]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4ff94c
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb0], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xbc]
push 0
push ecx
mov edx, eax
and edx, 0xff
push edx
mov ecx, eax
shr ecx, 8
mov edx, eax
and ecx, 0x3ff
push ecx
shr edx, 0x12
and edx, 0x3f
push edx
shr eax, 0x1d
push eax
mov ecx, ebx
call fcn.004b33b0
fld dword [esi + 4]
fsub dword [edi + 4]
fst dword [esp + 0x28]
fcomp dword [0x59e7ec]
fnstsw ax
test ah, 0x41
jne 0x4ffb3a
mov ecx, ebp
call fcn.005001d0
test al, al
je 0x4ffb79
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x3f800000
fld dword [esp + 0x18]
lea eax, [ebx + 8]
fmul dword [edi + 8]
fld dword [esp + 0x14]
fmul dword [esi + 8]
faddp st(1)
fstp dword [eax]
fld dword [esp + 0x18]
fmul dword [edi + 0xc]
fld dword [esp + 0x14]
fmul dword [esi + 0xc]
faddp st(1)
fstp dword [ebx + 0xc]
fld dword [esp + 0x18]
fmul dword [edi + 0x10]
fld dword [esp + 0x14]
fmul dword [esi + 0x10]
faddp st(1)
fstp dword [ebx + 0x10]
movsx ecx, word [edi + 0x16]
movsx edx, word [edi + 0x18]
mov dword [esp + 0x28], eax
movsx eax, word [edi + 0x14]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x2c]
fmul dword [0x59e77c]
fstp dword [esp + 0x2c]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x8c]
fmul dword [0x59e77c]
fstp dword [esp + 0x30]
fild dword [esp + 0x1c]
fmul dword [0x59e77c]
fstp dword [esp + 0x34]
call fcn.00567030
movsx eax, word [esi + 0x14]
movsx ecx, word [esi + 0x16]
movsx edx, word [esi + 0x18]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x2c]
fmul dword [0x59e77c]
fstp dword [esp + 0x2c]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x7c]
fmul dword [0x59e77c]
fstp dword [esp + 0x30]
fild dword [esp + 0x1c]
fmul dword [0x59e77c]
fstp dword [esp + 0x34]
call fcn.00567030
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0xa8]
call fcn.00567580
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x9c]
call fcn.00567010
fld dword [esp + 0x2c]
fmul dword [0x59e714]
call fcn.00587bdc
fld dword [esp + 0x30]
fmul dword [0x59e714]
mov word [ebx + 0x14], ax
call fcn.00587bdc
fld dword [esp + 0x34]
fmul dword [0x59e714]
mov word [ebx + 0x16], ax
call fcn.00587bdc
mov word [ebx + 0x18], ax
lea eax, [esi + 0x1e]
mov ecx, ebx
sub ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], ecx
mov eax, edi
sub eax, esi
mov ecx, 0xffffffe6
lea ebp, [esi + 0x1a]
sub ecx, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ecx
jmp 0x4ffc70
fld dword [esi + 8]
lea ebp, [esi + 8]
fsub dword [edi + 8]
lea ecx, [edi + 8]
fld dword [esi + 0x10]
fsub dword [edi + 0x10]
fld dword [0x59e43c]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x20]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fmul dword [esp + 0x20]
fcomp dword [0x5ad35c]
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
jne 0x4ffb8e
mov dword [esp + 0x14], 0x3f800000
mov dword [esp + 0x18], 0
jmp 0x4ff9c2
fld dword [esp + 0x28]
fcomp dword [0x59e440]
fnstsw ax
test ah, 0x44
jnp 0x4ff9b2
fld dword [edi + 4]
fsubr dword [esp + 0xb0]
fmul dword [esp + 0x20]
fstp dword [esp + 0x14]
fld dword [0x59e43c]
fsub dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x59e440]
fnstsw ax
test ah, 0x41
jne 0x4ff9c2
fld dword [esp + 0x18]
fcomp dword [0x59e43c]
fnstsw ax
test ah, 5
jp 0x4ff9c2
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 8]
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x58], eax
call fcn.004b2580
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x5c], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x64], edx
call fcn.004b2580
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x74]
lea ecx, [esp + 0x5c]
call fcn.004ff3a0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
lea eax, [ebx + 8]
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x4ff9fd
mov eax, dword [esp + 0x38]
lea ecx, [ecx]
movsx ecx, byte [eax + ebp]
movsx edx, byte [ebp]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
mov dword [esp + 0x24], edx
fmul dword [esp + 0x18]
fild dword [esp + 0x24]
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [0x59e450]
call fcn.00587bdc
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov byte [ecx + ebp], al
mov eax, dword [esp + 0x20]
movsx ecx, word [edx + eax]
movsx edx, word [eax]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
mov dword [esp + 0x24], edx
fmul dword [esp + 0x18]
fild dword [esp + 0x24]
fmul dword [esp + 0x14]
faddp st(1)
call fcn.00587bdc
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov word [edx + ecx], ax
mov eax, dword [esp + 0x10]
add ecx, 2
inc ebp
add eax, ebp
cmp eax, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebp
jl 0x4ffc69
movsx ecx, word [edi + 0x26]
movsx edx, word [esi + 0x26]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x18]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
call fcn.00587bdc
mov word [ebx + 0x26], ax
movsx eax, word [edi + 0x28]
movsx ecx, word [esi + 0x28]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul dword [esp + 0x18]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
call fcn.00587bdc
mov word [ebx + 0x28], ax
movsx edx, word [edi + 0x2a]
movsx eax, word [esi + 0x2a]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x18]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
call fcn.00587bdc
mov word [ebx + 0x2a], ax
movsx ecx, word [edi + 0x30]
movsx edx, word [esi + 0x30]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x18]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
call fcn.00587bdc
mov word [ebx + 0x30], ax
movsx eax, word [edi + 0x32]
movsx ecx, word [esi + 0x32]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul dword [esp + 0x18]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
call fcn.00587bdc
mov word [ebx + 0x32], ax
movsx edx, byte [edi + 0x2c]
movsx eax, byte [esi + 0x2c]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x18]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
call fcn.00587bdc
mov byte [ebx + 0x2c], al
movsx ecx, word [edi + 0x2e]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
movsx edx, word [esi + 0x2e]
fmul dword [esp + 0x18]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
call fcn.00587bdc
movsx ax, al
mov word [ebx + 0x2e], ax
movsx ecx, byte [edi + 0x2d]
movsx edx, byte [esi + 0x2d]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x18]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
call fcn.00587bdc
fld dword [esp + 0x14]
fcomp dword [0x59e440]
mov byte [ebx + 0x2d], al
fnstsw ax
test ah, 0x41
jne 0x4fff7e
fld dword [esp + 0x14]
mov eax, dword [esi + 0x34]
fcomp dword [0x59e43c]
mov dword [ebx + 0x34], eax
mov ecx, dword [esi + 0x38]
mov dword [ebx + 0x38], ecx
fnstsw ax
test ah, 5
jp 0x4fff8a
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.004b2a80
fmul dword [esp + 0x18]
lea ebp, [esi + 8]
mov ecx, ebp
fstp dword [esp + 0x10]
mov dword [esp + 0x24], ebp
call fcn.004b2a80
fmul dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
fadd dword [esp + 0x14]
fstp dword [esp]
call fcn.004b2a40
mov ecx, ebx
call fcn.004b29f0
fmul dword [esp + 0x18]
mov ecx, ebp
fstp dword [esp + 0x10]
call fcn.004b29f0
fmul dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
fadd dword [esp + 0x14]
fstp dword [esp]
call fcn.004b29b0
mov ecx, ebx
call fcn.004b2a30
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.004b2a30
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jne 0x4fff41
mov ecx, ebx
call fcn.004b2980
fmul dword [esp + 0x18]
mov ecx, ebp
fstp dword [esp + 0x10]
call fcn.004b2980
fmul dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
fadd dword [esp + 0x14]
fstp dword [esp]
call fcn.004b2930
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x9c
ret 0x10
fld dword [edi + 4]
fadd dword [esi + 4]
fmul dword [0x59e450]
fcomp dword [esp + 0xb0]
fnstsw ax
test ah, 0x41
jne 0x4fff8a
mov ecx, ebx
call fcn.004b2980
push ecx
mov ecx, dword [esp + 0x2c]
fstp dword [esp]
call fcn.004b2930
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x9c
ret 0x10
mov edx, dword [edi + 0x34]
mov dword [ebx + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x9c
ret 0x10