Function at 0x140028440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov r12, qword [rcx + 8]
lea r15, [r12 + 1]
mov rcx, r15
shr rcx, 4
xor eax, eax
test r15b, 0xf
setne al
add rax, rcx
je 0x1400284f3
cmp rax, 1
jne 0x140028487
xor r8d, r8d
jmp 0x1400284d7
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1401bd400]
nop
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 0x1400284a0
test al, 1
je 0x1400284f3
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdx + r8]
por xmm0, xmmword [0x1401bd400]
movdqa xmmword [rdx + r8], xmm0
cmp r15, 0x10
jae 0x14002852b
lea rcx, [rdx + 0x10]
mov r8, r15
call sub.msvcrt.dll_memmove
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 0x18
mov qword [rsp + 0x28], rsi
test r15, r15
jne 0x140028548
mov rcx, 0xffffffffffffffff
xor eax, eax
jmp 0x14002883f
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rdx + r15], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 0x18
mov qword [rsp + 0x28], rsi
xor r14d, r14d
jmp 0x140028576
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, r12
mov r14, rax
je 0x140028829
mov r13, qword [rsi]
cmp byte [r13 + r14], 0x80
jne 0x140028566
lea rax, [r14*8]
lea rax, [rax + rax*2]
sub r13, rax
lea r15, [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 0x1400285fa
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 0x1400285e0
tzcnt r9d, r9d
add r9, r10
and r9, rdx
cmp byte [rcx + r9], 0
js 0x14002861a
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 0x140028550
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 0x1400287f0
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 0x1400285a0
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 [r15 + 0x10]
mov qword [rax + 0x10], rcx
movdqu xmm0, xmmword [r15]
movdqu xmmword [rax], xmm0
jmp 0x140028566
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, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret