Function at 0x14001b4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
cmp byte [rcx], 0
jne 0x14001b710
mov r15, rcx
cmp byte [rcx + 1], 1
mov rsi, qword [rcx + 8]
mov r12, qword [rsi]
mov rax, qword [r12]
mov r13, qword [r12 + 0x10]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
jne 0x14001b548
mov r14, rdx
cmp rax, r13
je 0x14001b6da
mov rax, qword [r12 + 8]
mov byte [rax + r13], 0xa
inc r13
mov qword [r12 + 0x10], r13
mov rbx, qword [rsi + 0x18]
test rbx, rbx
jne 0x14001b576
jmp 0x14001b5c1
sub rax, r13
mov r14, rdx
cmp rax, 1
jbe 0x14001b6f5
mov rax, qword [r12 + 8]
mov word [rax + r13], 0xa2c
add r13, 2
mov qword [r12 + 0x10], r13
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x14001b5c1
mov rbp, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
jmp 0x14001b5a0
mov rcx, qword [r12 + 8]
add rcx, r13
mov rdx, rbp
mov r8, rdi
call sym.memcpy
add r13, rdi
mov qword [r12 + 0x10], r13
dec rbx
je 0x14001b5c1
mov rax, qword [r12]
sub rax, r13
cmp rax, rdi
jae 0x14001b580
mov rcx, r12
mov rdx, r13
mov r8, rdi
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf8e533dcb7b71898
mov r13, qword [r12 + 0x10]
jmp 0x14001b580
mov byte [r15 + 1], 2
mov rcx, rsi
mov r8, r14
mov r9, qword [rsp + 0x20]
call sym.serde_json::ser::format_escaped_str::h6b71c943e61e49a8
mov rax, qword [rsp + 0x28]
movzx ebx, byte [rax]
mov rdi, qword [rsi]
mov rax, qword [rdi]
mov rdx, qword [rdi + 0x10]
sub rax, rdx
cmp rax, 1
jbe 0x14001b6af
movzx eax, bl
mov rcx, qword [rdi + 8]
mov word [rcx + rdx], 0x203a
add rdx, 2
mov qword [rdi + 0x10], rdx
mov rdi, qword [rsi]
cmp al, 0x64
jb 0x14001b639
lea ecx, [rax + rax*4]
lea eax, [rax + rcx*8]
shr eax, 0xc
imul ecx, eax, 0x64
sub bl, cl
movzx ecx, bl
lea rdx, [0x1400ce336]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + 0x31], cx
xor r15d, r15d
mov ebx, eax
jmp 0x14001b644
mov r15d, 2
cmp bl, 0xa
jae 0x14001b64e
or bl, 0x30
mov byte [rsp + r15 + 0x30], bl
jmp 0x14001b664
lea rcx, [0x1400ce336]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x31], ax
mov r15d, 1
mov rbx, r15
xor rbx, 3
mov rax, qword [rdi]
mov r14, qword [rdi + 0x10]
sub rax, r14
cmp rax, rbx
jb 0x14001b6c6
lea rdx, [rsp + r15]
add rdx, 0x30
mov rcx, qword [rdi + 8]
add rcx, r14
mov r8, rbx
call sym.memcpy
add r14, rbx
mov qword [rdi + 0x10], r14
mov byte [rsi + 0x20], 1
xor eax, eax
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, 2
mov rcx, rdi
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf8e533dcb7b71898
mov rdx, qword [rdi + 0x10]
jmp 0x14001b5f5
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf8e533dcb7b71898
mov r14, qword [rdi + 0x10]
jmp 0x14001b67a
mov r8d, 1
mov rcx, r12
mov rdx, r13
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf8e533dcb7b71898
mov r13, qword [r12 + 0x10]
jmp 0x14001b528
mov r8d, 2
mov rcx, r12
mov rdx, r13
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf8e533dcb7b71898
mov r13, qword [r12 + 0x10]
jmp 0x14001b558
lea rcx, str.internal_error:_entered_unreachable_code_home_jutilisepingouin_.cargo_registry_src_index.crates.io_6f17d22bba15001f_serde_json_1.0.111_src_ser.rs
lea r8, [0x1400ce408]
mov edx, 0x28
call dbg.panic
int3