Function at 0x426c52
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
xor esi, esi
lea eax, [ebp - 0x8c]
push edi
push 0x44
push esi
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.0042fb10
xor eax, eax
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x38]
mov dword [ebp - 0x20], esi
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.0044111b
mov ebx, eax
test ebx, ebx
jns 0x426cca
push str.Failed_to_determine_WOW64_status.
push ebx
call fcn.0044088f
pop ecx
pop ecx
jmp 0x427033
mov edi, dword [ebp + 0x20]
mov dword [edi], esi
cmp dword [ebp - 0x20], esi
je 0x426d0a
lea eax, [ebp - 0x1c]
push eax
push 0x24
call fcn.004038ee
mov ebx, eax
test ebx, ebx
jns 0x426cec
push str.Failed_to_find_Windows_directory.
jmp 0x426cbd
lea eax, [ebp - 0x14]
push eax
push str.SysNative_
push dword [ebp - 0x1c]
call fcn.00403179
mov ebx, eax
test ebx, ebx
jns 0x426d22
push str.Failed_to_append_SysNative_directory.
jmp 0x426cbd
lea eax, [ebp - 0x14]
push eax
push 0x25
call fcn.004038ee
mov ebx, eax
test ebx, ebx
jns 0x426d22
push str.Failed_to_find_System32_directory.
jmp 0x426cbd
lea eax, [ebp - 4]
push eax
push str.wusa.exe
push dword [ebp - 0x14]
call fcn.00403179
mov ebx, eax
test ebx, ebx
jns 0x426d43
push str.Failed_to_allocate_WUSA.exe_path.
jmp 0x426cbd
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
sub eax, 1
je 0x426dec
sub eax, 1
je 0x426d66
mov ebx, 0x8000ffff
push str.Failed_to_get_action_arguments_for_MSU_package.
jmp 0x426cbd
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 8]
push dword [eax + 0x24]
push 1
call fcn.0041a4fd
mov ebx, eax
test ebx, ebx
jns 0x426d8c
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
jmp 0x42702a
push 1
push dword [ebp - 0xc]
push str.WixBundleExecutePackageCacheFolder
push dword [ebp + 0xc]
call fcn.004085eb
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax]
push dword [eax + 0x18]
push dword [ebp - 0xc]
call fcn.00403179
mov ebx, eax
test ebx, ebx
jns 0x426dc5
push str.Failed_to_build_MSU_path.
jmp 0x426cbd
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push dword [ebp - 4]
push str.__ls____ls___quiet__norestart
push eax
call fcn.00402232
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x426e19
push str.Failed_to_format_MSU_install_command.
jmp 0x426cbd
mov eax, dword [esi + 8]
push dword [eax + 0x94]
lea eax, [ebp - 8]
push dword [ebp - 4]
push str.__ls___uninstall__kb:_ls__quiet__norestart
push eax
call fcn.00402232
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x426e19
push str.Failed_to_format_MSU_uninstall_command.
jmp 0x426cbd
mov eax, dword [esi + 0xc]
test eax, eax
je 0x426e64
xor ecx, ecx
cmp word [eax], cx
je 0x426e64
push ecx
push str.__log:
lea eax, [ebp - 8]
push eax
call fcn.00402204
mov ebx, eax
test ebx, ebx
jns 0x426e46
push str.Failed_to_append_log_switch_to_MSU_command_line.
jmp 0x426cbd
push 0
push dword [esi + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00402204
mov ebx, eax
test ebx, ebx
jns 0x426e64
push str.Failed_to_append_log_path_to_MSU_command_line.
jmp 0x426cbd
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x426e74
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
push dword [ebp - 8]
push eax
push dword [esi + 0x10]
call fcn.00413fcd
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp + 0x10]
call fcn.004146bf
push eax
push 0x2000012d
push 2
call fcn.00405994
add esp, 0x1c
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
call fcn.0042695c
mov ebx, eax
test ebx, ebx
jns 0x426ebe
push str.Failed_to_ensure_WU_service_was_enabled_to_install_MSU_package.
jmp 0x426cbd
lea eax, [ebp - 0x38]
mov dword [ebp - 0x8c], 0x44
push eax
xor esi, esi
lea eax, [ebp - 0x8c]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x426f2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
push ebx
push 0x160
push str.msuengine.cpp
call fcn.00403c59
push dword [ebp - 4]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x42702a
push dword [ebp + 0x1c]
xor ebx, ebx
mov dword [ebp - 0x48], 2
lea eax, [ebp - 0x48]
mov dword [ebp - 0x40], 0x32
inc ebx
push eax
mov dword [ebp - 0x44], ebx
call dword [ebp + 0x18]
cmp eax, ebx
je 0x426f50
test eax, eax
jne 0x426fbc
lea eax, [ebp - 0x18]
push eax
push 0x1f4
push dword [ebp - 0x38]
call fcn.00441077
mov ebx, eax
cmp ebx, 0x80070102
je 0x426f2a
test ebx, ebx
js 0x427022
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x426fe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
push ebx
push 0x177
push str.msuengine.cpp
call fcn.00403c59
push str.Failed_to_get_process_exit_code.
jmp 0x426cbd
xor ebx, ebx
cmp eax, 2
setne bl
add ebx, 0x80070642
push ebx
push 0x16a
push str.msuengine.cpp
call fcn.00403c59
push str.Bootstrapper_application_aborted_during_MSU_progress.
jmp 0x426cbd
mov ebx, dword [ebp - 0x18]
mov eax, 0xbc2
cmp ebx, 0x80070bc2
cmove ebx, eax
mov eax, ebx
mov dword [ebp - 0x18], ebx
sub eax, esi
je 0x42701e
sub eax, 1
je 0x42701e
sub eax, 0xbc1
je 0x427018
sub eax, 0x23f443
je 0x427018
sub eax, 1
je 0x42701e
jmp 0x427033
mov dword [edi], 1
mov ebx, esi
jmp 0x427033
push dword [ebp - 4]
push str.Failed_to_wait_for_executable_to_complete:__ls
push ebx
call fcn.0044088f
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x427041
push dword [ebp - 0xc]
call fcn.00445c98
cmp dword [ebp - 0x10], 0
je 0x42704f
push dword [ebp - 0x10]
call fcn.00445c98
cmp dword [ebp - 0x14], 0
je 0x42705d
push dword [ebp - 0x14]
call fcn.00445c98
cmp dword [ebp - 0x1c], 0
je 0x42706b
push dword [ebp - 0x1c]
call fcn.00445c98
cmp dword [ebp - 4], 0
je 0x427079
push dword [ebp - 4]
call fcn.00445c98
cmp dword [ebp - 8], 0
je 0x427087
push dword [ebp - 8]
call fcn.00445c98
cmp dword [ebp - 0x38], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x42709f
push dword [ebp - 0x38]
call esi
xor edi, edi
mov dword [ebp - 0x38], edi
jmp 0x4270a1
xor edi, edi
cmp dword [ebp - 0x34], 0
je 0x4270af
push dword [ebp - 0x34]
call esi
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x24], 0
je 0x4270bf
push 4
push dword [ebp - 0x28]
call fcn.00426b12
push 1
push edi
push str.WixBundleExecutePackageCacheFolder
push dword [ebp + 0xc]
call fcn.004085eb
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c