Function at 0x18000afc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov qword [rsp + 0x30], r9
mov r12, r8
mov r14, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rdx
mov rsi, rdx
lea r15, [r8 - 1]
sar r15, 1
cmp rdx, r15
jge 0x18000b11f
nop word [rax + rax]
add rsi, rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x70], rax
lea rdi, [rsi + rsi*2]
shl rdi, 4
add rdi, rbp
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1800048c0
movzx eax, byte [rdi + 0x50]
mov byte [rsp + 0x60], al
mov rax, qword [rdi + 0x58]
mov qword [rsp + 0x68], rax
lea rdx, [rdi + 0x60]
lea rcx, [rsp + 0x80]
call fcn.1800048c0
movzx eax, byte [rdi + 0x80]
cmp al, byte [rsp + 0x60]
setb bl
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x18000b099
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b094
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b18a
call fcn.18004214c
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18000b0d6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b0d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b18a
call fcn.18004214c
movzx eax, bl
xor rax, 1
inc rax
add rsi, rax
lea rdi, [rsi + rsi*2]
shl rdi, 4
add rdi, rbp
lea rbx, [r14 + r14*2]
shl rbx, 4
add rbx, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.180007400
movzx eax, byte [rdi + 0x20]
mov byte [rbx + 0x20], al
mov rax, qword [rdi + 0x28]
mov qword [rbx + 0x28], rax
mov r14, rsi
cmp rsi, r15
jl 0x18000b000
mov rdx, rsi
cmp rsi, r15
jne 0x18000b165
test r12b, 1
jne 0x18000b165
lea rbx, [r12 + r12*2]
shl rbx, 4
lea rdi, [rsi + rsi*2]
shl rdi, 4
add rdi, rbp
lea rdx, [rbp - 0x30]
add rdx, rbx
mov rcx, rdi
call fcn.180007400
movzx eax, byte [rbx + rbp - 0x10]
mov byte [rdi + 0x20], al
mov rax, qword [rbx + rbp - 8]
mov qword [rdi + 0x28], rax
lea rdx, [r12 - 1]
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rcx, rbp
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp 0x18000b1a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rbp, r9
mov r12, r8
mov rbx, rdx
mov r15, rcx
lea rdi, [rdx - 1]
sar rdi, 1
cmp r8, rdx
jge 0x18000b2ce
nop
lea rax, [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1800048c0
movzx eax, byte [rbp + 0x20]
mov byte [rsp + 0x40], al
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x48], rax
lea rsi, [rdi + rdi*2]
shl rsi, 4
add rsi, r15
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1800048c0
movzx eax, byte [rsi + 0x20]
cmp al, byte [rsp + 0x40]
setb r14b
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18000b259
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b254
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b305
call fcn.18004214c
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18000b292
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b28d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b305
call fcn.18004214c
test r14b, r14b
je 0x18000b2ce
lea rbx, [rbx + rbx*2]
shl rbx, 4
add rbx, r15
mov rdx, rsi
mov rcx, rbx
call fcn.180007400
movzx eax, byte [rsi + 0x20]
mov byte [rbx + 0x20], al
mov rax, qword [rsi + 0x28]
mov qword [rbx + 0x28], rax
mov rbx, rdi
dec rdi
sar rdi, 1
cmp r12, rbx
jl 0x18000b1d0
lea rbx, [rbx + rbx*2]
shl rbx, 4
add rbx, r15
mov rdx, rbp
mov rcx, rbx
call fcn.180007400
movzx eax, byte [rbp + 0x20]
mov byte [rbx + 0x20], al
mov rax, qword [rbp + 0x28]
mov qword [rbx + 0x28], rax
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3