Function at 0x1400aac10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
push r14
sub rsp, 0xa8
sub rdx, rcx
mov rbx, rcx
sar rdx, 5
mov r14, rdx
mov qword [rsp + 0xc8], rdx
sar r14, 1
test r14, r14
jle 0x1400aaf2f
mov qword [rax + 0x18], rbp
lea r9, [rdx - 1]
mov qword [rax - 0x18], rsi
mov rcx, r9
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov r12, r14
shl r12, 5
add r12, 0x10
sar rcx, 1
add r12, rbx
mov qword [rax - 0x30], r13
xor r8d, r8d
mov qword [rax - 0x38], r15
mov qword [rsp + 0x20], r9
mov qword [rsp + 0xd8], rcx
nop
mov rax, qword [r12 - 0x30]
sub r12, 0x20
dec r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov rsi, r14
mov rbp, qword [r12 - 8]
mov r13, qword [r12]
mov qword [r12 - 0x10], r8
mov qword [r12 - 8], r8
mov qword [r12], r8
mov r8, r14
mov r15, qword [r12 + 8]
mov qword [rsp + 0xc0], rbp
cmp r14, rcx
jge 0x1400aad65
mov rbp, qword [rsp + 0xd8]
lea rdi, [r8 + r8]
lea rcx, [rdi + 2]
shl rcx, 5
add rcx, rbx
lea rdx, [rcx - 0x20]
call fcn.1400af7f0
shl rsi, 5
movzx r8d, al
xor r8, 1
inc r8
mov rcx, qword [rsi + rbx]
add r8, rdi
mov rdx, r8
shl rdx, 5
add rdx, rbx
mov rax, qword [rdx]
mov qword [rsi + rbx], rax
mov rax, qword [rdx + 8]
mov qword [rdx], rcx
mov rcx, qword [rsi + rbx + 8]
mov qword [rsi + rbx + 8], rax
mov rax, qword [rdx + 0x10]
mov qword [rdx + 8], rcx
mov rcx, qword [rsi + rbx + 0x10]
mov qword [rsi + rbx + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rax, qword [rdx + 0x18]
mov qword [rsi + rbx + 0x18], rax
mov rsi, r8
cmp r8, rbp
jl 0x1400aacd1
mov rbp, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xc8]
mov r9, qword [rsp + 0x20]
cmp rsi, rcx
jne 0x1400aadba
test dl, 1
jne 0x1400aadba
shl rdx, 5
add rdx, rbx
shl rsi, 5
mov rax, qword [rdx - 0x20]
mov rcx, qword [rsi + rbx]
mov qword [rsi + rbx], rax
mov rax, qword [rdx - 0x18]
mov qword [rdx - 0x20], rcx
mov rcx, qword [rsi + rbx + 8]
mov qword [rsi + rbx + 8], rax
mov rax, qword [rdx - 0x10]
mov qword [rdx - 0x18], rcx
mov rcx, qword [rsi + rbx + 0x10]
mov qword [rsi + rbx + 0x10], rax
mov qword [rdx - 0x10], rcx
mov rax, qword [rdx - 8]
mov qword [rsi + rbx + 0x18], rax
mov rsi, r9
cmp r14, rsi
jge 0x1400aae99
mov r12, qword [rsp + 0xc0]
nop dword [rax + rax]
lea rbp, [rsi - 1]
sar rbp, 1
mov rdi, rbp
shl rdi, 5
cmp qword [rdi + rbx + 0x18], r15
je 0x1400aadea
setl al
jmp 0x1400aae36
mov rcx, qword [rdi + rbx + 8]
lea rdx, [rsp + 0x60]
mov rax, qword [rdi + rbx + 0x10]
mov r8d, 1
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
movaps xmm1, xmmword [rsp + 0x50]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmmword [rsp + 0x60], xmm0
call fcn.1400158c0
shr eax, 0x1f
test al, al
je 0x1400aae8c
mov rax, qword [rdi + rbx]
shl rsi, 5
mov rcx, qword [rsi + rbx]
mov qword [rsi + rbx], rax
mov rax, qword [rdi + rbx + 8]
mov qword [rdi + rbx], rcx
mov rcx, qword [rsi + rbx + 8]
mov qword [rsi + rbx + 8], rax
mov rax, qword [rdi + rbx + 0x10]
mov qword [rdi + rbx + 8], rcx
mov rcx, qword [rsi + rbx + 0x10]
mov qword [rsi + rbx + 0x10], rax
mov qword [rdi + rbx + 0x10], rcx
mov rax, qword [rdi + rbx + 0x18]
mov qword [rsi + rbx + 0x18], rax
mov rsi, rbp
cmp r14, rbp
jl 0x1400aadd0
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x30]
shl rsi, 5
mov rcx, qword [rsi + rbx]
mov qword [rsi + rbx], rax
mov qword [rsi + rbx + 8], rbp
mov qword [rsi + rbx + 0x10], r13
mov qword [rsi + rbx + 0x18], r15
test rcx, rcx
je 0x1400aaedc
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400aaedc
mov edx, 2
mov r8d, 8
call fcn.140030bb0
mov rdx, qword [rsp + 0xc8]
mov r8d, 0
mov rcx, qword [rsp + 0xd8]
lea r9, [rdx - 1]
test r14, r14
jg 0x1400aac80
mov r15, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xd0]
add rsp, 0xa8
pop r14
pop rbx
ret