Function at 0x56e540
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x7c
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
movups xmm0, xmmword [eax]
push edi
mov dword [esp + 0x20], 0xa
movups xmmword [esp + 0x4c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x5c], xmm0
mov edx, dword [esp + 0x5c]
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x6c], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esp + 0x7c], xmm0
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x6c]
add esi, edx
mov eax, esi
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, edx
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], eax
xor eax, ecx
mov ecx, eax
add esi, dword [esp + 0x10]
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x2c], ecx
lea eax, [ecx + edi]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x38], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [esp + 0x10]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [esp + 0x54]
add esi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x34], ecx
lea eax, [ecx + edi]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x48], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, ebx
mov dword [esp + 0x18], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [esp + 0x14]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [esp + 0x30], eax
xor eax, ecx
mov ecx, eax
mov esi, dword [esp + 0x58]
shl eax, 8
add esi, dword [esp + 0x1c]
shr ecx, 0x18
xor ebp, esi
or ecx, eax
mov dword [esp + 0x44], ecx
lea ebx, [ecx + edi]
mov edi, dword [esp + 0x78]
mov eax, ebx
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, ebp
shr ecx, 0x10
shl ebp, 0x10
or ecx, ebp
add edi, ecx
mov eax, edi
xor eax, dword [esp + 0x1c]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [esp + 0x3c], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
lea ebp, [ecx + edi]
mov eax, ebp
xor eax, edx
mov edx, eax
shl eax, 7
shr edx, 0x19
or edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x18]
mov eax, edx
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
lea esi, [ecx + ebx]
mov eax, esi
xor eax, dword [esp + 0x18]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [edi + edx]
mov dword [esp + 0x4c], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x88], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x14]
mov dword [esp + 0x74], eax
xor eax, edi
ror eax, 0x19
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], eax
mov eax, ecx
xor eax, dword [esp + 0x2c]
mov edx, eax
shr edx, 0x10
shl eax, 0x10
or edx, eax
lea esi, [edx + ebp]
mov eax, esi
xor eax, dword [esp + 0x14]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x50], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x7c], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
xor eax, edi
ror eax, 0x19
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], eax
mov eax, ecx
xor eax, dword [esp + 0x34]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [esp + 0x1c]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x54], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x80], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
xor eax, edi
ror eax, 0x19
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], eax
mov eax, ecx
xor eax, dword [esp + 0x44]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [esp + 0x40]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x58], eax
xor eax, edx
mov ebx, eax
shl eax, 8
shr ebx, 0x18
or ebx, eax
lea eax, [ebx + esi]
mov dword [esp + 0x70], eax
mov edx, eax
mov ebp, dword [esp + 0x24]
xor edx, edi
mov ecx, dword [esp + 0x2c]
ror edx, 0x19
sub dword [esp + 0x20], 1
jne 0x56e5b2
mov ecx, dword [esp + 0x90]
lea edi, [esp + 0x4c]
mov dword [esp + 0x84], ebx
lea ebp, [esp + 0x50]
mov ebx, dword [esp + 0x94]
xor esi, esi
mov dword [esp + 0x48], esi
sub edi, ecx
mov dword [esp + 0x5c], edx
lea esi, [esp + 0x54]
sub ebp, ecx
lea eax, [ecx + 4]
lea edx, [ebx + 0xc]
sub ebx, ecx
sub esi, ecx
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + esi*4 + 0x4c]
lea eax, [eax + 0x10]
add ecx, dword [edx - 0xc]
lea edx, [edx + 0x10]
mov dword [eax - 0x14], ecx
add esi, 4
mov ecx, dword [eax + ebx - 0x10]
add ecx, dword [eax + edi - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [eax + ebp - 0x10]
add ecx, dword [edx - 0x14]
mov dword [eax - 0xc], ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [eax + ecx - 0x10]
add ecx, dword [edx - 0x10]
mov dword [eax - 8], ecx
cmp esi, 0x10
jl 0x56e8c6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret