Function at 0x100416c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
shl esi, 2
lea ecx, [edx + edx]
imul eax, edx, 6
dec edx
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 8]
lea edi, [edi + ecx*4]
mov dword [ebp - 4], edi
movss xmm7, dword [0x1015d900]
movss xmm0, dword [edx]
lea edi, [edx + 4]
lea edi, [edi + esi*8]
movss xmm3, dword [edi]
mov dword [ebp + 8], edi
lea edi, [edx + eax*8]
movss xmm1, dword [edi]
lea eax, [edx + ecx*8]
movss xmm4, dword [edi + 4]
movaps xmm2, xmm1
addss xmm1, dword [edx + esi*8]
subss xmm2, dword [edx + esi*8]
mov ecx, dword [ebp + 0xc]
subss xmm0, xmm1
movss dword [edx + esi*8], xmm0
movss xmm0, dword [edx]
addss xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm4
addss xmm4, xmm3
movss dword [edx], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [edi + 4], xmm0
addss xmm2, dword [eax + 4]
movss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [eax + 4], xmm2
movss dword [edi], xmm0
movss xmm0, dword [eax]
addss xmm0, xmm1
movss dword [eax], xmm0
movss xmm0, dword [edx + 4]
subss xmm0, xmm4
movss dword [edx + esi*8 + 4], xmm0
movss xmm0, dword [edx + 4]
addss xmm0, xmm4
movss dword [edx + 4], xmm0
movss xmm4, dword [ecx + 4]
mov ecx, dword [ebp - 4]
movaps xmm3, xmm4
movss xmm6, dword [edx + esi*8 + 0xc]
mulss xmm3, dword [edx + esi*8 + 8]
movaps xmm0, xmm6
movss xmm1, dword [ecx - 4]
movss xmm5, dword [edi + 8]
xorps xmm1, xmm7
mulss xmm0, xmm1
movaps xmm2, xmm5
mulss xmm1, dword [edx + esi*8 + 8]
mulss xmm5, dword [ecx - 4]
subss xmm3, xmm0
mulss xmm6, xmm4
mulss xmm2, xmm4
addss xmm6, xmm1
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm1
mulss xmm1, xmm4
mulss xmm0, dword [ecx - 4]
lea ecx, [edx + 8]
addss xmm5, xmm1
subss xmm2, xmm0
movss xmm0, dword [ecx]
movaps xmm1, xmm2
addss xmm2, xmm3
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [edx + esi*8 + 8], xmm0
addss xmm2, dword [ecx]
movss dword [ecx], xmm2
movss xmm0, dword [eax + 0xc]
subss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm0, dword [eax + 0xc]
addss xmm0, xmm1
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm5, xmm6
movss dword [eax + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [edi + 8], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, xmm1
movss dword [eax + 8], xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, xmm5
movss dword [edx + esi*8 + 0xc], xmm0
movss xmm0, dword [edx + 0xc]
mov esi, dword [ebp + 8]
addss xmm0, xmm5
movss dword [edx + 0xc], xmm0
mov edx, dword [ebp + 0xc]
add esi, 0x10
add edi, 0x10
add eax, 0x10
add ecx, 0x10
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
add edx, 8
movss xmm1, dword [esi]
sub eax, 8
movaps xmm0, xmm1
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], edx
movss xmm5, dword [edx]
movss xmm4, dword [eax]
movaps xmm3, xmm5
mulss xmm3, dword [esi - 4]
xorps xmm4, xmm7
mulss xmm0, xmm4
mulss xmm4, dword [esi - 4]
subss xmm3, xmm0
mulss xmm1, xmm5
movss xmm0, dword [eax]
mulss xmm0, dword [edi + 4]
addss xmm4, xmm1
movss xmm1, dword [edi]
movaps xmm2, xmm1
mulss xmm1, dword [eax]
mov eax, dword [ebp + 8]
mulss xmm2, xmm5
mulss xmm5, dword [edi + 4]
subss xmm2, xmm0
movss xmm0, dword [ecx - 8]
addss xmm5, xmm1
movaps xmm1, xmm2
addss xmm2, xmm3
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [esi - 4], xmm0
movss xmm0, dword [ecx - 8]
addss xmm0, xmm2
movss dword [ecx - 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm1
movss dword [edi + 4], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, xmm1
movaps xmm1, xmm4
subss xmm1, xmm5
addss xmm5, xmm4
movss dword [eax + 4], xmm0
movss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [edi], xmm0
movss xmm0, dword [eax]
addss xmm0, xmm1
movss dword [eax], xmm0
movss xmm0, dword [ecx - 4]
subss xmm0, xmm5
movss dword [esi], xmm0
addss xmm5, dword [ecx - 4]
movss dword [ecx - 4], xmm5
movss xmm4, dword [edx + 4]
mov edx, dword [ebp - 4]
movaps xmm3, xmm4
mulss xmm3, dword [esi + 4]
movaps xmm5, xmm4
mulss xmm5, dword [esi + 8]
movaps xmm2, xmm4
movss xmm6, dword [edx - 4]
mulss xmm2, dword [edi + 8]
movaps xmm1, xmm6
xorps xmm1, xmm7
movaps xmm0, xmm1
mulss xmm1, dword [esi + 4]
mulss xmm0, dword [esi + 8]
addss xmm5, xmm1
subss xmm3, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [edi + 0xc]
subss xmm2, xmm0
sub dword [ebp + 0x10], 1
movaps xmm1, xmm2
movss xmm0, dword [ecx]
addss xmm2, xmm3
mulss xmm6, dword [edi + 8]
subss xmm1, xmm3
mulss xmm4, dword [edi + 0xc]
subss xmm0, xmm2
addss xmm6, xmm4
movss dword [esi + 4], xmm0
movss xmm0, dword [ecx]
addss xmm0, xmm2
movss dword [ecx], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, xmm1
movss dword [edi + 0xc], xmm0
addss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax + 8]
movss dword [eax + 0xc], xmm1
movaps xmm1, xmm5
subss xmm1, xmm6
addss xmm6, xmm5
subss xmm0, xmm1
movss dword [edi + 8], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, xmm1
movss dword [eax + 8], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, xmm6
movss dword [esi + 8], xmm0
movss xmm0, dword [ecx + 4]
addss xmm0, xmm6
movss dword [ecx + 4], xmm0
jne 0x10041879
pop edi
pop esi
mov esp, ebp
pop ebp
ret