Function at 0x403770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x403781
xor eax, eax
jmp 0x403973
cmp dword [ebp + 0x10], 0
ja 0x403796
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040f700
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 0x40392e
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 0x4037a6
cmp dword [ebp + 0x10], 0
je 0x40396d
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 0x403934
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret