Function at 0x140015630
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400580e8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rcx + 0x60], r15d
lea ecx, [r15 + 0x30]
call fcn.14001abc0
mov qword [rbp - 0x39], rax
mov rcx, rax
call fcn.1400118e4
mov rbx, rax
mov qword [rbp - 0x49], rax
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140015a28
mov r8, rbx
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.14001408c
nop
mov rax, qword [rbp - 0x49]
mov qword [rdi + 0x48], rax
or r14d, 0xffffffff
mov rcx, qword [rbp - 0x41]
cmp rcx, qword [rdi + 0x50]
je 0x140015707
test rcx, rcx
je 0x1400156ca
lock inc dword [rcx + 8]
mov rcx, qword [rbp - 0x41]
mov rbx, qword [rdi + 0x50]
test rbx, rbx
je 0x140015703
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x1400156ff
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400156ff
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x41]
mov qword [rdi + 0x50], rcx
test rcx, rcx
je 0x14001573e
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x14001573e
mov rbx, qword [rbp - 0x41]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14001573e
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov ecx, 0x18
call fcn.14001abc0
mov rsi, rax
mov qword [rbp - 0x39], rax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
lea rax, vtable.CMcCompHostNotificationHandler.0
mov qword [rsi], rax
mov qword [rsi + 8], r15
mov qword [rbp + 0x2f], 7
mov qword [rbp + 0x27], r15
mov word [rbp + 0x17], r15w
lea rbx, [rsi + 0x10]
lea r8, [rbp + 0x17]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x17]
call fcn.14000b2fc
mov qword [rbp - 0x31], rbx
or edx, 0xffffffff
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp - 0x29], 1
cmp qword [rsi + 8], rdi
je 0x1400157d3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rdi
test rcx, rcx
je 0x1400157d3
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rbp - 0x31]
call fcn.140017b60
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov qword [rbp - 0x59], rsi
mov rdx, rsi
lea rcx, [rbp - 0x51]
call fcn.140015a80
mov r8, rsi
mov rdx, rsi
lea rcx, [rbp - 0x51]
call fcn.14001408c
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp + 7], xmm0
psrldq xmm0, 8
movq rbx, xmm0
test rbx, rbx
je 0x140015824
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x140015863
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x14001585f
mov rbx, qword [rbp - 0x51]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14001585f
mov rbx, qword [rbp - 0x51]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x140015863
mov rbx, qword [rbp - 0x51]
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x19], xmm0
test rbx, rbx
je 0x140015879
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 0x51]
lea rdx, [rbp - 0x19]
call fcn.1400142a8
nop
test rbx, rbx
je 0x1400158ba
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x1400158ba
mov rbx, qword [rbp - 0x51]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1400158ba
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001a5c0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret