Function at 0x14006e760
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 r11, qword [0x1400b6a60]
mov eax, edx
mov rdx, qword [0x1400b6a70]
mov r10, rcx
mov rcx, qword [0x1400b5f60]
mov r12d, dword [rdx]
mov rdx, qword [0x1400b5f70]
mov ecx, dword [rcx]
mov edi, dword [rdx]
add edi, r12d
mov edx, edi
dec edx
shr edx, cl
mov rcx, qword [r11 + 8]
lea ebx, [rdx + 2]
cmp ebx, eax
jg 0x14006e947
mov r11, qword [r11]
mov eax, r12d
xor ebx, ebx
sub rax, 0x18
shr rax, 2
mov rbp, r11
cmp ebx, eax
jg 0x14006e947
mov r14d, dword [rbp]
cmp r14d, 0x3eb202fe
je 0x14006e7e0
inc ebx
add rbp, 4
jmp 0x14006e7c3
movzx ebx, word [rbp + 0x16]
mov rax, qword [r10]
add rbx, r11
movzx esi, word [rbx + 0xe]
mov dword [rcx + rsi], eax
movzx esi, word [rbx + 0x10]
shr rax, 0x20
mov dword [rcx + rsi], eax
test r9d, r9d
je 0x14006e80b
movzx eax, word [rbx + 0x12]
mov word [rcx + rax], 0x18cd
mov eax, r12d
mov word [rbp + 8], dx
shr eax, 2
mov word [rbp + 0xa], 2
mov dword [rsp + 0x2c], eax
mov dword [rbp + 0xc], eax
test r8d, r8d
je 0x14006e82d
mov word [rbp + 0x14], 1
movzx ecx, word [rbx + 0xc]
movzx eax, word [rbx + 0xa]
xor r15d, r15d
mov r9d, 0x8000
mov dword [rsp + 0x28], 0x8000
imul rcx, rcx, 0xa
lea r8, [r11 + rax]
xor eax, eax
mov rdi, r8
rep stosb byte [rdi], al
mov rax, qword [0x1400b5f70]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
lea eax, [rdx - 1]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rsi, qword [rsp + 0x38]
cmp r15, rsi
je 0x14006e8e6
mov rdi, qword [r10 + r15*8 + 8]
test eax, eax
je 0x14006e8c4
mov r11d, eax
add r11, rcx
cmp rdi, r11
jne 0x14006e8b8
mov r11d, dword [rsp + 0x30]
lea r13d, [rax + 1]
mov esi, dword [rsp + 0x28]
imul r11d, r13d
mov dword [rsp + 0x34], r11d
lea r11d, [r11 + rsi - 1]
mov esi, dword [rsp + 0x34]
xor r11d, r9d
or r11d, esi
cmp r11d, 0xffff
jbe 0x14006e8d1
mov qword [r8], rcx
add r8, 0xa
mov word [r8 - 2], ax
mov dword [rsp + 0x28], r9d
mov r13d, 1
jmp 0x14006e8d4
mov rdi, rcx
mov eax, dword [rsp + 0x30]
inc r15
mov rcx, rdi
add r9d, eax
mov eax, r13d
jmp 0x14006e86c
test eax, eax
je 0x14006e8f2
mov qword [r8], rcx
mov word [r8 + 8], ax
mov r13, qword [0x1400b6a60]
inc edx
movzx eax, word [rbx]
movsxd rdx, edx
mov rsi, qword [r13]
mov rcx, qword [r10 + rdx*8 - 8]
add rax, rsi
cmp qword [rsp + 0xb0], 0
mov qword [rax], rcx
mov rdx, qword [r10 + rdx*8]
mov qword [rax + 8], rdx
je 0x14006e963
mov rcx, qword [rsp + 0xb0]
call fcn.1400797e8
lea ecx, [rax + 1]
movzx eax, word [rbx + 4]
cmp eax, ecx
jge 0x14006e94c
lea rcx, str.syslinux_patch:_Subdirectory_path_too_long..._aborting_install_
call fcn.140038472
or eax, 0xffffffff
jmp 0x14006e9cb
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 0x14006e9a7
mov rcx, qword [rsp + 0xb8]
call fcn.1400797e8
lea ecx, [rax + 1]
movzx eax, word [rbx + 8]
cmp eax, ecx
jge 0x14006e98f
lea rcx, str.syslinux_patch:_Subvol_name_too_long..._aborting_install_
jmp 0x14006e942
movzx eax, word [rbx + 6]
add rax, qword [r13]
movsxd rcx, ecx
mov rsi, qword [rsp + 0xb8]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
xor eax, eax
mov rdx, qword [r13]
mov dword [rbp + 0x10], eax
xor eax, eax
cmp dword [rsp + 0x2c], eax
jle 0x14006e9c1
sub r14d, dword [rdx + rax*4]
inc rax
jmp 0x14006e9b2
mov dword [rbp + 0x10], r14d
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