Function at 0x4b8a60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
lea rdi, [rcx + 0x12c4]
mov rbx, rcx
mov dword [rcx + 0xec], 0
mov esi, 2
nop
nop
movzx eax, word [rbx + 0x1ee6]
lea r11d, [rsi - 2]
shr rax, 4
mov r8d, r11d
shr r11d, 1
and r8d, 1
mov edx, r11d
shr r11d, 1
and edx, 1
and r11d, 1
mov ecx, r8d
neg ecx
add r8d, 2
shr rcx, 4
lea r9d, [rdx + r8*2]
and ecx, 0x7f
xor rcx, rax
mov eax, edx
mov r10d, dword [rbx + rcx*4 + 0x810]
movzx ecx, word [rbx + r8*2 + 0x1ee4]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
mov eax, r11d
add r10d, dword [rbx + rcx*4 + 0x810]
movzx ecx, word [rbx + r9*2 + 0x1ee4]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
lea eax, [r11 + r9*2]
lea r11d, [rsi - 1]
add r10d, dword [rbx + rcx*4 + 0x810]
movzx eax, word [rbx + rax*2 + 0x1ee4]
mov r8d, r11d
mov rdx, rax
shr rax, 4
and r8d, 1
mov eax, dword [rbx + rax*4 + 0x810]
xor rdx, 0x7f0
shr r11d, 1
lea ecx, [r10 + rax]
shr rdx, 4
mov dword [rdi - 0x20], ecx
mov eax, dword [rbx + rdx*4 + 0x810]
mov edx, r11d
lea ecx, [r10 + rax]
and edx, 1
shr r11d, 1
mov dword [rdi], ecx
movzx eax, word [rbx + 0x1ee6]
mov ecx, r8d
shr rax, 4
neg ecx
add r8d, 2
shr rcx, 4
and r11d, 1
lea r9d, [rdx + r8*2]
and ecx, 0x7f
xor rcx, rax
mov eax, edx
mov r10d, dword [rbx + rcx*4 + 0x810]
movzx ecx, word [rbx + r8*2 + 0x1ee4]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
mov eax, r11d
add r10d, dword [rbx + rcx*4 + 0x810]
movzx ecx, word [rbx + r9*2 + 0x1ee4]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
lea eax, [r11 + r9*2]
add r10d, dword [rbx + rcx*4 + 0x810]
movzx eax, word [rbx + rax*2 + 0x1ee4]
mov r8d, esi
mov rdx, rax
shr rax, 4
and r8d, 1
mov eax, dword [rbx + rax*4 + 0x810]
xor rdx, 0x7f0
lea ecx, [r10 + rax]
shr rdx, 4
mov dword [rdi - 0x1c], ecx
mov eax, dword [rbx + rdx*4 + 0x810]
lea ecx, [r10 + rax]
mov r10d, esi
mov dword [rdi + 4], ecx
movzx eax, word [rbx + 0x1ee6]
mov ecx, r8d
shr rax, 4
neg ecx
add r8d, 2
shr rcx, 4
shr r10d, 1
and ecx, 0x7f
mov edx, r10d
shr r10d, 1
xor rcx, rax
and edx, 1
and r10d, 1
mov r11d, dword [rbx + rcx*4 + 0x810]
movzx ecx, word [rbx + r8*2 + 0x1ee4]
lea r9d, [rdx + r8*2]
shr rcx, 4
mov eax, edx
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
mov eax, r10d
add r11d, dword [rbx + rcx*4 + 0x810]
movzx ecx, word [rbx + r9*2 + 0x1ee4]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
lea eax, [r10 + r9*2]
add r11d, dword [rbx + rcx*4 + 0x810]
movzx eax, word [rbx + rax*2 + 0x1ee4]
mov rdx, rax
shr rax, 4
mov eax, dword [rbx + rax*4 + 0x810]
xor rdx, 0x7f0
lea ecx, [r11 + rax]
shr rdx, 4
mov dword [rdi - 0x18], ecx
mov eax, dword [rbx + rdx*4 + 0x810]
lea ecx, [r11 + rax]
lea r11d, [rsi + 1]
mov dword [rdi + 8], ecx
movzx eax, word [rbx + 0x1ee6]
mov r8d, r11d
shr rax, 4
and r8d, 1
shr r11d, 1
mov ecx, r8d
add r8d, 2
mov edx, r11d
neg ecx
and edx, 1
shr rcx, 4
lea r9d, [rdx + r8*2]
and ecx, 0x7f
xor rcx, rax
mov eax, edx
mov r10d, dword [rbx + rcx*4 + 0x810]
movzx ecx, word [rbx + r8*2 + 0x1ee4]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
add r10d, dword [rbx + rcx*4 + 0x810]
movzx ecx, word [rbx + r9*2 + 0x1ee4]
shr r11d, 1
add esi, 4
shr rcx, 4
and r11d, 1
add rdi, 0x10
mov eax, r11d
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
lea eax, [r11 + r9*2]
movzx eax, word [rbx + rax*2 + 0x1ee4]
add r10d, dword [rbx + rcx*4 + 0x810]
mov rdx, rax
shr rax, 4
mov eax, dword [rbx + rax*4 + 0x810]
xor rdx, 0x7f0
lea ecx, [r10 + rax]
shr rdx, 4
mov dword [rdi - 0x24], ecx
mov eax, dword [rbx + rdx*4 + 0x810]
lea ecx, [r10 + rax]
lea eax, [rsi - 2]
cmp eax, 8
mov dword [rdi - 4], ecx
jb 0x4b8a90
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
ret