Function at 0x14005b300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400b34a8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, qword [rbp + 0x58]
lea rax, [r9 - 8]
mov rbx, r9
mov r14, qword [rbp + 0x50]
mov r10, r8
mov byte [rbp - 0x30], 0
mov qword [rsi], 0
cmp qword [rbp + 0x60], rax
jb 0x14005b6c9
test edx, edx
jne 0x14005b3ec
lea rax, [r9 - 0x18]
movabs rdx, 0x1ffffffffffffe8
cmp rax, rdx
ja 0x14005b6c9
test bl, 7
jne 0x14005b6c9
shr rbx, 3
lea r9, [rbp - 0x20]
mov r8, rbx
mov qword [rsp + 0x28], rsi
mov rdx, r10
mov qword [rsp + 0x20], r14
call fcn.14005b120
mov edi, eax
test eax, eax
jne 0x14005b678
mov byte [rbp - 0x2e], al
lea r9, [0x140000000]
xor r8d, r8d
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + r9 + 0xa0c90]
movzx edx, byte [rbp + r8 - 0x20]
inc r8
movzx eax, byte [rbp - 0x2e]
xor dl, cl
or dl, al
mov byte [rbp - 0x2e], dl
cmp r8, 8
jb 0x14005b3b0
movzx eax, byte [rbp - 0x2e]
mov byte [rbp - 0x2f], al
test al, al
je 0x14005b68c
mov edi, 0xffff9d00
jmp 0x14005b678
cmp edx, 1
jne 0x14005b673
lea rax, [r9 - 0x10]
mov edx, 0xfffffff0
cmp rax, rdx
ja 0x14005b6c9
test bl, 7
jne 0x14005b6c9
mov rdx, r10
cmp rbx, 0x10
jne 0x14005b462
lea rax, [rbp - 0x28]
mov r8, rbx
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rax
call fcn.140028680
mov edi, eax
test eax, eax
jne 0x14005b678
mov rax, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x20], rax
xor edx, edx
mov rax, qword [rbp - 0x10]
mov r8, rbx
mov qword [r14], rax
mov rax, qword [fcn.14006c5b0]
call rax
mov qword [rsi], 8
jmp 0x14005b486
mov r8, rbx
mov qword [rsp + 0x28], rsi
shr r8, 3
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], r14
call fcn.14005b120
mov edi, eax
test eax, eax
jne 0x14005b678
mov byte [rbp - 0x2e], 0
lea r9, [0x140000000]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r9 + 0x8e3c8]
movzx ecx, byte [rbp + rdx - 0x20]
inc rdx
xor cl, al
movzx eax, byte [rbp - 0x2e]
or cl, al
mov byte [rbp - 0x2e], cl
cmp rdx, 4
jb 0x14005b4a0
movzx eax, byte [rbp - 0x2e]
mov r9d, 0xffff9d00
movzx r15d, byte [rbp - 0x1c]
test al, al
movzx eax, byte [rbp - 0x1b]
mov r8d, 8
mov rdx, qword [rsi]
cmovne edi, r9d
shl r15d, 8
lea rdx, [r14 + rdx]
or r15d, eax
movzx eax, byte [rbp - 0x1a]
shl r15d, 8
or r15d, eax
movzx eax, byte [rbp - 0x19]
shl r15d, 8
or r15, rax
sub rbx, r15
lea rax, [rbx - 8]
cmp rax, 7
mov r11, rax
cmova edi, r9d
and r11d, 7
cmp rax, 7
cmovbe r11, rax
xor cl, cl
mov byte [rbp - 0x2f], cl
movzx r10d, byte [rdx - 8]
sub r8, r11
je 0x14005b545
movzx eax, byte [rbp - 0x30]
or al, r10b
xor r10b, r10b
mov byte [rbp - 0x30], al
cmp r8, 1
ja 0x14005b578
movzx ecx, r10b
or cl, byte [rdx - 7]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 6]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 5]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 4]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 3]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 2]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 1]
mov byte [rbp - 0x2f], cl
jmp 0x14005b653
or al, byte [rdx - 7]
mov byte [rbp - 0x30], al
cmp r8, 2
ja 0x14005b5ad
or cl, byte [rdx - 6]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 5]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 4]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 3]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 2]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 1]
mov byte [rbp - 0x2f], cl
jmp 0x14005b653
or al, byte [rdx - 6]
mov byte [rbp - 0x30], al
cmp r8, 3
ja 0x14005b5d9
or cl, byte [rdx - 5]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 4]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 3]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 2]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 1]
mov byte [rbp - 0x2f], cl
jmp 0x14005b653
or al, byte [rdx - 5]
mov byte [rbp - 0x30], al
cmp r8, 4
ja 0x14005b5ff
or cl, byte [rdx - 4]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 3]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 2]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 1]
mov byte [rbp - 0x2f], cl
jmp 0x14005b653
or al, byte [rdx - 4]
mov byte [rbp - 0x30], al
cmp r8, 5
ja 0x14005b61f
or cl, byte [rdx - 3]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 2]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 1]
mov byte [rbp - 0x2f], cl
jmp 0x14005b653
or al, byte [rdx - 3]
mov byte [rbp - 0x30], al
cmp r8, 6
ja 0x14005b639
or cl, byte [rdx - 2]
mov byte [rbp - 0x2f], cl
or cl, byte [rdx - 1]
mov byte [rbp - 0x2f], cl
jmp 0x14005b653
or al, byte [rdx - 2]
mov byte [rbp - 0x30], al
cmp r8, 7
ja 0x14005b64d
or cl, byte [rdx - 1]
mov byte [rbp - 0x2f], cl
jmp 0x14005b653
or al, byte [rdx - 1]
mov byte [rbp - 0x30], al
test cl, cl
je 0x14005b65c
mov edi, r9d
jmp 0x14005b678
test edi, edi
jne 0x14005b678
lea rcx, [r15 + r14]
mov r8, r11
xor edx, edx
call fcn.14006c5b0
mov qword [rsi], r15
jmp 0x14005b68c
mov edi, 0xffff9f80
mov r8, qword [rsi]
xor edx, edx
mov rcx, r14
call fcn.14006c5b0
mov qword [rsi], 0
mov rax, qword [fcn.14006c5b0]
lea rcx, [rbp - 0x30]
xor edx, edx
lea r8d, [rdx + 1]
call rax
mov rax, qword [fcn.14006c5b0]
lea rcx, [rbp - 0x2f]
xor edx, edx
lea r8d, [rdx + 1]
call rax
mov rax, qword [fcn.14006c5b0]
lea rcx, [rbp - 0x20]
xor edx, edx
lea r8d, [rdx + 8]
call rax
mov eax, edi
jmp 0x14005b6ce
mov eax, 0xffff9f00
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140068c30
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret