Function at 0x14006e000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [0x1400b4ed0]
mov rbx, qword [0x1400b4ec0]
mov r12d, dword [rax]
mov rax, qword [0x1400b4430]
mov r11, qword [rbx + 8]
mov edi, dword [rax]
mov r10, rcx
mov rcx, qword [0x1400b4420]
add edi, r12d
mov eax, edi
mov ecx, dword [rcx]
dec eax
shr eax, cl
lea ecx, [rax + 2]
mov r15d, eax
cmp ecx, edx
jg 0x14006e1e8
mov rdx, qword [rbx]
mov eax, r12d
xor ebx, ebx
sub rax, 0x18
shr rax, 2
mov rbp, rdx
cmp ebx, eax
jg 0x14006e1e8
mov r13d, dword [rbp]
cmp r13d, 0x3eb202fe
je 0x14006e081
inc ebx
add rbp, 4
jmp 0x14006e064
movzx ebx, word [rbp + 0x16]
mov rax, qword [r10]
add rbx, rdx
movzx esi, word [rbx + 0xe]
mov dword [r11 + rsi], eax
movzx esi, word [rbx + 0x10]
shr rax, 0x20
mov dword [r11 + rsi], eax
test r9d, r9d
je 0x14006e0af
movzx eax, word [rbx + 0x12]
mov word [r11 + rax], 0x18cd
mov eax, r12d
sub ecx, 2
mov word [rbp + 0xa], 2
shr eax, 2
mov word [rbp + 8], cx
mov dword [rsp + 0x30], eax
mov dword [rbp + 0xc], eax
test r8d, r8d
je 0x14006e0d4
mov word [rbp + 0x14], 1
movzx ecx, word [rbx + 0xc]
movzx eax, word [rbx + 0xa]
xor r8d, r8d
mov qword [rsp + 0x28], r8
mov r8d, 0x8000
imul rcx, rcx, 0xa
add rdx, rax
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov rax, qword [0x1400b4430]
mov edi, 0x8000
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
lea eax, [r15 - 1]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rsi, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rsi
je 0x14006e188
mov rsi, qword [rsp + 0x28]
mov r14, qword [r10 + rsi*8 + 8]
test eax, eax
je 0x14006e168
mov r9d, eax
add r9, rcx
cmp r14, r9
jne 0x14006e15d
mov r9d, dword [rsp + 0x34]
lea esi, [rax + 1]
imul r9d, esi
mov r11d, r9d
lea r9d, [r9 + rdi - 1]
xor r9d, r8d
or r9d, r11d
cmp r9d, 0xffff
jbe 0x14006e172
mov qword [rdx], rcx
add rdx, 0xa
mov word [rdx - 2], ax
mov edi, r8d
mov esi, 1
jmp 0x14006e175
mov r14, rcx
mov eax, dword [rsp + 0x34]
inc qword [rsp + 0x28]
mov rcx, r14
add r8d, eax
mov eax, esi
jmp 0x14006e115
test eax, eax
je 0x14006e193
mov qword [rdx], rcx
mov word [rdx + 8], ax
mov r14, qword [0x1400b4ec0]
lea eax, [r15 + 1]
movzx edx, word [rbx]
cdqe
mov rsi, qword [r14]
mov rcx, qword [r10 + rax*8 - 8]
add rdx, rsi
cmp qword [rsp + 0xb0], 0
mov qword [rdx], rcx
mov rax, qword [r10 + rax*8]
mov qword [rdx + 8], rax
je 0x14006e204
mov rcx, qword [rsp + 0xb0]
call sub.msvcrt.dll_strlen
lea ecx, [rax + 1]
movzx eax, word [rbx + 4]
cmp eax, ecx
jge 0x14006e1ed
lea rcx, str.syslinux_patch:_Subdirectory_path_too_long..._aborting_install_
call fcn.1400380b9
or eax, 0xffffffff
jmp 0x14006e26a
movzx eax, word [rbx + 2]
movsxd rcx, ecx
add rax, rsi
mov rsi, qword [rsp + 0xb0]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
cmp qword [rsp + 0xb8], 0
je 0x14006e247
mov rcx, qword [rsp + 0xb8]
call sub.msvcrt.dll_strlen
lea ecx, [rax + 1]
movzx eax, word [rbx + 8]
cmp eax, ecx
jge 0x14006e230
lea rcx, str.syslinux_patch:_Subvol_name_too_long..._aborting_install_
jmp 0x14006e1e3
movzx eax, word [rbx + 6]
add rax, qword [r14]
movsxd rcx, ecx
mov rsi, qword [rsp + 0xb8]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
xor eax, eax
mov rdx, qword [r14]
mov dword [rbp + 0x10], eax
xor eax, eax
cmp dword [rsp + 0x30], eax
jle 0x14006e260
sub r13d, dword [rdx + rax*4]
inc rax
jmp 0x14006e251
mov dword [rbp + 0x10], r13d
mov eax, r12d
and eax, 0xfffffffc
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret