Function at 0x140013c10
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, 0x98
mov dword [rsp + 0x24], 3
cmp ecx, 1
jne case.0x140013efb.0
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x48], r9
mov rsi, qword [rsp + 0x100]
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call dbg._Unwind_GetLanguageSpecificData
mov r13, rax
mov dword [rsp + 0x34], 0
lea rdx, [rsp + 0x34]
mov rcx, rsi
call dbg._Unwind_GetIPInfo
mov r14, rax
cmp dword [rsp + 0x34], 1
sbb r14, 0
mov rcx, rsi
call dbg._Unwind_GetRegionStart
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x88], r14
mov rcx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rax, dbg.drop_in_place_mut_std::io::Write::write_fmt::Adapter_alloc::vec::Vec_u8__alloc::alloc::Global___
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x78], rax
lea rax, dbg.drop_in_place_mut_std::io::Write::write_fmt::Adapter_alloc::vec::Vec_u8__alloc::alloc::Global___
mov qword [rsp + 0x80], rax
test r13, r13
je 0x140013d10
movzx r8d, byte [r13]
inc r13
mov qword [rsp + 0x28], r13
cmp r8b, 0xff
je 0x140013d17
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x68]
call dbg.read_encoded_pointer
mov qword [rsp + 0x38], rdx
test rax, rax
jne case.0x140013efb.0
mov r13, qword [rsp + 0x28]
jmp 0x140013d21
xor eax, eax
jmp 0x140013eda
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
movzx eax, byte [r13]
inc r13
mov qword [rsp + 0x28], r13
cmp al, 0xff
je 0x140013d50
nop word cs:[rax + rax]
cmp byte [r13], 0
lea r13, [r13 + 1]
js 0x140013d40
mov qword [rsp + 0x28], r13
movzx edi, byte [r13]
inc r13
mov qword [rsp + 0x28], r13
xor ebp, ebp
xor ecx, ecx
nop word cs:[rax + rax]
movzx eax, byte [r13]
mov edx, eax
and edx, 0x7f
shl rdx, cl
inc r13
or rbp, rdx
add rcx, 7
test al, al
js 0x140013d70
mov qword [rsp + 0x28], r13
add rbp, r13
lea rbx, [rsp + 0x68]
nop dword [rax + rax]
cmp r13, rbp
jae 0x140013ed5
lea r13, [rsp + 0x28]
mov rcx, r13
mov rdx, rbx
mov r8d, edi
call dbg.read_encoded_pointer
test rax, rax
cmove r12, rdx
jne case.0x140013efb.0
mov rcx, r13
mov rdx, rbx
mov r8d, edi
call dbg.read_encoded_pointer
test rax, rax
cmove rsi, rdx
jne case.0x140013efb.0
mov rcx, r13
mov rdx, rbx
mov r8d, edi
call dbg.read_encoded_pointer
test rax, rax
cmove r15, rdx
jne case.0x140013efb.0
mov r13, qword [rsp + 0x28]
xor eax, eax
xor ecx, ecx
nop dword [rax + rax]
movzx edx, byte [r13]
mov r8d, edx
and r8d, 0x7f
shl r8, cl
inc r13
or rax, r8
add rcx, 7
test dl, dl
js 0x140013e10
mov qword [rsp + 0x28], r13
mov rcx, qword [rsp + 0x40]
add rcx, r12
cmp r14, rcx
jb 0x140013ed5
add rcx, rsi
cmp r14, rcx
jae 0x140013da0
test r15, r15
mov r10d, dword [rsp + 0x30]
je 0x140013f71
add r15, qword [rsp + 0x38]
test rax, rax
je 0x140013f78
lea rdx, [rax + rbp]
dec rdx
xor eax, eax
xor ecx, ecx
nop word cs:[rax + rax]
movzx r8d, byte [rdx]
mov r9d, r8d
and r9d, 0x7f
shl r9, cl
inc rdx
or rax, r9
add ecx, 7
test r8b, r8b
js 0x140013e80
mov rdx, 0xffffffffffffffff
shl rdx, cl
xor r9d, r9d
test r8b, 0x40
cmove rdx, r9
cmp ecx, 0x40
cmovae rdx, r9
xor ecx, ecx
mov r8, rax
or r8, rdx
setg cl
xor rcx, 3
or rdx, rax
mov eax, 1
cmovne rax, rcx
jmp 0x140013edf
mov eax, 4
mov r10d, dword [rsp + 0x30]
test r10b, 1
jne 0x140013f39
mov dword [rsp + 0x24], 8
lea rcx, [0x14003d6b0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rsi, qword [rsp + 0x100]
mov rcx, rsi
xor edx, edx
mov r8, qword [rsp + 0x48]
call dbg._Unwind_SetGR
mov rcx, rsi
mov edx, 1
xor r8d, r8d
call dbg._Unwind_SetGR
mov rcx, rsi
mov rdx, r15
call dbg._Unwind_SetIP
mov dword [rsp + 0x24], 7
jmp case.0x140013efb.0
lea rcx, [0x140043a10]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140013edf
mov eax, 1
jmp 0x140013edf