Function at 0x1400c3190
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1400c31b0
test al, 1
je 0x1400c33ee
test al, 2
jne 0x1400c3406
test al, 8
jne 0x1400c326b
mov rdi, qword [rsi + 0x28]
mov eax, dword [0x1401542b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x1400c3292
cmp eax, 1
je 0x1400c32bf
xor ebx, ebx
mov eax, dword [rsi + 0x30]
cmp eax, 1
jne 0x1400c32ec
cmp qword [rsi + 0x38], 0
je 0x1400c32f9
mov rdi, qword [rsi + 0x40]
test rdi, rdi
je 0x1400c32f9
mov r14, qword [rsi + 0x48]
mov rax, qword [r14]
test rax, rax
je 0x1400c323c
mov rcx, rdi
call rax
cmp qword [r14 + 8], 0
je 0x1400c32f9
cmp qword [r14 + 0x10], 0x11
jb 0x1400c3252
mov rdi, qword [rdi - 8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400c32f9
test al, 0x10
je 0x1400c336b
mov rax, qword [rsi + 0x318]
test rax, rax
je 0x1400c348d
mov rcx, qword [rsi + 0x320]
call qword [rax + 0x10]
jmp 0x1400c336b
mov eax, dword [0x1401542b4]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0x80]
lea rdx, [0x14003a8d0]
call fcn.1400d7b40
mov byte [rbx + 0xc0], 1
mov eax, dword [0x1401542b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rbx, qword [rax + 0xa8]
mov qword [rax + 0xa8], rdi
mov eax, dword [rsi + 0x30]
cmp eax, 1
je 0x1400c3213
test eax, eax
jne 0x1400c32f9
lea rcx, [rsi + 0x38]
call fcn.1400c2640
mov dword [rsi + 0x30], 2
mov eax, dword [0x1401542b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xc0]
cmp eax, 2
je 0x1400c336b
cmp eax, 1
je 0x1400c3351
mov eax, dword [0x1401542b4]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
lea rcx, [rdi + 0x80]
lea rdx, [0x14003a8d0]
call fcn.1400d7b40
mov byte [rdi + 0xc0], 1
mov eax, dword [0x1401542b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0xa8], rbx
mov rax, qword [rsi + 0x328]
test rax, rax
je 0x1400c33a2
mov r8, qword [rsi + 0x330]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
call qword [r8 + 0x28]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400e2520
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x28], rax
shl eax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x1400c341e
jne 0x1400c33e0
mov rcx, rsi
call fcn.1400c2ad0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140142e70]
mov edx, 0x23
call fcn.1400f8090
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140142eb0]
mov edx, 0x25
call fcn.1400f8090
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rax, [fcn.140009b10]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
lea rdx, [0x140142ef8]
lea rcx, [rsp + 0x30]
call fcn.1400f8050
lea rax, str.waker_missing
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.42.0_src_runtime_taskcore.rs
lea rcx, [rsp + 0x30]
call fcn.1400f8050
int3