Function at 0x140032700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xf0
mov qword [rsp + 0xd8], r8
mov qword [rsp + 0xe0], r9
mov al, 1
mov r11, rdx
cmp rdx, 0x101
jb 0x140032763
mov r10d, 0xff
sub r10, rdx
mov esi, 0x100
xor eax, eax
cmp rsi, rdx
jae 0x140032743
cmp byte [rcx + rsi], 0xbf
jg 0x14003275e
lea r11, [rsi - 1]
cmp rsi, 1
je 0x140032763
add rsi, r10
cmp rsi, 0x100
mov rsi, r11
jne 0x140032738
jmp 0x140032763
xor eax, eax
mov r11, rsi
mov r10, qword [rsp + 0x130]
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], r11
lea rbx, str.C:UsersThalya.cargo_registry_srcgithub.com_1ecc6299db9ec823_slab_0.4.2_srclib.rs
lea rdi, [0x1401a4c32]
test al, al
cmovne rdi, rbx
xor al, 1
movzx eax, al
lea rax, [rax + rax*4]
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd0], rax
cmp r8, rdx
ja 0x14003285e
cmp r9, rdx
ja 0x14003285e
cmp r8, r9
jbe 0x1400328f4
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x68], rax
lea rax, [fcn.1400318f0]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x88], rax
lea rax, [0x140032b10]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rax
lea rax, [0x1401a4c68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 4
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 4
jmp 0x1400328e5
cmp r8, rdx
cmova r9, r8
mov qword [rsp + 0x28], r9
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
lea rax, [fcn.1400318f0]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x78], rax
lea rax, [0x140032b10]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rax
lea rax, str.byte_index__is_not_a_char_boundary__it_is_inside___bytes___of__
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 3
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 3
lea rcx, [rsp + 0x38]
mov rdx, r10
call fcn.140031a20
ud2
test r8, r8
je 0x140032907
cmp rdx, r8
je 0x140032907
jbe 0x14003290a
cmp byte [rcx + r8], 0xc0
jl 0x14003290a
mov r8, r9
mov qword [rsp + 0xe8], r8
test r8, r8
je 0x140032940
cmp r8, rdx
je 0x140032940
lea rax, [rdx + 1]
cmp r8, rdx
jae 0x14003292c
cmp byte [rcx + r8], 0xc0
jge 0x140032966
lea rbx, [r8 - 1]
cmp r8, 1
je 0x140032943
cmp rax, r8
mov r8, rbx
jne 0x140032920
jmp 0x140032943
mov rbx, r8
lea r9, [rsp + 0x24]
mov r8, rbx
cmp r8, rdx
jne 0x140032970
lea rcx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
mov r8, r10
call fcn.140031820
ud2
lea r9, [rsp + 0x24]
cmp r8, rdx
je 0x140032950
lea rax, [rcx + r8]
mov r11b, byte [rax]
movzx esi, r11b
test sil, sil
js 0x140032993
mov dword [rsp + 0x24], esi
lea rax, [rsp + 0x28]
mov ecx, 1
jmp 0x140032a43
add rcx, rdx
lea rbx, [rax + 1]
xor edx, edx
mov rdi, rcx
cmp rbx, rcx
je 0x1400329b2
movzx edx, byte [rax + 1]
add rax, 2
and edx, 0x3f
mov rdi, rax
mov eax, esi
and eax, 0x1f
cmp sil, 0xdf
jbe 0x140032a07
xor ebx, ebx
mov rsi, rcx
cmp rdi, rcx
je 0x1400329d4
movzx ebx, byte [rdi]
add rdi, 1
and ebx, 0x3f
mov rsi, rdi
shl edx, 6
or edx, ebx
cmp r11b, 0xf0
jb 0x140032a0c
xor edi, edi
cmp rsi, rcx
je 0x1400329ec
movzx edi, byte [rsi]
and edi, 0x3f
and eax, 7
shl eax, 0x12
shl edx, 6
or edx, eax
or edx, edi
cmp edx, 0x110000
je 0x140032950
jmp 0x140032a11
shl eax, 6
jmp 0x140032a0f
shl eax, 0xc
or edx, eax
mov dword [rsp + 0x24], edx
lea rax, [rsp + 0x28]
mov ecx, 1
cmp edx, 0x80
jb 0x140032a43
mov ecx, 2
cmp edx, 0x800
jb 0x140032a43
cmp edx, 0x10000
mov ecx, 4
sbb rcx, 0
add rcx, r8
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x68], rcx
lea rcx, [fcn.1400318f0]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], r9
lea rcx, [0x140032b30]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
lea rax, [0x140032dd0]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x98], rax
lea rax, [0x140032b10]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
lea rax, str.byte_index__is_not_a_char_boundary__it_is_inside___bytes___of__
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 5
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 5
jmp 0x1400328e5