Function at 0x4049c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x4049d1
xor eax, eax
jmp 0x404bc3
cmp dword [ebp + 0x10], 0
ja 0x4049e6
mov eax, dword [ebp + 0xc]
push eax
call fcn.004100d0
add esp, 4
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
xor ecx, 0xffffffff
mov dword [ebp + 8], ecx
mov dword [ebp - 4], str.UUUU
cmp dword [ebp + 0x10], 8
jb 0x404b7e
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
xor edx, 0x55555555
mov eax, dword [ebp + 8]
shr eax, 8
xor edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
xor edx, 0x55555555
mov eax, dword [ebp + 8]
shr eax, 8
xor edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
xor edx, 0x55555555
mov eax, dword [ebp + 8]
shr eax, 8
xor edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
xor edx, 0x55555555
mov eax, dword [ebp + 8]
shr eax, 8
xor edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
xor edx, 0x55555555
mov eax, dword [ebp + 8]
shr eax, 8
xor edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
xor edx, 0x55555555
mov eax, dword [ebp + 8]
shr eax, 8
xor edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
xor edx, 0x55555555
mov eax, dword [ebp + 8]
shr eax, 8
xor edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
xor edx, 0x55555555
mov eax, dword [ebp + 8]
shr eax, 8
xor edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 8
mov dword [ebp + 0x10], edx
jmp 0x4049f6
cmp dword [ebp + 0x10], 0
je 0x404bbd
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
xor eax, 0x55555555
mov ecx, dword [ebp + 8]
shr ecx, 8
xor eax, ecx
mov dword [ebp + 8], eax
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
jne 0x404b84
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret