Function at 0x14002d670
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 0x14002d690
test al, 1
je 0x14002d918
test al, 2
jne 0x14002d932
test al, 8
jne 0x14002d7b4
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 0x14002d70d
xorps xmm6, xmm6
test eax, eax
jne 0x14002d739
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.14000c1c0
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 0x14002d798
test eax, eax
jne 0x14002d7d2
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 0x14002d7d2
test al, 0x10
je 0x14002d7d2
mov rax, qword [rsi + 0x1e8]
test rax, rax
je 0x14002d9d8
mov rcx, qword [rsi + 0x1f0]
call qword [rax + 0x10]
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14002d87b
mov rdx, qword [rsi + 0x20]
mov qword [rsp + 0x60], rax
cmp rax, qword [rdx + 0x18]
jne 0x14002d9ba
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsi + rax]
test rcx, rcx
je 0x14002d85d
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 0x14002d871
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 0x14002d87d
cmp qword [rdx + 0x20], rsi
jne 0x14002d87b
mov rcx, qword [rsi + rax + 8]
mov qword [rdx + 0x20], rcx
test rcx, rcx
jne 0x14002d827
cmp qword [rdx + 0x28], rsi
je 0x14002d90b
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 0x14002d94c
jne 0x14002d8f8
mov rax, qword [rsi + 0x20]
lock dec qword [rax]
jne 0x14002d8bf
mov rcx, qword [rsi + 0x20]
call fcn.14001a190
lea rcx, [rsi + 0x30]
call fcn.14000c1c0
mov rax, qword [rsi + 0x1e8]
test rax, rax
je 0x14002d8de
mov rcx, qword [rsi + 0x1f0]
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 0x14002d83f
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