Function at 0x566a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [ebp - 4], edx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov esi, ecx
mov edx, edi
not edx
rol esi, 5
and edx, dword [ebp - 4]
mov ecx, eax
and ecx, edi
or edx, ecx
mov ecx, dword [ebp + 0xc]
add esi, edx
mov edx, eax
mov eax, edi
mov edi, dword [ebp - 0xc]
ror eax, 2
add esi, dword [ecx + ebx*4]
inc ebx
mov ecx, dword [ebp - 8]
add ecx, 0x5a827999
add ecx, esi
mov esi, dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
cmp ebx, 0x10
jl 0x566aa5
mov dword [ebp - 0x10], edi
cmp ebx, 0x14
jge 0x566b6f
mov edx, dword [ebp + 0xc]
lea edx, [edx + ebx*4]
add edx, 0xffffffc8
mov dword [ebp - 0x18], edx
mov edx, 0x14
sub edx, ebx
add ebx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebx + 0x2c]
mov esi, ecx
xor edi, dword [ebx + 0x18]
mov ecx, eax
xor edi, dword [ebx - 8]
xor edi, dword [ebx]
mov edx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x10]
not edx
and edx, dword [ebp - 4]
or edx, ecx
rol edi, 1
mov ecx, dword [ebp - 8]
rol esi, 5
add ecx, 0x5a827999
add esi, edi
mov dword [ebx + 0x38], edi
mov ebx, dword [ebp - 0x18]
add edx, esi
mov esi, dword [ebp - 4]
add ecx, edx
mov edi, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 0x10]
add ebx, 4
ror eax, 2
sub dword [ebp - 0x1c], 1
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], ebx
jne 0x566b10
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x28
jge 0x566be8
mov edx, dword [ebp + 0xc]
lea edx, [edx + ebx*4]
add edx, 0xffffffc8
mov dword [ebp - 0x18], edx
mov edx, 0x28
sub edx, ebx
add ebx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebx + 0x2c]
mov edx, ecx
xor esi, dword [ebx + 0x18]
xor esi, dword [ebx - 8]
xor esi, dword [ebx]
mov ecx, dword [ebp - 4]
rol esi, 1
xor ecx, eax
rol edx, 5
xor ecx, edi
add edx, esi
mov dword [ebx + 0x38], esi
mov esi, dword [ebp - 8]
add ecx, edx
mov ebx, dword [ebp - 0x18]
mov edx, eax
add esi, 0x6ed9eba1
mov eax, edi
mov edi, dword [ebp - 0xc]
add ecx, esi
mov esi, dword [ebp - 4]
add ebx, 4
ror eax, 2
sub dword [ebp - 0x1c], 1
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], ebx
jne 0x566b92
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
cmp ebx, 0x3c
jge 0x566c68
mov edx, dword [ebp + 0xc]
lea edx, [edx + ebx*4]
add edx, 0xffffffc8
mov dword [ebp - 0x18], edx
mov edx, 0x3c
sub edx, ebx
add ebx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x18]
nop dword [eax + eax]
mov edi, dword [ebx + 0x2c]
lea ebx, [ebx + 4]
xor edi, dword [ebx + 0x14]
mov esi, ecx
xor edi, dword [ebx - 0xc]
mov edx, eax
or edx, dword [ebp - 0x10]
mov ecx, eax
and edx, dword [ebp - 4]
and ecx, dword [ebp - 0x10]
xor edi, dword [ebx - 4]
or edx, ecx
rol esi, 5
add esi, dword [ebp - 8]
rol edi, 1
add edx, edi
mov dword [ebx + 0x34], edi
mov edi, dword [ebp - 0xc]
lea ecx, [esi - 0x70e44324]
mov esi, dword [ebp - 4]
add ecx, edx
mov dword [ebp - 8], esi
mov edx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x10]
ror eax, 2
sub dword [ebp - 0x1c], 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
jne 0x566c10
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x50
jge 0x566cd6
mov edx, dword [ebp + 0xc]
lea edx, [edx + ebx*4]
add edx, 0xffffffc8
mov dword [ebp - 0x18], edx
mov edx, 0x50
sub edx, ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov esi, dword [ebx + 0x2c]
mov edx, ecx
xor esi, dword [ebx + 0x18]
xor esi, dword [ebx - 8]
xor esi, dword [ebx]
mov ecx, dword [ebp - 4]
xor ecx, eax
rol esi, 1
xor ecx, edi
mov dword [ebx + 0x38], esi
mov ebx, dword [ebp - 0x18]
add ecx, esi
mov esi, dword [ebp - 8]
add ebx, 4
rol edx, 5
add esi, 0xca62c1d6
add edx, esi
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp - 4]
add ecx, edx
mov edx, eax
mov dword [ebp - 8], esi
mov eax, edi
mov dword [ebp - 4], edx
mov edi, dword [ebp - 0xc]
ror eax, 2
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0xc], ecx
jne 0x566c86
mov ebx, dword [ebp + 8]
add dword [ebx + 4], edi
add dword [ebx], ecx
add dword [ebx + 8], eax
add dword [ebx + 0xc], edx
add dword [ebx + 0x10], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret