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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
mov ebx, ecx
mov ecx, dword [0x100bce90]
push esi
push edi
mov edi, edx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
movsx eax, word [edi + 0x4c]
push eax
call esi
movss xmm1, dword [edi + 0x78]
mulss xmm1, dword [edi + 0x38]
movss xmm0, dword [eax + 0x58]
movzx esi, word [eax + 0x60]
addss xmm1, dword [edi + 0x74]
movss dword [esp + 0x10], xmm0
movss dword [edi + 0x74], xmm1
movss xmm0, dword [ebx + 0x10c]
movss dword [esp + 0x14], xmm1
mulss xmm1, dword [0x1009edd0]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
call fcn.10083f90
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [edi + 0x7c]
movss dword [edi + 0x7c], xmm0
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x1009efdc]
ja 0x10009c8e
movss xmm0, dword [0x1009edfc]
comiss xmm0, dword [esp + 0x10]
ja 0x10009c8e
cmp dword [edi + 0x80], 0
jle 0x10009c98
movq xmm0, qword [edi + 0x60]
lea eax, [esp + 0x28]
push eax
mov eax, dword [edi + 0x68]
lea edx, [edi + 0xc]
sub esp, 0xc
mov dword [esp + 0x34], 0x7f800000
mov ecx, esp
mov dword [esp + 0x30], 0x7f800000
sub esp, 0xc
mov dword [esp + 0x38], 0x7f800000
mov dword [esp + 0x4c], 0x7f800000
mov dword [esp + 0x48], 0x7f800000
movq qword [ecx], xmm0
movq xmm0, qword [edi + 0x18]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [edi + 0x20]
mov dword [esp + 0x44], 0x7f800000
mov dword [esp + 0x58], 0x7f800000
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0x7f800000
mov dword [esp + 0x50], 0x7f800000
mov dword [esp + 0x64], 0x7f800000
mov dword [esp + 0x60], 0x7f800000
mov dword [esp + 0x5c], 0x7f800000
call fcn.100095c0
add esp, 0x1c
test al, al
je 0x10009c98
mov ecx, dword [0x100bce90]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
movsx eax, word [esp + 0x68]
push eax
call edx
test byte [edi + 0x3c], 8
movss xmm1, dword [0x1009ee0c]
movss dword [esp + 0x14], xmm1
movzx edx, word [eax + 0x60]
mov ecx, edx
jne 0x10009b05
cmp esi, 0x59
je 0x10009b05
cmp esi, 0x47
je 0x10009b05
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [eax + 0x4c]
mulss xmm0, dword [0x1009ee38]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x1009eec4]
jmp 0x10009b21
movss xmm0, dword [0x1009eec4]
movss xmm1, dword [0x1009edf4]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x14], xmm1
cmp esi, ecx
jne 0x10009b42
cmp ecx, 0x57
je 0x10009b3c
cmp ecx, 0x55
je 0x10009b3c
cmp edx, 0x4c
jne 0x10009b42
movss xmm0, dword [0x1009eeac]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x1009ee70]
sub esp, 8
divss xmm0, dword [esp + 0x18]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.1006b333
movss xmm0, dword [0x1009eec4]
divss xmm0, dword [ebx + 0xfc]
fstp dword [esp + 0x18]
mulss xmm0, dword [0x1009ee78]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.1006b333
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x1009eec4]
movss xmm2, dword [esp + 0x3c]
subss xmm2, dword [edi + 0x18]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [edi + 0x7c]
fmul dword [esp + 0x20]
movss xmm1, dword [esp + 0x44]
subss xmm1, dword [edi + 0x20]
mulss xmm2, xmm2
fstp dword [esp + 0x20]
addss xmm0, dword [esp + 0x20]
mulss xmm1, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [edi + 0x1c]
mulss xmm0, xmm0
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10005ec0
mulss xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
divss xmm0, dword [0x1009ef28]
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.1006b333
movss xmm0, dword [edi + 0x7c]
add esp, 8
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
ja 0x10009c98
xorps xmm2, xmm2
comiss xmm1, xmm2
jb 0x10009c52
subss xmm0, xmm1
movss dword [edi + 0x7c], xmm0
movss xmm1, dword [0x1009ee70]
comiss xmm1, xmm0
ja 0x10009c98
movss xmm0, dword [esp + 0x34]
mov al, 1
dec dword [edi + 0x80]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [edi + 8], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x80], 0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret