Function at 0x10041a57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
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 xmm3, dword [edx]
lea edi, [edx + 4]
movss xmm7, dword [edx + 4]
lea edi, [edi + esi*8]
movss xmm6, dword [edi]
mov dword [ebp - 0x10], edi
lea edi, [edx + eax*8]
movss xmm4, dword [edi]
lea eax, [edx + ecx*8]
movss xmm0, dword [edi + 4]
movaps xmm1, xmm4
addss xmm4, dword [edx + esi*8]
subss xmm1, dword [edx + esi*8]
movss xmm5, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, xmm4
mov ecx, dword [ebp + 0xc]
addss xmm3, xmm4
movss dword [edx + esi*8], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movss dword [edx], xmm3
addss xmm1, xmm2
movss xmm2, dword [ebp + 8]
movss dword [edi + 4], xmm0
movaps xmm0, xmm5
movss dword [eax + 4], xmm1
movaps xmm1, xmm6
subss xmm1, xmm2
addss xmm2, xmm6
subss xmm0, xmm1
addss xmm1, xmm5
movss dword [edi], xmm0
movaps xmm0, xmm7
movss dword [eax], xmm1
subss xmm0, xmm2
addss xmm7, xmm2
movss dword [edx + esi*8 + 4], xmm0
movss dword [edx + 4], xmm7
movss xmm2, dword [ecx + 4]
mov ecx, dword [ebp - 4]
movaps xmm7, xmm2
movss xmm3, dword [edx + esi*8 + 0xc]
mulss xmm7, dword [edx + esi*8 + 8]
movaps xmm0, xmm3
movss xmm1, dword [ecx - 4]
xorps xmm1, xmmword [0x1015d900]
mulss xmm0, xmm1
mulss xmm1, dword [edx + esi*8 + 8]
mulss xmm3, xmm2
subss xmm7, xmm0
addss xmm3, xmm1
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm1
mulss xmm1, xmm2
mulss xmm0, dword [ecx - 4]
movss dword [ebp + 8], xmm3
movss xmm3, dword [edi + 8]
movaps xmm5, xmm3
mulss xmm3, dword [ecx - 4]
lea ecx, [edx + 8]
mulss xmm5, xmm2
addss xmm3, xmm1
subss xmm5, xmm0
movss dword [ebp - 8], xmm3
movss xmm3, dword [ecx]
movss xmm6, dword [edx + 0xc]
movaps xmm1, xmm5
movss xmm2, dword [eax + 0xc]
addss xmm5, xmm7
movss xmm4, dword [eax + 8]
subss xmm1, xmm7
movaps xmm0, xmm3
subss xmm0, xmm5
addss xmm3, xmm5
movss dword [edx + esi*8 + 8], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movss dword [ecx], xmm3
addss xmm2, xmm1
movss xmm1, dword [ebp + 8]
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm4
movss dword [eax + 0xc], xmm2
movss xmm2, dword [ebp - 8]
subss xmm1, xmm2
addss xmm2, dword [ebp + 8]
subss xmm0, xmm1
addss xmm4, xmm1
movss dword [edi + 8], xmm0
movaps xmm0, xmm6
subss xmm0, xmm2
movss dword [eax + 8], xmm4
addss xmm6, xmm2
movss dword [edx + esi*8 + 0xc], xmm0
mov esi, dword [ebp - 0x10]
movss dword [edx + 0xc], xmm6
mov edx, ecx
mov ecx, dword [ebp + 0xc]
add esi, 0x10
add eax, 0x10
movss xmm6, dword [edx + 0xc]
add edi, 0x10
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
add edx, 0x10
movss xmm1, dword [esi]
add ecx, 8
sub eax, 8
mov dword [ebp + 0xc], ecx
movaps xmm0, xmm1
mov dword [ebp - 4], eax
movss xmm3, dword [ecx]
movss xmm2, dword [eax]
movaps xmm7, xmm3
xorps xmm2, xmmword [0x1015d900]
mulss xmm7, dword [esi - 4]
mulss xmm0, xmm2
mulss xmm2, dword [esi - 4]
mulss xmm1, xmm3
subss xmm7, xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [edi + 4]
addss xmm2, xmm1
movss xmm1, dword [edi]
movaps xmm4, xmm1
mulss xmm1, dword [eax]
mov eax, dword [ebp + 8]
mulss xmm4, xmm3
mulss xmm3, dword [edi + 4]
movss xmm5, dword [eax]
subss xmm4, xmm0
movss dword [ebp - 0x10], xmm2
movss xmm2, dword [eax + 4]
addss xmm3, xmm1
movaps xmm1, xmm4
addss xmm4, xmm7
subss xmm1, xmm7
movss dword [ebp - 0xc], xmm3
movss xmm3, dword [edx - 8]
movaps xmm0, xmm3
subss xmm0, xmm4
addss xmm3, xmm4
movss dword [esi - 4], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movss dword [edx - 8], xmm3
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x10]
movss dword [edi + 4], xmm0
movaps xmm0, xmm5
movss dword [eax + 4], xmm2
movss xmm2, dword [ebp - 0xc]
subss xmm1, xmm2
addss xmm2, dword [ebp - 0x10]
subss xmm0, xmm1
addss xmm5, xmm1
movss dword [edi], xmm0
movaps xmm0, xmm6
subss xmm0, xmm2
movss dword [eax], xmm5
addss xmm6, xmm2
movss dword [esi], xmm0
movss dword [edx - 4], xmm6
movss xmm2, dword [ecx + 4]
mov ecx, dword [ebp - 4]
movaps xmm7, xmm2
mulss xmm7, dword [esi + 4]
movss xmm3, dword [ecx - 4]
movaps xmm1, xmm3
xorps xmm1, xmmword [0x1015d900]
movaps xmm0, xmm1
mulss xmm1, dword [esi + 4]
mulss xmm0, dword [esi + 8]
subss xmm7, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esi + 8]
addss xmm0, xmm1
movss dword [ebp + 8], xmm0
sub dword [ebp + 0x10], 1
movaps xmm4, xmm2
mulss xmm4, dword [edi + 8]
movaps xmm0, xmm3
mulss xmm0, dword [edi + 0xc]
mulss xmm2, dword [edi + 0xc]
mulss xmm3, dword [edi + 8]
subss xmm4, xmm0
movss xmm6, dword [edx + 4]
movss xmm5, dword [eax + 8]
addss xmm3, xmm2
movss xmm2, dword [eax + 0xc]
movaps xmm1, xmm4
addss xmm4, xmm7
subss xmm1, xmm7
movss dword [ebp - 0x10], xmm3
movss xmm3, dword [edx]
movaps xmm0, xmm3
addss xmm3, xmm4
subss xmm0, xmm4
movss dword [esi + 4], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movss dword [edx], xmm3
addss xmm2, xmm1
movss xmm1, dword [ebp + 8]
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm5
movss dword [eax + 0xc], xmm2
movss xmm2, dword [ebp - 0x10]
subss xmm1, xmm2
addss xmm2, dword [ebp + 8]
subss xmm0, xmm1
addss xmm5, xmm1
movss dword [edi + 8], xmm0
movaps xmm0, xmm6
subss xmm0, xmm2
movss dword [eax + 8], xmm5
addss xmm6, xmm2
movss dword [esi + 8], xmm0
movss dword [edx + 4], xmm6
jne 0x10041c20
pop edi
pop esi
mov esp, ebp
pop ebp
ret