Function at 0x14009c1f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rsi, rdx
movzx r8d, byte [rcx + 0x10]
cmp r8b, 0x80
je 0x14009c22c
movzx eax, byte [rcx + 0x1a]
movzx edx, byte [rcx + 0x1b]
movzx r9d, byte [rcx + 0x19]
mov byte [rbp - 0x38], r9b
mov r9, qword [rcx + 0x11]
mov qword [rbp - 0x40], r9
mov r14, qword [rcx]
mov r10, qword [rcx + 8]
movzx r15d, byte [rcx + 0x1c]
cmp r15b, 0x80
je 0x14009c258
movzx r11d, byte [rcx + 0x26]
movzx ebx, byte [rcx + 0x27]
movzx r9d, byte [rcx + 0x25]
mov byte [rbp], r9b
mov rcx, qword [rcx + 0x1d]
mov qword [rbp - 8], rcx
movzx ecx, byte [rbp - 0x38]
mov byte [rbp - 0x17], cl
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x1f], rcx
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x13], rcx
movzx ecx, byte [rbp]
mov byte [rbp - 0xb], cl
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x48], r10
mov qword [rbp - 0x28], r10
mov byte [rbp - 0x20], r8b
mov byte [rbp - 0x16], al
mov byte [rbp - 0x15], dl
mov byte [rbp - 0x14], r15b
mov byte [rbp + 6], r11b
mov byte [rbp - 0xa], r11b
mov byte [rbp + 7], bl
mov byte [rbp - 9], bl
cmp r8b, 0x80
jne 0x14009c4ac
test r14, r14
je 0x14009c4ee
cmp r14, qword [rbp - 0x48]
je 0x14009c4ee
mov rdi, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
mov qword [rbp - 0x50], rsi
movzx eax, byte [r14]
test al, al
js 0x14009c2e0
inc r14
jmp 0x14009c350
mov ecx, eax
and ecx, 0x1f
movzx r8d, byte [r14 + 1]
and r8d, 0x3f
cmp al, 0xdf
jbe 0x14009c32b
movzx edx, byte [r14 + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp al, 0xf0
jb 0x14009c339
movzx eax, byte [r14 + 3]
and ecx, 7
shl ecx, 0x12
shl edx, 6
and eax, 0x3f
or eax, edx
or eax, ecx
cmp eax, 0x110000
je 0x14009c4ee
add r14, 4
jmp 0x14009c350
add r14, 2
shl ecx, 6
or ecx, r8d
mov eax, ecx
jmp 0x14009c350
add r14, 3
shl ecx, 0xc
or edx, ecx
mov eax, edx
nop word cs:[rax + rax]
mov cl, 2
mov dx, 0x5c
lea r8d, [rax - 9]
cmp r8d, 0x1e
ja case.default.0x14009c36e
lea r9, [0x1400b8b78]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov ax, 0x74
jmp case.0x14009c36e.34
cmp eax, 0x5c
je case.0x14009c36e.34
lea ecx, [rax - 0x20]
cmp ecx, 0x5f
jae 0x14009c413
mov cl, 1
xor r8d, r8d
mov edx, eax
xor eax, eax
jmp 0x14009c3a3
mov ax, 0x72
jmp case.0x14009c36e.34
mov ax, 0x6e
nop dword [rax]
xor r8d, r8d
xor r9d, r9d
shl eax, 8
movzx edx, dl
or edx, eax
mov word [rbp - 0x20], dx
mov qword [rbp - 0x1e], r8
mov byte [rbp - 0x15], cl
movzx r13d, r9b
movzx r12d, cl
mov esi, r13d
inc sil
nop word [rax + rax]
cmp r13, r12
jae 0x14009c400
mov byte [rbp - 0x16], sil
movzx edx, byte [rbp + r13 - 0x20]
inc r13
mov rcx, rdi
call qword [rbx + 0x20]
inc sil
test al, al
je 0x14009c3d0
jmp 0x14009c4e9
cmp r14, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x50]
jne 0x14009c2c7
jmp 0x14009c4ee
mov byte [rbp - 6], 0
mov word [rbp - 8], 0
mov byte [rbp + 1], 0x7d
mov ecx, eax
shr ecx, 0x14
lea rdx, [0x1400bab1c]
movzx ecx, byte [rcx + rdx]
mov byte [rbp - 5], cl
mov ecx, eax
shr ecx, 0x10
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rbp - 4], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rbp - 3], cl
mov ecx, eax
shr ecx, 8
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rbp - 2], cl
mov ecx, eax
shr ecx, 4
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rbp - 1], cl
mov ecx, eax
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rbp], cl
or eax, 1
bsr eax, eax
xor eax, 0x1c
shr eax, 2
lea r9, [rax - 2]
mov byte [rbp + rax - 8], 0x7b
mov word [rbp + rax - 0xa], 0x755c
movzx edx, word [rbp - 8]
mov eax, edx
shr eax, 8
mov r8, qword [rbp - 6]
mov cl, 0xa
jmp 0x14009c3a6
movzx edi, al
movzx r13d, dl
mov rbx, qword [rsi + 0x20]
mov r12, qword [rsi + 0x28]
nop dword [rax + rax]
cmp rdi, r13
jae 0x14009c2a8
lea eax, [rdi + 1]
mov byte [rbp - 0x16], al
cmp rdi, 0xa
jae 0x14009c54b
movzx edx, byte [rbp + rdi - 0x20]
mov rcx, rbx
call qword [r12 + 0x20]
inc rdi
test al, al
je 0x14009c4c0
mov sil, 1
jmp 0x14009c538
cmp r15b, 0x80
jne 0x14009c4f8
xor esi, esi
jmp 0x14009c538
movzx edi, byte [rbp + 6]
movzx r14d, byte [rbp + 7]
mov rbx, qword [rsi + 0x20]
mov r15, qword [rsi + 0x28]
nop dword [rax]
cmp rdi, r14
setb sil
jae 0x14009c538
lea eax, [rdi + 1]
mov byte [rbp - 0xa], al
cmp rdi, 0xa
jae 0x14009c54b
movzx edx, byte [rbp + rdi - 0x14]
mov rcx, rbx
call qword [r15 + 0x20]
inc rdi
test al, al
je 0x14009c510
mov eax, esi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x1400bca88]
mov edx, 0xa
mov rcx, rdi
call sym.core::panicking::panic_bounds_check::hc59ada7dadd9fb7c
int3