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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, edx
movss dword [esp + 0x14], xmm1
push edi
mov edi, ecx
cmp esi, 0xffffffff
je 0x10065c3a
mov eax, dword [edi + 0x2c]
mov ecx, 4
mov eax, dword [eax + 8]
mov ebx, dword [eax + 0x30]
lea eax, [esp + 0x30]
nop dword [eax]
mov dword [eax + 4], 0
lea eax, [eax + 8]
mov dword [eax - 8], 0
sub ecx, 1
jne 0x10065900
cmp esi, 8
ja 0x10065c3a
test byte [ebx], 2
jne 0x10065c3a
mov eax, dword [ebx + 0x460]
lea esi, [esi + esi*2]
mov ecx, dword [ebx + 0x48]
movss xmm6, dword [esi*8 + 0x101bdd54]
movss xmm5, dword [esi*8 + 0x101bdd50]
lea edx, [eax*8]
movss dword [esp + 0x10], xmm5
sub edx, eax
movss dword [esp + 0x14], xmm6
movzx eax, word [ecx + edx*4 + 4]
movd xmm4, eax
movzx eax, word [ecx + edx*4 + 6]
cvtdq2ps xmm4, xmm4
mov ecx, dword [edi + 0x48]
movd xmm3, eax
addss xmm4, dword [esi*8 + 0x101bdd48]
cvtdq2ps xmm3, xmm3
movaps xmm1, xmm4
mulss xmm1, dword [ebx + 0x24]
addss xmm3, dword [esi*8 + 0x101bdd4c]
movaps xmm0, xmm3
movaps xmm2, xmm3
mulss xmm0, dword [ebx + 0x28]
addss xmm2, xmm6
movss dword [esp + 0x30], xmm1
movaps xmm1, xmm4
addss xmm4, dword [0x101b6540]
movss dword [esp + 0x34], xmm0
addss xmm1, xmm5
movaps xmm0, xmm2
mulss xmm0, dword [ebx + 0x28]
mulss xmm1, dword [ebx + 0x24]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm4
addss xmm4, xmm5
movss dword [esp + 0x38], xmm1
mulss xmm0, dword [ebx + 0x24]
mulss xmm3, dword [ebx + 0x28]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x60]
subss xmm0, dword [esi*8 + 0x101bdd58]
movss dword [esp + 0x44], xmm3
mulss xmm4, dword [ebx + 0x24]
mulss xmm2, dword [ebx + 0x28]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x64]
subss xmm0, dword [esi*8 + 0x101bdd5c]
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x64], xmm0
mov ebp, dword [ebx + 4]
mov ebx, dword [edi + 0x4c]
cmp ecx, ebx
jne 0x10065a5d
inc ecx
test ebx, ebx
je 0x10065a4a
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
jmp 0x10065a4f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x48]
call fcn.1005ebf0
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x50]
mov dword [eax + ecx*4], ebp
mov ecx, edi
inc dword [edi + 0x48]
mov dword [edi + 0x70], ebp
call fcn.100604f0
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x48]
addss xmm0, dword [0x101b63d0]
movss xmm4, dword [esp + 0x18]
mov ecx, edi
movss xmm2, dword [esp + 0x60]
movss xmm3, dword [esp + 0x14]
movss xmm1, dword [esp + 0x64]
mulss xmm0, xmm4
push 0x30000000
push eax
mulss xmm3, xmm4
lea eax, [esp + 0x48]
push eax
addss xmm0, xmm2
movss dword [esp + 0x38], xmm1
lea eax, [esp + 0x2c]
push eax
addss xmm2, xmm4
movss dword [esp + 0x2c], xmm3
lea eax, [esp + 0x38]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
push eax
push ebp
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x3c], xmm0
call fcn.10062c60
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x48]
addss xmm0, dword [0x101b6428]
movss xmm3, dword [esp + 0x18]
mov ecx, edi
movss xmm1, dword [esp + 0x64]
push 0x30000000
push eax
mulss xmm0, xmm3
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x30], xmm1
push eax
addss xmm0, dword [esp + 0x70]
lea eax, [esp + 0x30]
push eax
push ebp
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm3
addss xmm0, xmm3
addss xmm0, dword [esp + 0x78]
movss dword [esp + 0x38], xmm0
call fcn.10062c60
movss xmm2, dword [esp + 0x10]
lea eax, [esp + 0x48]
mulss xmm2, dword [esp + 0x18]
push 0xff000000
movss xmm0, dword [esp + 0x64]
movss xmm3, dword [esp + 0x18]
mulss xmm3, dword [esp + 0x1c]
addss xmm0, xmm2
push eax
lea eax, [esp + 0x48]
movss dword [esp + 0x18], xmm2
push eax
movss dword [esp + 0x20], xmm3
lea eax, [esp + 0x34]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, xmm3
movss dword [esp + 0x38], xmm0
push eax
lea eax, [esp + 0x70]
mov ecx, edi
push eax
push ebp
call fcn.10062c60
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x38]
addss xmm0, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x38]
mov ecx, edi
push eax
movss dword [esp + 0x34], xmm0
lea eax, [esp + 0x34]
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [esp + 0x20]
push eax
lea eax, [esp + 0x70]
push eax
push ebp
movss dword [esp + 0x44], xmm0
call fcn.10062c60
mov ecx, dword [edi + 0x48]
sub ecx, 1
mov dword [edi + 0x48], ecx
jne 0x10065c29
xor eax, eax
mov ecx, edi
mov dword [edi + 0x70], eax
call fcn.100604f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, edi
mov dword [edi + 0x70], eax
call fcn.100604f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret