Function at 0x1400af4d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x428
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x398], 0xfffffffffffffffe
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400af4f0
test al, 1
je 0x1400af748
test al, 2
jne 0x1400af762
test al, 8
mov qword [rbp + 0x378], rcx
jne 0x1400af5e1
mov qword [rbp - 0x60], 0xc
mov rsi, qword [rcx + 0x28]
mov eax, dword [0x14026d30c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x100]
cmp eax, 1
je 0x1400af59e
test eax, eax
jne 0x1400af60f
mov byte [rbp + 0x397], 1
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0xb0]
lea rdx, [0x140173de0]
call fcn.140157820
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x100], 1
mov rcx, qword [rbp + 0x378]
mov eax, dword [0x14026d30c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov rdx, qword [rax + 0xd0]
mov qword [rbp + 0x388], rdx
mov rdx, qword [rax + 0xd8]
mov qword [rbp + 0x370], rdx
mov qword [rax + 0xd0], 1
mov qword [rax + 0xd8], rsi
jmp 0x1400af618
test al, 0x10
je 0x1400af6f3
mov rcx, qword [rbp + 0x378]
mov rax, qword [rcx + 0x1f8]
test rax, rax
je 0x1400af806
mov rcx, qword [rcx + 0x200]
call qword [rax + 0x10]
jmp 0x1400af6f3
xor eax, eax
mov qword [rbp + 0x388], rax
lea rsi, [rcx + 0x30]
lea rcx, [rbp + 0x158]
lea rdx, [rbp - 0x60]
mov r8d, 0x1b8
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x380], rsi
mov rcx, rsi
call fcn.1400ac6a0
lea rdx, [rbp + 0x158]
mov r8d, 0x1b8
mov rcx, qword [rbp + 0x380]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x100]
cmp eax, 1
mov rsi, qword [rbp + 0x370]
je 0x1400af6cb
test eax, eax
jne 0x1400af6f3
mov byte [rbp + 0x397], 0
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0xb0]
lea rdx, [0x140173de0]
call fcn.140157820
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x100], 1
mov eax, dword [0x14026d30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rbp + 0x388]
mov qword [rax + 0xd0], rcx
mov qword [rax + 0xd8], rsi
mov rsi, qword [rbp + 0x378]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14017e230
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rbp + 0x368], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rbp + 0x368]
jb 0x1400af77c
jne 0x1400af73d
mov rcx, rsi
call fcn.1400af3d0
nop
add rsp, 0x428
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401f5b08]
mov edx, 0x23
call fcn.1401949c0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401f5b48]
mov edx, 0x25
call fcn.1401949c0
ud2
mov qword [rbp + 0x360], rax
lea rax, [rbp + 0x360]
mov qword [rbp + 0x340], rax
lea rax, [fcn.140011310]
mov qword [rbp + 0x348], rax
lea rcx, [rbp + 0x368]
mov qword [rbp + 0x350], rcx
mov qword [rbp + 0x358], rax
lea rax, str.current:___sub:___
mov qword [rbp + 0x310], rax
mov qword [rbp + 0x318], 2
mov qword [rbp + 0x330], 0
lea rax, [rbp + 0x340]
mov qword [rbp + 0x320], rax
mov qword [rbp + 0x328], 2
lea rdx, [0x1401f5b90]
lea rcx, [rbp + 0x310]
call fcn.140194800
ud2
lea rax, str.waker_missing
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], 1
lea rax, [0x140219998]
mov qword [rbp + 0x168], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
lea rdx, str.C:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.34.0_src_runtime_taskcore.rs
lea rcx, [rbp + 0x158]
call fcn.140194800
ud2