Function at 0x14006c6e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rbx, r8
mov r12, rdx
mov rsi, rcx
xor r13d, r13d
add rcx, 0x60
call fcn.14006b920
cmp qword [rbx + 0x10], r13
jne 0x14006c72f
lea rdx, [0x14016f9e8]
mov rcx, r12
call qword [0x140164840]
jmp 0x14006ca5b
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140007cd0
nop
lea rcx, [rbp - 0x38]
call qword [0x1401646e0]
cmp rax, 8
jl 0x14006c789
mov rdi, r13
mov r15d, 4
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rbp - 0x38]
call qword [0x140163f18]
movzx ebx, byte [rax]
lea rdx, [rdi + 4]
lea rcx, [rbp - 0x38]
call qword [0x140163f18]
xor byte [rax], bl
inc rdi
sub r15, 1
jne 0x14006c760
lea rcx, [rbp - 0x38]
call qword [0x140164580]
mov rbx, rax
lea rcx, [rbp - 0x38]
call qword [0x1401641e0]
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x20]
call qword [0x1401641d8]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x38]
call qword [0x140164590]
lea rcx, [rbp - 0x20]
call qword [0x1401648a0]
mov dword [rsi + 0x10], r13d
lea rcx, [rsi + 0x18]
call qword [0x140163f20]
lea rcx, [rbp - 0x38]
call qword [0x1401646e0]
cmp rax, 0x14
jl 0x14006c8cc
mov ebx, 0x9527
nop
lea rcx, [rbp - 0x38]
call qword [0x140163f28]
mov rdi, rax
movzx ecx, word [rax]
call qword [0x140167300]
cmp ax, bx
jne 0x14006c8a8
movzx ecx, word [rdi + 0x12]
call qword [0x140167300]
movzx r15d, ax
mov ecx, dword [rdi + 4]
call qword [0x1401672f8]
lea r8, [r15 + 0x14]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x38]
cmp eax, 0x30015
jne 0x14006c84e
call qword [0x140164898]
mov rdx, rax
lea rcx, [rsi + 0x18]
call qword [0x140164590]
jmp 0x14006c887
call qword [0x140164898]
nop
mov r8, rax
mov rdx, qword [rsi + 0x70]
lea rcx, [rsi + 0x60]
call fcn.14006af60
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14006c875
mov eax, dword [rax]
cmp eax, 1
jle 0x14006c887
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 0x60]
call fcn.14005e730
nop
lea rcx, [rbp - 0x20]
call qword [0x1401648a0]
lea r8, [r15 + 0x14]
xor edx, edx
lea rcx, [rbp - 0x38]
call qword [0x140163db8]
mov ebx, 0x9527
jmp 0x14006c8b8
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rbp - 0x38]
call qword [0x140163db8]
lea rcx, [rbp - 0x38]
call qword [0x1401646e0]
cmp rax, 0x14
jge 0x14006c7f0
lea rcx, [rbp - 0x38]
call qword [0x140163f20]
cmp qword [rsi + 0x70], 0
je 0x14006ca40
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14006c8f1
mov eax, dword [rax]
cmp eax, 1
jle 0x14006c902
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 0x60]
call fcn.14005e730
mov rcx, qword [rsi + 0x68]
call qword [0x140163f28]
mov ecx, dword [rax + 4]
call qword [0x1401672f8]
cmp eax, 0xb0001
jne 0x14006ca40
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14006c930
mov eax, dword [rax]
cmp eax, 1
jle 0x14006c941
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 0x60]
call fcn.14005e730
mov rbx, qword [rsi + 0x68]
mov rcx, rsi
call qword [0x140163c50]
mov edi, dword [rax + 0x10]
mov rcx, rbx
call qword [0x140163f28]
mov ecx, dword [rax + 8]
call qword [0x1401672f8]
cmp eax, edi
jne 0x14006ca2e
cmp qword [rsi + 0x70], 0
je 0x14006ca17
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14006c986
mov eax, dword [rax]
cmp eax, 1
jle 0x14006c997
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 0x60]
call fcn.14005e730
mov rcx, qword [rsi + 0x68]
call qword [0x140163f28]
mov ecx, dword [rax + 4]
call qword [0x1401672f8]
cmp eax, 0xb0002
je 0x14006ca17
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14006c9c1
mov eax, dword [rax]
cmp eax, 1
jle 0x14006c9d2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 0x60]
call fcn.14005e730
mov rdx, qword [rsi + 0x68]
lea rcx, [rbp - 0x20]
call qword [0x140164598]
mov rcx, qword [rsi + 0x68]
call qword [0x1401648a0]
add qword [rsi + 0x68], 0x18
dec qword [rsi + 0x70]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x38]
call qword [0x140163f08]
nop
lea rcx, [rbp - 0x20]
call qword [0x1401648a0]
cmp qword [rsi + 0x70], 0
jne 0x14006c976
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.14006c0d0
mov rcx, r12
call qword [0x140164758]
jmp 0x14006ca51
lea rcx, [rsi + 0x60]
call fcn.14006b920
lea rdx, [0x14016fa48]
jmp 0x14006ca47
lea rdx, [0x14016fa18]
mov rcx, r12
call qword [0x140164840]
nop
lea rcx, [rbp - 0x38]
call qword [0x1401648a0]
mov rax, r12
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret