Function at 0x1000aa64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, edx
movzx edx, byte [eax]
shl edx, 0x18
inc eax
push edi
mov edi, ecx
movzx ecx, byte [eax]
shl ecx, 0x10
or edx, ecx
mov dword [ebp - 0xc], eax
inc eax
movzx ecx, byte [eax]
shl ecx, 8
or edx, ecx
inc eax
movzx ecx, byte [eax]
or edx, ecx
inc eax
movzx ecx, byte [eax]
shl ecx, 0x18
inc eax
movzx ebx, byte [eax]
shl ebx, 0x10
or ecx, ebx
inc eax
movzx ebx, byte [eax]
movzx eax, byte [eax + 1]
shl ebx, 8
or ebx, eax
or ecx, ebx
mov ebx, dword [ebp + 0xc]
add ebx, 0xfffffff8
mov dword [ebp - 4], ecx
js 0x1000ab75
lea eax, [ebx + 8]
shr eax, 3
mov dword [ebp + 0xc], eax
imul eax, eax, 0xfffffff8
add ebx, eax
mov dword [ebp - 8], ebx
movzx eax, byte [edi]
shl eax, 0x18
inc edi
movzx ecx, byte [edi]
shl ecx, 0x10
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
inc edi
movzx ecx, byte [edi]
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 0x18
inc edi
movzx ebx, byte [edi]
shl ebx, 0x10
or ecx, ebx
inc edi
movzx ebx, byte [edi]
shl ebx, 8
or ecx, ebx
inc edi
movzx ebx, byte [edi]
xor eax, edx
or ecx, ebx
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
inc edi
mov dword [ebp - 0x10], ecx
call fcn.1000c4df
mov edx, dword [ebp - 0x14]
mov eax, edx
shr eax, 0x18
mov byte [esi], al
inc esi
mov eax, edx
shr eax, 0x10
mov byte [esi], al
inc esi
mov eax, edx
shr eax, 8
mov byte [esi], al
inc esi
mov byte [esi], dl
pop ecx
mov ecx, dword [ebp - 0x10]
inc esi
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
inc esi
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
inc esi
mov eax, ecx
shr eax, 8
mov byte [esi], al
inc esi
mov byte [esi], cl
inc esi
dec dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jne 0x1000aad4
mov ebx, dword [ebp - 8]
cmp ebx, 0xfffffff8
je 0x1000ac30
and dword [ebp + 0xc], 0
lea edi, [edi + ebx + 8]
add ebx, 7
xor eax, eax
cmp ebx, 7
ja case.default.0x1000ab90
jmp dword [ebx*4 + 0x1000ac70]
dec edi
movzx eax, byte [edi]
mov dword [ebp + 0xc], eax
dec edi
movzx eax, byte [edi]
shl eax, 8
or dword [ebp + 0xc], eax
dec edi
movzx eax, byte [edi]
shl eax, 0x10
or dword [ebp + 0xc], eax
dec edi
movzx eax, byte [edi]
shl eax, 0x18
or dword [ebp + 0xc], eax
dec edi
movzx eax, byte [edi]
dec edi
movzx ebx, byte [edi]
shl ebx, 8
or eax, ebx
dec edi
movzx ebx, byte [edi]
shl ebx, 0x10
or eax, ebx
movzx edi, byte [edi - 1]
shl edi, 0x18
or eax, edi
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
xor eax, ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
call fcn.1000c4df
mov edx, dword [ebp - 0x14]
mov eax, edx
shr eax, 0x18
mov byte [esi], al
inc esi
mov eax, edx
shr eax, 0x10
mov byte [esi], al
inc esi
mov eax, edx
shr eax, 8
mov byte [esi], al
inc esi
mov byte [esi], dl
pop ecx
mov ecx, dword [ebp - 0x10]
inc esi
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
inc esi
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
inc esi
mov eax, ecx
shr eax, 8
mov byte [esi], al
mov byte [esi + 1], cl
mov esi, dword [ebp + 0x10]
mov eax, edx
shr eax, 0x18
mov byte [esi], al
mov eax, dword [ebp - 0xc]
mov ebx, edx
shr ebx, 0x10
mov byte [eax], bl
mov ebx, edx
shr ebx, 8
inc eax
mov byte [eax], bl
inc eax
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
inc eax
mov edx, ecx
pop edi
shr edx, 8
pop esi
mov byte [eax], dl
mov byte [eax + 1], cl
pop ebx
leave
ret