Function at 0x412b6d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x84], ebx
call fcn.004166b2
xor esi, esi
inc esi
cmp eax, esi
jl 0x412bc2
push 0xffffffffffffffff
push 0x77c
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x198]
mov ebx, esi
call fcn.0043c8d0
add eax, 8
push str.Running_the_installer_elevated.
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 1
je 0x412bd5
lea ecx, [ebp - 0x198]
and ebx, 0xfffffffe
call fcn.0043c9e0
call fcn.00412afe
test al, al
jne 0x412c2a
call fcn.0043d250
push 2
pop esi
cmp eax, esi
jg 0x412c12
push esi
push 0x77f
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x198]
or ebx, esi
call fcn.0043c8d0
add eax, 8
push str.Cannot_elevate_with_UAC_disabled
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 2
je 0x412c22
lea ecx, [ebp - 0x198]
call fcn.0043c9e0
xor eax, eax
inc eax
jmp 0x412f79
mov ecx, dword [edi + 0x64]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.0041f8ee
push str.parent_pid
lea ecx, [ebp - 0x34]
call fcn.004049a0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00444700
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00445bc0
push 0
push esi
lea ecx, [ebp - 0x1c]
call fcn.00405676
push 0
push esi
lea ecx, [ebp - 0x34]
call fcn.00404a6d
call fcn.004462d0
mov esi, eax
push str.wait_for_package
mov ecx, esi
mov dword [ebp - 0x84], esi
call fcn.00446b20
test al, al
je 0x412cef
mov eax, str.wait_for_package
push eax
mov dword [ebp - 0xc], eax
call fcn.00404840
lea ecx, [ebp - 0x34]
mov dword [ebp - 8], eax
mov dword [esp], str.wait_for_package
call fcn.004049a0
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00446a20
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00445e80
lea ecx, [ebp - 0x7c]
call fcn.0043ff00
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00404a6d
lea ecx, [ebp - 0x4c]
call fcn.0043fee0
lea eax, [ebp - 0x4c]
push eax
push 6
call fcn.00456090
pop ecx
pop ecx
test al, al
jne 0x412d55
call fcn.0043d250
push 2
pop esi
cmp eax, esi
jg 0x412d3d
push esi
push 0x78e
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x198]
or ebx, 4
call fcn.0043c8d0
add eax, 8
push str.Failed_to_obtain_installer_exe_file_path
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 4
je 0x412d4d
lea ecx, [ebp - 0x198]
call fcn.0043c9e0
push 3
pop esi
jmp 0x412f64
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x20]
test eax, 0xfffffffc
je 0x412d8d
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041656f
jmp 0x412d79
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 8]
lea ecx, [ebp - 0x14]
call fcn.0041662f
test eax, eax
jne 0x412d70
lea ecx, [ebp - 0x14]
call fcn.004165d4
push 0x3c
pop esi
push esi
lea eax, [ebp - 0xe4]
push 0
push eax
call fcn.00498640
add esp, 0xc
mov dword [ebp - 0xe4], esi
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xe0], 0x40
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x64]
push 0
push eax
mov dword [ebp - 0xd8], str.runas
call fcn.00446620
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
mov dword [ebp - 0xc8], 5
cmovae eax, dword [ebp - 0x64]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x412e5d
call fcn.0043d250
push 2
pop esi
cmp eax, esi
jg 0x412e45
or ebx, 8
call sub.KERNEL32.dll_GetLastError
push eax
push esi
push 0x7a0
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x1a0]
call fcn.0043c9b0
add eax, 0x10
push str.Failed_to_run_the_elevated_process
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 8
je 0x412e55
lea ecx, [ebp - 0x1a0]
call fcn.0043cc50
xor esi, esi
inc esi
jmp 0x412f58
push dword [ebp - 0xac]
and dword [ebp - 0x80], 0
lea ecx, [ebp - 0x80]
call fcn.00414471
push 0xffffffffffffffff
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x24]
sub ecx, dword [edi + 0x20]
mov dword [ebp - 8], eax
test ecx, 0xfffffffc
je 0x412eb7
lea ecx, [edi + 0x1c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041656f
jmp 0x412ea0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.0041662f
test eax, eax
jne 0x412e99
lea ecx, [ebp - 0x2c]
call fcn.004165d4
mov eax, dword [ebp - 8]
push 2
pop esi
cmp eax, 0xffffffff
jne 0x412f09
call fcn.0043d250
cmp eax, esi
jg 0x412ef7
or ebx, 0x10
call sub.KERNEL32.dll_GetLastError
push eax
push esi
push 0x7ac
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x1a0]
call fcn.0043c9b0
add eax, 0x10
push str.Failed_wait_for_the_elevated_installer
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 0x10
je 0x412f50
lea ecx, [ebp - 0x1a0]
call fcn.0043cc50
jmp 0x412f50
test eax, eax
jne 0x412f50
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x412f50
cmp dword [ebp - 0x88], 0
jne 0x412f50
mov ecx, dword [ebp - 0x84]
push str.wait_for_package
call fcn.00446b20
mov ecx, edi
test al, al
je 0x412f49
push 1
call fcn.0040a788
jmp 0x412f4e
call fcn.00411dd1
xor esi, esi
lea ecx, [ebp - 0x80]
call fcn.00414ac1
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00405676
lea ecx, [ebp - 0x4c]
call fcn.0043ff00
lea ecx, [ebp - 0xa8]
call fcn.00445740
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049653f
mov esp, ebp
pop ebp
ret