Function at 0x42d810
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0xc
push esi
push str.Q360SafeInstallerMutex
push 1
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esp + 4], eax
je 0x42da24
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42d868
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x463208
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [esp + 0x1c]
pop esi
mov dword [ecx], eax
mov eax, 1
add esp, 0xc
ret 0xc
push ebx
lea ebx, [esi + 0x14]
push edi
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
add esi, 4
sub edx, eax
sar edx, 2
cmp edx, 1
mov edi, eax
jae 0x42d98a
mov edx, dword [esi + 4]
test edx, edx
je 0x42d8a4
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x42d8a9
mov ecx, 1
test edx, edx
jne 0x42d8b1
xor eax, eax
jmp 0x42d8b6
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x10], eax
jge 0x42d8c2
xor eax, eax
shl eax, 2
push ebp
push eax
call fcn.00442bba
mov ebp, dword [esi + 4]
add esp, 4
cmp ebp, edi
mov dword [esp + 0x28], eax
mov ebx, eax
je 0x42d8f0
push ebp
push ebx
call fcn.0042dee0
add ebp, 4
add esp, 8
add ebx, 4
cmp ebp, edi
jne 0x42d8dc
lea ecx, [esp + 0x10]
push ecx
push 1
push ebx
mov ecx, esi
call fcn.0042de40
mov edx, dword [esi + 8]
add ebx, 4
push ebx
push edx
push edi
mov ecx, esi
call fcn.0042de10
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.0042de00
mov edx, dword [esi + 4]
push edx
call fcn.0043733c
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [edx + eax*4]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esi + 0xc], ecx
pop ebp
jne 0x42d962
mov ebx, dword [esp + 0x14]
xor ecx, ecx
push ebx
mov dword [esi + 4], edx
lea eax, [edx + ecx*4 + 4]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0xc
ret 0xc
mov ecx, dword [esi + 8]
mov ebx, dword [esp + 0x14]
sub ecx, eax
push ebx
sar ecx, 2
mov dword [esi + 4], edx
lea eax, [edx + ecx*4 + 4]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0xc
ret 0xc
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x42d9d8
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.0042de10
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
mov edx, eax
push ecx
sub edx, edi
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.0042de40
mov eax, dword [esi + 8]
cmp edi, eax
je 0x42da12
mov edx, dword [esp + 0xc]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x42d9c9
jmp 0x42da12
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.0042de10
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x42d9fe
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x42d9ef
lea eax, [edi + 4]
cmp edi, eax
je 0x42da12
mov ecx, dword [esp + 0xc]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x42da05
mov eax, dword [esi + 8]
push ebx
add eax, 4
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0xc
ret 0xc