Function at 0x1400c2970
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1400c2990
test al, 1
je 0x1400c2b4d
test al, 2
jne 0x1400c2b67
test al, 8
jne 0x1400c29e4
mov byte [rsp + 0x170], 4
mov rdi, qword [rsi + 0x28]
call fcn.1401b1020
test rax, rax
je 0x1400c2a0b
mov rbx, qword [rax + 0x30]
mov r14, qword [rax + 0x38]
mov qword [rax + 0x30], 1
mov qword [rax + 0x38], rdi
cmp rbx, 2
je 0x1400c2a0b
jmp 0x1400c2a0d
test al, 0x10
je 0x1400c2aec
mov rax, qword [rsi + 0xc8]
test rax, rax
je 0x1400c2c10
mov rcx, qword [rsi + 0xc0]
call qword [rax + 0x10]
jmp 0x1400c2aec
xor ebx, ebx
lea rdi, [rsi + 0x30]
movups xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x100]
movups xmm1, xmmword [rsp + 0x110]
movups xmm2, xmmword [rsp + 0x120]
movups xmm3, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
mov rcx, rdi
call fcn.1400c1b60
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rdi + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rdi + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x30], xmm3
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
call fcn.1401b1020
test rax, rax
je 0x1400c2aec
mov qword [rax + 0x30], rbx
mov qword [rax + 0x38], r14
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1401bf240
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x20], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x20]
jb 0x1400c2b81
jne 0x1400c2b3d
mov rcx, rsi
call fcn.1400c1800
mov r8, qword [rsi - 8]
mov rcx, qword [0x14031a128]
xor edx, edx
call fcn.1401f903c
nop
add rsp, 0x180
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140298d68]
mov edx, 0x23
call fcn.14002cb80
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140298da8]
mov edx, 0x25
call fcn.14002cb80
ud2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0xb0], rax
lea rax, [fcn.14002bad0]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], rax
lea rax, str.current:___sub:__r__
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], 2
mov qword [rsp + 0xe0], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 2
lea rdx, [0x140298df0]
lea rcx, [rsp + 0xd0]
call fcn.14002ba10
ud2
lea rax, str.waker_missing
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 0
lea rax, [0x1402be068]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea rdx, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.36.0_src_runtime_taskcore.rs
lea rcx, [rsp + 0x30]
call fcn.14002ba10
ud2