Function at 0x4131b1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x1ac], ebx
call fcn.004166b2
cmp eax, 1
jl 0x413219
push 0xffffffffffffffff
push 0x7fa
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x380]
inc ebx
call fcn.0043c8d0
push str.install_folder_to_this_process
add eax, 8
push str.Run_an_elevated_process_in_order_to_give_permissions_on_the
push eax
call fcn.00405c42
pop ecx
pop ecx
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 1
je 0x41322c
lea ecx, [ebp - 0x380]
and ebx, 0xfffffffe
call fcn.0043c9e0
call fcn.00412afe
test al, al
jne 0x413281
call fcn.0043d250
cmp eax, 2
jg 0x413269
push 2
push 0x7fe
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x430]
or ebx, 2
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 0x413279
lea ecx, [ebp - 0x430]
call fcn.0043c9e0
xor eax, eax
inc eax
jmp 0x4139e2
and dword [ebp - 0x24], 0
lea edx, [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 7
xor cl, cl
mov word [ebp - 0x34], ax
call fcn.00433750
test al, al
jne 0x4132ec
call fcn.0043d250
cmp eax, 2
jg 0x4132d4
push 2
push 0x804
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x4e0]
or ebx, 4
call fcn.0043c8d0
add eax, 8
push str.Failed_to_obtain_user_name
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 4
je 0x4132e4
lea ecx, [ebp - 0x4e0]
call fcn.0043c9e0
push 3
pop esi
jmp 0x4139d4
call fcn.004166b2
cmp eax, 1
jl 0x413333
push 0xffffffffffffffff
push 0x807
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x590]
or ebx, 8
call fcn.0043c8d0
add eax, 8
push str.User_name_is
push eax
call fcn.00405c42
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
push ecx
push eax
call fcn.0043ce20
add esp, 0x10
test bl, 8
je 0x413346
lea ecx, [ebp - 0x590]
and ebx, 0xfffffff7
call fcn.0043c9e0
push 0
lea ecx, [ebp - 0x1e4]
call fcn.00445660
push str.set_folder_permission
lea ecx, [ebp - 0xc4]
call fcn.004049a0
push esi
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00445e80
xor esi, esi
lea ecx, [ebp - 0xc4]
push esi
push 1
call fcn.00404a6d
push str.permissions_for_user
lea ecx, [ebp - 0x124]
call fcn.004049a0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00445bc0
push esi
push 1
lea ecx, [ebp - 0x124]
call fcn.00404a6d
cmp byte [ebp + 0xc], 0
je 0x4133f0
push str.permanent_permissions
lea ecx, [ebp - 0x94]
call fcn.004049a0
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00445af0
push esi
push 1
lea ecx, [ebp - 0x94]
call fcn.00404a6d
mov eax, dword [edi + 0x64]
push 3
pop esi
cmp dword [eax], esi
jne 0x41342b
push str.run_uninstall_bat
lea ecx, [ebp - 0xac]
call fcn.004049a0
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00445af0
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.00404a6d
push str.crash_reporter_pid
lea ecx, [ebp - 0xdc]
call fcn.004049a0
push dword [0x4e6768]
lea eax, [ebp - 0x154]
push 0x4d4708
push eax
call fcn.004481f0
add esp, 0xc
lea ecx, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00445b50
push 0
push 1
lea ecx, [ebp - 0x154]
call fcn.00404a6d
push 0
push 1
lea ecx, [ebp - 0xdc]
call fcn.00404a6d
call fcn.004462d0
push str.wait_for_package
mov ecx, eax
mov dword [ebp - 0x1ac], eax
call fcn.00446b20
test al, al
je 0x413510
mov eax, str.wait_for_package
push eax
mov dword [ebp - 0x1bc], eax
call fcn.00404840
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x1b8], eax
mov dword [esp], str.wait_for_package
call fcn.004049a0
mov ecx, dword [ebp - 0x1ac]
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00446a20
push eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00445e80
lea ecx, [ebp - 0x19c]
call fcn.0043ff00
push 0
push 1
lea ecx, [ebp - 0x10c]
call fcn.00404a6d
test bl, 0x10
je 0x413523
lea ecx, [ebp - 0x920]
and ebx, 0xffffffef
call fcn.0043c9e0
mov eax, str.initial_pid
push eax
mov dword [ebp - 0x1c4], eax
call fcn.00404840
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x1c0], eax
mov dword [esp], str.initial_pid
call fcn.004049a0
mov ecx, dword [ebp - 0x1ac]
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.00446a20
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00445e80
lea ecx, [ebp - 0x184]
call fcn.0043ff00
push 0
push 1
lea ecx, [ebp - 0x7c]
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 0x4135ef
call fcn.0043d250
cmp eax, 2
jg 0x4135d6
push 2
push 0x828
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x2d0]
or ebx, 0x20
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, 0x20
je 0x4139c1
lea ecx, [ebp - 0x2d0]
call fcn.0043c9e0
jmp 0x4139c1
push str.OperaInstaller_GiveInstallPermission
lea ecx, [ebp - 0x13c]
call fcn.004053f4
mov edx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x13c]
push 0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00433846
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x13c]
call fcn.00405676
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
and dword [ebp - 0x1a4], 0
lea ecx, [ebp - 0x1a4]
push eax
call fcn.00414471
cmp dword [ebp - 0x1a4], 0
jne 0x4136ba
call fcn.0043d250
cmp eax, 2
jg 0x4136a1
or ebx, 0x40
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x834
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x648]
call fcn.0043c9b0
push str.the_elevated_process
add eax, 0x10
push str.Failed_to_create_event_for_communicating_with
push eax
call fcn.00405c42
pop ecx
pop ecx
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 0x40
je 0x4139aa
lea ecx, [ebp - 0x648]
call fcn.0043cc50
jmp 0x4139aa
push str.OperaInstaller_GiveInstallPermission_Undo
lea ecx, [ebp - 0xf4]
call fcn.004053f4
mov edx, dword [ebp - 0x1a8]
lea eax, [ebp - 0xf4]
push 0
push eax
lea ecx, [ebp - 0x16c]
call fcn.00433846
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407775
push 0
push 1
lea ecx, [ebp - 0x16c]
call fcn.00405676
push 0
push 1
lea ecx, [ebp - 0xf4]
call fcn.00405676
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
and dword [ebp - 0x1a0], 0
lea ecx, [ebp - 0x1a0]
push eax
call fcn.00414471
cmp dword [ebp - 0x1a0], 0
jne 0x4137a2
call fcn.0043d250
cmp eax, 2
jg 0x41378a
or ebx, 0x80
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x840
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x700]
call fcn.0043c9b0
push str.the_elevated_process
add eax, 0x10
push str.Failed_to_create_event_for_communicating_with
push eax
call fcn.00405c42
pop ecx
pop ecx
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, bl
jns 0x41399f
lea ecx, [ebp - 0x700]
call fcn.0043cc50
jmp 0x41399f
call fcn.00455d10
cmp eax, esi
jge 0x4137d1
push dword [ebp - 0x1a4]
call fcn.00412f8a
test al, al
je 0x41399f
push dword [ebp - 0x1a0]
call fcn.00412f8a
test al, al
je 0x41399f
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00498640
add esp, 0xc
mov dword [ebp - 0x220], esi
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x1e4]
mov dword [ebp - 0x21c], 0x40
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x64]
push 0
push eax
mov dword [ebp - 0x214], str.runas
call fcn.00446620
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
mov dword [ebp - 0x204], 5
cmovae eax, dword [ebp - 0x64]
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4138a3
call fcn.0043d250
mov esi, 0x100
cmp eax, 2
jg 0x41388c
or ebx, esi
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x854
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x870]
call fcn.0043c9b0
add eax, 0x10
push str.Failed_to_run_the_elevated_process
push eax
call fcn.00405c42
pop ecx
pop ecx
test esi, ebx
je 0x41389b
lea ecx, [ebp - 0x870]
call fcn.0043cc50
xor esi, esi
inc esi
jmp 0x413993
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1a4]
push 0xffffffffffffffff
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
dec eax
neg eax
sbb al, al
inc al
mov dword [ebp - 0x1a8], eax
jne 0x41392c
call fcn.0043d250
mov esi, 0x200
cmp eax, 2
jg 0x41391b
or ebx, esi
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x861
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerinstaller.cc
lea ecx, [ebp - 0x7b8]
call fcn.0043c9b0
add eax, 0x10
push str.Failed_to_run_the_elevated_process
push eax
call fcn.00405c42
pop ecx
pop ecx
test esi, ebx
je 0x413979
lea ecx, [ebp - 0x7b8]
call fcn.0043cc50
jmp 0x413979
mov esi, dword [ebp - 0x1a0]
and dword [ebp - 0x1a0], 0
test esi, esi
je 0x41395b
cmp esi, 0xffffffff
je 0x41395b
call fcn.00448900
push eax
push dword [ebp + 4]
lea eax, [ebp - 0x1a0]
push eax
push esi
call fcn.00455370
add esp, 0x10
push esi
lea ecx, [edi + 0x160]
call fcn.00414471
push dword [ebp - 0x1e8]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [edi + 0x164], eax
push dword [ebp - 0x1e8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp byte [ebp - 0x1a8], al
push 2
pop esi
cmovne esi, eax
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00405676
lea ecx, [ebp - 0x1a0]
call fcn.00414ac1
lea ecx, [ebp - 0x1a4]
call fcn.00414ac1
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00405676
lea ecx, [ebp - 0x4c]
call fcn.0043ff00
lea ecx, [ebp - 0x1e4]
call fcn.00445740
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00405676
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 8