Function at 0x14002c7b0
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 0x14002c7d0
test al, 1
je 0x14002ca58
test al, 2
jne 0x14002ca72
test al, 8
jne 0x14002c8f4
mov rdi, qword [rsi + 0x28]
mov eax, dword [0x14021d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x108]
cmp eax, 1
je 0x14002c84d
xorps xmm6, xmm6
test eax, eax
jne 0x14002c879
mov eax, dword [0x14021d30c]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0xc0]
lea rdx, [0x140109ca0]
call fcn.1400fb5f0
mov byte [rbx + 0x108], 1
mov eax, dword [0x14021d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movaps xmm6, xmmword [rax + 0xc0]
mov qword [rax + 0xc0], 1
mov qword [rax + 0xc8], rdi
lea rcx, [rsi + 0x30]
call fcn.14000bcb0
mov word [rsi + 0x30], 3
mov eax, dword [0x14021d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x108]
cmp eax, 1
je 0x14002c8d8
test eax, eax
jne 0x14002c912
mov eax, dword [0x14021d30c]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
lea rcx, [rdi + 0xc0]
lea rdx, [0x140109ca0]
call fcn.1400fb5f0
mov byte [rdi + 0x108], 1
mov eax, dword [0x14021d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movaps xmmword [rax + 0xc0], xmm6
jmp 0x14002c912
test al, 0x10
je 0x14002c912
mov rax, qword [rsi + 0x1510]
test rax, rax
je 0x14002cb18
mov rcx, qword [rsi + 0x1518]
call qword [rax + 0x10]
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14002c9bb
mov rdx, qword [rsi + 0x20]
mov qword [rsp + 0x60], rax
cmp rax, qword [rdx + 0x18]
jne 0x14002cafa
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsi + rax]
test rcx, rcx
je 0x14002c99d
mov r8, qword [rcx + 0x10]
mov r8, qword [r8 + 0x38]
mov rax, qword [rsi + rax + 8]
mov qword [rcx + r8 + 8], rax
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsi + rax + 8]
test rcx, rcx
je 0x14002c9b1
mov rdx, qword [rcx + 0x10]
mov rdx, qword [rdx + 0x38]
mov rax, qword [rsi + rax]
mov qword [rcx + rdx], rax
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x38]
mov qword [rsi + rax + 8], 0
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x38]
mov qword [rsi + rax], 0
mov rax, rsi
jmp 0x14002c9bd
cmp qword [rdx + 0x20], rsi
jne 0x14002c9bb
mov rcx, qword [rsi + rax + 8]
mov qword [rdx + 0x20], rcx
test rcx, rcx
jne 0x14002c967
cmp qword [rdx + 0x28], rsi
je 0x14002ca4b
xor eax, eax
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 0x14002ca8c
jne 0x14002ca38
mov rax, qword [rsi + 0x20]
lock dec qword [rax]
jne 0x14002c9ff
mov rcx, qword [rsi + 0x20]
call fcn.14001a190
lea rcx, [rsi + 0x30]
call fcn.14000bcb0
mov rax, qword [rsi + 0x1510]
test rax, rax
je 0x14002ca1e
mov rcx, qword [rsi + 0x1518]
call qword [rax + 0x18]
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
jmp fcn.140142490
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi + rax]
mov qword [rdx + 0x28], rcx
jmp 0x14002c97f
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401a94e8]
mov edx, 0x23
call fcn.140163440
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401a9528]
mov edx, 0x25
call fcn.140163440
ud2
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rax, [fcn.14008eb30]
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 + 0x28], rax
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 2
lea rdx, [0x1401a9570]
lea rcx, [rsp + 0x28]
call fcn.140163280
ud2
mov qword [rsp + 0x28], 0
add rdx, 0x18
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x28]
call fcn.140167bf0
ud2
lea rax, str.waker_missing
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
lea rax, [0x1401aa580]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str.C:Usersmqnu7.cargo_registry_src_rsproxy.cn_0dccff568467c15b_tokio_1.34.0_src_runtime_taskcore.rs
lea rcx, [rsp + 0x28]
call fcn.140163280
ud2