Function at 0x4aaa0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.005bd220
push esi
mov eax, dword [ebp + 8]
sub eax, 1
shr eax, 0x1f
sub eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
xor eax, dword [edx + 4]
and eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
xor edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
xor edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 9
ja case.default.0x4aa845
mov eax, dword [ebp - 0xc]
jmp dword [eax*4 + 0x4aad1c]
mov dword [ebp - 8], 0xa
jmp 0x4aa85e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x14]
jge case.0x4aa845.9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 8]
mov ecx, dword [ecx + edx*4]
xor ecx, dword [eax + esi*4]
and ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*4]
xor edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp - 8]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + eax*4]
xor ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov edx, dword [ebp - 8]
mov dword [eax + edx*4], ecx
xor eax, eax
jne 0x4aa866
jmp 0x4aa855
mov ecx, 4
imul edx, ecx, 9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, 4
imul eax, eax, 9
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov ecx, dword [ecx + edx]
xor ecx, dword [esi + eax]
and ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, 4
imul eax, edx, 9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + eax]
xor eax, dword [ebp - 4]
mov ecx, 4
imul edx, ecx, 9
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [edx + ecx], eax
mov edx, 4
imul eax, edx, 9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + eax]
xor eax, dword [ebp - 4]
mov ecx, 4
imul edx, ecx, 9
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [edx + ecx], eax
xor edx, edx
jne case.0x4aa845.9
mov eax, 4
shl eax, 3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, 4
shl ecx, 3
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov edx, dword [edx + eax]
xor edx, dword [esi + ecx]
and edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, 4
shl eax, 3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + eax]
xor eax, dword [ebp - 4]
mov ecx, 4
shl ecx, 3
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov dword [ecx + edx], eax
mov eax, 4
shl eax, 3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + eax]
xor eax, dword [ebp - 4]
mov ecx, 4
shl ecx, 3
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov dword [ecx + edx], eax
xor eax, eax
jne case.0x4aa845.8
mov ecx, 4
imul edx, ecx, 7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, 4
imul eax, eax, 7
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov ecx, dword [ecx + edx]
xor ecx, dword [esi + eax]
and ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, 4
imul eax, edx, 7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + eax]
xor eax, dword [ebp - 4]
mov ecx, 4
imul edx, ecx, 7
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [edx + ecx], eax
mov edx, 4
imul eax, edx, 7
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + eax]
xor eax, dword [ebp - 4]
mov ecx, 4
imul edx, ecx, 7
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [edx + ecx], eax
xor edx, edx
jne case.0x4aa845.7
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, 4
imul edx, edx, 6
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov eax, dword [eax + ecx]
xor eax, dword [esi + edx]
and eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, 4
imul edx, ecx, 6
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + edx]
xor edx, dword [ebp - 4]
mov eax, 4
imul ecx, eax, 6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ecx + eax], edx
mov ecx, 4
imul edx, ecx, 6
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + edx]
xor edx, dword [ebp - 4]
mov eax, 4
imul ecx, eax, 6
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ecx + eax], edx
xor ecx, ecx
jne case.0x4aa845.6
mov edx, 4
imul eax, edx, 5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, 4
imul ecx, ecx, 5
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov edx, dword [edx + eax]
xor edx, dword [esi + ecx]
and edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
mov edx, 4
imul eax, edx, 5
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov dword [eax + edx], ecx
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
mov edx, 4
imul eax, edx, 5
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov dword [eax + edx], ecx
xor eax, eax
jne case.0x4aa845.5
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, 4
shl edx, 2
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov eax, dword [eax + ecx]
xor eax, dword [esi + edx]
and eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
mov edx, 4
shl edx, 2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [edx + eax], ecx
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
mov edx, 4
shl edx, 2
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [edx + eax], ecx
xor ecx, ecx
jne case.0x4aa845.4
mov edx, 4
imul eax, edx, 3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, 4
imul ecx, ecx, 3
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov edx, dword [edx + eax]
xor edx, dword [esi + ecx]
and edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
mov edx, 4
imul eax, edx, 3
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov dword [eax + edx], ecx
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
mov edx, 4
imul eax, edx, 3
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov dword [eax + edx], ecx
xor eax, eax
jne case.0x4aa845.3
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, 4
shl edx, 1
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov eax, dword [eax + ecx]
xor eax, dword [esi + edx]
and eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [edx + eax], ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [edx + eax], ecx
xor ecx, ecx
jne case.0x4aa845.2
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, 4
shl eax, 0
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov ecx, dword [ecx + edx]
xor ecx, dword [esi + eax]
and ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + edx]
xor edx, dword [ebp - 4]
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [eax + ecx], edx
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + edx]
xor edx, dword [ebp - 4]
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [eax + ecx], edx
xor edx, edx
jne case.0x4aa845.1
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, 4
imul edx, edx, 0
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov eax, dword [eax + ecx]
xor eax, dword [esi + edx]
and eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + edx]
xor edx, dword [ebp - 4]
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ecx + eax], edx
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + edx]
xor edx, dword [ebp - 4]
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ecx + eax], edx
xor ecx, ecx
jne case.0x4aa845.0
pop esi
mov esp, ebp
pop ebp
ret