Function at 0x56f400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
not ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
je 0x56f46e
mov edx, dword [ebp + 0xc]
and edx, 3
test edx, edx
je 0x56f46e
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 4]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, dword [edx*4 + 0x10034024]
xor ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
jmp 0x56f426
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0x20
jb 0x56f755
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
mov ecx, dword [edx*4 + 0x10034c24]
xor ecx, dword [eax*4 + 0x10034824]
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x10034424]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10034024]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, dword [ebp - 4]
shr edx, 8
and edx, 0xff
mov eax, dword [ecx*4 + 0x10034c24]
xor eax, dword [edx*4 + 0x10034824]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10034424]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [edx*4 + 0x10034024]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
and eax, 0xff
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
mov edx, dword [eax*4 + 0x10034c24]
xor edx, dword [ecx*4 + 0x10034824]
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x10034424]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10034024]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
mov ecx, dword [edx*4 + 0x10034c24]
xor ecx, dword [eax*4 + 0x10034824]
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x10034424]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10034024]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, dword [ebp - 4]
shr edx, 8
and edx, 0xff
mov eax, dword [ecx*4 + 0x10034c24]
xor eax, dword [edx*4 + 0x10034824]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10034424]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [edx*4 + 0x10034024]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
and eax, 0xff
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
mov edx, dword [eax*4 + 0x10034c24]
xor edx, dword [ecx*4 + 0x10034824]
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x10034424]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10034024]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
mov ecx, dword [edx*4 + 0x10034c24]
xor ecx, dword [eax*4 + 0x10034824]
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x10034424]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10034024]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, dword [ebp - 4]
shr edx, 8
and edx, 0xff
mov eax, dword [ecx*4 + 0x10034c24]
xor eax, dword [edx*4 + 0x10034824]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10034424]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [edx*4 + 0x10034024]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
sub eax, 0x20
mov dword [ebp + 0x10], eax
jmp 0x56f474
cmp dword [ebp + 0x10], 4
jb 0x56f7c0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, dword [ebp - 4]
shr edx, 8
and edx, 0xff
mov eax, dword [ecx*4 + 0x10034c24]
xor eax, dword [edx*4 + 0x10034824]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10034424]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [edx*4 + 0x10034024]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
sub eax, 4
mov dword [ebp + 0x10], eax
jmp 0x56f755
mov ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
cmp dword [ebp + 0x10], 0
je 0x56f808
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 4]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, dword [ecx*4 + 0x10034024]
xor eax, edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x56f7cc
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret