Function at 0x423730
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 0x423944
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x423788
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.Q360InstallerMainWnd
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 0x4238aa
mov edx, dword [esi + 4]
test edx, edx
je 0x4237c4
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x4237c9
mov ecx, 1
test edx, edx
jne 0x4237d1
xor eax, eax
jmp 0x4237d6
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x10], eax
jge 0x4237e2
xor eax, eax
shl eax, 2
push ebp
push eax
call fcn.00438f1a
mov ebp, dword [esi + 4]
add esp, 4
cmp ebp, edi
mov dword [esp + 0x28], eax
mov ebx, eax
je 0x423810
push ebp
push ebx
call fcn.00423e00
add ebp, 4
add esp, 8
add ebx, 4
cmp ebp, edi
jne 0x4237fc
lea ecx, [esp + 0x10]
push ecx
push 1
push ebx
mov ecx, esi
call fcn.00423d60
mov edx, dword [esi + 8]
add ebx, 4
push ebx
push edx
push edi
mov ecx, esi
call fcn.00423d30
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00423d20
mov edx, dword [esi + 4]
push edx
call fcn.0042d34c
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 0x423882
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 0x4238f8
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.00423d30
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.00423d60
mov eax, dword [esi + 8]
cmp edi, eax
je 0x423932
mov edx, dword [esp + 0xc]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x4238e9
jmp 0x423932
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.00423d30
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x42391e
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x42390f
lea eax, [edi + 4]
cmp edi, eax
je 0x423932
mov ecx, dword [esp + 0xc]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x423925
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