Function at 0x140090f30
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
mov rsi, rcx
movzx eax, byte [r9]
test r8b, 1
jne 0x140090fd2
test al, al
je 0x140090fda
mov rax, qword [rdx]
mov rcx, qword [rdx + 8]
mov r8, qword [rdx + 0x10]
mov r9, qword [rdx + 0x18]
mov rdx, rax
cmp r8, r9
je 0x14009119b
mov rdx, rax
jmp 0x140090f8d
add r8, 0x20
cmp r8, r9
je 0x14009119b
movzx r10d, word [r8]
cmp r10w, 2
je 0x14009119b
movups xmm0, xmmword [r8 + 2]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rsp + 0x2e], xmm1
movaps xmmword [rsp + 0x20], xmm0
test r10w, r10w
je 0x140090f80
mov word [rdx], r10w
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx + 2], xmm0
movups xmm0, xmmword [rsp + 0x2e]
movups xmmword [rdx + 0x10], xmm0
add rdx, 0x20
jmp 0x140090f80
test al, al
je 0x140091132
mov r12, qword [rdx + 0x10]
mov r13, qword [rdx + 0x18]
xor ebp, ebp
test r12, r12
je 0x140090ff3
cmp r13, r12
je 0x140090ff3
movzx ebp, byte [r12]
mov rax, qword [rdx]
mov qword [rsp + 0x70], rax
mov rbx, qword [rdx + 8]
mov qword [rsp + 0x40], 4
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 4
movups xmmword [rsp + 0x60], xmm0
cmp r13, r12
je 0x1400910e8
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x58]
jmp 0x14009107b
mov rcx, r14
call fcn.14009f7f0
mov rax, r14
mov rdx, qword [rax + 0x10]
mov rcx, qword [rax]
shl rdx, 5
mov word [rcx + rdx], di
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rcx + rdx + 2], xmm0
movups xmm0, xmmword [rsp + 0x2e]
movups xmmword [rcx + rdx + 0x10], xmm0
inc qword [rax + 0x10]
add r12, 0x20
cmp r12, r13
je 0x1400910e8
movzx edi, word [r12]
cmp di, 2
je 0x1400910e8
test bpl, bpl
setne al
movups xmm0, xmmword [r12 + 2]
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [rsp + 0x2e], xmm1
movaps xmmword [rsp + 0x20], xmm0
test di, di
sete cl
xor cl, al
je 0x1400910c0
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [rsp + 0x48]
je 0x140091040
mov rax, r14
jmp 0x14009104f
mov rdx, qword [rsp + 0x68]
cmp rdx, qword [rsp + 0x60]
jne 0x1400910e0
mov rcx, r15
call fcn.14009f7f0
mov rax, r15
jmp 0x14009104b
mov rax, r15
jmp 0x14009104f
test rbx, rbx
je 0x140091104
shl rbx, 5
mov r8d, 4
mov rcx, qword [rsp + 0x70]
mov rdx, rbx
call fcn.14000cc70
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
shl rdx, 5
add rdx, rax
shl r10, 5
add r10, r8
jmp 0x1400911aa
mov rax, qword [rdx]
mov rcx, qword [rdx + 8]
mov r8, qword [rdx + 0x10]
mov r9, qword [rdx + 0x18]
mov rdx, rax
cmp r8, r9
je 0x14009119b
mov rdx, rax
jmp 0x140091159
add r8, 0x20
cmp r8, r9
je 0x14009119b
movzx r10d, word [r8]
cmp r10w, 2
je 0x14009119b
movups xmm0, xmmword [r8 + 2]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rsp + 0x2e], xmm1
movaps xmmword [rsp + 0x20], xmm0
test r10w, r10w
jne 0x140091150
mov word [rdx], 0
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx + 2], xmm0
movups xmm0, xmmword [rsp + 0x2e]
movups xmmword [rdx + 0x10], xmm0
add rdx, 0x20
jmp 0x140091150
mov r8d, 4
xor r9d, r9d
mov r10d, 4
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], r8
mov qword [rsi + 0x28], r9
mov qword [rsi + 0x30], r8
mov qword [rsi + 0x38], r10
mov rax, rsi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret