Function at 0x1800af150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r12d, dword [rbp + 0x68]
mov r14, r8
imul r13d, r12d, 0x235
mov r8, rdx
mov r15d, r12d
cmp r12d, r13d
ja 0x1800af1cc
mov rbx, qword [rbp + 0x60]
xor r10d, r10d
mov ecx, 0xe9
nop
mov eax, r15d
sub eax, 0x7d
je 0x1800af333
sub eax, 0x4a
je 0x1800af22a
sub eax, 0x17
je 0x1800af1f1
sub eax, 0x57c0
je 0x1800af1c8
cmp eax, 0xa3e
jne 0x1800af310
mov rcx, qword [rbp + 0x40]
movups xmm0, xmmword [rbp - 0x38]
mov rax, rcx
movups xmmword [rcx], xmm0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [r14]
lea r9, [rbp - 0x38]
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
mov rax, qword [rbx]
lea rcx, [rbp - 0x28]
mov r8d, 0x66
mov qword [rbp - 0x38], rax
call fcn.180031780
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x18], xmm0
jmp 0x1800af30b
test byte [rbx + 0xc], 1
je 0x1800af241
mov rax, qword [rbx + 0x10]
mov ecx, 0xe9
mov edx, dword [rax + 0xc]
add edx, r9d
jmp 0x1800af244
mov edx, dword [rbx + 0x10]
sub edx, dword [rbx + 8]
lea rsi, [r14 + 1]
mov eax, dword [r8]
add edx, 0x7e
cmp edx, 0xff
mov edi, r10d
setbe dil
cmp eax, 0x16
jne 0x1800af279
cmp edx, 0xff
mov eax, 0xeb
cmova eax, ecx
mov byte [r14], al
inc dword [rbx + 8]
jmp 0x1800af2e6
cmp eax, 0x17
jl 0x1800af28a
mov byte [r14], 0xe8
mov edi, r10d
inc dword [rbx + 8]
jmp 0x1800af2e6
xor ecx, ecx
mov qword [rsp + 0x30], r10
xor r9d, r9d
mov qword [rsp + 0x28], r10
cmp edx, 0xff
lea edx, [rcx + 0x30]
ja 0x1800af2c2
mov dword [rbp + 0x68], eax
xor r8d, r8d
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.180070b80
sub al, 0x10
mov byte [r14], al
inc dword [rbx + 8]
jmp 0x1800af2e6
mov byte [r14], 0xf
mov eax, dword [r8]
xor r8d, r8d
mov dword [rbp + 0x68], eax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.180070b80
mov byte [rsi], al
inc rsi
add dword [rbx + 8], 2
test edi, edi
mov r14d, 1
mov ecx, 4
cmove r14d, ecx
xor edi, 1
add r14, rsi
mov qword [rbp - 0x38], r14
lea eax, [rdi*4 + 4]
or dword [rbx + 0xc], eax
mov ecx, 0xe9
mov r8, qword [rbp + 0x48]
mov r10d, 0
mov r9, qword [rbp + 0x58]
imul eax, r12d, 0x71
add r15d, eax
cmp r15d, r13d
jbe 0x1800af1a0
jmp 0x1800af1c8
mov rcx, qword [rbx]
mov r8d, 0x91
mov rax, qword [r14]
mov edx, r8d
mov qword [rbp - 0x38], rax
movzx edi, cx
movzx esi, word [rbp - 0x32]
mov r15d, dword [rbp - 0x34]
movzx r12d, word [rbp - 0x36]
mov qword [rbp - 0x40], rcx
movzx r11d, word [rbp - 0x3e]
movzx r9d, word [rbp - 0x3a]
movzx r10d, word [rbp - 0x3c]
nop dword [rax]
mov ecx, edx
sub ecx, 0x8e
je 0x1800af3cc
sub ecx, 3
je 0x1800af38a
cmp ecx, 1
jne 0x1800af3d8
mov rcx, qword [rbp - 0x38]
jmp 0x1800af3e6
cmp di, ax
movzx ecx, di
cmovle cx, ax
cmp r11w, r12w
mov word [rbp - 0x38], cx
movzx ecx, r11w
cmovle cx, r12w
cmp r10w, r15w
mov word [rbp - 0x36], cx
movzx ecx, r10w
cmovle cx, r15w
cmp r9w, si
mov word [rbp - 0x34], cx
movzx ecx, r9w
cmovle cx, si
mov word [rbp - 0x32], cx
jmp 0x1800af3d8
mov dword [rbp - 0x3c], eax
movzx r10d, ax
movzx r9d, word [rbp - 0x3a]
inc edx
cmp edx, 0x94
jb 0x1800af370
mov rcx, qword [rbp + 0x40]
mov rax, qword [r14 + 8]
mov rdx, qword [rbx + 8]
mov qword [rbp - 0x38], rax
movzx ebx, dx
movzx edi, word [rbp - 0x32]
mov esi, dword [rbp - 0x34]
movzx r14d, word [rbp - 0x36]
mov qword [rbp - 0x40], rdx
movzx r11d, word [rbp - 0x3e]
movzx r9d, word [rbp - 0x3a]
movzx r10d, word [rbp - 0x3c]
mov edx, r8d
sub edx, 0x8e
je 0x1800af470
sub edx, 3
je 0x1800af42f
cmp edx, 1
jne 0x1800af47c
mov rax, qword [rbp - 0x38]
jmp 0x1800af48c
cmp bx, ax
movzx edx, bx
cmovle dx, ax
cmp r11w, r14w
mov word [rbp - 0x38], dx
movzx edx, r11w
cmovle dx, r14w
cmp r10w, si
mov word [rbp - 0x36], dx
movzx edx, r10w
cmovle dx, si
cmp r9w, di
mov word [rbp - 0x34], dx
movzx edx, r9w
cmovle dx, di
mov word [rbp - 0x32], dx
jmp 0x1800af47c
mov dword [rbp - 0x3c], eax
movzx r10d, ax
movzx r9d, word [rbp - 0x3a]
inc r8d
cmp r8d, 0x94
jb 0x1800af414
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x38], rcx
lea r9, [rbp - 0x38]
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x40], rax
lea r8, [rbp - 0x40]
mov edx, 0xe6
call fcn.180030b60
mov rax, qword [rbp + 0x40]
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rax], xmm0
jmp 0x1800af1d6