Function at 0x14006ac70
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rsi, rcx
mov rax, qword [rcx]
nop dword [rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14006ac90
test al, 1
je 0x14006ae7a
test al, 2
jne 0x14006ae92
test al, 8
jne 0x14006adb5
mov rdi, qword [rsi + 0x28]
mov eax, dword [0x14017d2b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x120]
cmp eax, 1
je 0x14006ad0d
xorps xmm6, xmm6
test eax, eax
jne 0x14006ad39
mov eax, dword [0x14017d2b4]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0xd0]
lea rdx, [0x1400e46c0]
call fcn.1400d3ad0
mov byte [rbx + 0x120], 1
mov eax, dword [0x14017d2b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movups xmm6, xmmword [rax + 0xf0]
mov qword [rax + 0xf0], 1
mov qword [rax + 0xf8], rdi
lea rcx, [rsi + 0x30]
call fcn.14006ab50
mov byte [rsi + 0xa8], 4
mov eax, dword [0x14017d2b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x120]
cmp eax, 1
je 0x14006ad99
test eax, eax
jne 0x14006add3
mov eax, dword [0x14017d2b4]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
lea rcx, [rdi + 0xd0]
lea rdx, [0x1400e46c0]
call fcn.1400d3ad0
mov byte [rdi + 0x120], 1
mov eax, dword [0x14017d2b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movups xmmword [rax + 0xf0], xmm6
jmp 0x14006add3
test al, 0x10
je 0x14006add3
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14006af16
mov rcx, qword [rsi + 0xc8]
call qword [rax + 0x10]
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400ec8c0
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 0x14006aeaa
jne 0x14006ae67
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14006ae22
mov rcx, rdi
call fcn.140068e50
lea rcx, [rsi + 0x30]
call fcn.14006ab50
mov rax, qword [rsi + 0xc0]
test rax, rax
je case.0x140048c13.415
mov rcx, qword [rsi + 0xc8]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x14017d208]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x80]
and al, 0x80
add byte [rax], al
add byte [rax - 0x7f], cl
invalid
nop
add byte [rax], al
add byte [rbx + 0x5f], bl
pop rsi
jmp qword [sym.imp.kernel32.dll_HeapFree]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14014ab80]
mov edx, 0x23
call fcn.1401046f0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14014abc0]
mov edx, 0x25
call fcn.1401046f0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [fcn.140012c90]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, str.current:___sub:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
add byte [rax - 0x39], cl
and al, 0x50
and al, 0x50
add byte [rax], al
add byte [rax], al
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
lea rdx, [0x14014ac08]
lea rcx, [rsp + 0x30]
call fcn.140104620
lea rax, str.waker_missing
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x14016f768]
mov qword [rsp + 0x40], rax
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]
and al, 0x30
call fcn.140104620
int3