Function at 0x1400b0f20
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, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [rdx + 0x17], 0
js 0x1400b0f67
mov word [rdx], 0
mov byte [rdx + 0x17], 0
cmp byte [r8 + 0x17], 0
js 0x1400b0f7e
mov word [r8], 0
mov byte [r8 + 0x17], 0
jmp 0x1400b0f8e
mov rax, qword [rdx]
mov word [rax], 0
mov qword [rdx + 8], 0
cmp byte [r8 + 0x17], 0
jns 0x1400b0f5a
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 0x1400b0fa2
mov rdi, qword [rcx]
mov r12, qword [rcx + 8]
movzx eax, byte [0x1401af0b0]
mov r13d, 3
sub r13, rax
je 0x1400b10de
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x28], r8
xor r14d, r14d
movaps xmm6, xmmword [0x140174f60]
jmp 0x1400b0ff5
test al, al
js 0x1400b1090
add r14, 1
cmp r14, r13
jae 0x1400b10de
mov rax, r14
shl rax, 4
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rcx
movaps xmmword [rsp + 0x40], xmm6
lea rcx, [0x140183fd0]
mov rdx, qword [rax + rcx]
mov rbx, qword [rax + rcx + 8]
mov byte [rsp + 0x57], bl
lea r8, [rbx + rbx]
lea rcx, [rsp + 0x40]
call fcn.140139530
mov word [rsp + rbx*2 + 0x40], 0
movzx eax, byte [rsp + 0x57]
test al, al
mov r15, qword [rsp + 0x48]
mov rdx, rax
cmovs rdx, r15
cmp rdx, r12
ja 0x1400b0fe0
mov rcx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400b10ab
test al, al
lea rbx, [rsp + 0x40]
cmovs rbx, rcx
xor ebp, ebp
nop dword [rax + rax]
movzx esi, word [rdi + rbp*2]
cmp si, word [rbx + rbp*2]
jne 0x1400b0fe0
add rbp, 1
cmp rdx, rbp
jne 0x1400b1070
jmp 0x1400b10ab
mov rcx, qword [rsp + 0x40]
call fcn.140136524
movzx r13d, byte [0x1401af0b0]
xor r13, 3
jmp 0x1400b0fe8
test al, al
js 0x1400b10b4
mov r15, rax
jmp 0x1400b10b9
call fcn.140136524
mov rdi, qword [rsp + 0x38]
test r15, r15
je 0x1400b10de
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1400b10d5
mov rcx, rdi
cmp r15, rax
jne 0x1400b1108
jmp 0x1400b10de
mov rax, qword [rdi + 8]
cmp r15, rax
jne 0x1400b1105
xor esi, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140136dd0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rdi]
lea rbp, [rcx + rax*2]
mov rdx, rbp
test rax, rax
jle 0x1400b113c
mov rdx, rcx
nop word [rax + rax]
cmp word [rdx], 0x3d
je 0x1400b1135
add rdx, 2
add rax, 0xffffffffffffffff
jne 0x1400b1120
mov rdx, rbp
jmp 0x1400b113c
test rdx, rdx
cmove rdx, rbp
mov rax, rdx
sub rax, rcx
sar rax, 1
cmp rdx, rbp
mov rbx, 0xffffffffffffffff
cmovne rbx, rax
lea rbp, [rdi + 0x18]
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140044fac
mov rcx, qword [rsp + 0x30]
cmp byte [rcx + 0x17], 0
jns 0x1400b1187
mov rcx, qword [rcx]
call fcn.140136524
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
mov sil, 1
cmp rbx, 0xffffffffffffffff
je 0x1400b10e0
add rbx, 1
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, rdi
mov r8, rbx
mov r9, 0xffffffffffffffff
call fcn.140044fac
mov rcx, qword [rsp + 0x28]
cmp byte [rcx + 0x17], 0
jns 0x1400b11dd
mov rcx, qword [rcx]
call fcn.140136524
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
jmp 0x1400b10e0