Function at 0x14001a0ed
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14001a6a8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140044948]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, r8
mov rsi, r9
mov qword [rsp + 0x30], r9
shr rdi, 4
cmp byte [rcx], 0
mov r12, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rcx
je 0x14001a13b
mov r8, rdi
call fcn.1400198b0
jmp 0x14001a688
movdqu xmm0, xmmword [rcx + 8]
movdqu xmmword [rsp + 0x60], xmm0
test rdi, rdi
je 0x14001a683
mov r13d, dword [rsp + 0x6c]
mov r14d, dword [rsp + 0x68]
mov r15d, dword [rsp + 0x64]
mov r11d, dword [r12]
movsxd rbx, dword [rbp + 4]
mov rax, rbx
add rax, rax
xor r11d, dword [rbp + rax*8 + 0x18]
mov r8d, dword [rbp + rax*8 + 0x24]
mov r9d, dword [rbp + rax*8 + 0x20]
mov r10d, dword [rbp + rax*8 + 0x1c]
xor r8d, dword [r12 + 0xc]
xor r9d, dword [r12 + 8]
xor r10d, dword [r12 + 4]
mov eax, r8d
mov dword [rsp + 0x5c], r8d
shr eax, 8
mov dword [rsp + 0x54], r10d
mov dword [rsp + 0x50], r11d
movzx edx, al
mov eax, r9d
mov dword [rsp + 0x58], r9d
shr eax, 0x10
movzx ecx, al
lea rax, [0x140000000]
mov edx, dword [rax + rdx*4 + 0x53bc0]
xor edx, dword [rax + rcx*4 + 0x537c0]
mov eax, r10d
shr eax, 0x18
movzx ecx, al
lea rax, [0x140000000]
xor edx, dword [rax + rcx*4 + 0x533c0]
movzx eax, r11b
lea rcx, [0x140000000]
xor edx, dword [rcx + rax*4 + 0x53fc0]
mov eax, r8d
shr r8d, 0x18
shr eax, 0x10
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x40], edx
movzx edx, al
mov eax, r9d
shr eax, 0x18
movzx ecx, al
lea rax, [0x140000000]
mov edx, dword [rax + rdx*4 + 0x537c0]
xor edx, dword [rax + rcx*4 + 0x533c0]
mov eax, r11d
shr eax, 8
movzx ecx, al
lea rax, [0x140000000]
xor edx, dword [rax + rcx*4 + 0x53bc0]
movzx eax, r10b
lea rcx, [0x140000000]
xor edx, dword [rcx + rax*4 + 0x53fc0]
mov eax, r10d
shr r10d, 0x10
shr eax, 8
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x44], edx
movzx ecx, al
movzx edx, r8b
lea rax, [0x140000000]
mov r8d, dword [rax + rdx*4 + 0x533c0]
lea rdx, [0x140000000]
mov eax, r11d
xor r8d, dword [rdx + rcx*4 + 0x53bc0]
shr eax, 0x10
shr r11d, 0x18
movzx ecx, al
movzx eax, r9b
shr r9d, 8
xor r8d, dword [rdx + rcx*4 + 0x537c0]
movzx ecx, r9b
xor r8d, dword [rdx + rax*4 + 0x53fc0]
movzx eax, r10b
mov r10d, dword [rdx + rcx*4 + 0x53bc0]
xor r10d, dword [rdx + rax*4 + 0x537c0]
movzx eax, r11b
lea r11, [0x140000000]
xor r10d, dword [r11 + rax*4 + 0x533c0]
movzx eax, byte [rsp + 0x5c]
mov dword [rsp + 0x48], r8d
xor r10d, dword [r11 + rax*4 + 0x53fc0]
lea eax, [rbx - 1]
mov dword [rsp + 0x24], r10d
mov dword [rsp + 0x4c], r10d
movsxd rcx, eax
cmp rcx, 1
jle 0x14001a4a3
mov r13d, dword [rsp + 0x20]
mov r14d, dword [rsp + 0x28]
lea rbx, [rcx + 2]
shl rbx, 4
mov r15d, r10d
lea rsi, [0x140000000]
add rbx, rbp
lea rbp, [rcx - 1]
xor r8d, dword [rbx]
mov r11d, dword [rbx - 8]
mov r10d, dword [rbx - 4]
mov r9d, r8d
xor r11d, r13d
xor r10d, r14d
mov dword [rsp + 0x58], r8d
mov r8d, dword [rbx + 4]
mov dword [rsp + 0x54], r10d
xor r8d, r15d
mov dword [rsp + 0x50], r11d
sub rbx, 0x10
mov eax, r8d
mov dword [rsp + 0x5c], r8d
shr eax, 8
movzx edx, al
mov eax, r9d
mov r13d, dword [rsi + rdx*4 + 0x53bc0]
shr eax, 0x10
movzx ecx, al
mov eax, r10d
xor r13d, dword [rsi + rcx*4 + 0x537c0]
shr eax, 0x18
movzx ecx, al
movzx eax, r11b
xor r13d, dword [rsi + rcx*4 + 0x533c0]
xor r13d, dword [rsi + rax*4 + 0x53fc0]
mov eax, r8d
shr r8d, 0x18
shr eax, 0x10
mov dword [rsp + 0x40], r13d
movzx edx, al
mov eax, r9d
mov r14d, dword [rsi + rdx*4 + 0x537c0]
shr eax, 0x18
movzx edx, r8b
mov r8d, dword [rsi + rdx*4 + 0x533c0]
movzx ecx, al
mov eax, r11d
xor r14d, dword [rsi + rcx*4 + 0x533c0]
shr eax, 8
movzx ecx, al
movzx eax, r10b
xor r14d, dword [rsi + rcx*4 + 0x53bc0]
xor r14d, dword [rsi + rax*4 + 0x53fc0]
mov eax, r10d
shr r10d, 0x10
shr eax, 8
mov dword [rsp + 0x44], r14d
movzx ecx, al
mov eax, r11d
shr r11d, 0x18
xor r8d, dword [rsi + rcx*4 + 0x53bc0]
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
shr r9d, 8
xor r8d, dword [rsi + rcx*4 + 0x537c0]
movzx ecx, r9b
xor r8d, dword [rsi + rax*4 + 0x53fc0]
mov r15d, dword [rsi + rcx*4 + 0x53bc0]
movzx eax, r10b
xor r15d, dword [rsi + rax*4 + 0x537c0]
movzx eax, r11b
xor r15d, dword [rsi + rax*4 + 0x533c0]
movzx eax, byte [rsp + 0x5c]
xor r15d, dword [rsi + rax*4 + 0x53fc0]
sub rbp, 1
mov dword [rsp + 0x4c], r15d
jne 0x14001a325
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov dword [rsp + 0x24], r15d
mov r10d, dword [rsp + 0x24]
mov r15d, dword [rsp + 0x64]
mov dword [rsp + 0x28], r14d
mov r14d, dword [rsp + 0x68]
mov dword [rsp + 0x20], r13d
mov r13d, dword [rsp + 0x6c]
mov dword [rsp + 0x48], r8d
lea r11, [0x140000000]
xor r8d, dword [rbp + 0x30]
xor r10d, dword [rbp + 0x34]
mov edx, dword [rsp + 0x20]
xor edx, dword [rbp + 0x28]
mov r9d, dword [rsp + 0x28]
mov dword [rsp + 0x5c], r10d
xor r9d, dword [rbp + 0x2c]
movzx eax, dl
mov dword [rsp + 0x58], r8d
mov al, byte [rax + r11 + 0x553e0]
mov dword [rsp + 0x54], r9d
mov dword [rsp + 0x50], edx
mov byte [rsp + 0x40], al
mov eax, r10d
shr eax, 8
movzx ecx, al
mov al, byte [rcx + r11 + 0x553e0]
mov byte [rsp + 0x41], al
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov al, byte [rcx + r11 + 0x553e0]
mov byte [rsp + 0x42], al
mov eax, r9d
shr eax, 0x18
movzx ecx, al
mov al, byte [rcx + r11 + 0x553e0]
mov byte [rsp + 0x43], al
movzx eax, r9b
mov al, byte [rax + r11 + 0x553e0]
mov byte [rsp + 0x44], al
mov eax, edx
shr eax, 8
movzx ecx, al
mov al, byte [rcx + r11 + 0x553e0]
mov byte [rsp + 0x45], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
movzx ecx, al
mov al, byte [rcx + r11 + 0x553e0]
mov byte [rsp + 0x46], al
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov al, byte [rcx + r11 + 0x553e0]
mov byte [rsp + 0x47], al
movzx eax, r8b
shr r8d, 8
mov al, byte [rax + r11 + 0x553e0]
mov byte [rsp + 0x48], al
mov eax, r9d
shr r9d, 0x10
shr eax, 8
movzx ecx, al
mov al, byte [rcx + r11 + 0x553e0]
mov byte [rsp + 0x49], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
movzx ecx, al
mov al, byte [rcx + r11 + 0x553e0]
mov ecx, dword [rsp + 0x44]
mov byte [rsp + 0x4a], al
movzx eax, r10b
mov al, byte [rax + r11 + 0x553e0]
mov byte [rsp + 0x4b], al
movzx eax, byte [rsp + 0x5c]
mov al, byte [rax + r11 + 0x553e0]
mov byte [rsp + 0x4c], al
movzx eax, r8b
mov al, byte [rax + r11 + 0x553e0]
mov byte [rsp + 0x4d], al
movzx eax, r9b
mov al, byte [rax + r11 + 0x553e0]
mov byte [rsp + 0x4e], al
movzx eax, dl
mov al, byte [rax + r11 + 0x553e0]
mov byte [rsp + 0x4f], al
mov eax, dword [rsp + 0x40]
xor eax, dword [rbp + 0x18]
mov edx, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
xor ecx, dword [rbp + 0x1c]
xor edx, dword [rbp + 0x20]
xor r8d, dword [rbp + 0x24]
cmp byte [rbp + 1], 0
je 0x14001a633
xor eax, dword [rsp + 0x60]
xor ecx, r15d
xor edx, r14d
xor r8d, r13d
mov r9d, dword [r12]
mov r15d, dword [r12 + 4]
mov r14d, dword [r12 + 8]
mov r13d, dword [r12 + 0xc]
mov dword [rsi], eax
add rsi, 0x10
mov dword [rsi - 0xc], ecx
mov dword [rsi - 8], edx
mov dword [rsi - 4], r8d
add r12, 0x10
sub rdi, 1
mov dword [rsp + 0x60], r9d
mov dword [rsp + 0x64], r15d
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x6c], r13d
mov qword [rsp + 0x30], rsi
jne 0x14001a15e
movdqu xmm0, xmmword [rsp + 0x60]
movdqu xmmword [rbp + 8], xmm0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002c170
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret