Function at 0x1400264f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov r15, qword [rcx + 8]
lea r14, [r15 + 1]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x1400265a3
cmp rax, 1
jne 0x140026533
xor r8d, r8d
jmp 0x140026587
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1403da100]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9]
por xmm1, xmm0
movdqa xmmword [rdx + r9], xmm1
lea r8, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [rdx + r9 + 0x10], xmm1
mov r9, r8
add rcx, 0xfffffffffffffffe
jne 0x140026550
test al, 1
je 0x1400265a3
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdx + r8]
por xmm0, xmmword [0x1403da100]
movdqa xmmword [rdx + r8], xmm0
cmp r14, 0x10
jae 0x1400265c8
lea rcx, [rdx + 0x10]
mov r8, r14
call sub.msvcrt.dll_memmove
test r14, r14
jne 0x1400265d2
mov rcx, 0xffffffffffffffff
xor eax, eax
jmp 0x1400268d1
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rdx + r14], xmm0
xor r14d, r14d
jmp 0x140026606
shr rax, 0x39
lea r8, [r14 - 0x10]
and rdx, r8
mov byte [rcx + r14], al
mov rcx, qword [rsi]
mov byte [rcx + rdx + 0x10], al
lea rax, [r14 + 1]
cmp r14, r15
mov r14, rax
je 0x1400268bb
mov r13, qword [rsi]
cmp byte [r13 + r14], 0x80
jne 0x1400265f6
lea rax, [r14*8]
lea rax, [rax + rax*2]
sub r13, rax
lea r12, [r13 - 0x18]
nop word cs:[rax + rax]
mov rcx, rbx
mov rdx, rsi
mov r8, r14
call rdi
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, rdx
and r8, rax
movdqu xmm0, xmmword [rcx + r8]
pmovmskb r9d, xmm0
mov r10, r8
test r9d, r9d
jne 0x14002668a
mov r11d, 0x10
mov r10, r8
nop word cs:[rax + rax]
add r10, r11
and r10, rdx
movdqu xmm0, xmmword [rcx + r10]
pmovmskb r9d, xmm0
add r11, 0x10
test r9d, r9d
je 0x140026670
tzcnt r9d, r9d
add r9, r10
and r9, rdx
cmp byte [rcx + r9], 0
js 0x1400266aa
movdqa xmm0, xmmword [rcx]
pmovmskb r9d, xmm0
tzcnt r9d, r9d
mov r10, r14
sub r10, r8
mov r11, r9
sub r11, r8
xor r11, r10
and r11, rdx
cmp r11, 0x10
jb 0x1400265e0
lea r8, [r9*8]
lea r8, [r8 + r8*2]
movzx r10d, byte [rcx + r9]
shr rax, 0x39
lea r11, [r9 - 0x10]
and r11, rdx
mov byte [rcx + r9], al
mov rdx, qword [rsi]
mov byte [rdx + r11 + 0x10], al
cmp r10b, 0xff
je 0x140026880
sub rcx, r8
movzx eax, byte [r13 - 0x18]
movzx edx, byte [rcx - 0x18]
mov byte [r13 - 0x18], dl
mov byte [rcx - 0x18], al
movzx eax, byte [r13 - 0x17]
movzx edx, byte [rcx - 0x17]
mov byte [r13 - 0x17], dl
mov byte [rcx - 0x17], al
movzx eax, byte [r13 - 0x16]
movzx edx, byte [rcx - 0x16]
mov byte [r13 - 0x16], dl
mov byte [rcx - 0x16], al
movzx eax, byte [r13 - 0x15]
movzx edx, byte [rcx - 0x15]
mov byte [r13 - 0x15], dl
mov byte [rcx - 0x15], al
movzx eax, byte [r13 - 0x14]
movzx edx, byte [rcx - 0x14]
mov byte [r13 - 0x14], dl
mov byte [rcx - 0x14], al
movzx eax, byte [r13 - 0x13]
movzx edx, byte [rcx - 0x13]
mov byte [r13 - 0x13], dl
mov byte [rcx - 0x13], al
movzx eax, byte [r13 - 0x12]
movzx edx, byte [rcx - 0x12]
mov byte [r13 - 0x12], dl
mov byte [rcx - 0x12], al
movzx eax, byte [r13 - 0x11]
movzx edx, byte [rcx - 0x11]
mov byte [r13 - 0x11], dl
mov byte [rcx - 0x11], al
movzx eax, byte [r13 - 0x10]
movzx edx, byte [rcx - 0x10]
mov byte [r13 - 0x10], dl
mov byte [rcx - 0x10], al
movzx eax, byte [r13 - 0xf]
movzx edx, byte [rcx - 0xf]
mov byte [r13 - 0xf], dl
mov byte [rcx - 0xf], al
movzx eax, byte [r13 - 0xe]
movzx edx, byte [rcx - 0xe]
mov byte [r13 - 0xe], dl
mov byte [rcx - 0xe], al
movzx eax, byte [r13 - 0xd]
movzx edx, byte [rcx - 0xd]
mov byte [r13 - 0xd], dl
mov byte [rcx - 0xd], al
movzx eax, byte [r13 - 0xc]
movzx edx, byte [rcx - 0xc]
mov byte [r13 - 0xc], dl
mov byte [rcx - 0xc], al
movzx eax, byte [r13 - 0xb]
movzx edx, byte [rcx - 0xb]
mov byte [r13 - 0xb], dl
mov byte [rcx - 0xb], al
movzx eax, byte [r13 - 0xa]
movzx edx, byte [rcx - 0xa]
mov byte [r13 - 0xa], dl
mov byte [rcx - 0xa], al
movzx eax, byte [r13 - 9]
movzx edx, byte [rcx - 9]
mov byte [r13 - 9], dl
mov byte [rcx - 9], al
movzx eax, byte [r13 - 8]
movzx edx, byte [rcx - 8]
mov byte [r13 - 8], dl
mov byte [rcx - 8], al
movzx eax, byte [r13 - 7]
movzx edx, byte [rcx - 7]
mov byte [r13 - 7], dl
mov byte [rcx - 7], al
movzx eax, byte [r13 - 6]
movzx edx, byte [rcx - 6]
mov byte [r13 - 6], dl
mov byte [rcx - 6], al
movzx eax, byte [r13 - 5]
movzx edx, byte [rcx - 5]
mov byte [r13 - 5], dl
mov byte [rcx - 5], al
movzx eax, byte [r13 - 4]
movzx edx, byte [rcx - 4]
mov byte [r13 - 4], dl
mov byte [rcx - 4], al
movzx eax, byte [r13 - 3]
movzx edx, byte [rcx - 3]
mov byte [r13 - 3], dl
mov byte [rcx - 3], al
movzx eax, byte [r13 - 2]
movzx edx, byte [rcx - 2]
mov byte [r13 - 2], dl
mov byte [rcx - 2], al
movzx eax, byte [r13 - 1]
movzx edx, byte [rcx - 1]
mov byte [r13 - 1], dl
mov byte [rcx - 1], al
jmp 0x140026630
neg r8
lea rax, [rcx + r8]
add rax, 0xffffffffffffffe8
lea rcx, [r14 - 0x10]
and rcx, qword [rsi + 8]
mov rdx, qword [rsi]
mov byte [rdx + r14], 0xff
mov rdx, qword [rsi]
mov byte [rdx + rcx + 0x10], 0xff
mov rcx, qword [r12 + 0x10]
mov qword [rax + 0x10], rcx
movdqu xmm0, xmmword [r12]
movdqu xmmword [rax], xmm0
jmp 0x1400265f6
mov rcx, qword [rsi + 8]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, qword [rsi + 0x18]
mov qword [rsi + 0x10], rax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret