Function at 0x1400db4c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r14, rcx
call fcn.1400e791a
mov ebp, eax
test rdi, rdi
je 0x1400db4f5
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x1400db50a
movzx eax, word [rax]
jmp 0x1400db51a
xor r15d, r15d
mov eax, 6
test bpl, bpl
jne 0x1400db5a4
xor edi, edi
jmp 0x1400db532
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [case.0x1400f45b0.0]
xor r15d, r15d
cmp ax, 0xffff
sete cl
cmove rdi, r15
mov eax, 6
cmp bpl, cl
je 0x1400db5a4
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1400db544
movzx ebp, word [rax]
jmp 0x1400db553
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400f45b0.0]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [case.0x1400f45b0.0]
test al, al
je 0x1400db59c
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [case.0x1400f45b0.0]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1400db5b8
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x1400db5c5
xor r15d, r15d
mov eax, 4
or dword [rsi], eax
mov eax, r15d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400f45b0.0]
mov r12d, dword [rsp + 0x80]
movsx r15d, bpl
mov rcx, r14
call fcn.1400e791a
mov ebp, eax
test rdi, rdi
je 0x1400db5ef
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x1400db5f3
movzx eax, word [rax]
jmp 0x1400db603
mov al, 1
jmp 0x1400db60c
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [case.0x1400f45b0.0]
cmp ax, 0xffff
sete al
jne 0x1400db60e
xor edi, edi
add r15d, 0xffffffd0
cmp bpl, al
je 0x1400db6b4
cmp r12d, 2
jl 0x1400db6b4
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1400db637
movzx ebp, word [rax]
jmp 0x1400db646
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400f45b0.0]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [case.0x1400f45b0.0]
test al, al
je 0x1400db5a6
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [case.0x1400f45b0.0]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1400db693
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x1400db6a0
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400f45b0.0]
lea eax, [r15 + r15*4]
movsx ecx, bpl
lea r15d, [rcx + rax*2]
dec r12d
jmp 0x1400db5d1
mov rcx, r14
call fcn.1400e791a
mov ebx, eax
test rdi, rdi
je 0x1400db6d2
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x1400db6e4
movzx eax, word [rax]
jmp 0x1400db6f4
mov eax, 2
test bl, bl
jne 0x1400db5a4
jmp 0x1400db5a6
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [case.0x1400f45b0.0]
cmp ax, 0xffff
sete al
xor bl, al
mov eax, 2
je 0x1400db5a4
jmp 0x1400db5a6