Function at 0x140076ae0
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 0x140076b00
test al, 1
je 0x140076cec
test al, 2
jne 0x140076d06
test al, 8
jne 0x140076c26
mov rdi, qword [rsi + 0x28]
mov eax, dword [0x14018af5c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x108]
cmp eax, 1
je 0x140076b7d
xorps xmm6, xmm6
test eax, eax
jne 0x140076ba9
mov eax, dword [0x14018af5c]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0xb8]
lea rdx, [0x1400ee750]
call fcn.1400d1ec0
mov byte [rbx + 0x108], 1
mov eax, dword [0x14018af5c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movups xmm6, xmmword [rax + 0xd8]
mov qword [rax + 0xd8], 1
mov qword [rax + 0xe0], rdi
lea rcx, [rsi + 0x30]
call fcn.140075890
mov qword [rsi + 0x30], 0xc
mov eax, dword [0x14018af5c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x108]
cmp eax, 1
je 0x140076c0a
test eax, eax
jne 0x140076c44
mov eax, dword [0x14018af5c]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
lea rcx, [rdi + 0xb8]
lea rdx, [0x1400ee750]
call fcn.1400d1ec0
mov byte [rdi + 0x108], 1
mov eax, dword [0x14018af5c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movups xmmword [rax + 0xd8], xmm6
jmp 0x140076c44
test al, 0x10
je 0x140076c44
mov rax, qword [rsi + 0x1f8]
test rax, rax
je 0x140076d8e
mov rcx, qword [rsi + 0x200]
call qword [rax + 0x10]
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400f4e30
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 0x140076d20
jne 0x140076cd9
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x140076c94
mov rcx, rdi
call fcn.140004780
lea rcx, [rsi + 0x30]
call fcn.140075890
mov rax, qword [rsi + 0x1f8]
test rax, rax
je 0x140076cb3
mov rcx, qword [rsi + 0x200]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x14018aea8]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
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, [0x140156730]
mov edx, 0x23
call fcn.1401100d0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140156770]
mov edx, 0x25
call fcn.1401100d0
ud2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [fcn.140018a50]
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
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
lea rdx, [0x1401567b8]
lea rcx, [rsp + 0x30]
call fcn.14010ff10
ud2
lea rax, str.waker_missing
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x14017b4d0]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.C:Usersmpx16.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_runtime_taskcore.rs
lea rcx, [rsp + 0x30]
call fcn.14010ff10
ud2