Function at 0x14007b5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movaps xmmword [rsp + 0x40], xmm9
mov rbx, rcx
mov esi, edx
mov rdi, r8
mov rbp, r9
mov edx, esi
mov rcx, rbx
call fcn.14006de80
mov ecx, eax
lea rbx, [rbx + rcx*2]
sub esi, eax
jne 0x14007b61d
xor eax, eax
mov qword [rdi], rax
mov dword [rbp], eax
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x40]
add rsp, 0x88
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
xor r15d, r15d
mov ecx, esi
lea r13, [rbx + rcx*2]
test byte [0x140179108], 0x10
je 0x14007b722
cmp esi, 8
jl 0x14007b85a
movups xmm6, xmmword [0x1401336a0]
movups xmm7, xmmword [0x1401336b0]
movups xmm8, xmmword [0x1401336c0]
lea rsi, [r13 - 0x10]
movups xmm9, xmmword [rbx]
add rbx, 0x10
movaps xmm0, xmm9
pminuw xmm0, xmm6
movaps xmm1, xmm9
paddusw xmm1, xmm7
por xmm0, xmm1
pmovmskb ecx, xmm0
test byte [0x140179108], 0x40
je 0x14007b68d
xor r12d, r12d
popcnt r12d, ecx
jmp 0x14007b695
call fcn.140064efc
mov r12d, eax
mov r12d, r12d
movaps xmm0, xmm9
paddw xmm0, xmm8
movaps xmm1, xmm7
pcmpgtw xmm1, xmm0
pmovmskb ecx, xmm1
cmp ecx, 0xffff
jne 0x14007b6c1
add r14, r12
cmp rbx, rsi
jbe 0x14007b659
jmp 0x14007b85a
not ecx
psrlw xmm9, 3
pmovmskb eax, xmm9
mov edx, eax
and edx, ecx
xor eax, 0x5555
and ecx, eax
shl ecx, 2
movzx eax, cx
cmp eax, edx
jne 0x14007b719
cmp ecx, 0xffff
jbe 0x14007b6f6
movzx ecx, cx
add r12, 0xfffffffffffffffe
add rbx, 0xfffffffffffffffe
test byte [0x140179108], 0x40
je 0x14007b707
xor eax, eax
popcnt eax, ecx
jmp 0x14007b70c
call fcn.140064efc
mov eax, eax
sub r15d, eax
sub r14, rax
sub r14, rax
jmp 0x14007b6b4
add rbx, 0xfffffffffffffff0
jmp 0x14007b85a
cmp esi, 8
jl 0x14007b85a
movups xmm0, xmmword [0x1401336a0]
movups xmm1, xmmword [0x1401336d0]
movups xmm2, xmmword [0x1401336e0]
lea rax, [r13 - 0x10]
movups xmm3, xmmword [0x1401336f0]
movups xmm4, xmmword [rbx]
movaps xmm5, xmm4
psubw xmm5, xmm3
movups xmm6, xmmword [0x140133700]
movaps xmm7, xmm5
pcmpgtw xmm7, xmm6
movaps xmm6, xmm4
pcmpeqw xmm6, xmm0
por xmm6, xmm7
xorps xmm7, xmm7
psubw xmm7, xmm6
movaps xmm6, xmm4
pcmpeqw xmm6, xmm1
movups xmm8, xmmword [0x140133710]
pcmpgtw xmm5, xmm8
por xmm5, xmm6
psubw xmm7, xmm5
movaps xmmword [rsp + 0x30], xmm7
mov rcx, qword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm7
add rcx, qword [rsp + 0x38]
mov edx, ecx
shr rcx, 0x20
add edx, ecx
movzx ecx, dx
shr edx, 0x10
add edx, ecx
psubw xmm4, xmm2
psubw xmm4, xmm3
movups xmm5, xmmword [0x140133710]
pcmpgtw xmm5, xmm4
xorps xmm6, xmm6
pcmpeqw xmm6, xmm5
pmovmskb ecx, xmm6
cmp ecx, 0xffff
je 0x14007b848
movups xmm6, xmmword [0x140133720]
pcmpgtw xmm6, xmm4
movaps xmm4, xmm6
pandn xmm4, xmm5
movd ecx, xmm4
movzx ecx, cx
test ecx, ecx
jne 0x14007b8b2
xor ecx, ecx
xor r8d, r8d
movaps xmmword [rsp + 0x20], xmm6
movzx r10d, word [rsp + r8*2 + 0x20]
sub ecx, r10d
movzx ecx, cx
inc r8d
movaps xmmword [rsp + 0x20], xmm4
movzx r9d, word [rsp + r8*2 + 0x20]
cmp r9d, r10d
jne 0x14007b85a
cmp r8d, 7
jl 0x14007b801
pextrw r8d, xmm6, 7
test r8d, r8d
je 0x14007b83d
add rbx, 0xfffffffffffffffe
add edx, 0xfffffffe
mov ecx, ecx
sub r15d, ecx
sub r14, rcx
sub r14, rcx
mov ecx, edx
add r14, rcx
add rbx, 0x10
cmp rbx, rax
jbe 0x14007b74b
cmp rbx, r13
jae 0x14007b8b2
nop
movzx eax, word [rbx]
cmp eax, 0x7f
jbe 0x14007b8a9
lea ecx, [rax + 0x1f800]
shr ecx, 0x10
add r14, rcx
add eax, 0xffff2800
cmp eax, 0x7ff
ja 0x14007b8a9
add r14, 0xfffffffffffffffe
mov rax, r13
sub rax, rbx
cmp rax, 4
jb 0x14007b8b2
mov eax, dword [rbx]
add eax, 0x23ff2800
test eax, 0xfc00fc00
jne 0x14007b8b2
dec r15d
add r14, 2
add rbx, 2
add rbx, 2
cmp rbx, r13
jb 0x14007b860
mov qword [rdi], r14
mov dword [rbp], r15d
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x40]
add rsp, 0x88
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret