Function at 0x18006eb20
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x48], 0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x48]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x20], 0
mov edx, 1
lea rcx, [rsp + 0xb8]
call fcn.18001b1e0
call fcn.180069f20
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.18001bf80
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x70], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x18009aea8]
mov rcx, qword [rsp + 0x70]
call fcn.18001c140
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea r8, [0x18009ae18]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xb8]
call fcn.180025c80
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x60], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x18009af80]
mov rcx, qword [rsp + 0x60]
call fcn.18001c140
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea r8, [0x18009af3c]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.180025c80
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.18001b1e0
mov r8, 0xffffffffffffffff
mov rdx, qword [0x18009a4e8]
lea rcx, [rsp + 0xd0]
call fcn.18001c140
nop
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xd0]
call fcn.180025780
lea rcx, [rsp + 0xb8]
call fcn.180013930
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18006ece6
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0xd0]
call fcn.1800136e0
nop
lea rcx, [rsp + 0xb8]
call fcn.1800136e0
mov eax, dword [rsp + 0x50]
jmp 0x18006ef9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18006ee77
mov dword [rsp + 0x3c], 0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x3c]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
lea rax, [0x18009af84]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18006ed7f
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18006ed7f
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
add eax, 0x2909aa
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
cmp qword [0x18011fba8], 0
je 0x18006edc5
mov rcx, qword [rsp + 0x28]
call qword [0x18011fba8]
mov dword [rsp + 0x4c], eax
jmp 0x18006edcd
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0xd0]
call fcn.1800136e0
nop
lea rcx, [rsp + 0xb8]
call fcn.1800136e0
mov eax, dword [rsp + 0x44]
jmp 0x18006ef9d
mov rcx, qword [rsp + 0x100]
call fcn.18006efc0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18006ef0a
cmp qword [0x18011fba8], 0
je 0x18006eeaa
mov rcx, qword [rsp + 0x28]
call qword [0x18011fba8]
mov dword [rsp + 0x38], eax
jmp 0x18006eeb2
mov dword [rsp + 0x38], 0
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff8d2
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff8ca
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
jmp 0x18006ef49
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0xb8], rcx
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff8bf
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xd0]
call fcn.1800136e0
nop
lea rcx, [rsp + 0xb8]
call fcn.1800136e0
mov eax, dword [rsp + 0x40]
jmp 0x18006ef9d
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.18004b890
add rsp, 0xf8
ret