Function at 0x14000efe0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14000f5a4
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rdi, r8
mov rsi, r9
mov r12, rdx
shr rdi, 4
cmp byte [rcx], 0
mov rbp, rcx
je 0x14000f024
mov r8, rdi
call fcn.14000e804
jmp 0x14000f58d
lea rax, [rcx + 8]
lea rcx, [rsp + 0x50]
mov r8d, 0x10
mov rdx, rax
mov qword [rsp + 0x28], rax
call fcn.140020d80
test rdi, rdi
je 0x14000f578
mov r13d, dword [rsp + 0x5c]
mov r14d, dword [rsp + 0x58]
mov r15d, dword [rsp + 0x54]
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 + 0x4c], r8d
shr eax, 8
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x48], r9d
movzx edx, al
mov eax, r9d
mov dword [rsp + 0x44], r10d
shr eax, 0x10
movzx ecx, al
lea rax, [0x140000000]
mov edx, dword [rax + rdx*4 + 0x3f3e0]
xor edx, dword [rax + rcx*4 + 0x3efe0]
mov eax, r10d
shr eax, 0x18
movzx ecx, al
lea rax, [0x140000000]
xor edx, dword [rax + rcx*4 + 0x3ebe0]
movzx eax, r11b
lea rcx, [0x140000000]
xor edx, dword [rcx + rax*4 + 0x3f7e0]
mov eax, r8d
shr r8d, 0x18
shr eax, 0x10
mov dword [rsp + 0xb0], edx
mov dword [rsp + 0x30], edx
movzx edx, al
mov eax, r9d
shr eax, 0x18
movzx ecx, al
lea rax, [0x140000000]
mov edx, dword [rax + rdx*4 + 0x3efe0]
xor edx, dword [rax + rcx*4 + 0x3ebe0]
mov eax, r11d
shr eax, 8
movzx ecx, al
lea rax, [0x140000000]
xor edx, dword [rax + rcx*4 + 0x3f3e0]
movzx eax, r10b
lea rcx, [0x140000000]
xor edx, dword [rcx + rax*4 + 0x3f7e0]
mov eax, r10d
shr r10d, 0x10
shr eax, 8
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x34], edx
movzx ecx, al
movzx edx, r8b
lea r8, [0x140000000]
mov edx, dword [r8 + rdx*4 + 0x3ebe0]
mov eax, r11d
shr r11d, 0x18
xor edx, dword [r8 + rcx*4 + 0x3f3e0]
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
shr r9d, 8
xor edx, dword [r8 + rcx*4 + 0x3efe0]
movzx ecx, r9b
xor edx, dword [r8 + rax*4 + 0x3f7e0]
mov r8d, dword [r8 + rcx*4 + 0x3f3e0]
movzx eax, r10b
lea rcx, [0x140000000]
mov dword [rsp + 0x38], edx
xor r8d, dword [rcx + rax*4 + 0x3efe0]
movzx eax, r11b
lea r11, [0x140000000]
xor r8d, dword [r11 + rax*4 + 0x3ebe0]
movzx eax, byte [rsp + 0x4c]
xor r8d, dword [r11 + rax*4 + 0x3f7e0]
lea eax, [rbx - 1]
mov dword [rsp + 0x3c], r8d
movsxd rcx, eax
cmp rcx, 1
jle 0x14000f394
mov r13d, dword [rsp + 0xb0]
mov r14d, dword [rsp + 0x20]
lea rbx, [rcx + 2]
shl rbx, 4
lea r15, [0x140000000]
add rbx, rbp
lea rbp, [rcx - 1]
mov ecx, r8d
mov r8d, dword [rbx + 4]
mov r9d, dword [rbx]
mov r11d, dword [rbx - 8]
mov r10d, dword [rbx - 4]
xor r8d, ecx
xor r9d, edx
xor r11d, r13d
xor r10d, r14d
mov eax, r8d
shr eax, 8
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x48], r9d
movzx edx, al
mov eax, r9d
mov dword [rsp + 0x44], r10d
mov r13d, dword [r15 + rdx*4 + 0x3f3e0]
shr eax, 0x10
mov dword [rsp + 0x40], r11d
movzx ecx, al
mov eax, r10d
sub rbx, 0x10
xor r13d, dword [r15 + rcx*4 + 0x3efe0]
shr eax, 0x18
movzx ecx, al
movzx eax, r11b
xor r13d, dword [r15 + rcx*4 + 0x3ebe0]
xor r13d, dword [r15 + rax*4 + 0x3f7e0]
mov eax, r8d
shr r8d, 0x18
shr eax, 0x10
mov dword [rsp + 0x30], r13d
movzx edx, al
mov eax, r9d
mov r14d, dword [r15 + rdx*4 + 0x3efe0]
shr eax, 0x18
movzx edx, r8b
mov edx, dword [r15 + rdx*4 + 0x3ebe0]
movzx ecx, al
mov eax, r11d
xor r14d, dword [r15 + rcx*4 + 0x3ebe0]
shr eax, 8
movzx ecx, al
movzx eax, r10b
xor r14d, dword [r15 + rcx*4 + 0x3f3e0]
xor r14d, dword [r15 + rax*4 + 0x3f7e0]
mov eax, r10d
shr r10d, 0x10
shr eax, 8
mov dword [rsp + 0x34], r14d
movzx ecx, al
mov eax, r11d
shr r11d, 0x18
xor edx, dword [r15 + rcx*4 + 0x3f3e0]
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
shr r9d, 8
xor edx, dword [r15 + rcx*4 + 0x3efe0]
movzx ecx, r9b
xor edx, dword [r15 + rax*4 + 0x3f7e0]
mov ecx, dword [r15 + rcx*4 + 0x3f3e0]
movzx eax, r10b
xor ecx, dword [r15 + rax*4 + 0x3efe0]
movzx eax, r11b
xor ecx, dword [r15 + rax*4 + 0x3ebe0]
movzx eax, byte [rsp + 0x4c]
xor ecx, dword [r15 + rax*4 + 0x3f7e0]
sub rbp, 1
jne 0x14000f21f
mov rbp, qword [rsp + 0xa0]
mov r15d, dword [rsp + 0x54]
mov dword [rsp + 0x20], r14d
mov r14d, dword [rsp + 0x58]
mov dword [rsp + 0xb0], r13d
mov r13d, dword [rsp + 0x5c]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], ecx
lea r11, [0x140000000]
jmp 0x14000f397
mov ecx, r8d
mov r10d, dword [rbp + 0x28]
mov r8d, dword [rbp + 0x30]
mov r9d, dword [rbp + 0x2c]
xor r10d, dword [rsp + 0xb0]
xor r9d, dword [rsp + 0x20]
xor r8d, edx
mov edx, dword [rbp + 0x34]
movzx eax, r10b
mov dword [rsp + 0x48], r8d
mov al, byte [rax + r11 + 0x40c00]
xor edx, ecx
mov dword [rsp + 0x44], r9d
mov byte [rsp + 0x30], al
mov eax, edx
mov dword [rsp + 0x4c], edx
shr eax, 8
mov dword [rsp + 0x40], r10d
movzx ecx, al
mov al, byte [rcx + r11 + 0x40c00]
mov byte [rsp + 0x31], al
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov al, byte [rcx + r11 + 0x40c00]
mov byte [rsp + 0x32], al
mov eax, r9d
shr eax, 0x18
movzx ecx, al
mov al, byte [rcx + r11 + 0x40c00]
mov byte [rsp + 0x33], al
movzx eax, r9b
mov al, byte [rax + r11 + 0x40c00]
mov byte [rsp + 0x34], al
mov eax, r10d
shr eax, 8
movzx ecx, al
mov al, byte [rcx + r11 + 0x40c00]
mov byte [rsp + 0x35], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
movzx ecx, al
mov al, byte [rcx + r11 + 0x40c00]
mov byte [rsp + 0x36], al
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov al, byte [rcx + r11 + 0x40c00]
mov byte [rsp + 0x37], al
movzx eax, r8b
shr r8d, 8
mov al, byte [rax + r11 + 0x40c00]
mov byte [rsp + 0x38], al
mov eax, r9d
shr r9d, 0x10
shr eax, 8
movzx ecx, al
mov al, byte [rcx + r11 + 0x40c00]
mov byte [rsp + 0x39], al
mov eax, r10d
shr eax, 0x10
shr r10d, 0x18
movzx ecx, al
mov al, byte [rcx + r11 + 0x40c00]
mov byte [rsp + 0x3a], al
movzx eax, dl
mov al, byte [rax + r11 + 0x40c00]
mov byte [rsp + 0x3b], al
movzx eax, byte [rsp + 0x4c]
mov al, byte [rax + r11 + 0x40c00]
mov byte [rsp + 0x3c], al
movzx eax, r8b
mov al, byte [rax + r11 + 0x40c00]
mov byte [rsp + 0x3d], al
movzx eax, r9b
mov al, byte [rax + r11 + 0x40c00]
mov byte [rsp + 0x3e], al
movzx eax, r10b
mov al, byte [rax + r11 + 0x40c00]
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x3c]
xor edx, dword [rbp + 0x1c]
xor r9d, dword [rbp + 0x20]
xor r10d, dword [rbp + 0x24]
xor eax, dword [rbp + 0x18]
cmp byte [rbp + 1], 0
je 0x14000f533
xor eax, dword [rsp + 0x50]
xor edx, r15d
xor r9d, r14d
xor r10d, r13d
mov ecx, dword [r12]
mov r15d, dword [r12 + 4]
mov r14d, dword [r12 + 8]
mov r13d, dword [r12 + 0xc]
mov dword [rsi], eax
mov dword [rsi + 4], edx
mov dword [rsi + 8], r9d
mov dword [rsi + 0xc], r10d
add r12, 0x10
add rsi, 0x10
sub rdi, 1
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], r13d
jne 0x14000f058
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov r8d, 0x10
call fcn.140020d80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret