Function at 0x14002a700
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x14002ac32
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 qword [rax - 0x30], r13
mov rsi, rdx
mov qword [rax - 0x38], r14
mov rdi, r8
sub rsi, r8
mov rbp, rcx
mov qword [rax - 0x40], r15
mov qword [rsp + 0x68], rsi
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x28]
mov r11d, dword [rsi + rdi]
mov ebx, dword [rsi + rdi + 4]
mov edx, dword [rcx + 0x10]
mov r14d, dword [rcx]
mov r15d, dword [rcx + 4]
mov r12d, dword [rcx + 8]
mov r13d, dword [rcx + 0xc]
mov rax, qword [rbp + 8]
mov dword [rsp], edx
mov edx, dword [rcx + 0x14]
mov r10d, 3
mov ebp, dword [rsp]
mov dword [rsp + 4], edx
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
mov esi, dword [rsp + 4]
mov edi, edx
mov dword [rsp + 0xc], ecx
nop word [rax + rax]
lea r9d, [r14 + 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, [r15 + 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, [r12 + 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, [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, [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, [rsi + 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, [rdi + 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
mov r9d, dword [rsp + 0xc]
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
add r9d, ebx
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
dec r10
jne 0x14002a7a0
mov rbp, qword [rsp + 0x60]
mov r10, qword [rbp + 8]
mov r9, qword [rbp + 0x28]
mov r8d, dword [r9 + 0x1c]
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 + 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 + 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 + 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 rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov eax, r8d
shr eax, 8
add rdi, 8
movzx ecx, al
movzx eax, r8b
mov r8d, dword [r9 + 8]
or edx, dword [r10 + rcx*4 + 0x400]
mov qword [rsp + 0x70], rdi
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 + 4]
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]
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
or edx, dword [r10 + rcx*4 + 0x400]
or edx, dword [r10 + rax*4]
mov dword [rdi - 8], ebx
xor r11d, edx
dec qword [rsp + 0x78]
mov dword [rdi - 4], r11d
jne 0x14002a750
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