Function at 0x1400e3700
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rcx
mov rax, qword [rcx]
nop dword [rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1400e3720
test al, 1
je 0x1400e390c
test al, 2
jne 0x1400e3926
test al, 8
jne 0x1400e3846
mov rdi, qword [rsi + 0x28]
mov eax, dword [0x1402153fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xe0]
cmp eax, 1
je 0x1400e379d
xorps xmm6, xmm6
test eax, eax
jne 0x1400e37c9
mov eax, dword [0x1402153fc]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0x90]
lea rdx, [0x1401438a0]
call fcn.14012dc40
mov byte [rbx + 0xe0], 1
mov eax, dword [0x1402153fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movups xmm6, xmmword [rax + 0xb0]
mov qword [rax + 0xb0], 1
mov qword [rax + 0xb8], rdi
lea rcx, [rsi + 0x30]
call fcn.1400e25d0
mov qword [rsi + 0x30], 3
mov eax, dword [0x1402153fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xe0]
cmp eax, 1
je 0x1400e382a
test eax, eax
jne 0x1400e3864
mov eax, dword [0x1402153fc]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
lea rcx, [rdi + 0x90]
lea rdx, [0x1401438a0]
call fcn.14012dc40
mov byte [rdi + 0xe0], 1
mov eax, dword [0x1402153fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movups xmmword [rax + 0xb0], xmm6
jmp 0x1400e3864
test al, 0x10
je 0x1400e3864
mov rax, qword [rsi + 0xe8]
test rax, rax
je 0x1400e39a3
mov rcx, qword [rsi + 0xf0]
call qword [rax + reloc.WS2_32.dll_recv]
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14014a110
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x30], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x30]
jb 0x1400e3940
jne 0x1400e38f9
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x1400e38b4
mov rcx, rdi
call fcn.140005950
lea rcx, [rsi + 0x30]
call fcn.1400e25d0
mov rax, qword [rsi + 0xe8]
test rax, rax
je 0x1400e38d3
mov rcx, qword [rsi + 0xf0]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140215360]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401e0910]
mov edx, 0x23
call fcn.140160fb0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401e08d0]
mov edx, 0x25
call fcn.140160fb0
ud2
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rax, [fcn.140058ea0]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 2
lea rdx, str.current:___sub:___t
lea rsi, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov r8d, 2
mov eax, 2
mov rcx, rsi
call fcn.140144a40
lea rdx, [0x1401e0958]
adc eax, 0xfcfbf
mov rcx, rsi
call fcn.140160e20
ud2
lea rax, str.waker_missing
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rax, [0x140204680]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea rdx, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.32.0_src_runtime_taskcore.rs_b
lea rcx, [rsp + 0x60]
lea ecx, [rsp + 0x60]
call fcn.140160e20
ud2