Function at 0x432789
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
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 - 4], eax
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
je 0x432813
mov eax, dword [ebp + 0xc]
and eax, 3
je 0x432813
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
shr ecx, 0x18
mov edx, dword [ebp + 0xc]
movzx edx, byte [edx]
xor ecx, edx
mov edx, dword [ebp - 4]
shl 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 0x4327cf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, 4
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0x20
jb 0x432c0a
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
imul edx, edx, 5
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
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 7
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]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
imul edx, edx, 5
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
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 7
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]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
imul edx, edx, 5
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
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 7
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]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
imul edx, edx, 5
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
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 7
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]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
imul edx, edx, 5
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
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 7
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]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
imul edx, edx, 5
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
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 7
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]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
imul edx, edx, 5
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
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 7
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]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
imul edx, edx, 5
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
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 7
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 0x432822
cmp dword [ebp + 0x10], 4
jb 0x432c9c
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, 0x400
imul edx, edx, 5
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
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x45f848]
mov ecx, 0x400
imul ecx, ecx, 7
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 0x432c0a
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x432ce7
mov eax, 0x400
shl eax, 2
mov ecx, dword [ebp - 4]
shr ecx, 0x18
mov edx, dword [ebp + 0xc]
movzx edx, byte [edx]
xor ecx, edx
mov edx, dword [ebp - 4]
shl 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 0x432cb1
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xff00
shl ecx, 8
add eax, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xff
shl ecx, 0x18
add eax, ecx
pop esi
mov esp, ebp
pop ebp
ret