Function at 0x140052270
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov rax, qword [rcx]
nop dword [rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140052290
test al, 1
je 0x1400524bc
test al, 2
jne 0x1400524d6
test al, 8
mov qword [rbp + 0x40], rcx
jne 0x140052372
mov qword [rbp - 8], 4
mov rsi, qword [rcx + 0x20]
mov eax, dword [0x14023c30c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x100]
cmp eax, 1
je 0x140052335
test eax, eax
jne 0x140052397
mov byte [rbp + 0x57], 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 + 0x40]
mov eax, dword [0x14023c30c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov rdx, qword [rax + 0xd0]
mov qword [rbp + 0x48], rdx
mov rdx, qword [rax + 0xd8]
mov qword [rbp + 0x30], rdx
mov qword [rax + 0xd0], 1
mov qword [rax + 0xd8], rsi
jmp 0x14005239d
test al, 0x10
je 0x140052455
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx + 0x60]
test rax, rax
je 0x140052550
mov rcx, qword [rcx + 0x68]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140052455
xor eax, eax
mov qword [rbp + 0x48], rax
add rcx, 0x28
mov qword [rbp + 0x38], rcx
call fcn.1400504d0
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x38]
mov qword [rcx + 0x20], rax
movups xmm0, xmmword [rbp - 8]
movups xmm1, xmmword [rbp + 8]
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx], xmm0
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 + 0x30]
je 0x140052430
test eax, eax
jne 0x140052455
mov byte [rbp + 0x57], 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 + 0x48]
mov qword [rax + 0xd0], rcx
mov qword [rax + 0xd8], rsi
mov qword [rbp + 0x28], 1
mov rax, 0xffffffffffffffc0
mov rdx, qword [rbp + 0x40]
lock xadd qword [rdx], rax
shr rax, 6
cmp rax, qword [rbp + 0x28]
jb 0x1400524f0
jne 0x1400524b1
lea rcx, [rdx + 0x28]
call fcn.1400504d0
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x14005249a
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x68]
call qword [rax + 0x18]
mov rax, qword [rbp + 0x40]
mov r8, qword [rax - 8]
mov rcx, qword [0x14023c258]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0xe8
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 - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140013600]
mov qword [rbp - 0x28], rax
lea rcx, [rbp + 0x28]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 2
lea rdx, [0x1401c6410]
lea rcx, [rbp - 0x60]
call fcn.1401869b0
ud2
lea rax, str.waker_missing
mov qword [rbp - 8], rax
mov qword [rbp], 1
lea rax, [0x1401ea218]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
lea rdx, str.C:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.34.0_src_runtime_taskcore.rs
lea rcx, [rbp - 8]
call fcn.1401869b0
ud2