Function at 0x10106da4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, edx
movaps xmm0, xmm1
movss dword [ebp - 0x10], xmm0
push edi
mov edi, ecx
cmp esi, 0xffffffff
je 0x10106e5f
mov eax, dword [edi + 0x2c]
mov ecx, 4
mov eax, dword [eax + 8]
mov ebx, dword [eax + 0x30]
lea eax, [ebp - 0x48]
nop
mov dword [eax + 4], 0
lea eax, [eax + 8]
mov dword [eax - 8], 0
sub ecx, 1
jne 0x10106b80
cmp esi, 8
ja 0x10106e5f
test byte [ebx + 4], 2
jne 0x10106e5f
mov eax, dword [ebx + 0x458]
lea esi, [esi + esi*2]
mov ecx, dword [ebx + 0x48]
movss xmm0, dword [ebx + 0x28]
movss xmm5, dword [esi*8 + 0x101bd5f8]
lea edx, [eax*8]
movss xmm6, dword [esi*8 + 0x101bd5fc]
sub edx, eax
movss dword [ebp - 8], xmm5
movss dword [ebp - 0xc], xmm6
movzx eax, word [ecx + edx*4 + 4]
movd xmm4, eax
movzx eax, word [ecx + edx*4 + 6]
mov ecx, edi
cvtdq2ps xmm4, xmm4
movd xmm3, eax
addss xmm4, dword [esi*8 + 0x101bd5f0]
cvtdq2ps xmm3, xmm3
movaps xmm1, xmm4
mulss xmm1, dword [ebx + 0x24]
addss xmm3, dword [esi*8 + 0x101bd5f4]
movss dword [ebp - 0x48], xmm1
movaps xmm1, xmm4
addss xmm4, dword [0x101afd74]
addss xmm1, xmm5
mulss xmm0, xmm3
movaps xmm2, xmm3
addss xmm2, xmm6
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebx + 0x28]
mulss xmm1, dword [ebx + 0x24]
mulss xmm0, xmm2
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebx + 0x28]
movss xmm1, dword [ebx + 0x24]
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm4, xmm5
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x38], xmm1
movss xmm0, dword [ebx + 0x28]
mulss xmm4, dword [ebx + 0x24]
mulss xmm0, xmm2
movss dword [ebp - 0x30], xmm4
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp + 0x14]
subss xmm0, dword [esi*8 + 0x101bd600]
movss dword [ebp + 0x14], xmm0
movss xmm0, dword [ebp + 0x18]
subss xmm0, dword [esi*8 + 0x101bd604]
movss dword [ebp + 0x18], xmm0
mov esi, dword [ebx + 8]
push esi
call fcn.101065a0
movss xmm0, dword [ebp - 8]
lea eax, [ebp - 0x30]
addss xmm0, dword [0x101afc38]
movss xmm3, dword [ebp - 0x10]
xorps xmm4, xmm4
movss xmm2, dword [ebp + 0x14]
push 0x30000000
push eax
mulss xmm0, xmm3
lea eax, [ebp - 0x38]
push eax
addss xmm0, xmm2
addss xmm2, xmm3
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, xmm4
movss dword [ebp - 0x28], xmm2
mulss xmm0, xmm3
movss dword [ebp - 0x14], xmm0
addss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm4
movss dword [ebp - 0x18], xmm0
addss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0x24], xmm0
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.100f9990
movss xmm0, dword [ebp - 8]
lea eax, [ebp - 0x30]
addss xmm0, dword [0x101afc78]
movss xmm3, dword [ebp - 0x10]
mov ecx, edi
push 0x30000000
push eax
lea eax, [ebp - 0x38]
mulss xmm0, xmm3
push eax
lea eax, [ebp - 0x28]
push eax
addss xmm0, dword [ebp + 0x14]
lea eax, [ebp - 0x20]
push eax
push esi
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm3
addss xmm0, xmm3
addss xmm0, dword [ebp + 0x14]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0x1c], xmm0
call fcn.100f9990
movss xmm1, dword [ebp - 8]
lea eax, [ebp - 0x30]
mulss xmm1, dword [ebp - 0x10]
mov ecx, edi
push 0xff000000
movss xmm0, dword [ebp + 0x14]
movss xmm2, dword [ebp - 0xc]
mulss xmm2, dword [ebp - 0x10]
addss xmm0, xmm1
push eax
lea eax, [ebp - 0x38]
movss dword [ebp - 8], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp + 0x18]
push eax
addss xmm0, xmm2
lea eax, [ebp + 0x14]
push eax
push esi
movss dword [ebp - 0x24], xmm0
call fcn.100f9990
movss xmm0, dword [ebp + 0x14]
lea eax, [ebp - 0x40]
addss xmm0, dword [ebp - 8]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
movss dword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
movss xmm0, dword [ebp + 0x18]
addss xmm0, dword [ebp - 0xc]
push eax
lea eax, [ebp + 0x14]
push eax
push esi
movss dword [ebp - 0x24], xmm0
call fcn.100f9990
mov ecx, dword [edi + 0x48]
sub ecx, 1
mov dword [edi + 0x48], ecx
jne 0x10106e4e
xor eax, eax
mov ecx, edi
mov dword [edi + 0x70], eax
call fcn.100fb2a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, edi
mov dword [edi + 0x70], eax
call fcn.100fb2a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret