Function at 0x1011dd60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
lea rdi, [rcx + 0x12d0]
mov rbx, rcx
mov esi, 2
nop
movzx eax, word [rbx + 0x1ef2]
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 + 0x820]
movzx ecx, word [rbx + r8*2 + 0x1ef0]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
mov eax, r11d
add r10d, dword [rbx + rcx*4 + 0x820]
movzx ecx, word [rbx + r9*2 + 0x1ef0]
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 + 0x820]
movzx eax, word [rbx + rax*2 + 0x1ef0]
mov r8d, r11d
mov rdx, rax
shr rax, 4
and r8d, 1
mov eax, dword [rbx + rax*4 + 0x820]
xor rdx, 0x7f0
shr r11d, 1
lea ecx, [r10 + rax]
shr rdx, 4
mov dword [rdi - 0x20], ecx
mov eax, dword [rbx + rdx*4 + 0x820]
mov edx, r11d
lea ecx, [r10 + rax]
and edx, 1
shr r11d, 1
mov dword [rdi], ecx
movzx eax, word [rbx + 0x1ef2]
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 + 0x820]
movzx ecx, word [rbx + r8*2 + 0x1ef0]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
mov eax, r11d
add r10d, dword [rbx + rcx*4 + 0x820]
movzx ecx, word [rbx + r9*2 + 0x1ef0]
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 + 0x820]
movzx eax, word [rbx + rax*2 + 0x1ef0]
mov r8d, esi
mov rdx, rax
shr rax, 4
and r8d, 1
mov eax, dword [rbx + rax*4 + 0x820]
xor rdx, 0x7f0
lea ecx, [r10 + rax]
shr rdx, 4
mov dword [rdi - 0x1c], ecx
mov eax, dword [rbx + rdx*4 + 0x820]
lea ecx, [r10 + rax]
mov r10d, esi
mov dword [rdi + 4], ecx
movzx eax, word [rbx + 0x1ef2]
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 + 0x820]
movzx ecx, word [rbx + r8*2 + 0x1ef0]
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 + 0x820]
movzx ecx, word [rbx + r9*2 + 0x1ef0]
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 + 0x820]
movzx eax, word [rbx + rax*2 + 0x1ef0]
mov rdx, rax
shr rax, 4
mov eax, dword [rbx + rax*4 + 0x820]
xor rdx, 0x7f0
lea ecx, [r11 + rax]
shr rdx, 4
mov dword [rdi - 0x18], ecx
mov eax, dword [rbx + rdx*4 + 0x820]
lea ecx, [r11 + rax]
lea r11d, [rsi + 1]
mov dword [rdi + 8], ecx
movzx eax, word [rbx + 0x1ef2]
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 + 0x820]
movzx ecx, word [rbx + r8*2 + 0x1ef0]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
add r10d, dword [rbx + rcx*4 + 0x820]
movzx ecx, word [rbx + r9*2 + 0x1ef0]
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 + 0x1ef0]
add r10d, dword [rbx + rcx*4 + 0x820]
mov rdx, rax
shr rax, 4
mov eax, dword [rbx + rax*4 + 0x820]
xor rdx, 0x7f0
lea ecx, [r10 + rax]
shr rdx, 4
mov dword [rdi - 0x24], ecx
mov eax, dword [rbx + rdx*4 + 0x820]
lea ecx, [r10 + rax]
lea eax, [rsi - 2]
cmp eax, 8
mov dword [rdi - 4], ecx
jb 0x1011dd80
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
ret