Function at 0x1800636a0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x2c], 0
mov eax, 7
mov word [rsp + 0x28], ax
movsx rax, word [rsp + 0x28]
lea rcx, [0x180087a70]
cmp dword [rcx + rax*4], 1
jne 0x180063711
movsx rax, word [rsp + 0x28]
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x28]
lea rdx, [0x180087a70]
mov dword [rdx + rcx*4], eax
mov edx, 1
lea rcx, [rsp + 0xb8]
call fcn.180019030
call fcn.18005fa30
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.18001bd80
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x18008b798]
mov rcx, qword [rsp + 0x60]
call fcn.18001be50
mov qword [rsp + 0x70], rax
xor r9d, r9d
lea r8, [0x18008b794]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xb8]
call fcn.180023b00
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x18008b7a0]
mov rcx, qword [rsp + 0x68]
call fcn.18001be50
mov qword [rsp + 0x78], rax
xor r9d, r9d
lea r8, [0x18008b79c]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xb8]
call fcn.180023b00
mov eax, 0x11
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087a70]
cmp dword [rcx + rax*4], 1
jne 0x180063804
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180087a70]
mov dword [rdx + rcx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x48], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
movsxd rdx, dword [rsp + 0x48]
lea r8, [0x180087a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087a70]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.180019030
mov r8, 0xffffffffffffffff
mov rdx, qword [0x18008b050]
lea rcx, [rsp + 0xd0]
call fcn.18001be50
nop
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xd0]
call fcn.180023550
mov dword [rsp + 0x58], 1
mov eax, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x1800638e5
xor r9d, r9d
lea r8, [0x18008b7a4]
lea rdx, [0x18008b7ac]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0xb8]
call fcn.1800324c0
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x4c]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180063933
xor r9d, r9d
lea r8, [0x18008b7b0]
lea rdx, [0x18008b7b8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp qword [rsp + 0x30], 0
jne 0x1800639a6
mov eax, 4
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x180087a70]
cmp dword [rcx + rax*4], 1
jne 0x18006397a
movsx rax, word [rsp + 0x20]
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x180087a70]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0xd0]
call fcn.180011730
nop
lea rcx, [rsp + 0xb8]
call fcn.180011730
mov eax, dword [rsp + 0x44]
jmp 0x180063ae9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180063a02
cmp qword [0x1800d1cb0], 0
je 0x1800639ce
mov rcx, qword [rsp + 0x30]
call qword [0x1800d1cb0]
mov dword [rsp + 0x54], eax
jmp 0x1800639d6
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0xd0]
call fcn.180011730
nop
lea rcx, [rsp + 0xb8]
call fcn.180011730
mov eax, dword [rsp + 0x3c]
jmp 0x180063ae9
mov rcx, qword [rsp + 0x100]
call fcn.180063b10
mov dword [rsp + 0x2c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x40], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
movsxd rdx, dword [rsp + 0x40]
lea r8, [0x180087a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087a70]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x2c], 0
jge 0x180063aae
cmp qword [0x1800d1cb0], 0
je 0x180063aa4
mov rcx, qword [rsp + 0x30]
call qword [0x1800d1cb0]
mov dword [rsp + 0x38], eax
jmp 0x180063aac
mov dword [rsp + 0x38], 0
jmp 0x180063ac2
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0xb8], rcx
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xd0]
call fcn.180011730
nop
lea rcx, [rsp + 0xb8]
call fcn.180011730
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.18004d370
add rsp, 0xf8
ret