Function at 0x1400bec30
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, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp byte [rdx + 0x17], 0
js 0x1400bec68
mov word [rdx], 0
mov byte [rdx + 0x17], 0
jmp 0x1400bec78
mov rax, qword [rdx]
mov word [rax], 0
mov qword [rdx + 8], 0
cmp byte [r8 + 0x17], 0
js 0x1400bec8c
mov word [r8], 0
mov byte [r8 + 0x17], 0
jmp 0x1400bec9c
mov rax, qword [r8]
mov word [rax], 0
mov qword [r8 + 8], 0
movzx r12d, byte [rcx + 0x17]
mov rdi, rcx
test r12b, r12b
jns 0x1400becb0
mov rdi, qword [rcx]
mov r12, qword [rcx + 8]
movzx eax, byte [0x1403907e8]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x1400bedd2
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], r8
xor ebp, ebp
lea r14, [0x140240090]
movabs rbx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x140232ef0]
lea r15, [rsp + 0x50]
mov rax, rbp
shl rax, 4
mov qword [rsp + 0x60], rbx
movaps xmmword [rsp + 0x50], xmm6
mov rdx, qword [rax + r14]
mov rsi, qword [rax + r14 + 8]
mov byte [rsp + 0x67], sil
lea r8, [rsi + rsi]
mov rcx, r15
call fcn.1401a6090
mov word [rsp + rsi*2 + 0x50], 0
movzx eax, byte [rsp + 0x67]
mov rcx, rax
test al, al
jns 0x1400bed38
mov rcx, qword [rsp + 0x58]
cmp rcx, r12
jbe 0x1400bed42
xor r13d, r13d
jmp 0x1400bed83
mov r13b, 1
test rcx, rcx
je 0x1400bed74
mov r8, rbx
mov rdx, r15
test al, al
jns 0x1400bed59
mov rdx, qword [rsp + 0x50]
xor esi, esi
movzx ebx, word [rdi + rsi*2]
cmp bx, word [rdx + rsi*2]
jne 0x1400bed7d
inc rsi
cmp rcx, rsi
jne 0x1400bed5b
mov qword [rsp + 0x30], rcx
jmp 0x1400bed80
xor ecx, ecx
mov qword [rsp + 0x30], rcx
jmp 0x1400bed83
xor r13d, r13d
mov rbx, r8
test al, al
jns 0x1400bed91
mov rcx, qword [rsp + 0x50]
call fcn.1401a2ea8
test r13b, r13b
jne 0x1400bedaf
inc rbp
movzx eax, byte [0x1403907e8]
xor rax, 3
cmp rbp, rax
jb 0x1400becf5
jmp 0x1400bedd2
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400bedd2
mov rbx, qword [rsp + 0x48]
movzx edx, byte [rbx + 0x17]
mov rcx, rdx
test dl, dl
jns 0x1400bedcd
mov rcx, qword [rbx + 8]
cmp rax, rcx
jne 0x1400bedfc
xor esi, esi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401a4270
mov eax, esi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, rbx
test dl, dl
jns 0x1400bee06
mov rax, qword [rbx]
lea rbp, [rax + rcx*2]
mov rdx, rbp
test rcx, rcx
jle 0x1400bee35
btr rcx, 0x3f
mov rdx, rax
cmp word [rdx], 0x3d
je 0x1400bee2e
add rdx, 2
dec rcx
jne 0x1400bee1a
mov rdx, rbp
jmp 0x1400bee35
test rdx, rdx
cmove rdx, rbp
mov rcx, rdx
sub rcx, rax
sar rcx, 1
cmp rdx, rbp
mov r15, 0xffffffffffffffff
cmovne r15, rcx
lea rdi, [rbx + 0x18]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
mov rdx, rbx
xor r8d, r8d
mov r9, r15
call fcn.1400b9ce0
mov rsi, qword [rsp + 0x40]
cmp byte [rsi + 0x17], 0
jns 0x1400bee7b
mov rcx, qword [rsi]
call fcn.1401a2ea8
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
mov sil, 1
cmp r15, 0xffffffffffffffff
je 0x1400bedd4
inc r15
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
mov rdx, rbx
mov r8, r15
mov r9, 0xffffffffffffffff
call fcn.1400b9ce0
mov rdi, qword [rsp + 0x38]
cmp byte [rdi + 0x17], 0
jns 0x1400beecb
mov rcx, qword [rdi]
call fcn.1401a2ea8
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
jmp 0x1400bedd4