Function at 0x1400a8330
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 0x1400a8350
test al, 1
je 0x1400a85a8
test al, 2
jne 0x1400a85c2
test al, 8
mov qword [rbp + 0x378], rcx
jne 0x1400a8441
mov qword [rbp - 0x60], recv
mov rsi, qword [rcx + 0x28]
mov eax, dword [0x14023c30c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x100]
cmp eax, 1
je 0x1400a83fe
test eax, eax
jne 0x1400a846f
mov byte [rbp + 0x397], 1
mov eax, dword [0x14023c30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0xb0]
lea rdx, [0x140165fa0]
call fcn.14014a0c0
mov eax, dword [0x14023c30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x100], 1
mov rcx, qword [rbp + 0x378]
mov eax, dword [0x14023c30c]
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 0x1400a8478
test al, 0x10
je 0x1400a8553
mov rcx, qword [rbp + 0x378]
mov rax, qword [rcx + 0x1f8]
test rax, rax
je 0x1400a8666
mov rcx, qword [rcx + 0x200]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400a8553
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.1400a6fe0
lea rdx, [rbp + 0x158]
mov r8d, 0x1b8
mov rcx, qword [rbp + 0x380]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x14023c30c]
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 0x1400a852b
test eax, eax
jne 0x1400a8553
mov byte [rbp + 0x397], 0
mov eax, dword [0x14023c30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0xb0]
lea rdx, [0x140165fa0]
call fcn.14014a0c0
mov eax, dword [0x14023c30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x100], 1
mov eax, dword [0x14023c30c]
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.140172410
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 0x1400a85dc
jne 0x1400a859d
mov rcx, rsi
call fcn.1400a8230
nop
add rsp, 0x428
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401c6388]
mov edx, 0x23
call fcn.140186b70
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401c63c8]
mov edx, 0x25
call fcn.140186b70
ud2
mov qword [rbp + 0x360], rax
lea rax, [rbp + 0x360]
mov qword [rbp + 0x340], rax
lea rax, [fcn.140013600]
mov qword [rbp + 0x348], rax
add eax, dword [rax]
add byte [rax - 0x73], cl
lea ebp, [rax + 3]
add byte [rax], al
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, [0x1401c6410]
lea rcx, [rbp + 0x310]
call fcn.1401869b0
ud2
lea rax, str.waker_missing
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], 1
lea rax, [0x1401ea218]
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.1401869b0
ud2
invalid