Function at 0x18006caf0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x180094030]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
cmp eax, 0x37ac16f1
jne 0x18006cb4d
lea r8, [0x1800984c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x78], rax
jmp 0x18006cb75
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0xb8]
call fcn.18001b0e0
call fcn.180068590
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.18001c0b0
nop
mov dword [rsp + 0x54], 4
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x54]
movsxd rcx, ecx
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x58], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x180098268]
mov rcx, qword [rsp + 0x58]
call fcn.18001c1b0
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea r8, [0x180098198]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.1800250a0
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroy
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x180093a70]
cmp dword [rcx + rax*4], 1
jne 0x18006cc41
movsx rax, word [rsp + 0x20]
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x180098348]
mov rcx, qword [rsp + 0x60]
call fcn.18001c1b0
mov qword [rsp + 0x70], rax
xor r9d, r9d
lea r8, [0x1800982f8]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xb8]
call fcn.1800250a0
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.18001b0e0
mov r8, 0xffffffffffffffff
mov rdx, qword [0x180097bb8]
lea rcx, [rsp + 0xd0]
call fcn.18001c1b0
nop
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xd0]
call fcn.180024900
mov dword [rsp + 0x38], 9
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x38]
movsxd rcx, ecx
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
lea rcx, [rsp + 0xb8]
call fcn.18000bd00
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x48], 0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x48]
movsxd rcx, ecx
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
cmp qword [rsp + 0x28], 0
jne 0x18006cd86
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
add eax, 0x556ff00
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0xd0]
call fcn.180013670
nop
lea rcx, [rsp + 0xb8]
call fcn.180013670
mov eax, dword [rsp + 0x40]
jmp 0x18006ced3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18006ce5b
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
add eax, 0xa35afe
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
cmp qword [0x18011cd80], 0
je 0x18006cddd
mov rcx, qword [rsp + 0x28]
call qword [0x18011cd80]
mov dword [rsp + 0x50], eax
jmp 0x18006cde5
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0xd0]
call fcn.180013670
nop
lea rcx, [rsp + 0xb8]
call fcn.180013670
mov eax, dword [rsp + 0x34]
jmp 0x18006ced3
mov rcx, qword [rsp + 0x100]
call fcn.18006cef0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x18006ce98
cmp qword [0x18011cd80], 0
je 0x18006ce8e
mov rcx, qword [rsp + 0x28]
call qword [0x18011cd80]
mov dword [rsp + 0x44], eax
jmp 0x18006ce96
mov dword [rsp + 0x44], 0
jmp 0x18006ceac
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0xb8], rcx
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xd0]
call fcn.180013670
nop
lea rcx, [rsp + 0xb8]
call fcn.180013670
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.18004a8d0
add rsp, 0xf8
ret