Function at 0x41f03e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
xor esi, esi
push edi
push 0x44
lea eax, [ebp - 0x8c]
push esi
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
call fcn.004284a0
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
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
mov eax, dword [ebp + 0x1c]
mov dword [eax], esi
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.0043054b
mov edi, eax
cmp edi, esi
jge 0x41f0b3
push str.Failed_to_determine_WOW64_status.
jmp 0x41f233
cmp dword [ebp - 0x24], esi
je 0x41f0f4
lea eax, [ebp - 0x14]
push eax
push 0x24
call fcn.00432603
mov edi, eax
cmp edi, esi
jge 0x41f0d3
push str.Failed_to_find_Windows_directory.
jmp 0x41f233
lea eax, [ebp - 0x10]
push eax
push str.SysNative_
push dword [ebp - 0x14]
call fcn.00432639
mov edi, eax
cmp edi, esi
jge 0x41f10f
push str.Failed_to_append_SysNative_directory.
jmp 0x41f233
lea eax, [ebp - 0x10]
push eax
push 0x25
call fcn.00432603
mov edi, eax
cmp edi, esi
jge 0x41f10f
push str.Failed_to_find_System32_directory.
jmp 0x41f233
lea eax, [ebp - 8]
push eax
push str.wusa.exe
push dword [ebp - 0x10]
call fcn.00432639
mov edi, eax
cmp edi, esi
jge 0x41f130
push str.Failed_to_allocate_WUSA.exe_path.
jmp 0x41f233
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
dec eax
je 0x41f1c9
dec eax
je 0x41f14f
mov edi, 0x8000ffff
push str.Failed_to_get_action_arguments_for_MSU_package.
jmp 0x41f233
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 8]
push dword [eax + 0x24]
push 1
call fcn.004188ab
mov edi, eax
cmp edi, esi
jge 0x41f17e
mov eax, dword [ebx + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push edi
call fcn.004300f7
add esp, 0xc
jmp 0x41f421
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax]
push dword [eax + 0x18]
push dword [ebp - 0x18]
call fcn.00432639
mov edi, eax
cmp edi, esi
jge 0x41f1a5
push str.Failed_to_build_MSU_path.
jmp 0x41f233
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 8]
push str.__ls____ls___quiet__norestart
push eax
call fcn.00431d94
mov edi, eax
add esp, 0x10
cmp edi, esi
jge 0x41f1f3
push str.Failed_to_format_MSU_install_command.
jmp 0x41f233
mov eax, dword [ebx + 8]
push dword [eax + 0x94]
lea eax, [ebp - 4]
push dword [ebp - 8]
push str.__ls___uninstall__kb:_ls__quiet__norestart
push eax
call fcn.00431d94
mov edi, eax
add esp, 0x10
cmp edi, esi
jge 0x41f1f3
push str.Failed_to_format_MSU_uninstall_command.
jmp 0x41f233
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x41f240
cmp word [eax], si
je 0x41f240
push esi
push str.__log:
lea eax, [ebp - 4]
push eax
call fcn.0043193f
mov edi, eax
cmp edi, esi
jge 0x41f21b
push str.Failed_to_append_log_switch_to_MSU_command_line.
jmp 0x41f233
push esi
push dword [ebx + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.0043193f
mov edi, eax
cmp edi, esi
jge 0x41f240
push str.Failed_to_append_log_path_to_MSU_command_line.
push edi
call fcn.004300f7
pop ecx
pop ecx
jmp 0x41f421
mov eax, dword [ebp - 0xc]
cmp eax, esi
jne 0x41f250
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x94]
push dword [ebp - 4]
push eax
push dword [ebx + 0x10]
call fcn.00411840
push eax
mov eax, dword [ebx + 8]
push dword [eax]
push dword [ebp + 0xc]
call fcn.00411c07
push eax
push 0x2000012d
push 2
pop esi
push esi
call fcn.00401566
add esp, 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x10]
lea ebx, [ebp - 0x20]
call fcn.0041ee8c
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jge 0x41f2a5
push str.Failed_to_ensure_WU_service_was_enabled_to_install_MSU_package.
push edi
call fcn.004300f7
pop ecx
pop ecx
jmp 0x41f41f
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x8c], 0x44
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41f319
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41f2e8
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x41f2f3
mov edi, 0x80004005
push edi
push 0x156
push str.msuengine.cpp
call fcn.00432f68
push dword [ebp - 8]
push str.Failed_to_CreateProcess_on_path:__ls
push edi
call fcn.004300f7
add esp, 0xc
jmp 0x41f41f
push dword [ebp + 0x18]
xor ebx, ebx
lea eax, [ebp - 0x48]
inc ebx
push eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 0x32
call dword [ebp + 0x14]
cmp eax, ebx
je 0x41f33b
test eax, eax
jne 0x41f3a4
lea eax, [ebp - 0x1c]
push eax
push 0x1f4
push dword [ebp - 0x38]
call fcn.004306a4
mov edi, eax
cmp edi, 0x80070102
je 0x41f319
test edi, edi
js 0x41f3cb
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x41f3d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41f37f
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x41f38a
mov edi, 0x80004005
push edi
push 0x16d
push str.msuengine.cpp
call fcn.00432f68
push str.Failed_to_get_process_exit_code.
jmp 0x41f298
xor ecx, ecx
cmp eax, esi
setne cl
lea edi, [ecx - 0x7ff8f9be]
push edi
push 0x160
push str.msuengine.cpp
call fcn.00432f68
push str.Bootstrapper_application_aborted_during_MSU_progress.
jmp 0x41f298
push dword [ebp - 8]
push str.Failed_to_wait_for_executable_to_complete:__ls
jmp 0x41f30b
mov edi, dword [ebp - 0x1c]
cmp edi, 0x80070bc2
jne 0x41f3eb
mov edi, 0xbc2
mov dword [ebp - 0x1c], edi
mov eax, edi
sub eax, 0
je 0x41f41d
dec eax
je 0x41f41d
sub eax, 0xbc1
je 0x41f418
sub eax, 0x23f443
je 0x41f418
dec eax
je 0x41f41d
test edi, edi
jle 0x41f41f
and edi, 0xffff
or edi, 0x80070000
jmp 0x41f41f
mov eax, dword [ebp + 0x1c]
mov dword [eax], ebx
xor edi, edi
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x41f42e
push dword [ebp - 0x18]
call fcn.00430858
cmp dword [ebp - 0xc], esi
je 0x41f43b
push dword [ebp - 0xc]
call fcn.00430858
cmp dword [ebp - 0x14], esi
je 0x41f448
push dword [ebp - 0x14]
call fcn.00430858
cmp dword [ebp - 0x10], esi
je 0x41f455
push dword [ebp - 0x10]
call fcn.00430858
cmp dword [ebp - 8], esi
je 0x41f462
push dword [ebp - 8]
call fcn.00430858
cmp dword [ebp - 4], esi
je 0x41f46f
push dword [ebp - 4]
call fcn.00430858
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x38], esi
je 0x41f482
push dword [ebp - 0x38]
call ebx
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x34], esi
je 0x41f48f
push dword [ebp - 0x34]
call ebx
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x20], esi
je 0x41f49e
push 4
push dword [ebp - 0x28]
call fcn.0041eda9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18