Function at 0x432d29
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
je 0x432d82
mov eax, dword [ebp + 0xc]
and eax, 3
je 0x432d82
mov eax, 0x400
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [eax + ecx*4 + 0x45f848]
mov dword [ebp - 4], edx
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 0x432d3d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0x20
jb 0x433168
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, 0x400
imul eax, eax, 3
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
shl edx, 1
mov esi, dword [ebp - 4]
shr esi, 8
and esi, 0xff
mov eax, dword [eax + ecx*4 + 0x45f848]
xor eax, dword [edx + esi*4 + 0x45f848]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x45f848]
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 eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, 0x400
imul eax, eax, 3
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
shl edx, 1
mov esi, dword [ebp - 4]
shr esi, 8
and esi, 0xff
mov eax, dword [eax + ecx*4 + 0x45f848]
xor eax, dword [edx + esi*4 + 0x45f848]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x45f848]
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 eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, 0x400
imul eax, eax, 3
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
shl edx, 1
mov esi, dword [ebp - 4]
shr esi, 8
and esi, 0xff
mov eax, dword [eax + ecx*4 + 0x45f848]
xor eax, dword [edx + esi*4 + 0x45f848]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x45f848]
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 eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, 0x400
imul eax, eax, 3
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
shl edx, 1
mov esi, dword [ebp - 4]
shr esi, 8
and esi, 0xff
mov eax, dword [eax + ecx*4 + 0x45f848]
xor eax, dword [edx + esi*4 + 0x45f848]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x45f848]
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 eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, 0x400
imul eax, eax, 3
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
shl edx, 1
mov esi, dword [ebp - 4]
shr esi, 8
and esi, 0xff
mov eax, dword [eax + ecx*4 + 0x45f848]
xor eax, dword [edx + esi*4 + 0x45f848]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x45f848]
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 eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, 0x400
imul eax, eax, 3
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
shl edx, 1
mov esi, dword [ebp - 4]
shr esi, 8
and esi, 0xff
mov eax, dword [eax + ecx*4 + 0x45f848]
xor eax, dword [edx + esi*4 + 0x45f848]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x45f848]
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 eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, 0x400
imul eax, eax, 3
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
shl edx, 1
mov esi, dword [ebp - 4]
shr esi, 8
and esi, 0xff
mov eax, dword [eax + ecx*4 + 0x45f848]
xor eax, dword [edx + esi*4 + 0x45f848]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x45f848]
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 eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, 0x400
imul eax, eax, 3
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
shl edx, 1
mov esi, dword [ebp - 4]
shr esi, 8
and esi, 0xff
mov eax, dword [eax + ecx*4 + 0x45f848]
xor eax, dword [edx + esi*4 + 0x45f848]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x45f848]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
sub eax, 0x20
mov dword [ebp + 0x10], eax
jmp 0x432d88
cmp dword [ebp + 0x10], 4
jb 0x4331f9
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, 0x400
imul eax, eax, 3
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
shl edx, 1
mov esi, dword [ebp - 4]
shr esi, 8
and esi, 0xff
mov eax, dword [eax + ecx*4 + 0x45f848]
xor eax, dword [edx + esi*4 + 0x45f848]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x45f848]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
sub eax, 4
mov dword [ebp + 0x10], eax
jmp 0x433168
mov eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x43323c
mov eax, 0x400
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [eax + ecx*4 + 0x45f848]
mov dword [ebp - 4], edx
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 0x433205
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret