Function at 0x180009700
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x110
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbx, rdx
mov r12, rcx
lea rcx, [rax - 0xa0]
call fcn.18000b380
nop
lea r14, [0x18001cb00]
mov qword [rsp + 0x58], r14
xor esi, esi
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x68], sil
mov dword [rsp + 0x6c], 2
lea rbp, [0x18001cc38]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x88], esi
lea rcx, [0x18001cc38]
mov qword [rsp + 0x58], rcx
xor r9d, r9d
mov r8d, 0x1f0001
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180007b70
lea rdi, [0x18001cba0]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x40], esi
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x20]
call fcn.180007590
lea rcx, [rsp + 0x48]
mov rax, qword [rsp + 0x48]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1800097ff
lea rcx, [rsp + 0x48]
call fcn.180007090
mov dword [rsp + 0x30], 0x18
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], esi
mov qword [r12], rsi
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [r12], rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x18000983f
call fcn.180003680
nop
mov qword [rsp + 0x48], rdi
lea rcx, [rsp + 0x48]
call fcn.1800077b0
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x20]
call fcn.1800077b0
nop
mov qword [rsp + 0x58], rbp
or ebp, 0xffffffff
mov r8d, ebp
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180007eb0
mov rcx, qword [rsp + 0x60]
call fcn.18000be48
mov qword [rsp + 0x60], rsi
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1800098d1
mov r13, qword [rsp + 0x78]
mov rbx, rsi
test r13, r13
je 0x1800098c4
nop dword [rax + rax]
mov rcx, qword [rdi + rbx*8]
test rcx, rcx
je 0x1800098b3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + rbx*8], rsi
inc rbx
cmp rbx, r13
jb 0x1800098a0
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call fcn.18000be48
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x58], r14
mov rcx, rsi
call fcn.18000be48
nop
lea rax, [0x18001caf8]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180009910
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov rdx, qword [rsp + 0x100]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180009932
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180009954
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov rdx, qword [rsp + 0xf0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
dec ebp
test ebp, ebp
jg 0x180009974
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov qword [r12 + 8], r12
mov byte [r12 + 0x10], 0
or edx, 0xffffffff
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [r12 + 0x10], 1
mov rax, r12
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret