Function at 0x140071260
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 [0x140178028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [rdx + 0x17], 0
js 0x140071512
mov word [r12], 0
mov byte [r12 + 0x17], 0
cmp byte [r8 + 0x17], 0
js 0x140071529
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 [0x14018a268]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x1400714f8
mov qword [rsp + 0x38], r8
xor ebp, ebp
lea rcx, [0x140159690]
movabs rdx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x140156180]
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.1400a9f10
mov word [rsp + rbx*2 + 0x40], 0
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14007134c
mov rcx, qword [rsp + 0x48]
jmp 0x140071351
mov ecx, eax
and ecx, 0x7f
cmp rcx, rsi
ja 0x1400713ca
mov r14b, 1
test rcx, rcx
je 0x1400714fc
mov rdx, rdi
test al, al
jns 0x14007136e
mov rdx, qword [rsp + 0x40]
xor ebx, ebx
movzx edi, word [r15 + rbx*2]
cmp di, word [rdx + rbx*2]
jne 0x1400713ca
inc rbx
cmp rcx, rbx
jne 0x140071370
mov rdi, rcx
test al, al
js 0x140071503
test r14b, r14b
jne 0x1400713d4
mov qword [rsp + 0x30], rdi
inc rbp
movzx eax, byte [0x14018a268]
xor rax, 3
cmp rbp, rax
lea rcx, [0x140159690]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
jb 0x14007130b
jmp 0x1400714f8
xor r14d, r14d
mov rdi, qword [rsp + 0x30]
jmp 0x140071386
test rdi, rdi
je 0x1400714f8
movzx edx, byte [r13 + 0x17]
test dl, dl
jns 0x1400713ec
mov rax, qword [r13 + 8]
jmp 0x1400713f1
mov eax, edx
and eax, 0x7f
cmp rdi, rax
je 0x1400714f8
mov rcx, r13
test dl, dl
jns 0x140071405
mov rcx, qword [r13]
lea rbp, [rcx + rax*2]
mov rdx, rbp
test rax, rax
jle 0x140071439
btr rax, 0x3f
mov rdx, rcx
nop dword [rax]
cmp word [rdx], 0x3d
je 0x140071434
add rdx, 2
dec rax
jne 0x140071420
mov rdx, rbp
jmp 0x140071439
test rdx, rdx
je 0x14007142f
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.14002b3b0
cmp byte [r12 + 0x17], 0
js 0x14007153e
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 0x1400714d3
inc rsi
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, r13
mov r8, rsi
mov r9, 0xffffffffffffffff
call fcn.14002b3b0
mov rsi, qword [rsp + 0x38]
cmp byte [rsi + 0x17], 0
js 0x14007154c
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.1400a8490
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 0x1400714d3
xor edi, edi
jmp 0x140071386
mov rcx, qword [rsp + 0x40]
call fcn.1400a70a0
jmp 0x14007138e
mov rax, qword [r12]
mov word [rax], 0
mov qword [r12 + 8], 0
jmp 0x1400712a1
mov rax, qword [r8]
mov word [rax], 0
mov qword [r8 + 8], 0
jmp 0x1400712b7
mov rcx, qword [r12]
call fcn.1400a70a0
jmp 0x140071478
mov rcx, qword [rsi]
call fcn.1400a70a0
jmp 0x1400714c2