Function at 0x566ed8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffee4
mov dword [esp], eax
mov edx, dword [esp]
add edx, 0x50
lea eax, [esp + 0x1c]
call fcn.00566e64
mov edi, dword [esp]
mov edi, dword [edi]
mov ebp, dword [esp]
mov ebp, dword [ebp + 4]
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x18], eax
xor esi, esi
mov eax, dword [esp + 0xc]
call fcn.00566e50
mov ebx, eax
add ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x14]
and eax, dword [esp + 0xc]
xor eax, dword [esp + 0x14]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x1c]
add ebx, dword [esi*4 + 0x5aa244]
mov eax, edi
call fcn.00566e3c
add eax, ebx
mov edx, ebp
or edx, edi
and edx, dword [esp + 4]
mov ecx, ebp
and ecx, edi
or edx, ecx
add eax, edx
mov dword [esp + 0x18], eax
add dword [esp + 8], ebx
mov eax, dword [esp + 8]
call fcn.00566e50
mov ebx, eax
add ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
xor eax, dword [esp + 0x10]
and eax, dword [esp + 8]
xor eax, dword [esp + 0x10]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x20]
add ebx, dword [esi*4 + 0x5aa248]
mov eax, dword [esp + 0x18]
call fcn.00566e3c
add eax, ebx
mov edx, dword [esp + 0x18]
or edx, edi
and edx, ebp
mov ecx, dword [esp + 0x18]
and ecx, edi
or edx, ecx
add eax, edx
mov dword [esp + 0x14], eax
add dword [esp + 4], ebx
mov eax, dword [esp + 4]
call fcn.00566e50
mov ebx, eax
add ebx, dword [esp + 0x10]
mov eax, dword [esp + 8]
xor eax, dword [esp + 0xc]
and eax, dword [esp + 4]
xor eax, dword [esp + 0xc]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x24]
add ebx, dword [esi*4 + 0x5aa24c]
mov eax, dword [esp + 0x14]
call fcn.00566e3c
add eax, ebx
mov edx, dword [esp + 0x14]
or edx, dword [esp + 0x18]
and edx, edi
mov ecx, dword [esp + 0x14]
and ecx, dword [esp + 0x18]
or edx, ecx
add eax, edx
mov dword [esp + 0x10], eax
add ebp, ebx
mov eax, ebp
call fcn.00566e50
mov ebx, eax
add ebx, dword [esp + 0xc]
mov eax, dword [esp + 4]
xor eax, dword [esp + 8]
and eax, ebp
xor eax, dword [esp + 8]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x28]
add ebx, dword [esi*4 + 0x5aa250]
mov eax, dword [esp + 0x10]
call fcn.00566e3c
add eax, ebx
mov edx, dword [esp + 0x10]
or edx, dword [esp + 0x14]
and edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
and ecx, dword [esp + 0x14]
or edx, ecx
add eax, edx
mov dword [esp + 0xc], eax
add edi, ebx
mov eax, edi
call fcn.00566e50
mov ebx, eax
add ebx, dword [esp + 8]
mov eax, dword [esp + 4]
xor eax, ebp
and eax, edi
xor eax, dword [esp + 4]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x2c]
add ebx, dword [esi*4 + 0x5aa254]
mov eax, dword [esp + 0xc]
call fcn.00566e3c
add eax, ebx
mov edx, dword [esp + 0xc]
or edx, dword [esp + 0x10]
and edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
and ecx, dword [esp + 0x10]
or edx, ecx
add eax, edx
mov dword [esp + 8], eax
add dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
call fcn.00566e50
mov ebx, eax
add ebx, dword [esp + 4]
mov eax, ebp
xor eax, edi
and eax, dword [esp + 0x18]
xor eax, ebp
add ebx, eax
add ebx, dword [esp + esi*4 + 0x30]
add ebx, dword [esi*4 + 0x5aa258]
mov eax, dword [esp + 8]
call fcn.00566e3c
add eax, ebx
mov edx, dword [esp + 8]
or edx, dword [esp + 0xc]
and edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
and ecx, dword [esp + 0xc]
or edx, ecx
add eax, edx
mov dword [esp + 4], eax
add dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
call fcn.00566e50
mov ebx, eax
add ebx, ebp
mov eax, dword [esp + 0x18]
xor eax, edi
and eax, dword [esp + 0x14]
xor eax, edi
add ebx, eax
add ebx, dword [esp + esi*4 + 0x34]
add ebx, dword [esi*4 + 0x5aa25c]
mov eax, dword [esp + 4]
call fcn.00566e3c
mov ebp, eax
add ebp, ebx
mov eax, dword [esp + 4]
or eax, dword [esp + 8]
and eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
and edx, dword [esp + 8]
or eax, edx
add ebp, eax
add dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
call fcn.00566e50
mov ebx, eax
add ebx, edi
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x18]
and eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x38]
add ebx, dword [esi*4 + 0x5aa260]
mov eax, ebp
call fcn.00566e3c
mov edi, eax
add edi, ebx
mov eax, dword [esp + 4]
or eax, ebp
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
and edx, ebp
or eax, edx
add edi, eax
add dword [esp + 0xc], ebx
add esi, 8
cmp esi, 0x3f
jle 0x566f3d
mov eax, dword [esp]
add dword [eax], edi
mov eax, dword [esp]
add dword [eax + 4], ebp
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 8], edx
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0xc], edx
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
add dword [eax + 0x10], edx
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
add dword [eax + 0x14], edx
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
add dword [eax + 0x18], edx
mov eax, dword [esp]
mov edx, dword [esp + 0x18]
add dword [eax + 0x1c], edx
add esp, 0x11c
pop ebp
pop edi
pop esi
pop ebx
ret