Function at 0x421db5
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 - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
call fcn.004292a0
xor eax, eax
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x38]
mov dword [ebp - 0x28], 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 - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.0043891f
mov ebx, eax
test ebx, ebx
jns 0x421e25
push str.Failed_to_determine_WOW64_status.
jmp 0x422117
mov edi, dword [ebp + 0x20]
mov dword [edi], esi
cmp dword [ebp - 0x28], esi
je 0x421e6b
lea eax, [ebp - 0x18]
push eax
push 0x24
call fcn.004385c9
mov ebx, eax
test ebx, ebx
jns 0x421e4a
push str.Failed_to_find_Windows_directory.
jmp 0x422117
lea eax, [ebp - 0x14]
push eax
push str.SysNative_
push dword [ebp - 0x18]
call fcn.00437d63
mov ebx, eax
test ebx, ebx
jns 0x421e86
push str.Failed_to_append_SysNative_directory.
jmp 0x422117
lea eax, [ebp - 0x14]
push eax
push 0x25
call fcn.004385c9
mov ebx, eax
test ebx, ebx
jns 0x421e86
push str.Failed_to_find_System32_directory.
jmp 0x422117
lea eax, [ebp - 4]
push eax
push str.wusa.exe
push dword [ebp - 0x14]
call fcn.00437d63
mov ebx, eax
test ebx, ebx
jns 0x421ea7
push str.Failed_to_allocate_WUSA.exe_path.
jmp 0x422117
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
dec eax
je 0x421f4c
dec eax
je 0x421ec6
mov ebx, 0x8000ffff
push str.Failed_to_get_action_arguments_for_MSU_package.
jmp 0x422117
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 8]
push dword [eax + 0x24]
push 1
call fcn.00415e85
mov ebx, eax
test ebx, ebx
jns 0x421eec
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
jmp 0x422188
push 1
push dword [ebp - 0xc]
push str.WixBundleExecutePackageCacheFolder
push dword [ebp + 0xc]
call fcn.004049c8
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.00437d63
mov ebx, eax
test ebx, ebx
jns 0x421f25
push str.Failed_to_build_MSU_path.
jmp 0x422117
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push dword [ebp - 4]
push str.__ls____ls___quiet__norestart
push eax
call fcn.0043a845
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x421f79
push str.Failed_to_format_MSU_install_command.
jmp 0x422117
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.0043a845
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x421f79
push str.Failed_to_format_MSU_uninstall_command.
jmp 0x422117
mov eax, dword [esi + 0xc]
test eax, eax
je 0x421fc4
xor ecx, ecx
cmp word [eax], cx
je 0x421fc4
push ecx
push str.__log:
lea eax, [ebp - 8]
push eax
call fcn.0043a817
mov ebx, eax
test ebx, ebx
jns 0x421fa6
push str.Failed_to_append_log_switch_to_MSU_command_line.
jmp 0x422117
push 0
push dword [esi + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.0043a817
mov ebx, eax
test ebx, ebx
jns 0x421fc4
push str.Failed_to_append_log_path_to_MSU_command_line.
jmp 0x422117
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x421fd4
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
push dword [ebp - 8]
push eax
push dword [esi + 0x10]
call fcn.0040ff27
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp + 0x10]
call fcn.0041056b
push eax
push 0x2000012d
push 2
call fcn.0040206d
add esp, 0x1c
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
call fcn.00421ac5
mov ebx, eax
test ebx, ebx
jns 0x42201e
push str.Failed_to_ensure_WU_service_was_enabled_to_install_MSU_package.
jmp 0x422117
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 0x42208a
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 0x15d
push str.msuengine.cpp
call fcn.00436473
push dword [ebp - 4]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x422188
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 0x4220b0
test eax, eax
jne 0x422121
lea eax, [ebp - 0x1c]
push eax
push 0x1f4
push dword [ebp - 0x38]
call fcn.0043887b
mov ebx, eax
cmp ebx, 0x80070102
je 0x42208a
test ebx, ebx
js 0x422180
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x422146
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 0x174
push str.msuengine.cpp
call fcn.00436473
push str.Failed_to_get_process_exit_code.
push ebx
call fcn.00437258
pop ecx
pop ecx
jmp 0x422191
xor ebx, ebx
cmp eax, 2
setne bl
add ebx, 0x80070642
push ebx
push 0x167
push str.msuengine.cpp
call fcn.00436473
push str.Bootstrapper_application_aborted_during_MSU_progress.
jmp 0x422117
mov ebx, dword [ebp - 0x1c]
mov eax, 0xbc2
cmp ebx, 0x80070bc2
cmove ebx, eax
mov eax, ebx
mov dword [ebp - 0x1c], ebx
sub eax, esi
je 0x42217c
dec eax
je 0x42217c
sub eax, 0xbc1
je 0x422176
sub eax, 0x23f443
je 0x422176
dec eax
je 0x42217c
jmp 0x422191
mov dword [edi], 1
mov ebx, esi
jmp 0x422191
push dword [ebp - 4]
push str.Failed_to_wait_for_executable_to_complete:__ls
push ebx
call fcn.00437258
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x42219f
push dword [ebp - 0xc]
call fcn.0043af5b
cmp dword [ebp - 0x10], 0
je 0x4221ad
push dword [ebp - 0x10]
call fcn.0043af5b
cmp dword [ebp - 0x14], 0
je 0x4221bb
push dword [ebp - 0x14]
call fcn.0043af5b
cmp dword [ebp - 0x18], 0
je 0x4221c9
push dword [ebp - 0x18]
call fcn.0043af5b
cmp dword [ebp - 4], 0
je 0x4221d7
push dword [ebp - 4]
call fcn.0043af5b
cmp dword [ebp - 8], 0
je 0x4221e5
push dword [ebp - 8]
call fcn.0043af5b
cmp dword [ebp - 0x38], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4221fd
push dword [ebp - 0x38]
call esi
xor edi, edi
mov dword [ebp - 0x38], edi
jmp 0x4221ff
xor edi, edi
cmp dword [ebp - 0x34], 0
je 0x42220d
push dword [ebp - 0x34]
call esi
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x24], 0
je 0x42221d
push 4
push dword [ebp - 0x20]
call fcn.00421c75
push 1
push edi
push str.WixBundleExecutePackageCacheFolder
push dword [ebp + 0xc]
call fcn.004049c8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c