Function at 0x415bf0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0xa0], ebx
cmp esi, dword [edi + 0xa0]
jne 0x415c5e
call fcn.00438e90
test eax, eax
jg 0x415c4b
push 2
pop ebx
push 0
push 0x36
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerinstaller_runner.cc
lea ecx, [ebp - 0x17c]
call fcn.00438400
add eax, 8
push str.Duplicate_installation_attempt_detected
push eax
call fcn.00404c5e
pop ecx
pop ecx
test bl, 2
je 0x415c5e
lea ecx, [ebp - 0x17c]
and ebx, 0xfffffffd
call fcn.00438510
call fcn.00438e90
test eax, eax
jg 0x415c8e
push 0
push 0x39
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerinstaller_runner.cc
lea ecx, [ebp - 0x17c]
or ebx, 4
call fcn.00438400
add eax, 8
push str.Beginning_installation
push eax
call fcn.00404c5e
pop ecx
pop ecx
test bl, 4
je 0x415ca1
lea ecx, [ebp - 0x17c]
and ebx, 0xfffffffb
call fcn.00438510
cmp dword [edi + 0xa0], 0
je 0x415caf
call fcn.00449250
test bl, 8
je 0x415cc2
lea ecx, [ebp - 0x17c]
and ebx, 0xfffffff7
call fcn.00438510
cmp dword [esi + 0x30], 0
je 0x415ccd
call fcn.00449250
test bl, 0x10
je 0x415ce0
lea ecx, [ebp - 0x17c]
and ebx, 0xffffffef
call fcn.00438510
cmp byte [edi + 0xa5], 0
je 0x415cee
call fcn.00449250
test bl, 0x20
je 0x415d01
lea ecx, [ebp - 0x17c]
and ebx, 0xffffffdf
call fcn.00438510
cmp dword [esi], 0
jne 0x415db7
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
test eax, 0xfffffffc
je 0x415d6f
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414c2e
jmp 0x415d59
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov eax, dword [ecx]
push edx
push 0x90ba
call dword [eax + 0x18]
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00404402
lea ecx, [ebp - 0x30]
call fcn.00414cee
mov ecx, eax
test ecx, ecx
jne 0x415d2e
lea ecx, [ebp - 0x30]
call fcn.00414c93
call fcn.00438e90
cmp eax, 2
jg 0x415da0
push 2
push 0x43
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerinstaller_runner.cc
lea ecx, [ebp - 0x17c]
or ebx, 0x40
call fcn.00438400
add eax, 8
push str.Attempting_to_start_installation_with_invalid_settings
push eax
call fcn.00404c5e
pop ecx
pop ecx
test bl, 0x40
je 0x415db0
lea ecx, [ebp - 0x17c]
call fcn.00438510
xor al, al
jmp 0x416703
mov byte [esi + 0x4c], 0
lea ecx, [ebp - 0x68]
mov dword [edi + 0xa0], esi
mov eax, dword [esi + 0x2c]
add eax, 0x174
push eax
call fcn.0041206f
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x99]
cmovae ecx, dword [ebp - 0x68]
push edx
lea edx, [ebp - 0x9a]
mov byte [ebp - 0x99], 0x2f
push edx
lea eax, [ecx + eax*2]
mov byte [ebp - 0x9a], 0x5c
lea ecx, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x68]
push eax
push ecx
call fcn.00416c3d
mov esi, str.GlobalOpera_Installer_
push esi
call fcn.004038d1
add esp, 0x14
lea ecx, [ebp - 0x68]
push eax
push esi
push 0
call fcn.00412f31
and dword [ebp - 0xc4], 0
lea eax, [ebp - 0x68]
xor esi, esi
mov dword [ebp - 0xc8], 0xc
inc esi
cmp dword [ebp - 0x54], 8
mov dword [ebp - 0xc0], esi
cmovae eax, dword [ebp - 0x68]
push eax
push 0
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [edi + 0x74], eax
test eax, eax
jne 0x415f0c
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
test eax, 0xfffffffc
je 0x415ecb
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414c2e
jmp 0x415eb5
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov eax, dword [ecx]
push edx
push 0x90b9
call dword [eax + 0x18]
push 0
push esi
lea ecx, [ebp - 0x20]
call fcn.00404402
lea ecx, [ebp - 0x30]
call fcn.00414cee
mov ecx, eax
test ecx, ecx
jne 0x415e8b
lea ecx, [ebp - 0x30]
call fcn.00414c93
call fcn.00438e90
cmp eax, 2
jg 0x415eff
push 2
push 0x5a
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerinstaller_runner.cc
lea ecx, [ebp - 0x17c]
or ebx, 0x80
call fcn.00438400
add eax, 8
push str.Could_not_create_installer_mutex
push eax
call fcn.00404c5e
pop ecx
pop ecx
test bl, bl
jns 0x415fdd
jmp 0x415fd2
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x80
je 0x415fe4
test eax, eax
je 0x415fe4
push dword [edi + 0x74]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
and dword [edi + 0x74], 0
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
test eax, 0xfffffffc
je 0x415f99
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414c2e
jmp 0x415f83
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov eax, dword [ecx]
push edx
push 0x90b9
call dword [eax + 0x18]
push 0
push esi
lea ecx, [ebp - 0x20]
call fcn.00404402
lea ecx, [ebp - 0x30]
call fcn.00414cee
mov ecx, eax
test ecx, ecx
jne 0x415f59
lea ecx, [ebp - 0x30]
call fcn.00414c93
call fcn.00438e90
mov esi, 0x100
cmp eax, 2
jg 0x415fce
push 2
push 0x65
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerinstaller_runner.cc
lea ecx, [ebp - 0x17c]
or ebx, esi
call fcn.00438400
add eax, 8
push str.Could_not_acquire_installer_mutex
push eax
call fcn.00404c5e
pop ecx
pop ecx
test esi, ebx
je 0x415fdd
lea ecx, [ebp - 0x17c]
call fcn.00438510
xor bl, bl
jmp 0x4166f5
push str.opera_installer_
lea ecx, [ebp - 0x98]
call fcn.0040409d
mov eax, dword [edi + 0xa0]
lea ecx, [ebp - 0x98]
push 0xffffffffffffffff
push 0
mov eax, dword [eax + 0x2c]
add eax, 0x174
push eax
call fcn.0040486b
lea eax, [ebp - 0x98]
push eax
lea ecx, [edi + 8]
call fcn.0041765e
test al, al
jne 0x416090
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
test eax, 0xfffffffc
je 0x416089
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414c2e
jmp 0x416073
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov eax, dword [ecx]
push edx
push 0x90b7
call dword [eax + 0x18]
push 0
push esi
lea ecx, [ebp - 0x20]
call fcn.00404402
lea ecx, [ebp - 0x30]
call fcn.00414cee
mov ecx, eax
test ecx, ecx
jne 0x416049
lea ecx, [ebp - 0x30]
call fcn.00414c93
xor bl, bl
jmp 0x4166e6
mov ecx, dword [edi + 0xa0]
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.0041d3e1
push 0x4bbdbc
lea ecx, [ebp - 0x20]
call fcn.0040409d
push str.server_tracking_data
lea ecx, [ebp - 0x50]
call fcn.00404000
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.0043c0d0
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00446d70
lea ecx, [ebp - 0x38]
call fcn.0043c140
push 0
push esi
lea ecx, [ebp - 0x50]
call fcn.00404346
push 0
push esi
lea ecx, [ebp - 0x20]
call fcn.00404402
push str.initial_pid
lea ecx, [ebp - 0x50]
call fcn.00404000
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00442900
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00446ba0
push 0
push esi
lea ecx, [ebp - 0x20]
call fcn.00404402
push 0
push esi
lea ecx, [ebp - 0x50]
call fcn.00404346
push str.crash_reporter_pid
lea ecx, [ebp - 0x50]
call fcn.00404000
push dword [0x4d9738]
lea eax, [ebp - 0x20]
push 0x4ca344
push eax
call fcn.0043fc40
add esp, 0xc
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00446b30
push 0
push esi
lea ecx, [ebp - 0x20]
call fcn.00404346
push 0
push esi
lea ecx, [ebp - 0x50]
call fcn.00404346
push str.OperaInstaller_InstallationInterrupted
lea ecx, [ebp - 0x50]
call fcn.0040409d
push esi
lea eax, [ebp - 0x50]
push eax
mov eax, dword [edi + 0xa0]
lea ecx, [ebp - 0x80]
mov edx, dword [eax + 0x2c]
add edx, 0x174
call fcn.0042dfc7
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x50]
call fcn.00404402
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
lea esi, [edi + 0x9c]
cmovae eax, dword [ebp - 0x80]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
push eax
mov ecx, esi
call fcn.0041297a
cmp dword [esi], 0
je 0x416621
cmp dword [esi], 0xffffffff
je 0x416621
cmp byte [edi + 0xa4], 0
jne 0x416377
push str.OperaInstaller_PackageReady
lea ecx, [ebp - 0x20]
call fcn.0040409d
mov eax, dword [edi + 0xa0]
lea ecx, [ebp - 0x38]
push 1
mov edx, dword [eax + 0x2c]
lea eax, [ebp - 0x20]
push eax
add edx, 0x174
call fcn.0042dfc7
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.004067c0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00404402
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00404402
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
lea esi, [edi + 0x98]
cmovae eax, dword [ebp - 0x80]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
push eax
mov ecx, esi
call fcn.0041297a
cmp dword [esi], 0
je 0x4162dc
cmp dword [esi], 0xffffffff
je 0x4162dc
lea ecx, [ebp - 0x50]
call fcn.0043c120
lea eax, [ebp - 0x50]
push eax
push 6
call fcn.0044d980
pop ecx
pop ecx
push str.wait_for_package
lea ecx, [ebp - 0x20]
call fcn.00404000
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00446d70
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00404346
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
call fcn.004482c0
lea ecx, [ebp - 0x50]
call fcn.0043c140
jmp 0x4163b4
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
test eax, 0xfffffffc
je 0x416341
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414c2e
jmp 0x41632b
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov eax, dword [ecx]
push edx
push 0x90b7
call dword [eax + 0x18]
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00404402
lea ecx, [ebp - 0x30]
call fcn.00414cee
mov ecx, eax
test ecx, ecx
jne 0x416300
lea ecx, [ebp - 0x30]
call fcn.00414c93
call fcn.00438e90
mov esi, 0x400
cmp eax, 2
jg 0x4166be
push 2
push 0x90
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerinstaller_runner.cc
lea ecx, [ebp - 0x17c]
or ebx, esi
call fcn.00438400
push str.Could_not_create_package_ready_event
jmp 0x4166b3
push 0x4cf324
lea ecx, [ebp - 0x50]
call fcn.0040409d
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x58]
call fcn.0043c3e0
push eax
lea ecx, [ebp - 0xbc]
call fcn.004482c0
lea ecx, [ebp - 0x20]
call fcn.0043c140
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.00404402
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 0
push 1
push 0x100000
lea ecx, [ebp - 0xa4]
push ecx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
test eax, eax
jne 0x416476
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
test eax, 0xfffffffc
je 0x416440
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414c2e
jmp 0x41642a
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov eax, dword [ecx]
push edx
push 0x90b7
call dword [eax + 0x18]
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00404402
lea ecx, [ebp - 0x30]
call fcn.00414cee
mov ecx, eax
test ecx, ecx
jne 0x4163ff
lea ecx, [ebp - 0x30]
call fcn.00414c93
call fcn.00438e90
mov esi, 0x800
cmp eax, 2
jg 0x4166be
push 2
push 0xa6
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerinstaller_runner.cc
lea ecx, [ebp - 0x17c]
or ebx, esi
call fcn.00438400
push str.Could_not_duplicate_own_process_handle
jmp 0x4166b3
push str.initial_proc_handle
lea ecx, [ebp - 0x50]
call fcn.00404000
push 4
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00441c10
add esp, 0xc
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00446b30
xor ebx, ebx
lea ecx, [ebp - 0x20]
push ebx
push 1
call fcn.00404346
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00404346
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], ebx
call fcn.0041297a
lea ecx, [ebp - 0x1a4]
call fcn.00445cf0
lea esi, [edi + 0x70]
mov byte [ebp - 0x19c], 1
push esi
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00445bb0
add esp, 0xc
test al, al
jne 0x416573
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
test eax, 0xfffffffc
je 0x416606
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414c2e
jmp 0x416558
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
lea edx, [ebp - 0x20]
mov eax, dword [ecx]
push edx
push 0x90b7
mov dword [ebp - 0x10], ebx
call dword [eax + 0x18]
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00404402
lea ecx, [ebp - 0x30]
call fcn.00414cee
mov ecx, eax
test ecx, ecx
jne 0x41652f
lea ecx, [ebp - 0x30]
call fcn.00414c93
jmp 0x416606
push dword [esi]
mov byte [edi + 0xa5], 1
call dword [sym.imp.KERNEL32.DLL_GetProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push edi
push dword [esi]
lea ecx, [edi + 0x78]
call fcn.0044d1b0
test al, al
jne 0x416604
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
test eax, 0xfffffffc
je 0x4165fb
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414c2e
jmp 0x4165e5
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
lea edx, [ebp - 0x20]
mov eax, dword [ecx]
push edx
push 0x90b7
mov dword [ebp - 0x10], ebx
call dword [eax + 0x18]
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00404402
lea ecx, [ebp - 0x30]
call fcn.00414cee
mov ecx, eax
test ecx, ecx
jne 0x4165bc
lea ecx, [ebp - 0x30]
call fcn.00414c93
mov ecx, edi
call fcn.00416716
jmp 0x416606
mov bl, 1
lea ecx, [ebp - 0x1a4]
call fcn.004038b0
lea ecx, [ebp - 0xa0]
call fcn.0041327e
jmp 0x4166cf
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
test eax, 0xfffffffc
je 0x416686
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414c2e
jmp 0x416670
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov eax, dword [ecx]
push edx
push 0x90b7
call dword [eax + 0x18]
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00404402
lea ecx, [ebp - 0x30]
call fcn.00414cee
mov ecx, eax
test ecx, ecx
jne 0x416645
lea ecx, [ebp - 0x30]
call fcn.00414c93
call fcn.00438e90
mov esi, 0x200
cmp eax, 2
jg 0x4166be
push 2
push 0x84
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerinstaller_runner.cc
lea ecx, [ebp - 0x17c]
or ebx, esi
call fcn.00438400
push str.Could_not_create_installation_interruption_event
add eax, 8
push eax
call fcn.00404c5e
pop ecx
pop ecx
test esi, ebx
je 0x4166cd
lea ecx, [ebp - 0x17c]
call fcn.00438510
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00404402
lea ecx, [ebp - 0xbc]
call fcn.004469b0
push 0
push 1
lea ecx, [ebp - 0x98]
call fcn.00404402
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.00404402
mov al, bl
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret 4