Function at 0x14001ac34
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14001b05e
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14005be78]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, r8
mov r14, r9
shr rdi, 4
mov rsi, rdx
cmp byte [rcx], 0
mov rbx, rcx
je 0x14001ac7e
mov r8, rdi
call fcn.14001b060
jmp 0x14001b044
lea r15, [rcx + 8]
mov r12d, 0x10
mov r8d, r12d
mov qword [rbp - 0x20], r15
mov rdx, r15
lea rcx, [rbp - 0x18]
call fcn.1400332a0
test rdi, rdi
je 0x14001b035
sub r14, rsi
lea r15, [0x140000000]
movsxd r10, dword [rbx + 4]
lea r8, [rbp - 0x40]
mov rcx, r10
mov rdx, rsi
shl rcx, 4
mov r9d, 4
add rcx, 0x18
add rcx, rbx
sub rdx, rcx
sub r8, rcx
mov eax, dword [rdx + rcx]
xor eax, dword [rcx]
mov dword [rcx + r8], eax
lea rcx, [rcx + 4]
sub r9, 1
jne 0x14001acd3
movzx ecx, byte [rbp - 0x40]
movzx eax, byte [rbp - 0x39]
mov edx, dword [r15 + rcx*4 + 0x63b20]
xor edx, dword [r15 + rax*4 + 0x64720]
movzx eax, byte [rbp - 0x36]
movzx ecx, byte [rbp - 0x3c]
xor edx, dword [r15 + rax*4 + 0x64320]
movzx eax, byte [rbp - 0x33]
xor edx, dword [r15 + rax*4 + 0x63f20]
movzx eax, byte [rbp - 0x3f]
mov dword [rbp - 0x30], edx
mov edx, dword [r15 + rcx*4 + 0x63b20]
movzx ecx, byte [rbp - 0x3e]
xor edx, dword [r15 + rax*4 + 0x63f20]
movzx eax, byte [rbp - 0x35]
xor edx, dword [r15 + rax*4 + 0x64720]
movzx eax, byte [rbp - 0x32]
xor edx, dword [r15 + rax*4 + 0x64320]
movzx eax, byte [rbp - 0x3b]
mov dword [rbp - 0x2c], edx
mov edx, dword [r15 + rcx*4 + 0x64320]
movzx ecx, byte [rbp - 0x3d]
xor edx, dword [r15 + rax*4 + 0x63f20]
movzx eax, byte [rbp - 0x38]
xor edx, dword [r15 + rax*4 + 0x63b20]
movzx eax, byte [rbp - 0x31]
xor edx, dword [r15 + rax*4 + 0x64720]
movzx eax, byte [rbp - 0x3a]
mov dword [rbp - 0x28], edx
mov edx, dword [r15 + rcx*4 + 0x64720]
xor edx, dword [r15 + rax*4 + 0x64320]
movzx eax, byte [rbp - 0x34]
xor edx, dword [r15 + rax*4 + 0x63b20]
movzx eax, byte [rbp - 0x37]
xor edx, dword [r15 + rax*4 + 0x63f20]
lea eax, [r10 - 1]
movsxd rcx, eax
mov dword [rbp - 0x24], edx
cmp rcx, 1
jle 0x14001aed1
mov r8, rcx
lea rdx, [rbp - 0x30]
shl r8, 4
lea r9, [rcx - 1]
sub r8, rdx
add r8, 0x18
add r8, rbx
xor edx, edx
lea rax, [rbp - 0x30]
add rax, rdx
mov ecx, dword [r8 + rax]
xor ecx, dword [rax]
mov dword [rbp + rdx - 0x40], ecx
add rdx, 4
cmp rdx, r12
jl 0x14001adde
movzx ecx, byte [rbp - 0x40]
sub r8, r12
movzx eax, byte [rbp - 0x39]
mov edx, dword [r15 + rcx*4 + 0x63b20]
xor edx, dword [r15 + rax*4 + 0x64720]
movzx eax, byte [rbp - 0x36]
movzx ecx, byte [rbp - 0x3c]
xor edx, dword [r15 + rax*4 + 0x64320]
movzx eax, byte [rbp - 0x33]
xor edx, dword [r15 + rax*4 + 0x63f20]
movzx eax, byte [rbp - 0x3f]
mov dword [rbp - 0x30], edx
mov edx, dword [r15 + rcx*4 + 0x63b20]
movzx ecx, byte [rbp - 0x3e]
xor edx, dword [r15 + rax*4 + 0x63f20]
movzx eax, byte [rbp - 0x35]
xor edx, dword [r15 + rax*4 + 0x64720]
movzx eax, byte [rbp - 0x32]
xor edx, dword [r15 + rax*4 + 0x64320]
movzx eax, byte [rbp - 0x3b]
mov dword [rbp - 0x2c], edx
mov edx, dword [r15 + rcx*4 + 0x64320]
movzx ecx, byte [rbp - 0x3d]
xor edx, dword [r15 + rax*4 + 0x63f20]
movzx eax, byte [rbp - 0x38]
xor edx, dword [r15 + rax*4 + 0x63b20]
movzx eax, byte [rbp - 0x31]
xor edx, dword [r15 + rax*4 + 0x64720]
movzx eax, byte [rbp - 0x3a]
mov dword [rbp - 0x28], edx
mov edx, dword [r15 + rcx*4 + 0x64720]
xor edx, dword [r15 + rax*4 + 0x64320]
movzx eax, byte [rbp - 0x34]
xor edx, dword [r15 + rax*4 + 0x63b20]
movzx eax, byte [rbp - 0x37]
xor edx, dword [r15 + rax*4 + 0x63f20]
mov dword [rbp - 0x24], edx
sub r9, 1
jne 0x14001addc
lea rax, [rbp - 0x30]
lea r8, [rbx + 0x28]
sub r8, rax
xor edx, edx
lea rax, [rbp - 0x30]
add rax, rdx
mov ecx, dword [r8 + rax]
xor ecx, dword [rax]
mov dword [rbp + rdx - 0x40], ecx
add rdx, 4
cmp rdx, r12
jl 0x14001aede
movzx eax, byte [rbp - 0x40]
xor ecx, ecx
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x30], al
movzx eax, byte [rbp - 0x33]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x2f], al
movzx eax, byte [rbp - 0x36]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x2e], al
movzx eax, byte [rbp - 0x39]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x2d], al
movzx eax, byte [rbp - 0x3c]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x2c], al
movzx eax, byte [rbp - 0x3f]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x2b], al
movzx eax, byte [rbp - 0x32]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x2a], al
movzx eax, byte [rbp - 0x35]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x29], al
movzx eax, byte [rbp - 0x38]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x28], al
movzx eax, byte [rbp - 0x3b]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x27], al
movzx eax, byte [rbp - 0x3e]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x26], al
movzx eax, byte [rbp - 0x31]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x25], al
movzx eax, byte [rbp - 0x34]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x24], al
movzx eax, byte [rbp - 0x37]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x23], al
movzx eax, byte [rbp - 0x3a]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x22], al
movzx eax, byte [rbp - 0x3d]
mov al, byte [rax + r15 + 0x62a20]
mov byte [rbp - 0x21], al
mov eax, dword [rbx + rcx*4 + 0x18]
xor dword [rbp + rcx*4 - 0x30], eax
inc rcx
cmp rcx, 4
jl 0x14001afea
cmp byte [rbx + 1], 0
je 0x14001b014
xor ecx, ecx
mov eax, dword [rbp + rcx - 0x18]
xor dword [rbp + rcx - 0x30], eax
add rcx, 4
cmp rcx, r12
jl 0x14001b003
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x18], xmm0
movups xmmword [r14 + rsi], xmm1
add rsi, r12
sub rdi, 1
jne 0x14001acae
mov r15, qword [rbp - 0x20]
mov r8, r12
lea rdx, [rbp - 0x18]
mov rcx, r15
call fcn.1400332a0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140031f80
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret