Function at 0x140068ac0
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, 0xa8
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x34], 3
cmp ecx, 1
jne case.0x140068dbd.0
mov qword [rsp + 0x50], r9
mov rsi, qword [rsp + 0x110]
mov qword [rsp + 0x60], rsi
mov rcx, rsi
call dbg._Unwind_GetLanguageSpecificData
mov r12, rax
mov dword [rsp + 0x3c], 0
lea rdx, [rsp + 0x3c]
mov rcx, rsi
call dbg._Unwind_GetIPInfo
mov r14, rax
cmp dword [rsp + 0x3c], 1
sbb r14, 0
mov rcx, rsi
call dbg._Unwind_GetRegionStart
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x98], r14
mov rcx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x68]
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
lea rax, [rsp + 0x70]
mov qword [rsp + 0x88], rax
lea rax, dbg.drop_in_place_mut_std::io::Write::write_fmt::Adapter_alloc::vec::Vec_u8__alloc::alloc::Global___
mov qword [rsp + 0x90], rax
test r12, r12
je 0x140068d9e
movzx r8d, byte [r12]
inc r12
mov qword [rsp + 0x28], r12
cmp r8b, 0xff
je 0x140068bca
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x78]
call dbg.read_encoded_pointer
mov qword [rsp + 0x40], rdx
test rax, rax
jne case.0x140068dbd.0
mov r12, qword [rsp + 0x28]
jmp 0x140068bd4
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
movzx eax, byte [r12]
inc r12
mov qword [rsp + 0x28], r12
cmp al, 0xff
je 0x140068c01
nop word cs:[rax + rax]
cmp byte [r12], 0
lea r12, [r12 + 1]
js 0x140068bf0
mov qword [rsp + 0x28], r12
movzx edi, byte [r12]
inc r12
mov qword [rsp + 0x28], r12
xor ebp, ebp
xor ecx, ecx
nop word cs:[rax + rax]
movzx eax, byte [r12]
mov edx, eax
and edx, 0x7f
shl rdx, cl
inc r12
or rbp, rdx
add rcx, 7
test al, al
js 0x140068c20
mov qword [rsp + 0x28], r12
lea rax, [r12 + rbp]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x78]
mov rax, r12
nop word cs:[rax + rax]
cmp rax, qword [rsp + 0x58]
jae 0x140068dfb
lea rcx, [rsp + 0x28]
mov rdx, rbx
mov r8d, edi
call dbg.read_encoded_pointer
test rax, rax
cmove r13, rdx
jne case.0x140068dbd.0
lea rcx, [rsp + 0x28]
mov rdx, rbx
mov r8d, edi
call dbg.read_encoded_pointer
test rax, rax
cmove rsi, rdx
jne case.0x140068dbd.0
lea rcx, [rsp + 0x28]
mov rdx, rbx
mov r8d, edi
call dbg.read_encoded_pointer
test rax, rax
cmove r15, rdx
jne case.0x140068dbd.0
mov rax, qword [rsp + 0x28]
xor edx, edx
xor ecx, ecx
nop dword [rax + rax]
movzx r8d, byte [rax]
mov r9d, r8d
and r9d, 0x7f
shl r9, cl
inc rax
or rdx, r9
add rcx, 7
test r8b, r8b
js 0x140068cd0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x48]
add rcx, r13
cmp r14, rcx
jb 0x140068dfb
add rcx, rsi
cmp r14, rcx
jae 0x140068c60
test r15, r15
je 0x140068d9e
add r15, qword [rsp + 0x40]
test rdx, rdx
je 0x140068e40
add rbp, rdx
lea rdx, [r12 + 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 0x140068d40
mov rdx, 0xffffffffffffffff
shl rdx, cl
xor r9d, r9d
test r8b, 0x40
cmove rdx, r9
cmp ecx, 0x40
cmovae rdx, r9
xor r8d, r8d
mov rcx, rax
or rcx, rdx
setg r8b
xor r8, 3
or rdx, rax
mov ecx, 1
cmovne rcx, r8
test byte [rsp + 0x38], 1
je 0x140068da7
jmp 0x140068e07
xor ecx, ecx
test byte [rsp + 0x38], 1
jne 0x140068e07
mov dword [rsp + 0x34], 8
lea rax, [0x140068e60]
movsxd rcx, dword [rax + rcx*4]
add rcx, rax
jmp rcx
mov rsi, qword [rsp + 0x110]
mov rcx, rsi
xor edx, edx
mov r8, qword [rsp + 0x50]
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 + 0x34], 7
jmp case.0x140068dbd.0
mov ecx, 4
test byte [rsp + 0x38], 1
je 0x140068da7
lea rax, [0x1400e1ae0]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
test byte [rsp + 0x38], 1
je 0x140068da7
jmp 0x140068e07