Function at 0x14002aa00
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x14002af16
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rax - 0x20], rbx
mov qword [rax - 0x28], r12
mov rdi, r8
mov qword [rax - 0x30], r13
mov r8, rdx
mov qword [rax - 0x38], r14
sub r8, rdi
mov rbp, rcx
mov qword [rax - 0x40], r15
mov qword [rsp + 0x68], r8
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rbp + 8]
mov ebx, dword [r8 + rdi]
mov r9, qword [rbp + 0x28]
mov edx, dword [r9]
add edx, ebx
mov eax, edx
shr eax, 0x18
movzx ecx, al
mov eax, edx
mov r11d, dword [r10 + rcx*4 + 0xc00]
shr eax, 0x10
movzx eax, al
or r11d, dword [r10 + rax*4 + 0x800]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
or r11d, dword [r10 + rcx*4 + 0x400]
or r11d, dword [r10 + rax*4]
xor r11d, dword [r8 + rdi + 4]
mov r8d, dword [r9 + 4]
add r8d, r11d
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov eax, r8d
mov edx, dword [r10 + rcx*4 + 0xc00]
shr eax, 0x10
movzx eax, al
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 8]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor ebx, edx
add r8d, ebx
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov eax, r8d
mov edx, dword [r10 + rcx*4 + 0xc00]
shr eax, 0x10
movzx eax, al
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 0xc]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor r11d, edx
add r8d, r11d
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov eax, r8d
mov edx, dword [r10 + rcx*4 + 0xc00]
shr eax, 0x10
movzx eax, al
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 0x10]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor ebx, edx
add r8d, ebx
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov eax, r8d
mov edx, dword [r10 + rcx*4 + 0xc00]
shr eax, 0x10
movzx eax, al
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 0x14]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor r11d, edx
add r8d, r11d
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov eax, r8d
mov edx, dword [r10 + rcx*4 + 0xc00]
shr eax, 0x10
movzx eax, al
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 0x18]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor ebx, edx
add r8d, ebx
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov eax, r8d
mov edx, dword [r10 + rcx*4 + 0xc00]
shr eax, 0x10
movzx eax, al
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 0x1c]
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
xor r11d, edx
add r8d, r11d
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov eax, r8d
mov edx, dword [r10 + rcx*4 + 0xc00]
shr eax, 0x10
movzx eax, al
or edx, dword [r10 + rax*4 + 0x800]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
or edx, dword [r10 + rcx*4 + 0x400]
mov rcx, r9
or edx, dword [r10 + rax*4]
mov r14d, dword [rcx + 0x1c]
mov r15d, dword [rcx + 0x18]
mov r12d, dword [rcx + 0x14]
mov ebp, dword [rcx + 0x10]
mov r13d, dword [rcx + 0xc]
xor ebx, edx
mov edx, dword [rcx + 8]
mov rax, r10
mov dword [rsp], edx
mov edx, dword [rcx + 4]
mov ecx, dword [rcx]
mov esi, dword [rsp]
mov dword [rsp + 8], ecx
mov r10d, 3
mov edi, edx
nop
lea r9d, [r14 + rbx]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
mov r8d, dword [rax + rdx*4 + 0xc00]
shr ecx, 0x10
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r15 + r11]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
mov r8d, dword [rax + rdx*4 + 0xc00]
shr ecx, 0x10
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [r12 + rbx]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
mov r8d, dword [rax + rdx*4 + 0xc00]
shr ecx, 0x10
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r11 + rbp]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
mov r8d, dword [rax + rdx*4 + 0xc00]
shr ecx, 0x10
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [rbx + r13]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
mov r8d, dword [rax + rdx*4 + 0xc00]
shr ecx, 0x10
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [rsi + r11]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
mov r8d, dword [rax + rdx*4 + 0xc00]
shr ecx, 0x10
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [rdi + rbx]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
mov r8d, dword [rax + rdx*4 + 0xc00]
shr ecx, 0x10
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [rsp + 8]
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
add r9d, r11d
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
mov r8d, dword [rax + rdx*4 + 0xc00]
shr ecx, 0x10
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
dec r10
jne 0x14002acb0
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov dword [rdi], r11d
mov dword [rdi + 4], ebx
add rdi, 8
dec qword [rsp + 0x78]
mov qword [rsp + 0x70], rdi
jne 0x14002aa50
mov r15, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret