Function at 0x1400a6c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx + 0x20]
lea r12, [0x1400cd490]
movsxd rdx, edx
mov r15, r9
shl rdx, 5
mov rdi, r8
mov rbp, rcx
mov r14, qword [rdx + rax]
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x1400a6cd7
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd r10, eax
test r14, r14
je 0x1400a6ca2
mov rcx, qword [rbp + 0x20]
mov rdx, r10
movzx r8d, byte [r14]
mov rax, r14
shl rdx, 5
mov r9, qword [rdx + rcx]
movzx edx, byte [r8 + r12]
movzx ecx, byte [r9]
movzx ecx, byte [rcx + r12]
cmp edx, ecx
jne 0x1400a6ccc
sub r9, r14
nop
test r8b, r8b
je 0x1400a6ca2
movzx ecx, byte [r9 + rax + 1]
inc rax
movzx edx, byte [rcx + r12]
movzx r8d, byte [rax]
movzx ecx, byte [r8 + r12]
cmp ecx, edx
je 0x1400a6c80
jmp 0x1400a6ccc
mov eax, 0x20
xor r8d, r8d
imul r10, rax
mov rax, qword [rbp + 0x20]
mov rdx, rdi
mov rcx, qword [r10 + rax + 0x18]
add rcx, 8
call fcn.14001b050
mov rsi, qword [rax + 0x10]
test rsi, rsi
jne 0x1400a6d14
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x1400a6c40
movzx edx, byte [rdi]
cmp byte [rdx + r12], 0x73
jne 0x1400a6d12
lea r8, str.sqlite_master
sub r8, rdi
nop dword [rax + rax]
test dl, dl
je 0x1400a6d93
movzx eax, byte [r8 + rdi + 1]
inc rdi
movzx ecx, byte [rax + r12]
movzx edx, byte [rdi]
movzx eax, byte [rdx + r12]
cmp eax, ecx
je 0x1400a6cf0
xor esi, esi
mov rax, qword [rsi + 0x58]
lea rcx, [rbp + 0x1c8]
xor r8d, r8d
mov rbx, qword [rax]
mov rdx, rbx
call fcn.14001b050
mov r8, qword [rax + 0x10]
test r8, r8
je 0x1400a6e4e
mov rax, qword [r8]
mov r9, qword [rax + 8]
test r9, r9
je 0x1400a6e4e
cmp qword [rax + 0x28], 0
je 0x1400a6e4e
mov rdx, rsi
mov qword [rsp + 0x20], r15
mov rcx, rbp
call fcn.1400a6390
test eax, eax
jne 0x1400a6e68
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x1400a6e68
nop word [rax + rax]
cmp qword [rcx], rbp
je 0x1400a6e03
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x1400a6d80
jmp 0x1400a6e68
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test r14, r14
jne 0x1400a6da7
neg r9
sbb eax, eax
jmp 0x1400a6def
test r9, r9
je 0x1400a6d12
movzx eax, byte [r9]
mov r8, r14
movzx edx, byte [r14]
movzx ecx, byte [rax + r12]
movzx eax, byte [rdx + r12]
sub eax, ecx
jne 0x1400a6def
sub r9, r14
nop dword [rax]
test dl, dl
je 0x1400a6def
movzx eax, byte [r9 + r8 + 1]
inc r8
movzx ecx, byte [rax + r12]
movzx edx, byte [r8]
movzx eax, byte [rdx + r12]
sub eax, ecx
je 0x1400a6dd0
test eax, eax
jne 0x1400a6d12
lea rdi, str.sqlite_temp_master
jmp 0x1400a6c35
mov rcx, rbp
call fcn.1400a6b50
mov r8d, eax
test eax, eax
jne 0x1400a6e68
mov rdx, qword [rsi + 0x60]
test rdx, rdx
je 0x1400a6e2e
nop dword [rax + rax]
cmp qword [rdx], rbp
je 0x1400a6e2e
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x1400a6e20
movsxd rcx, dword [rbp + 0x1c4]
mov rax, qword [rbp + 0x1e8]
mov qword [rax + rcx*8], rdx
mov eax, r8d
inc dword [rbp + 0x1c4]
inc dword [rdx + 0x18]
jmp 0x1400a6e68
mov r8, rbx
lea rdx, str.no_such_module:__s
mov rcx, rbp
call fcn.140018c70
mov qword [r15], rax
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret