Function at 0x1400a8160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xc0
mov rax, qword [0x14010d0f8]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword [rbp + 0x87]
mov r15d, ecx
mov rcx, qword [rbp + 0x8f]
xor r14d, r14d
mov r11, qword [rbp + 0x6f]
xorps xmm1, xmm1
mov r12, qword [rbp + 0x77]
xorps xmm0, xmm0
mov r13, qword [rbp + 0x7f]
mov rsi, rdx
mov qword [rbp - 0x61], rcx
mov dword [r11], 1
mov qword [rcx], r14
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
xor eax, eax
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], eax
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm1
test r8d, r8d
je 0x1400a81fd
lea ebx, [r15 - 1]
movsxd rax, ebx
lea rcx, [rax + rax*4]
mov rax, qword [rdx + rcx*8 + 0x20]
movzx r8d, word [rax + 0xee]
dec r8d
jmp 0x1400a821d
movsxd rbx, dword [rbp + 0x67]
lea edx, [r9 - 1]
add edx, dword [rsi + 8]
lea rcx, [rbx + rbx*4]
mov r8d, dword [rsi + rcx*8 + 8]
cmp edx, r8d
cmovge r8d, edx
sub r8d, dword [rsi + rcx*8 + 8]
movsxd rax, ebx
lea rcx, [rax + rax*4]
mov r10, qword [rsi + rcx*8 + 0x20]
test r8d, r8d
jle 0x1400a8233
mov edi, r8d
jmp 0x1400a8250
test ebx, ebx
jle 0x1400a84ea
dec ebx
movsxd rax, ebx
lea rcx, [rax + rax*4]
mov rax, qword [rsi + rcx*8 + 0x20]
movzx edi, word [rax + 0xee]
movsxd rdx, ebx
dec edi
mov al, byte [r10 + 0x106]
test al, 0xf3
jne 0x1400a8264
cmp al, 0xc
jne 0x1400a826f
mov r9d, 1
cmp al, r9b
jne 0x1400a82ba
mov rax, qword [r10 + 0x20]
mov r9d, 1
movsxd rcx, r8d
cmp dword [rax + rcx*4], r14d
jne 0x1400a82ba
lea rax, [rdx + rdx*4]
mov r8d, edi
mov r10, qword [rsi + rax*8 + 0x20]
test edi, edi
jle 0x1400a8296
dec edi
jmp 0x1400a8255
test ebx, ebx
jle 0x1400a82b1
dec ebx
dec rdx
lea rax, [rdx + rdx*4]
mov rcx, qword [rsi + rax*8 + 0x20]
movzx edi, word [rcx + 0xee]
jmp 0x1400a8292
mov ebx, r14d
or edi, 0xffffffff
mov r9d, r14d
test r9d, r9d
je 0x1400a84ea
movsxd rax, ebx
lea r14d, [rdi + 1]
mov r10d, 1
mov dword [r11], r10d
lea rdx, [rax + rax*4]
mov rcx, qword [rsi + rdx*8 + 0x20]
test byte [rcx + 0xec], 0x10
jne 0x1400a82ee
cmp byte [rcx + 0x106], 0xa
jne 0x1400a82fb
movzx edi, word [rcx + 0xee]
mov r14d, r10d
sub edi, r10d
mov r8d, dword [rsi + rdx*8 + 8]
add r8d, r14d
mov eax, r8d
sub eax, dword [rsi + 8]
mov dword [r12], eax
mov dword [r13], ebx
mov al, byte [rcx + 0x106]
cmp al, 3
jne 0x1400a8391
mov eax, 0x1000
test word [rcx + 0xec], ax
je 0x1400a84a1
mov rax, qword [rcx + 8]
lea r8, [rbp - 0x59]
mov rdx, qword [rsi + rdx*8 + 0x18]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0xd8]
call qword [case.0x140066f27.0]
test eax, eax
jne 0x1400a84ef
mov edx, dword [rbp - 0x59]
lea eax, [rdx - 4]
test eax, 0xfffffffd
jne 0x1400a84a1
lea rax, [rbp - 0x39]
xor r9d, r9d
mov qword [rsp + 0x38], rax
movzx eax, word [rbp - 0x53]
mov word [rsp + 0x30], ax
movzx eax, word [rbp - 0x55]
mov word [rsp + 0x28], ax
mov dword [rsp + 0x20], edx
jmp 0x1400a8493
cmp al, 4
jne 0x1400a8405
mov eax, 0x800
test word [rcx + 0xec], ax
je 0x1400a84a1
mov rax, qword [rcx + 8]
lea r8, [rbp - 0x59]
mov rdx, qword [rsi + rdx*8 + 0x18]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0xd8]
call qword [case.0x140066f27.0]
test eax, eax
jne 0x1400a84ef
mov ecx, dword [rbp - 0x59]
lea eax, [rcx - 4]
test eax, 0xfffffffd
jne 0x1400a84a1
lea rax, [rbp - 0x39]
mov r9d, 1
mov qword [rsp + 0x38], rax
movzx eax, word [rbp - 0x53]
mov word [rsp + 0x30], ax
movzx eax, word [rbp - 0x55]
jmp 0x1400a848a
test al, al
jne 0x1400a84a1
mov eax, 0x800
test word [rcx + 0xec], ax
je 0x1400a84a1
mov rax, qword [rcx + 8]
lea edx, [r8 - 1]
lea r8, [rbp - 0x49]
mov qword [rsp + 0x28], r8
lea r9, [rbp - 0x69]
lea r8, [rbp - 0x59]
mov rcx, qword [rax]
mov qword [rsp + 0x20], r8
mov r8d, r10d
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0xc8]
call qword [case.0x140066f27.0]
test eax, eax
jne 0x1400a84ef
cmp dword [rbp - 0x69], eax
je 0x1400a84a1
mov ecx, dword [rbp - 0x49]
lea eax, [rcx - 4]
test eax, 0xfffffffd
jne 0x1400a84a1
lea rax, [rbp - 0x39]
mov r9d, r14d
mov qword [rsp + 0x38], rax
movzx eax, word [rbp - 0x43]
mov word [rsp + 0x30], ax
movzx eax, word [rbp - 0x45]
mov word [rsp + 0x28], ax
mov dword [rsp + 0x20], ecx
mov r8d, ebx
mov rdx, rsi
mov ecx, r15d
call fcn.1400d35b8
lea rcx, [rbp - 0x59]
mov r9d, ebx
mov qword [rsp + 0x40], rcx
lea eax, [rdi + 1]
lea rcx, [rbp - 0x39]
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r14d
call fcn.1400d1cec
test eax, eax
jne 0x1400a84ef
mov rax, qword [rbp - 0x59]
mov ecx, 0x100
or word [rax + 0x84], cx
mov rcx, qword [rbp - 0x61]
mov qword [rcx], rax
jmp 0x1400a84ed
mov dword [r11], r14d
xor eax, eax
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400e6ab0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret