Function at 0x100031d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000d530
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10011018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str._MSIExecute
push 1
push 0
mov dword [edi + 0x50], 4
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000323d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x50], 5
mov eax, 5
jmp 0x10003446
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.10002d40
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x1000326e
xor ecx, ecx
jmp 0x10003282
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003273
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10004250
mov eax, dword [ebp - 0x3c]
lea ecx, [eax - 0xc]
cmp ecx, 0x10011024
je 0x100032b8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100032b8
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff4
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.10003f10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
cmp dword [eax - 8], 0
je 0x100032f5
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
call fcn.100022d0
mov eax, dword [edi + 0xc]
push ecx
cmp dword [eax - 0xc], 0
mov esi, esp
jl 0x1000330f
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x10003331
mov eax, dword [0x10011034]
mov dword [esi], eax
mov ebx, dword [edi + 0xc]
test ebx, ebx
jne 0x10003321
xor eax, eax
jmp 0x10003328
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
mov ecx, esi
call fcn.10002100
lea eax, [ebp - 0x34]
push eax
call fcn.10003660
push dword [edi + 0xc]
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.10003a20
mov ebx, dword [sym.imp.msi.dll_MsiGetFileVersionA]
push str.REMOVEALL_REBOOTReallySuppress
push 2
push 0
push dword [edi + 0xc]
call ebx
test eax, eax
jne 0x100033c1
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov eax, edx
sub eax, ecx
sar eax, 2
xor esi, esi
mov dword [edi + 0x50], 6
test eax, eax
je 0x100033c8
lea ebx, [ebx]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x100033b3
push eax
call dword [sym.imp.msi.dll_MsiRecordGetStringA]
cmp eax, 5
sete al
test al, al
je 0x100033ad
mov eax, dword [ebp - 0x34]
push str.REMOVEALL_FILESINUSETEXT___REBOOTReallySuppress_ADSK_SETUP_EXE1
push 2
push 0
push dword [eax + esi*4]
call ebx
test eax, eax
jne 0x100033c1
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov eax, edx
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jb 0x10003380
jmp 0x100033c8
mov dword [edi + 0x50], 5
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x38]
mov edi, dword [edi + 0x50]
lea ecx, [eax - 0xc]
cmp ecx, 0x10011024
je 0x10003400
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10003400
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff4
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov ecx, dword [ebp - 0x34]
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test ecx, ecx
je 0x10003436
push dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
push ecx
call fcn.100017e0
push dword [ebp - 0x34]
call esi
add esp, 0xc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x14], 8
jb 0x10003444
push dword [ebp - 0x28]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c43c
mov esp, ebp
pop ebp
ret