Function at 0x1400ae0e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1400ae100
test al, 1
je 0x1400ae2b7
test al, 2
jne 0x1400ae2cf
test al, 8
jne 0x1400ae14e
mov byte [rsp + 0x168], 4
mov rdi, qword [rsi + 0x28]
call fcn.14018d7c0
test rax, rax
je 0x1400ae175
mov r14, qword [rax + 0x20]
mov r15, qword [rax + 0x28]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x1400ae178
test al, 0x10
je 0x1400ae257
mov rax, qword [rsi + 0xb8]
test rax, rax
je 0x1400ae374
mov rcx, qword [rsi + 0xc0]
call qword [rax + 0x10]
jmp 0x1400ae257
xor r14d, r14d
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsp + 0x158]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rsp + 0x148]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rsp + 0x138]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rsp + 0xf8]
movups xmm1, xmmword [rsp + 0x108]
movups xmm2, xmmword [rsp + 0x118]
movups xmm3, xmmword [rsp + 0x128]
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
lea rbx, [rsi + 0x30]
mov rcx, rbx
call fcn.1400ac0f0
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x70], rax
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rbx + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x30], xmm3
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
call fcn.14018d7c0
test rax, rax
je 0x1400ae257
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r15
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.140196330
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x20], rax
shl eax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x20]
jb 0x1400ae2e7
jne 0x1400ae2a7
mov rcx, rsi
call fcn.1400abe80
mov r8, qword [rsi - 8]
mov rcx, qword [0x1402f90f8]
xor edx, edx
call fcn.1401d02bc
nop
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140274fd8]
mov edx, 0x23
call fcn.1400293d0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140275018]
mov edx, 0x25
call fcn.1400293d0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0xa8], rax
lea rax, [fcn.140028770]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], rax
lea rax, str.current:___sub:_0P_
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 2
mov qword [rsp + 0xe8], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], 2
lea rdx, [0x140275060]
lea rcx, [rsp + 0xc8]
call fcn.140028690
lea rax, str.waker_missing
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_runtime_taskcore.rs
lea rcx, [rsp + 0x30]
call fcn.140028690
ud2