Function at 0x1400185e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test rdx, rdx
je 0x14001883a
mov r11, rsp
push rsi
push r12
push r13
sub rsp, 0x90
mov rax, qword [0x140124190]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [rsp + 0xf8]
mov r12, r8
mov qword [r11 + 0x10], rbx
mov r13, r9
mov qword [r11 - 0x20], rbp
mov r8, rdx
mov rbp, qword [rsp + 0xd0]
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r14
movzx r14d, byte [rsp + 0xe0]
movzx eax, r14b
mov qword [r11 - 0x38], r15
or al, byte [rsp + 0xe8]
movzx r15d, byte [rsp + 0xf0]
add rsi, 6
mov byte [rsp + 0x30], al
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rcx
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rcx]
mov rdi, r12
movzx edx, al
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm1
test r12, r12
je 0x1400186dd
nop dword [rax]
nop word [rax + rax]
movzx eax, dl
mov r9, rbp
or al, r15b
mov r8b, 0x40
movzx ecx, al
cmp rdi, 1
movzx eax, dl
mov rdx, rbx
cmovne ecx, eax
mov byte [rsp + 0x20], cl
lea rcx, [rsp + 0x48]
call fcn.140015b70
add rbx, 0x40
movzx edx, r14b
sub rdi, 1
jne 0x1400186a0
mov r8, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
mov eax, ecx
mov byte [rsi - 6], cl
shr eax, 8
mov byte [rsi - 5], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi - 4], al
shr ecx, 0x18
mov byte [rsi - 3], cl
mov ecx, dword [rsp + 0x4c]
mov eax, ecx
mov byte [rsi - 2], cl
shr eax, 8
mov byte [rsi - 1], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi], al
shr ecx, 0x18
mov byte [rsi + 1], cl
mov ecx, dword [rsp + 0x50]
mov eax, ecx
mov byte [rsi + 2], cl
shr eax, 8
mov byte [rsi + 3], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 4], al
shr ecx, 0x18
mov byte [rsi + 5], cl
mov ecx, dword [rsp + 0x54]
mov eax, ecx
mov byte [rsi + 6], cl
shr eax, 8
mov byte [rsi + 7], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 8], al
shr ecx, 0x18
mov byte [rsi + 9], cl
mov ecx, dword [rsp + 0x58]
mov eax, ecx
mov byte [rsi + 0xa], cl
shr eax, 8
mov byte [rsi + 0xb], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0xc], al
shr ecx, 0x18
mov byte [rsi + 0xd], cl
mov ecx, dword [rsp + 0x5c]
mov eax, ecx
mov byte [rsi + 0xe], cl
shr eax, 8
mov byte [rsi + 0xf], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0x10], al
shr ecx, 0x18
mov byte [rsi + 0x11], cl
mov ecx, dword [rsp + 0x60]
mov eax, ecx
shr eax, 8
mov byte [rsi + 0x13], al
mov eax, ecx
mov byte [rsi + 0x12], cl
shr eax, 0x10
mov byte [rsi + 0x14], al
shr ecx, 0x18
mov byte [rsi + 0x15], cl
mov ecx, dword [rsp + 0x64]
mov eax, ecx
shr eax, 8
mov byte [rsi + 0x17], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0x16], cl
shr ecx, 0x18
mov byte [rsi + 0x19], cl
mov rcx, qword [rsp + 0x38]
mov byte [rsi + 0x18], al
add rcx, 8
lea rax, [rbp + 1]
dec r8
mov qword [rsp + 0x38], rcx
add rsi, 0x20
mov qword [rsp + 0x40], r8
cmp byte [rsp + 0xd8], 0
cmove rax, rbp
mov rbp, rax
movzx eax, byte [rsp + 0x30]
test r8, r8
jne 0x140018670
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140072ef0
add rsp, 0x90
pop r13
pop r12
pop rsi
ret