Function at 0x1400af5e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
xchg r13, rbx
mov qword [rsp + 0x18], r13
xchg r13, rbx
xchg rsi, r12
mov qword [rsp + 0x20], r12
xchg rsi, r12
push rsi
mov qword [rsp], rdi
sub rsp, 0x2f788abb
add rsp, 0x2f788a1b
movdqa xmm0, xmmword [0x14000bce0]
xor esi, esi
xchg rcx, rcx
movdqa xmm1, xmmword [0x14000bc90]
xchg r8, rdx
mov rdx, r8
xchg rdx, r8
xchg rcx, rsp
movdqu xmmword [rcx + 0x20], xmm0
xchg rcx, rsp
xchg r10, rbx
mov r10, rcx
xchg r10, rbx
mov edi, esi
xchg r13, r13
movdqa xmm0, xmmword [0x14000bd40]
mov eax, esi
xchg rbx, rsp
movdqu xmmword [rbx + 0x30], xmm1
xchg rsp, rbx
movdqa xmm1, xmmword [0x14000bd30]
mov dword [rsp - 0xc], 0x4c6a365
xchg rsp, r12
movdqu xmmword [r12 + 0x40], xmm0
xchg rsp, r12
movdqu xmmword [rsp + 0x50], xmm1
nop word [rax + rax]
mov dword [rsp - 0x28], esi
mov ecx, edi
lea rax, [rax + 4]
mov edx, 0x4314e64c
sub edx, 0xb33e5df
add edx, 0xbbfd1e1
sub edx, 0x30e5862b
inc rdi
mov dword [rsp - 0x28], 0x3f587078
rol edx, cl
xor edx, dword [rsp + rax + 0x1c]
mov dword [rsp + rax + 0x5c], edx
cmp rdi, 0x10
mov dword [rsp - 0x10], esi
jb 0x1400af686
cmp dword [rbx + 4], 8
jne 0x1400af78f
movzx ecx, byte [r8]
mov dword [rsp - 0x34], esi
lea r9, [rsp + 0x60]
movzx eax, byte [r8 + 1]
lea rdx, [rsp + 0xb0]
shl cx, 8
mov r15, r15
or cx, ax
movzx eax, byte [r8 + 3]
mov word [rsp + 0xb6], cx
movzx ecx, byte [r8 + 2]
mov dword [rsp - 0x14], 0x404efb8
shl cx, 1
shl cx, 1
shl cx, 5
shl cx, 1
or cx, ax
movzx eax, byte [r8 + 5]
mov dword [rsp - 0x2c], edi
mov word [rsp + 0xb4], cx
movzx ecx, byte [r8 + 4]
shl cx, 3
shl cx, 4
shl cx, 1
or cx, ax
xchg rbp, rbp
movzx eax, byte [r8 + 7]
mov word [rsp + 0xb2], cx
movzx ecx, byte [r8 + 6]
xor r8d, r8d
mov dword [rsp - 0x44], 0x1993487f
shl cx, 7
shl cx, 1
or cx, ax
mov word [rsp + 0xb0], cx
mov dword [rsp - 0x24], 0x21969e4b
xchg rbx, rcx
mov rbx, rcx
xchg rcx, rbx
call fcn.1400af310
jmp 0x1400af8b7
cmp dword [rbx], esi
jle 0x1400af8b7
mov qword [rsp + 0xb8], rbp
mov dword [rsp - 0x18], ebp
lea rdi, [r8 + 2]
mov ebp, esi
nop
movzx ecx, byte [rdi - 2]
mov r14, r14
lea r9, [rsp + 0x60]
movzx eax, byte [rdi - 1]
lea rdx, [rsp + 0xb0]
xchg rdi, rdi
shl cx, 8
mov r8d, ebp
or cx, ax
movzx eax, byte [rdi]
mov dword [rsp - 0x28], 0x60ba9f4d
mov word [rsp + 0xb6], cx
movzx ecx, byte [rdi + 1]
shl ax, 3
shl ax, 4
shl ax, 1
or cx, ax
mov dword [rsp - 0x20], 0x65b12dbc
movzx eax, byte [rdi + 3]
mov word [rsp + 0xb4], cx
movzx ecx, byte [rdi + 2]
shl cx, 5
shl cx, 1
shl cx, 1
shl cx, 1
or cx, ax
movzx eax, byte [rdi + 5]
xchg rsi, rsi
mov word [rsp + 0xb2], cx
movzx ecx, byte [rdi + 4]
shl cx, 6
shl cx, 1
shl cx, 1
or cx, ax
mov dword [rsp - 0x28], 0x680092d9
mov word [rsp + 0xb0], cx
xchg r13, rbx
mov rcx, r13
xchg rbx, r13
call fcn.1400af310
mov dword [rsp - 0xc], 0x27ecc87f
mov r8d, dword [rbx + 4]
lea r9, [rsp + 0x80]
sub r8d, ebp
mov rsp, rsp
lea rdx, [rsp + 0xb0]
nop
sub r8d, 0x3d73d32
add r8d, 0x3d73d2a
mov rcx, rbx
call fcn.1400af310
inc esi
xchg r13, r13
lea rdi, [rdi + 8]
neg ebp
add ebp, 0xfffffff8
neg ebp
cmp esi, dword [rbx]
mov r15, r15
jl 0x1400af7ab
mov rbp, qword [rsp + 0xb8]
lea r11, [rsp + 0xa0]
xor eax, eax
xchg r15, r15
mov rbx, qword [r11 + 0x20]
lea rdi, [rsp + 0x60]
mov rsi, qword [r11 + 0x28]
xchg r14, r14
mov ecx, 0x46227dc4
sub ecx, 0x2d75aaf5
add ecx, 0x5e94c6d7
sub ecx, 0x77419966
rep stosb byte [rdi], al
mov rsp, r11
pop rdi
mov dword [rsp - 0x30], 0x54074270
ret