Function at 0x18000a8a0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
lea rdx, [rsp + 0x28]
call fcn.18000b530
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180009b20
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x38]
call fcn.180009700
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000a909
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000a928
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.18000b3b0
nop
mov r8, qword [rsp + 0x78]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsi], rax
test rax, rax
jne 0x18000a9f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 2
jne 0x18000a9ad
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000a982
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
cmp byte [rsp + 0x48], 0
je 0x18000a99c
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
call fcn.1800023b0
xor eax, eax
jmp 0x18000ac0d
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000a9cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
cmp byte [rsp + 0x48], 0
je 0x18000a9e5
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
call fcn.1800023b0
mov eax, edi
jmp 0x18000ac0d
xor r8d, r8d
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.18000b3e0
nop
mov r8, qword [rsp + 0x88]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov qword [rbp], rax
test rax, rax
jne 0x18000aba6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 2
jne 0x18000ab3d
or edx, 0xffffffff
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x18000aac1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x18000aa78
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.msi.dll_MsiConfigureFeatureFromDescriptorA + 8]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000aa96
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
cmp byte [rsp + 0x48], 0
je 0x18000aab0
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
call fcn.1800023b0
mov eax, edi
jmp 0x18000ac0d
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], 0
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000aaf4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000ab12
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
cmp byte [rsp + 0x48], 0
je 0x18000ab2c
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
call fcn.1800023b0
xor eax, eax
jmp 0x18000ac0d
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000ab60
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000ab7e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
cmp byte [rsp + 0x48], 0
je 0x18000ab98
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
call fcn.1800023b0
mov eax, edi
jmp 0x18000ac0d
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000abc9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000abe7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
nop
cmp byte [rsp + 0x48], 0
je 0x18000ac01
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x38]
call fcn.1800023b0
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret