Function at 0x10058560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, ecx
mov esi, ecx
shl eax, 4
add eax, dword [ebp + 0xc]
dec ecx
movsd xmm3, qword [edx]
movsd xmm7, qword [edx + 8]
movaps xmm0, xmm3
mov dword [ebp - 8], eax
lea eax, [esi + esi*2]
shl eax, 5
mov dword [ebp + 0x10], ecx
mov ecx, esi
shl ecx, 6
shl esi, 5
movsd xmm4, qword [eax + edx]
movsd xmm1, qword [eax + edx + 8]
movsd xmm6, qword [ecx + edx + 8]
movsd xmm5, qword [esi + edx]
movsd xmm2, qword [esi + edx + 8]
movsd qword [ebp - 0x14], xmm1
movaps xmm1, xmm4
addsd xmm4, qword [ecx + edx]
subsd xmm1, qword [ecx + edx]
lea edi, [edx + 0x10]
mov dword [ebp - 0xc], ecx
add edi, ecx
subsd xmm0, xmm4
mov dword [ebp - 4], edi
addsd xmm3, xmm4
movsd qword [ecx + edx], xmm0
movaps xmm0, xmm2
subsd xmm0, xmm1
movsd qword [edx], xmm3
addsd xmm1, xmm2
movsd xmm2, qword [ebp - 0x14]
movsd qword [eax + edx + 8], xmm0
movaps xmm0, xmm5
movsd qword [esi + edx + 8], xmm1
movaps xmm1, xmm6
subsd xmm1, xmm2
addsd xmm2, xmm6
subsd xmm0, xmm1
addsd xmm1, xmm5
movsd qword [eax + edx], xmm0
movaps xmm0, xmm7
subsd xmm0, xmm2
movsd qword [esi + edx], xmm1
addsd xmm7, xmm2
movsd qword [ecx + edx + 8], xmm0
movsd qword [edx + 8], xmm7
movsd xmm2, qword [edi]
mov edi, dword [ebp + 0xc]
movsd xmm0, qword [ecx + edx + 0x18]
movsd xmm6, qword [edi + 8]
mov edi, dword [ebp - 8]
movaps xmm7, xmm6
mulsd xmm7, xmm2
movaps xmm5, xmm6
mulsd xmm5, qword [eax + edx + 0x10]
movsd xmm3, qword [edi - 8]
movaps xmm4, xmm3
xorps xmm4, xmmword [0x1007b760]
mulsd xmm0, xmm4
mulsd xmm4, xmm2
subsd xmm7, xmm0
movaps xmm0, xmm6
mulsd xmm0, qword [ecx + edx + 0x18]
lea ecx, [edx + 0x18]
add ecx, eax
mov dword [ebp - 0x10], ecx
mulsd xmm6, qword [ecx]
addsd xmm4, xmm0
movaps xmm0, xmm3
mulsd xmm0, qword [ecx]
movsd qword [ebp - 0x1c], xmm4
subsd xmm5, xmm0
mulsd xmm3, qword [eax + edx + 0x10]
lea edi, [edx + 0x10]
lea ecx, [edx + 0x18]
movsd xmm2, qword [esi + edx + 0x18]
movaps xmm1, xmm5
movsd xmm4, qword [esi + edx + 0x10]
addsd xmm5, xmm7
add ecx, esi
subsd xmm1, xmm7
addsd xmm6, xmm3
mov dword [ebp + 8], ecx
movsd xmm3, qword [edi]
mov ecx, dword [ebp - 4]
movaps xmm0, xmm3
subsd xmm0, xmm5
addsd xmm3, xmm5
movsd qword [ebp - 0x24], xmm6
movsd xmm6, qword [edx + 0x18]
movsd qword [ecx], xmm0
movaps xmm0, xmm2
mov ecx, dword [ebp - 0xc]
subsd xmm0, xmm1
addsd xmm2, xmm1
movsd qword [edi], xmm3
movsd xmm1, qword [ebp - 0x1c]
movsd qword [eax + edx + 0x18], xmm0
movaps xmm0, xmm4
movsd qword [esi + edx + 0x18], xmm2
movsd xmm2, qword [ebp - 0x24]
subsd xmm1, xmm2
addsd xmm2, qword [ebp - 0x1c]
subsd xmm0, xmm1
addsd xmm4, xmm1
movsd qword [eax + edx + 0x10], xmm0
movaps xmm0, xmm6
mov eax, dword [ebp + 8]
subsd xmm0, xmm2
addsd xmm6, xmm2
movsd qword [esi + edx + 0x10], xmm4
mov esi, dword [ebp - 8]
movsd qword [ecx + edx + 0x18], xmm0
mov ecx, dword [ebp - 0x10]
movsd qword [edx + 0x18], xmm6
mov edx, dword [ebp - 4]
nop dword [eax]
nop dword [eax + eax]
movsd xmm6, qword [esi - 0x10]
add eax, 0x20
movsd xmm4, qword [edx + 0x10]
add edx, 0x20
add ecx, 0x20
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
add edi, 0x20
add eax, 0x10
movaps xmm2, xmm6
movsd xmm0, qword [edx - 8]
sub esi, 0x10
xorps xmm2, xmmword [0x1007b760]
mulsd xmm0, xmm2
mov dword [ebp + 0xc], eax
movsd xmm3, qword [eax]
movaps xmm7, xmm3
mov eax, dword [ebp + 8]
mulsd xmm7, xmm4
movaps xmm5, xmm3
mulsd xmm5, qword [ecx - 0x18]
mulsd xmm4, xmm2
subsd xmm7, xmm0
movsd xmm2, qword [eax - 0x10]
movaps xmm0, xmm3
mulsd xmm3, qword [ecx - 0x10]
mulsd xmm0, qword [edx - 8]
addsd xmm4, xmm0
movaps xmm0, xmm6
mulsd xmm0, qword [ecx - 0x10]
mulsd xmm6, qword [ecx - 0x18]
movsd qword [ebp - 0x24], xmm4
movsd xmm4, qword [eax - 0x18]
subsd xmm5, xmm0
addsd xmm6, xmm3
movsd xmm3, qword [edi - 0x10]
movaps xmm0, xmm3
movaps xmm1, xmm5
addsd xmm5, xmm7
subsd xmm1, xmm7
movsd qword [ebp - 0x1c], xmm6
movsd xmm6, qword [edi - 8]
subsd xmm0, xmm5
addsd xmm3, xmm5
movsd qword [edx - 0x10], xmm0
movaps xmm0, xmm2
subsd xmm0, xmm1
movsd qword [edi - 0x10], xmm3
addsd xmm2, xmm1
movsd xmm1, qword [ebp - 0x24]
movsd qword [ecx - 0x10], xmm0
movaps xmm0, xmm4
movsd qword [eax - 0x10], xmm2
movsd xmm2, qword [ebp - 0x1c]
subsd xmm1, xmm2
addsd xmm2, qword [ebp - 0x24]
subsd xmm0, xmm1
addsd xmm4, xmm1
movsd qword [ecx - 0x18], xmm0
movaps xmm0, xmm6
subsd xmm0, xmm2
movsd qword [eax - 0x18], xmm4
mov eax, dword [ebp + 0xc]
addsd xmm6, xmm2
movsd qword [edx - 8], xmm0
movsd qword [edi - 8], xmm6
movsd xmm6, qword [esi - 8]
movsd xmm5, qword [eax + 8]
movaps xmm2, xmm6
movsd xmm3, qword [edx]
movaps xmm7, xmm5
xorps xmm2, xmmword [0x1007b760]
movsd xmm0, qword [edx + 8]
mulsd xmm0, xmm2
mulsd xmm7, xmm3
mulsd xmm3, xmm2
subsd xmm7, xmm0
movaps xmm0, xmm5
mulsd xmm0, qword [edx + 8]
addsd xmm0, xmm3
movsd qword [ebp - 0x24], xmm0
sub dword [ebp + 0x10], 1
movaps xmm0, xmm6
mulsd xmm0, qword [ecx]
movaps xmm4, xmm5
mov eax, dword [ebp + 8]
mulsd xmm4, qword [ecx - 8]
mulsd xmm6, qword [ecx - 8]
mulsd xmm5, qword [ecx]
movsd xmm3, qword [edi]
subsd xmm4, xmm0
movsd xmm2, qword [eax]
movaps xmm0, xmm3
addsd xmm6, xmm5
movsd xmm5, qword [eax - 8]
movaps xmm1, xmm4
addsd xmm4, xmm7
subsd xmm1, xmm7
movsd qword [ebp - 0x1c], xmm6
movsd xmm6, qword [edi + 8]
subsd xmm0, xmm4
addsd xmm3, xmm4
movsd qword [edx], xmm0
movaps xmm0, xmm2
subsd xmm0, xmm1
movsd qword [edi], xmm3
addsd xmm2, xmm1
movsd xmm1, qword [ebp - 0x24]
movsd qword [ecx], xmm0
movaps xmm0, xmm5
movsd qword [eax], xmm2
movsd xmm2, qword [ebp - 0x1c]
subsd xmm1, xmm2
addsd xmm2, qword [ebp - 0x24]
subsd xmm0, xmm1
addsd xmm5, xmm1
movsd qword [ecx - 8], xmm0
movaps xmm0, xmm6
subsd xmm0, xmm2
movsd qword [eax - 8], xmm5
addsd xmm6, xmm2
movsd qword [edx + 8], xmm0
movsd qword [edi + 8], xmm6
jne 0x10058760
pop edi
pop esi
mov esp, ebp
pop ebp
ret