Function at 0x402e20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 4], 1
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.PPLivePPluginInstallerMutex_19C67C7A_805D_4cb9_8003_4327114A8E84
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402e67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402e67
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, 0x416130
call fcn.00408810
lea ecx, [ebp - 0x1c]
call fcn.00409180
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x402e9d
mov dword [ebp - 0x60], 0
jmp 0x402ed3
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
shl eax, 1
add eax, 3
and al, 0xfc
call fcn.0040f5f0
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.00408720
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [ebp - 0x30]
push ecx
push str.WinMain_CMDLINE:_s
call fcn.0040c300
add esp, 8
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x30]
call fcn.00401910
push eax
call fcn.00404320
add esp, 8
cmp dword [ebp - 4], 0
jne 0x402f75
push str.WinMain_Mutex_ERROR_ALREADY_EXISTS
call fcn.0040c300
add esp, 4
push str.PPluginInstaller
push str.PPluginInstaller_C8AB8115_5D7D_485a_BDC2_254E1DBE049E
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
push str.WinMain_FindWindow_hWnd:_d
call fcn.0040c300
add esp, 8
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00403fb0
add esp, 8
mov ecx, 0x416130
call fcn.00408af0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x1c]
call fcn.004030a0
mov eax, dword [ebp - 0x54]
jmp 0x403087
mov eax, dword [ebp + 8]
mov dword [0x4161f8], eax
mov ecx, 0x4161d8
call fcn.00404980
mov ecx, 0x4161e8
call fcn.00404700
call fcn.004040c0
push str.PPluginInstaller_C8AB8115_5D7D_485a_BDC2_254E1DBE049E
push 0x403120
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401550
add esp, 0xc
push str.PPluginInstaller
push str.PPluginInstaller_C8AB8115_5D7D_485a_BDC2_254E1DBE049E
mov edx, dword [ebp + 8]
push edx
call fcn.004015e0
add esp, 0xc
mov dword [0x4161fc], eax
cmp dword [0x4161fc], 0
jne 0x403006
push str.WinMain_InitInstance_Failed
call fcn.0040c300
add esp, 4
mov ecx, 0x416130
call fcn.00408af0
mov dword [ebp - 0x58], 1
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x1c]
call fcn.004030a0
mov eax, dword [ebp - 0x58]
jmp 0x403087
mov eax, dword [0x4161fc]
push eax
push 0x411718
call fcn.0040c300
add esp, 8
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [0x4161fc]
push edx
call fcn.00403fb0
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40305e
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x403034
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, 0x416130
call fcn.00408af0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x1c]
call fcn.004030a0
mov eax, dword [ebp - 0x5c]
lea esp, [ebp - 0xb0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10