Function at 0x140110760
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 0x140110790
test al, 1
je 0x1401109c2
test al, 2
jne 0x1401109dc
test al, 8
mov qword [rbp + 0x3e8], rcx
jne 0x140110942
mov byte [rbp + 0x181], 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 0x14011083c
xorps xmm0, xmm0
test eax, eax
jne 0x140110868
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
lea rsi, [rcx + 0x30]
lea rcx, [rbp + 0x188]
lea rdx, [rbp - 0x60]
mov r8d, 0x1e8
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x400], rsi
mov rcx, rsi
call fcn.14006d470
lea rdx, [rbp + 0x188]
mov r8d, 0x1e8
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 0x140110926
test eax, eax
jne 0x140110967
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 0x140110967
test al, 0x10
je 0x140110967
mov rcx, qword [rbp + 0x3e8]
mov rax, qword [rcx + 0x228]
test rax, rax
je 0x140110a80
mov rcx, qword [rcx + 0x230]
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 0x1401109f6
jne 0x1401109b1
mov rcx, rsi
call fcn.14010f030
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 + 0x188], rax
mov qword [rbp + 0x190], 1
lea rax, str.internal_error:_entered_unreachable_code:_unknown_state:
mov qword [rbp + 0x198], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
lea rdx, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.29.1_src_runtime_taskcore.rs
lea rcx, [rbp + 0x188]
call fcn.140354e30
ud2