Function at 0x423075
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, dword [ebp + 8]
and ecx, 0xff00
shl ecx, 8
add eax, ecx
mov ecx, dword [ebp + 8]
and ecx, 0xff
shl ecx, 0x18
add eax, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
not eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
je 0x4230f6
mov eax, dword [ebp + 0xc]
and eax, 3
je 0x4230f6
mov eax, dword [ebp - 8]
shr eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx]
xor eax, ecx
mov ecx, dword [ebp - 8]
shl ecx, 8
xor ecx, dword [eax*4 + 0x5adcf0]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jmp 0x4230ba
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x20
jb 0x4233e5
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [eax*4 + 0x5adcf0]
xor eax, dword [ecx*4 + 0x5ae0f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5ae4f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ae8f0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [eax*4 + 0x5adcf0]
xor eax, dword [ecx*4 + 0x5ae0f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5ae4f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ae8f0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [eax*4 + 0x5adcf0]
xor eax, dword [ecx*4 + 0x5ae0f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5ae4f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ae8f0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [eax*4 + 0x5adcf0]
xor eax, dword [ecx*4 + 0x5ae0f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5ae4f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ae8f0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [eax*4 + 0x5adcf0]
xor eax, dword [ecx*4 + 0x5ae0f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5ae4f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ae8f0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [eax*4 + 0x5adcf0]
xor eax, dword [ecx*4 + 0x5ae0f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5ae4f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ae8f0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [eax*4 + 0x5adcf0]
xor eax, dword [ecx*4 + 0x5ae0f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5ae4f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ae8f0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [eax*4 + 0x5adcf0]
xor eax, dword [ecx*4 + 0x5ae0f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5ae4f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ae8f0]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
sub eax, 0x20
mov dword [ebp + 0x10], eax
jmp 0x423105
cmp dword [ebp + 0x10], 4
jb 0x42344f
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [eax*4 + 0x5adcf0]
xor eax, dword [ecx*4 + 0x5ae0f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5ae4f0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ae8f0]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
sub eax, 4
mov dword [ebp + 0x10], eax
jmp 0x4233e5
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x423492
mov eax, dword [ebp - 8]
shr eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx]
xor eax, ecx
mov ecx, dword [ebp - 8]
shl ecx, 8
xor ecx, dword [eax*4 + 0x5adcf0]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x423464
mov eax, dword [ebp - 8]
not eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, dword [ebp - 8]
and ecx, 0xff00
shl ecx, 8
add eax, ecx
mov ecx, dword [ebp - 8]
and ecx, 0xff
shl ecx, 0x18
add eax, ecx
leave
ret