Function at 0x10056810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
xorps xmm0, xmm0
push esi
push edi
xor edi, edi
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
cmp dword [ebp + 0x10], edi
jbe 0x10056a04
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
push ebx
nop dword [eax]
movups xmm1, xmmword [ecx]
movd edx, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
mov ecx, edx
shr ecx, 6
xor ecx, edx
and ecx, 0xcc00cc
mov esi, ecx
shl esi, 6
xor esi, ecx
xor esi, edx
mov ecx, esi
shr ecx, 0xc
xor ecx, esi
and ecx, 0xf0f0
mov edx, ecx
shl edx, 0xc
xor edx, ecx
xor edx, esi
mov dword [ebp - 4], edx
movd edx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
mov ecx, edx
shr ecx, 6
xor ecx, edx
and ecx, 0xcc00cc
mov esi, ecx
shl esi, 6
xor esi, ecx
xor esi, edx
mov ecx, esi
shr ecx, 0xc
xor ecx, esi
and ecx, 0xf0f0
mov edx, ecx
shl edx, 0xc
xor edx, ecx
movd ecx, xmm0
xor edx, esi
mov dword [ebp + 0x10], edx
mov edx, ecx
shr edx, 6
xor edx, ecx
and edx, 0xcc00cc
mov esi, edx
shl esi, 6
xor esi, ecx
xor esi, edx
mov ecx, esi
shr ecx, 0xc
xor ecx, esi
and ecx, 0xf0f0
mov edx, ecx
shl edx, 0xc
xor edx, ecx
movd ecx, xmm1
xor edx, esi
mov dword [ebp - 8], edx
mov edx, ecx
shr edx, 6
xor edx, ecx
and edx, 0xcc00cc
mov esi, edx
shl esi, 6
xor esi, ecx
xor esi, edx
mov edx, dword [ebp - 8]
mov ecx, esi
shr ecx, 0xc
xor ecx, esi
and ecx, 0xf0f0
mov ebx, ecx
shl ebx, 0xc
xor ebx, ecx
movzx ecx, dl
xor ebx, esi
movzx edi, bl
shl edi, 8
or edi, ecx
mov ecx, dword [ebp + 0x10]
movzx ecx, cl
shl edi, 8
or edi, ecx
mov ecx, dword [ebp - 4]
movzx ecx, cl
shl edi, 8
or edi, ecx
mov ecx, ebx
shr ecx, 8
movzx esi, cl
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shl esi, 8
or esi, ecx
mov ecx, dword [ebp + 0x10]
shr ecx, 8
movzx ecx, cl
shl esi, 8
or esi, ecx
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
shl esi, 8
or esi, ecx
mov ecx, ebx
shr ecx, 0x10
and ebx, 0xff000000
movzx edx, cl
mov ecx, dword [ebp - 8]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
or edx, ecx
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
or edx, ecx
mov ecx, dword [ebp - 4]
shr dword [ebp - 4], 8
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
or edx, ecx
mov ecx, dword [ebp + 0x10]
and ecx, 0xff00ffff
or ecx, dword [ebp - 4]
shr ecx, 8
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp - 8]
and ecx, 0xff0000ff
or dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
shr ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx - 0x10], edi
add ecx, 0x10
mov dword [ebx - 8], esi
mov dword [ebx], edx
add ebx, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], ebx
sub eax, 1
jne 0x10056840
mov eax, dword [ebp + 8]
pop ebx
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov edx, edi
shr edx, 1
xor edx, esi
and edx, 0x55555555
xor esi, edx
mov dword [eax + 4], esi
mov esi, dword [eax + 8]
shr esi, 1
lea ecx, [edx + edx]
xor ecx, edi
mov edi, dword [eax + 0xc]
xor esi, edi
mov dword [eax], ecx
and esi, 0x55555555
xor edi, esi
mov dword [eax + 0xc], edi
mov edi, dword [eax + 0x14]
lea ecx, [esi + esi]
mov esi, dword [eax + 0x10]
xor dword [eax + 8], ecx
shr esi, 1
xor esi, edi
and esi, 0x55555555
xor edi, esi
mov dword [eax + 0x14], edi
mov edi, dword [eax + 0x1c]
lea ecx, [esi + esi]
mov esi, dword [eax + 0x18]
xor dword [eax + 0x10], ecx
shr esi, 1
xor esi, edi
and esi, 0x55555555
lea ecx, [esi + esi]
xor dword [eax + 0x18], ecx
xor edi, esi
mov dword [eax + 0x1c], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret