Function at 0x14002bcc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov r11d, 1
lea r15, [rcx + 0x820]
mov dword [rsp + 0x30], r11d
lea r12, [rcx + 0x1ef0]
lea r13, [rcx + 0x12b4]
nop dword [rax + rax]
movzx eax, word [r12 + 2]
lea r10d, [r11 - 1]
shr rax, 4
mov edx, r10d
and edx, 1
shr r10d, 1
mov r14d, edx
mov r8d, r10d
add edx, 2
shr r10d, 1
lea rbp, [r12 + rdx*2]
and r10d, 1
and r8d, 1
neg r14d
shr r14, 4
mov ecx, r8d
neg ecx
lea edi, [rdx + rdx]
shr rcx, 4
and r14d, 0x7f
xor rax, r14
lea edx, [rdi + r8]
and ecx, 0x7f
mov esi, r11d
and esi, 1
mov r9d, dword [r15 + rax*4]
movzx eax, word [rbp]
shr rax, 4
lea ebx, [rsi + 2]
xor rcx, rax
mov eax, r10d
neg eax
shr rax, 4
and eax, 0x7f
add r9d, dword [r15 + rcx*4]
movzx ecx, word [r12 + rdx*2]
shr rcx, 4
xor rcx, rax
lea eax, [r10 + rdx*2]
movzx edx, word [r12 + rax*2]
mov r10d, r11d
mov eax, edx
shr r10d, 1
shr rax, 4
lea r11d, [rbx + rbx]
add r9d, dword [r15 + rcx*4]
xor rdx, 0x7f0
shr rdx, 4
mov ecx, dword [r15 + rax*4]
add ecx, r9d
mov dword [r13 - 4], ecx
mov ecx, dword [r15 + rdx*4]
mov edx, r10d
add ecx, r9d
shr r10d, 1
mov dword [r13 + 0x1c], ecx
and edx, 1
movzx eax, word [r12 + 2]
mov ecx, esi
neg ecx
shr rax, 4
shr rcx, 4
and r10d, 1
and ecx, 0x7f
lea r8d, [r11 + rdx]
xor rcx, rax
mov eax, edx
neg eax
shr rax, 4
and eax, 0x7f
mov r9d, dword [r15 + rcx*4]
movzx ecx, word [r12 + rbx*2]
shr rcx, 4
xor rcx, rax
mov eax, r10d
neg eax
shr rax, 4
add r9d, dword [r15 + rcx*4]
movzx ecx, word [r12 + r8*2]
shr rcx, 4
and eax, 0x7f
xor rcx, rax
lea eax, [r10 + r8*2]
movzx edx, word [r12 + rax*2]
mov eax, edx
xor rdx, 0x7f0
shr rax, 4
add r9d, dword [r15 + rcx*4]
shr rdx, 4
mov ecx, dword [r15 + rax*4]
add ecx, r9d
mov dword [r13], ecx
mov ecx, dword [r15 + rdx*4]
add ecx, r9d
mov r9d, dword [rsp + 0x30]
mov dword [r13 + 0x20], ecx
inc r9d
movzx eax, word [r12 + 2]
shr rax, 4
xor rax, r14
shr r9d, 1
mov edx, r9d
shr r9d, 1
and edx, 1
and r9d, 1
mov ecx, edx
mov r10d, dword [r15 + rax*4]
neg ecx
movzx eax, word [rbp]
shr rcx, 4
lea r8d, [rdi + rdx]
and ecx, 0x7f
shr rax, 4
xor rcx, rax
mov eax, r9d
neg eax
shr rax, 4
and eax, 0x7f
add r10d, dword [r15 + rcx*4]
movzx ecx, word [r12 + r8*2]
shr rcx, 4
xor rcx, rax
lea eax, [r9 + r8*2]
movzx edx, word [r12 + rax*2]
mov eax, edx
xor rdx, 0x7f0
shr rax, 4
add r10d, dword [r15 + rcx*4]
shr rdx, 4
mov ecx, dword [r15 + rax*4]
add ecx, r10d
mov dword [r13 + 4], ecx
mov ecx, dword [r15 + rdx*4]
add ecx, r10d
mov r10d, dword [rsp + 0x30]
mov dword [r13 + 0x24], ecx
add r10d, 2
movzx eax, word [r12 + 2]
mov ecx, esi
neg ecx
shr rax, 4
shr rcx, 4
and ecx, 0x7f
shr r10d, 1
xor rcx, rax
mov edx, r10d
and edx, 1
shr r10d, 1
mov eax, edx
and r10d, 1
neg eax
mov r9d, dword [r15 + rcx*4]
movzx ecx, word [r12 + rbx*2]
lea r8d, [r11 + rdx]
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
mov eax, r10d
add r9d, dword [r15 + rcx*4]
movzx ecx, word [r12 + r8*2]
shr rcx, 4
mov r11d, dword [rsp + 0x30]
lea r13, [r13 + 0x10]
neg eax
add r11d, 4
shr rax, 4
and eax, 0x7f
mov dword [rsp + 0x30], r11d
xor rcx, rax
lea eax, [r10 + r8*2]
movzx edx, word [r12 + rax*2]
add r9d, dword [r15 + rcx*4]
mov eax, edx
shr rax, 4
xor rdx, 0x7f0
shr rdx, 4
mov ecx, dword [r15 + rax*4]
lea eax, [r11 - 1]
add ecx, r9d
mov dword [r13 - 8], ecx
mov ecx, dword [r15 + rdx*4]
add ecx, r9d
mov dword [r13 + 0x18], ecx
cmp eax, 8
jb 0x14002bd00
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret