Function at 0x14006b3d0
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 r12, rdx
mov r13, rcx
mov rax, qword [0x140134028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [rdx + 0x17], 0
js 0x14006b682
mov word [r12], 0
mov byte [r12 + 0x17], 0
cmp byte [r8 + 0x17], 0
js 0x14006b699
mov word [r8], 0
mov byte [r8 + 0x17], 0
movzx eax, byte [r13 + 0x17]
mov esi, eax
and esi, 0x7f
test al, al
mov r15, qword [r13]
cmovns r15, r13
cmovs rsi, qword [r13 + 8]
movzx eax, byte [0x140145ff8]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x14006b668
mov qword [rsp + 0x38], r8
xor ebp, ebp
lea rcx, [0x14011d900]
movabs rdx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x14011b1d0]
lea rdi, [rsp + 0x40]
mov rax, rbp
shl rax, 4
mov qword [rsp + 0x50], rdx
movaps xmmword [rsp + 0x40], xmm6
mov rdx, qword [rax + rcx]
mov rbx, qword [rax + rcx + 8]
mov byte [rsp + 0x57], bl
lea r8, [rbx + rbx]
mov rcx, rdi
call fcn.140089f20
mov word [rsp + rbx*2 + 0x40], 0
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14006b4bc
mov rcx, qword [rsp + 0x48]
jmp 0x14006b4c1
mov ecx, eax
and ecx, 0x7f
cmp rcx, rsi
ja 0x14006b53a
mov r14b, 1
test rcx, rcx
je 0x14006b66c
mov rdx, rdi
test al, al
jns 0x14006b4de
mov rdx, qword [rsp + 0x40]
xor ebx, ebx
movzx edi, word [r15 + rbx*2]
cmp di, word [rdx + rbx*2]
jne 0x14006b53a
inc rbx
cmp rcx, rbx
jne 0x14006b4e0
mov rdi, rcx
test al, al
js 0x14006b673
test r14b, r14b
jne 0x14006b544
mov qword [rsp + 0x30], rdi
inc rbp
movzx eax, byte [0x140145ff8]
xor rax, 3
cmp rbp, rax
lea rcx, [0x14011d900]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
jb 0x14006b47b
jmp 0x14006b668
xor r14d, r14d
mov rdi, qword [rsp + 0x30]
jmp 0x14006b4f6
test rdi, rdi
je 0x14006b668
movzx edx, byte [r13 + 0x17]
test dl, dl
jns 0x14006b55c
mov rax, qword [r13 + 8]
jmp 0x14006b561
mov eax, edx
and eax, 0x7f
cmp rdi, rax
je 0x14006b668
mov rcx, r13
test dl, dl
jns 0x14006b575
mov rcx, qword [r13]
lea rbp, [rcx + rax*2]
mov rdx, rbp
test rax, rax
jle 0x14006b5a9
btr rax, 0x3f
mov rdx, rcx
nop dword [rax]
cmp word [rdx], 0x3d
je 0x14006b5a4
add rdx, 2
dec rax
jne 0x14006b590
mov rdx, rbp
jmp 0x14006b5a9
test rdx, rdx
je 0x14006b59f
mov rax, rdx
sub rax, rcx
sar rax, 1
cmp rdx, rbp
mov rsi, 0xffffffffffffffff
cmovne rsi, rax
lea rbp, [r13 + 0x18]
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, r13
xor r8d, r8d
mov r9, rsi
call fcn.140045200
cmp byte [r12 + 0x17], 0
js 0x14006b6ae
mov rax, qword [rsp + 0x50]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r12], xmm0
mov bl, 1
cmp rsi, 0xffffffffffffffff
je 0x14006b643
inc rsi
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, r13
mov r8, rsi
mov r9, 0xffffffffffffffff
call fcn.140045200
mov rsi, qword [rsp + 0x38]
cmp byte [rsi + 0x17], 0
js 0x14006b6bc
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400884b0
mov eax, ebx
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
xor ebx, ebx
jmp 0x14006b643
xor edi, edi
jmp 0x14006b4f6
mov rcx, qword [rsp + 0x40]
call fcn.1400871a0
jmp 0x14006b4fe
mov rax, qword [r12]
mov word [rax], 0
mov qword [r12 + 8], 0
jmp 0x14006b411
mov rax, qword [r8]
mov word [rax], 0
mov qword [r8 + 8], 0
jmp 0x14006b427
mov rcx, qword [r12]
call fcn.1400871a0
jmp 0x14006b5e8
mov rcx, qword [rsi]
call fcn.1400871a0
jmp 0x14006b632