Function at 0x4a8bb0
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 0x4a8c09
mov eax, dword [ebp + 0xc]
and eax, 3
je 0x4a8c09
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 + 0x4ee950]
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 0x4a8bc4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0x20
jb 0x4a8fef
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 + 0x4ee950]
xor eax, dword [edx + esi*4 + 0x4ee950]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x4ee950]
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 + 0x4ee950]
xor eax, dword [edx + esi*4 + 0x4ee950]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x4ee950]
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 + 0x4ee950]
xor eax, dword [edx + esi*4 + 0x4ee950]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x4ee950]
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 + 0x4ee950]
xor eax, dword [edx + esi*4 + 0x4ee950]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x4ee950]
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 + 0x4ee950]
xor eax, dword [edx + esi*4 + 0x4ee950]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x4ee950]
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 + 0x4ee950]
xor eax, dword [edx + esi*4 + 0x4ee950]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x4ee950]
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 + 0x4ee950]
xor eax, dword [edx + esi*4 + 0x4ee950]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x4ee950]
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 + 0x4ee950]
xor eax, dword [edx + esi*4 + 0x4ee950]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
sub eax, 0x20
mov dword [ebp + 0x10], eax
jmp 0x4a8c0f
cmp dword [ebp + 0x10], 4
jb 0x4a9080
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 + 0x4ee950]
xor eax, dword [edx + esi*4 + 0x4ee950]
mov ecx, 0x400
shl ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov ecx, 0x400
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [ecx + edx*4 + 0x4ee950]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
sub eax, 4
mov dword [ebp + 0x10], eax
jmp 0x4a8fef
mov eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x4a90c3
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 + 0x4ee950]
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 0x4a908c
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