Function at 0x1400af960
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x80
mov r10, qword [0x140404a40]
mov rdi, rdx
mov rsi, qword [0x140404a80]
test r10, r10
jne 0x1400afbae
movdqa xmm1, xmmword [0x140311fd0]
lea r9d, [r10 + 0x28]
xorps xmm0, xmm0
mov qword [rax - 0x38], r10
movups xmmword [rax - 0x30], xmm0
xor edx, edx
lea r8, [0x140400b68]
movdqu xmmword [rax - 0x20], xmm1
lea rcx, [rax - 0x48]
mov byte [rax - 0x30], r10b
mov qword [rax - 0x20], r10
movdqu xmmword [rax - 0x48], xmm0
call fcn.1400d1f00
mov r9, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
sub r9, rbx
lea rcx, [r9 - 1]
test rcx, rcx
je 0x1400af9ee
nop
movzx eax, byte [rbx + rcx - 1]
sub byte [rbx + rcx], al
sub rcx, 1
jne 0x1400af9e0
xor edx, edx
test r9, r9
je 0x1400afa7f
cmp r9, 0x40
jb 0x1400afa68
movdqa xmm2, xmmword [0x14033cae0]
lea rax, [rbx + 0x20]
mov rcx, r9
and rcx, 0xffffffffffffffc0
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add rdx, 0x40
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rdx, rcx
jb 0x1400afa12
cmp rdx, r9
jae 0x1400afa7f
mov rcx, r9
lea rax, [rbx + rdx]
sub rcx, rdx
xor byte [rax], 0xa6
lea rax, [rax + 1]
sub rcx, 1
jne 0x1400afa72
lea rdx, [rbx + 8]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400afa90
lea rax, [r9 - 8]
cmp r8, rax
jb 0x1400afaa7
lea r8, [r9 - 9]
lea rcx, [rsp + 0x58]
call fcn.1400fd340
test rbx, rbx
je 0x1400afaeb
mov rdx, qword [rsp + 0x50]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x1400afae3
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400afbef
mov rcx, rbx
call fcn.14009be98
cmp qword [rsp + 0x70], 0x10
lea rbx, [rsp + 0x58]
cmovae rbx, qword [rsp + 0x58]
call fcn.140048640
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x70]
mov r10, rax
mov qword [0x140404a40], rax
test rax, rax
jne 0x1400afb60
cmp rdx, 0x10
jb 0x1400afb59
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400afb54
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400afbef
call fcn.14009be98
mov eax, 0xc0000138
jmp 0x1400afbda
cmp rdx, 0x10
jb 0x1400afb9b
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400afb8f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400afbef
call fcn.14009be98
mov r10, qword [0x140404a40]
movdqa xmm0, xmmword [0x140311fd0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rax, qword [rsp + 0xb0]
xor r9d, r9d
mov dword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x20
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call r10
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.1400ed40c
int3