Function at 0x14000c360
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140111200]
xor rax, rsp
mov qword [rbp + 0x18], rax
xor edx, edx
xor ecx, ecx
mov rsi, r8
call sub.ole32.dll_CoInitializeEx
test eax, eax
js 0x14000c877
mov qword [rsp + 0x130], rbx
lea rdx, str.fancyzones
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x138], rdi
call fcn.14000d450
lea rdx, [0x140111fb8]
mov rdi, rax
lea rcx, [rsp + 0x50]
call fcn.1400064f0
lea rdx, [0x1401199b8]
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.1400064f0
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.14000be40
lea rcx, [0x140119798]
call fcn.14000add0
mov rdi, qword [rsp + 0x138]
cmp eax, 1
jbe 0x14000c40f
lea rcx, [0x1401194f8]
call fcn.14000add0
test eax, eax
jne 0x14000c44b
mov rcx, qword [0x140119a58]
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], rbx
movups xmm0, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], rbx
movsd xmm1, qword [rbp - 0x60]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.14000ffc0
jmp 0x14000c84a
call fcn.14000acb0
cmp qword [0x140119930], 8
lea r8, [0x140119918]
mov edx, 1
cmovae r8, qword [0x140119918]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
jne 0x14000c4d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140009840
mov rdx, rax
lea rcx, str.Failed_to_create_mutex._
call fcn.14000dfe0
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14000c4d9
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c4d4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c8af
call fcn.14009ecd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000c51e
mov rcx, qword [0x140119a58]
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], rbx
movups xmm0, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], rbx
movsd xmm1, qword [rbp - 0x60]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.140010220
jmp 0x14000c84a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x20
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
xor ebx, ebx
test eax, eax
jne 0x14000c5f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140009840
mov rcx, qword [0x140119a58]
lea rax, str.Failed_to_set_priority_to_FancyZones:_
mov qword [rbp - 0x70], rax
lea r9, [rbp - 0x70]
mov qword [rbp - 0x68], 0x28
lea rax, [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x70]
lea r8d, [rbx + 3]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
movups xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x20], rax
call fcn.14000fc30
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14000c5f0
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c5eb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c8b5
call fcn.14009ecd8
xorps xmm0, xmm0
mov qword [rbp - 0x20], rbx
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], bx
jne 0x14000c606
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.140005220
cmp qword [rbp - 0x20], rbx
je 0x14000c65b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, vtable.std::_Func_impl_no_alloc_class__int___cdecl_wWinMain_struct_HINSTANCE______ptr64__struct_HINSTANCE______ptr64__wchar_t____ptr64__int_::_17::_lambda_1___void__unsigned_long_int_.0
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x50]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x30]
call fcn.1400064f0
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140009550
cmp qword [0x140111fa0], rbx
mov rax, qword [0x140111f88]
movups xmm0, xmmword [rax - 0x10]
movups xmmword [rbp - 0x70], xmm0
je 0x14000c67a
mov ecx, 5
int 0x29
xorps xmm0, xmm0
lea r9, [0x140111fa0]
lea r8, [0x140111f80]
lea rdx, section..text
lea rcx, [rbp - 0x70]
movdqu xmmword [0x140111fa8], xmm0
call qword [sym.imp.ADVAPI32.dll_EventRegister]
test eax, eax
jne 0x14000c6c3
mov r8, qword [0x140111f88]
lea edx, [rax + 2]
mov rcx, qword [0x140111fa0]
movzx r9d, word [r8]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
xorps xmm0, xmm0
lea rdx, [0x1400ea648]
xor eax, eax
lea rcx, [rsp + 0x30]
xorps xmm1, xmm1
mov qword [rbp + 0x10], rax
movups xmmword [rbp - 0x10], xmm0
lea r8d, [rax + 0xa]
movups xmmword [rbp], xmm0
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
call fcn.140005220
xor r9d, r9d
lea r8, [rbp - 0x70]
mov edx, 0x81
lea rcx, [0x140000000]
call qword [sym.imp.USER32.dll_LoadStringW]
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
xorps xmm1, xmm1
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
test eax, eax
jne 0x14000c737
lea r8d, [rax + 0xe]
lea rdx, str.IDS_FANCYZONES
jmp 0x14000c73e
mov rdx, qword [rbp - 0x70]
movsxd r8, eax
call fcn.140005220
lea rcx, [rbp - 0x10]
call fcn.1400059a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000c78e
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c789
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c871
call fcn.14009ecd8
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000c7d0
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c7cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c871
call fcn.14009ecd8
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14000c7df
mov rax, qword [rcx]
call qword [rax + 0x18]
mov byte [rbp - 0x6c], bl
mov rdx, qword [rbp - 0x70]
call fcn.140009770
mov rcx, qword [0x140111fa0]
mov qword [0x140111fa0], rbx
mov dword [0x140111f80], ebx
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
lea rcx, [rbp - 0x10]
call fcn.140005cc0
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14000c84a
mov rcx, qword [rbp - 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c845
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c871
call fcn.14009ecd8
mov rbx, qword [rsp + 0x130]
xor eax, eax
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.14009ea10
mov rsi, qword [rsp + 0x148]
add rsp, 0x120
pop rbp
ret
call fcn.1400a5cd4
int3
lfence
lea rcx, str.C:_a_work1_s_srcmodules_fancyzonesFancyZonesx64ReleaseGenerated_Fileswinrt_base.h
mov dword [rsp + 0x30], 0x197f
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x30]
lea rcx, str.void___cdecl_winrt::init_apartment_const_enum_winrt::apartment_type_
mov dword [rsp + 0x34], 0xd
mov qword [rsp + 0x40], rcx
mov ecx, eax
call fcn.140004ff0
int3
call fcn.1400a5cd4
int3
call fcn.1400a5cd4
int3