Function at 0x1400c0480
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1400c04a0
test al, 1
je 0x1400c0691
test al, 2
jne 0x1400c06ab
test al, 8
jne 0x1400c05d8
mov rdi, qword [rsi + 0x28]
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xe0]
cmp eax, 1
je 0x1400c051a
test eax, eax
jne 0x1400c0553
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0x90]
lea rdx, [0x140150e90]
call fcn.14013b2f0
mov byte [rbx + 0xe0], 1
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rbx, qword [rax + 0xb0]
mov r14, qword [rax + 0xb8]
mov qword [rax + 0xb0], 1
mov qword [rax + 0xb8], rdi
cmp rbx, 2
jne 0x1400c0555
xor ebx, ebx
lea rcx, [rsi + 0x30]
call fcn.1400be650
mov byte [rsi + 0xa8], 4
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xe0]
cmp eax, 1
je 0x1400c05b5
test eax, eax
jne 0x1400c05f6
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
lea rcx, [rdi + 0x90]
lea rdx, [0x140150e90]
call fcn.14013b2f0
mov byte [rdi + 0xe0], 1
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0xb0], rbx
mov qword [rax + 0xb8], r14
jmp 0x1400c05f6
test al, 0x10
je 0x1400c05f6
mov rax, qword [rsi + 0xc8]
test rax, rax
je 0x1400c072c
mov rcx, qword [rsi + 0xc0]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1401577f0
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x28], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x1400c06c5
jne 0x1400c0683
mov rax, qword [rsi + 0x20]
lock dec qword [rax]
jne 0x1400c0644
mov rcx, qword [rsi + 0x20]
call fcn.1400c0780
lea rcx, [rsi + 0x30]
call fcn.1400be650
mov rax, qword [rsi + 0xc8]
test rax, rax
je 0x1400c0663
mov rcx, qword [rsi + 0xc0]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140221370]
xor edx, edx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401f10d0]
mov edx, 0x23
call fcn.14016f3d0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401f1110]
mov edx, 0x25
call fcn.14016f3d0
ud2
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rax, [fcn.14005a1b0]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
lea rax, str.current:___sub:__
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
lea rdx, [0x1401f1158]
jmp 0x1400c0766
lea rax, str.waker_missing
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x30], 0
lea rax, method..virtual_32
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea rdx, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.32.0_src_runtime_taskcore.rs
lea rcx, [rsp + 0x30]
call fcn.14016f2f0
ud2