Function at 0x41dfe9
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.004272a0
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.0042f34a
mov edi, eax
cmp edi, esi
jge 0x41e05e
push str.Failed_to_determine_WOW64_status.
jmp 0x41e1de
cmp dword [ebp - 0x24], esi
je 0x41e09f
lea eax, [ebp - 0x14]
push eax
push 0x24
call fcn.0043131c
mov edi, eax
cmp edi, esi
jge 0x41e07e
push str.Failed_to_find_Windows_directory.
jmp 0x41e1de
lea eax, [ebp - 0x10]
push eax
push str.SysNative_
push dword [ebp - 0x14]
call fcn.00431352
mov edi, eax
cmp edi, esi
jge 0x41e0ba
push str.Failed_to_append_SysNative_directory.
jmp 0x41e1de
lea eax, [ebp - 0x10]
push eax
push 0x25
call fcn.0043131c
mov edi, eax
cmp edi, esi
jge 0x41e0ba
push str.Failed_to_find_System32_directory.
jmp 0x41e1de
lea eax, [ebp - 8]
push eax
push str.wusa.exe
push dword [ebp - 0x10]
call fcn.00431352
mov edi, eax
cmp edi, esi
jge 0x41e0db
push str.Failed_to_allocate_WUSA.exe_path.
jmp 0x41e1de
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
dec eax
je 0x41e174
dec eax
je 0x41e0fa
mov edi, 0x8000ffff
push str.Failed_to_get_action_arguments_for_MSU_package.
jmp 0x41e1de
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 8]
push dword [eax + 0x24]
push 1
call fcn.00416cd0
mov edi, eax
cmp edi, esi
jge 0x41e129
mov eax, dword [ebx + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push edi
call fcn.0042eef6
add esp, 0xc
jmp 0x41e3cc
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.00431352
mov edi, eax
cmp edi, esi
jge 0x41e150
push str.Failed_to_build_MSU_path.
jmp 0x41e1de
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 8]
push str.__ls____ls___quiet__norestart
push eax
call fcn.00430aad
mov edi, eax
add esp, 0x10
cmp edi, esi
jge 0x41e19e
push str.Failed_to_format_MSU_install_command.
jmp 0x41e1de
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.00430aad
mov edi, eax
add esp, 0x10
cmp edi, esi
jge 0x41e19e
push str.Failed_to_format_MSU_uninstall_command.
jmp 0x41e1de
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x41e1eb
cmp word [eax], si
je 0x41e1eb
push esi
push str.__log:
lea eax, [ebp - 4]
push eax
call fcn.00430658
mov edi, eax
cmp edi, esi
jge 0x41e1c6
push str.Failed_to_append_log_switch_to_MSU_command_line.
jmp 0x41e1de
push esi
push dword [ebx + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00430658
mov edi, eax
cmp edi, esi
jge 0x41e1eb
push str.Failed_to_append_log_path_to_MSU_command_line.
push edi
call fcn.0042eef6
pop ecx
pop ecx
jmp 0x41e3cc
mov eax, dword [ebp - 0xc]
cmp eax, esi
jne 0x41e1fb
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x94]
push dword [ebp - 4]
push eax
push dword [ebx + 0x10]
call fcn.004113d6
push eax
mov eax, dword [ebx + 8]
push dword [eax]
push dword [ebp + 0xc]
call fcn.0041175a
push eax
push 0x2000012d
push 2
pop esi
push esi
call fcn.00401607
add esp, 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x10]
lea ebx, [ebp - 0x20]
call fcn.0041de37
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jge 0x41e250
push str.Failed_to_ensure_WU_service_was_enabled_to_install_MSU_package.
push edi
call fcn.0042eef6
pop ecx
pop ecx
jmp 0x41e3ca
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 0x41e2c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41e293
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x41e29e
mov edi, 0x80004005
push edi
push 0x156
push str.msuengine.cpp
call fcn.0043166e
push dword [ebp - 8]
push str.Failed_to_CreateProcess_on_path:__ls
push edi
call fcn.0042eef6
add esp, 0xc
jmp 0x41e3ca
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 0x41e2e6
test eax, eax
jne 0x41e34f
lea eax, [ebp - 0x1c]
push eax
push 0x1f4
push dword [ebp - 0x38]
call fcn.0042f4a3
mov edi, eax
cmp edi, 0x80070102
je 0x41e2c4
test edi, edi
js 0x41e376
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x41e383
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41e32a
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x41e335
mov edi, 0x80004005
push edi
push 0x16d
push str.msuengine.cpp
call fcn.0043166e
push str.Failed_to_get_process_exit_code.
jmp 0x41e243
xor ecx, ecx
cmp eax, esi
setne cl
lea edi, [ecx - 0x7ff8f9be]
push edi
push 0x160
push str.msuengine.cpp
call fcn.0043166e
push str.Bootstrapper_application_aborted_during_MSU_progress.
jmp 0x41e243
push dword [ebp - 8]
push str.Failed_to_wait_for_executable_to_complete:__ls
jmp 0x41e2b6
mov edi, dword [ebp - 0x1c]
cmp edi, 0x80070bc2
jne 0x41e396
mov edi, 0xbc2
mov dword [ebp - 0x1c], edi
mov eax, edi
sub eax, 0
je 0x41e3c8
dec eax
je 0x41e3c8
sub eax, 0xbc1
je 0x41e3c3
sub eax, 0x23f443
je 0x41e3c3
dec eax
je 0x41e3c8
test edi, edi
jle 0x41e3ca
and edi, 0xffff
or edi, 0x80070000
jmp 0x41e3ca
mov eax, dword [ebp + 0x1c]
mov dword [eax], ebx
xor edi, edi
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x41e3d9
push dword [ebp - 0x18]
call fcn.0042f657
cmp dword [ebp - 0xc], esi
je 0x41e3e6
push dword [ebp - 0xc]
call fcn.0042f657
cmp dword [ebp - 0x14], esi
je 0x41e3f3
push dword [ebp - 0x14]
call fcn.0042f657
cmp dword [ebp - 0x10], esi
je 0x41e400
push dword [ebp - 0x10]
call fcn.0042f657
cmp dword [ebp - 8], esi
je 0x41e40d
push dword [ebp - 8]
call fcn.0042f657
cmp dword [ebp - 4], esi
je 0x41e41a
push dword [ebp - 4]
call fcn.0042f657
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x38], esi
je 0x41e42d
push dword [ebp - 0x38]
call ebx
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x34], esi
je 0x41e43a
push dword [ebp - 0x34]
call ebx
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x20], esi
je 0x41e449
push 4
push dword [ebp - 0x28]
call fcn.0041dd54
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18