Function at 0x140113120
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x4b8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x420], xmm6
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140113150
test al, 1
je 0x140113367
test al, 2
jne 0x140113381
test al, 8
mov qword [rbp + 0x3e8], rcx
jne 0x1401132e7
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 0x1401131fd
xorps xmm0, xmm0
test eax, eax
jne 0x140113229
mov byte [rbp + 0x40f], 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 + 0x3e8]
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 + 0x3f0], xmm0
add rcx, 0x30
mov qword [rbp + 0x400], rcx
call fcn.1400795e0
lea rdx, [rbp - 0x58]
mov r8d, 0x3c8
mov rcx, qword [rbp + 0x400]
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 + 0x3f0]
je 0x1401132cb
test eax, eax
jne 0x14011330c
mov byte [rbp + 0x40f], 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 0x14011330c
test al, 0x10
je 0x14011330c
mov rcx, qword [rbp + 0x3e8]
mov rax, qword [rcx + 0x408]
test rax, rax
je 0x140113425
mov rcx, qword [rcx + 0x410]
call qword [rax + 0x10]
mov rsi, qword [rbp + 0x3e8]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14031f680
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rbp + 0x3e0], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rbp + 0x3e0]
jb 0x14011339b
jne 0x140113356
mov rcx, rsi
call fcn.14010ea90
movaps xmm6, xmmword [rbp + 0x420]
add rsp, 0x4b8
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 + 0x3d8], rax
lea rax, [rbp + 0x3d8]
mov qword [rbp + 0x3b8], rax
lea rax, [fcn.14021f1f0]
mov qword [rbp + 0x3c0], rax
lea rcx, [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rcx
mov qword [rbp + 0x3d0], rax
lea rax, str.current:___sub:
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x378], 2
mov qword [rbp + 0x390], 0
lea rax, [rbp + 0x3b8]
mov qword [rbp + 0x380], rax
mov qword [rbp + 0x388], 2
lea rdx, [0x1403aa628]
lea rcx, [rbp + 0x370]
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