Function at 0x10002f70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ca90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10010018]
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
push str._MSIExecute
push 1
mov ebx, ecx
xor esi, esi
push esi
mov dword [ebx + 0x60], 4
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10002fda
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 5
mov dword [ebx + 0x60], eax
jmp 0x10003160
lea ecx, [ebp - 0x30]
mov eax, ebx
call fcn.10002b30
mov dword [ebp - 4], esi
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
lea edi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x10003000
sub ecx, edi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10003960
mov eax, dword [ebp - 0x30]
lea edx, [eax - 0xc]
cmp edx, 0x10010028
je 0x10003044
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10003044
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff4
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
lea eax, [ebp - 0x34]
push eax
push ebx
mov byte [ebp - 4], 3
call fcn.100036d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
cmp dword [ecx - 8], esi
je 0x10003072
lea ecx, [ebp - 0x34]
lea edi, [ebp - 0x48]
call fcn.10002340
lea edx, [ebp - 0x48]
push edx
mov ecx, ebx
call fcn.10003320
mov eax, dword [ebx + 0xc]
push str.REMOVEALL_REBOOTReallySuppress
push 2
push esi
push eax
call dword [sym.imp.msi.dll_MsiGetFileVersionA]
mov edi, dword [ebp - 0x48]
test eax, eax
je 0x1000309f
mov dword [ebx + 0x60], 5
jmp 0x100030f7
mov ecx, dword [ebp - 0x44]
sub ecx, edi
sar ecx, 2
mov dword [ebx + 0x60], 6
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x100030f5
mov eax, dword [edi + esi*4]
test eax, eax
je 0x100030e7
push eax
call dword [sym.imp.msi.dll_MsiRecordGetStringA]
cmp eax, 5
sete al
test al, al
je 0x100030e4
mov eax, dword [edi + esi*4]
push str.REMOVEALL_FILESINUSETEXT___REBOOTReallySuppress_ADSK_SETUP_EXE1
push 2
push 0
push eax
call dword [sym.imp.msi.dll_MsiGetFileVersionA]
test eax, eax
jne 0x100030ee
mov ecx, dword [ebp - 0x30]
inc esi
cmp esi, ecx
jb 0x100030b5
jmp 0x100030f5
mov dword [ebx + 0x60], 5
xor esi, esi
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebx + 0x60]
lea ecx, [eax - 0xc]
cmp ecx, 0x10010028
je 0x10003130
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10003130
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff4
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
cmp edi, esi
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
je 0x1000314f
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
push eax
push ecx
mov eax, edi
call fcn.10001860
push edi
call esi
add esp, 0xc
cmp dword [ebp - 0x18], 8
jb 0x1000315e
mov edx, dword [ebp - 0x2c]
push edx
call esi
add esp, 4
mov eax, ebx
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.1000b608
mov esp, ebp
pop ebp
ret