Function at 0x1401138d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x4c8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x430], xmm6
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140113900
test al, 1
je 0x140113b17
test al, 2
jne 0x140113b31
test al, 8
mov qword [rbp + 0x3f8], rcx
jne 0x140113a97
mov qword [rbp - 0x58], 5
mov rsi, qword [rcx + 0x28]
mov eax, dword [0x14042c614]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x168]
cmp eax, 1
je 0x1401139ad
xorps xmm0, xmm0
test eax, eax
jne 0x1401139d9
mov byte [rbp + 0x41f], 1
mov eax, dword [0x14042c614]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x118]
lea rdx, [0x140313d60]
call fcn.1402fe0b0
mov eax, dword [0x14042c614]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x168], 1
mov rcx, qword [rbp + 0x3f8]
mov eax, dword [0x14042c614]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movups xmm0, xmmword [rax + 0x138]
mov qword [rax + 0x138], 1
mov qword [rax + 0x140], rsi
movaps xmmword [rbp + 0x400], xmm0
add rcx, 0x30
mov qword [rbp + 0x410], rcx
call fcn.140077fc0
lea rdx, [rbp - 0x58]
mov r8d, 0x3d8
mov rcx, qword [rbp + 0x410]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x14042c614]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x168]
cmp eax, 1
movaps xmm6, xmmword [rbp + 0x400]
je 0x140113a7b
test eax, eax
jne 0x140113abc
mov byte [rbp + 0x41f], 0
mov eax, dword [0x14042c614]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x118]
lea rdx, [0x140313d60]
call fcn.1402fe0b0
mov eax, dword [0x14042c614]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x168], 1
mov eax, dword [0x14042c614]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movups xmmword [rax + 0x138], xmm6
jmp 0x140113abc
test al, 0x10
je 0x140113abc
mov rcx, qword [rbp + 0x3f8]
mov rax, qword [rcx + 0x418]
test rax, rax
je 0x140113bd5
mov rcx, qword [rcx + 0x420]
call qword [rax + 0x10]
mov rsi, qword [rbp + 0x3f8]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1403229a0
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rbp + 0x3f0], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rbp + 0x3f0]
jb 0x140113b4b
jne 0x140113b06
mov rcx, rsi
call fcn.14010f120
movaps xmm6, xmmword [rbp + 0x430]
add rsp, 0x4c8
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1403aa5a0]
mov edx, 0x23
call fcn.140354ff0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403aa5e0]
mov edx, 0x25
call fcn.140354ff0
ud2
mov qword [rbp + 0x3e8], rax
lea rax, [rbp + 0x3e8]
mov qword [rbp + 0x3c8], rax
lea rax, [fcn.14021f1f0]
mov qword [rbp + 0x3d0], rax
lea rcx, [rbp + 0x3f0]
mov qword [rbp + 0x3d8], rcx
mov qword [rbp + 0x3e0], rax
lea rax, str.current:___sub:
mov qword [rbp + 0x380], rax
mov qword [rbp + 0x388], 2
mov qword [rbp + 0x3a0], 0
lea rax, [rbp + 0x3c8]
mov qword [rbp + 0x390], rax
mov qword [rbp + 0x398], 2
lea rdx, [0x1403aa628]
lea rcx, [rbp + 0x380]
call fcn.140354e30
ud2
lea rax, str.waker_missing
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
lea rax, str.internal_error:_entered_unreachable_code:_unknown_state:
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
lea rdx, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.29.1_src_runtime_taskcore.rs
lea rcx, [rbp - 0x58]
call fcn.140354e30
ud2