Function at 0x41d9e7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
xor esi, esi
push edi
push 0x44
lea eax, [ebp - 0x84]
push esi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call fcn.004265e0
xor eax, eax
lea edi, [ebp - 0x30]
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 - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 0x10]
push eax
push 0x25
mov dword [ebp - 0x18], esi
mov dword [edi], esi
call fcn.00431b27
mov ebx, eax
test ebx, ebx
jns 0x41da51
push str.Failed_to_find_System32_directory.
jmp 0x41dccd
lea eax, [ebp - 8]
push eax
push str.wusa.exe
push dword [ebp - 0x10]
call fcn.004312c9
mov ebx, eax
test ebx, ebx
jns 0x41da72
push str.Failed_to_allocate_WUSA.exe_path.
jmp 0x41dccd
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
dec eax
je 0x41db05
dec eax
je 0x41da91
mov ebx, 0x8000ffff
push str.Failed_to_get_action_arguments_for_MSU_package.
jmp 0x41dccd
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 8]
push dword [eax + 0x24]
push 1
call fcn.00413a9f
mov ebx, eax
test ebx, ebx
jns 0x41dab7
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
jmp 0x41dd47
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax]
push dword [eax + 0x18]
push dword [ebp - 0x14]
call fcn.004312c9
mov ebx, eax
test ebx, ebx
jns 0x41dade
push str.Failed_to_build_MSU_path.
jmp 0x41dccd
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 8]
push str.__ls____ls___quiet__norestart
push eax
call fcn.00433b0a
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x41db32
push str.Failed_to_format_MSU_install_command.
jmp 0x41dccd
mov eax, dword [esi + 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.00433b0a
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x41db32
push str.Failed_to_format_MSU_uninstall_command.
jmp 0x41dccd
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41db7d
xor ecx, ecx
cmp word [eax], cx
je 0x41db7d
push ecx
push str.__log:
lea eax, [ebp - 4]
push eax
call fcn.00433a55
mov ebx, eax
test ebx, ebx
jns 0x41db5f
push str.Failed_to_append_log_switch_to_MSU_command_line.
jmp 0x41dccd
push 0
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00433a55
mov ebx, eax
test ebx, ebx
jns 0x41db7d
push str.Failed_to_append_log_path_to_MSU_command_line.
jmp 0x41dccd
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41db8d
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
push dword [ebp - 4]
push eax
push dword [esi + 0x10]
call fcn.0040e171
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp + 0xc]
call fcn.0040e7b3
push eax
push 0x2000012d
push 2
call fcn.00402003
add esp, 0x1c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d794
mov ebx, eax
test ebx, ebx
jns 0x41dbd4
push str.Failed_to_ensure_WU_service_was_enabled_to_install_MSU_package.
jmp 0x41dccd
lea eax, [ebp - 0x30]
push eax
xor esi, esi
lea eax, [ebp - 0x84]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 0x84], 0x44
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41dc40
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 0x143
push str.msuengine.cpp
call fcn.0042fef9
push dword [ebp - 8]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x41dd47
push dword [ebp + 0x14]
xor ebx, ebx
lea eax, [ebp - 0x40]
inc ebx
push eax
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0x32
call dword [ebp + 0x10]
cmp eax, ebx
je 0x41dc66
test eax, eax
jne 0x41dcd7
lea eax, [ebp - 0x18]
push eax
push 0x1f4
push dword [ebp - 0x30]
call fcn.00431dd6
mov ebx, eax
cmp ebx, 0x80070102
je 0x41dc40
test ebx, ebx
js 0x41dd3f
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x41dcfc
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 0x15a
push str.msuengine.cpp
call fcn.0042fef9
push str.Failed_to_get_process_exit_code.
push ebx
call fcn.00430877
pop ecx
pop ecx
jmp 0x41dd50
xor ebx, ebx
cmp eax, 2
setne bl
add ebx, 0x80070642
push ebx
push 0x14d
push str.msuengine.cpp
call fcn.0042fef9
push str.Bootstrapper_application_aborted_during_MSU_progress.
jmp 0x41dccd
mov ebx, dword [ebp - 0x18]
cmp ebx, 0x80070bc2
mov ecx, 0xbc2
cmove ebx, ecx
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x41dd3b
xor eax, eax
inc eax
cmp ebx, eax
je 0x41dd3b
cmp ebx, ecx
je 0x41dd39
cmp ebx, 0x240005
je 0x41dd39
cmp ebx, 0x240006
je 0x41dd3b
cmp ebx, 0x80240017
je 0x41dd3b
jmp 0x41dd50
mov dword [edi], eax
mov ebx, esi
jmp 0x41dd50
push dword [ebp - 8]
push str.Failed_to_wait_for_executable_to_complete:__ls
push ebx
call fcn.00430877
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x41dd5e
push dword [ebp - 0x14]
call fcn.00434266
cmp dword [ebp - 0xc], 0
je 0x41dd6c
push dword [ebp - 0xc]
call fcn.00434266
cmp dword [ebp - 0x10], 0
je 0x41dd7a
push dword [ebp - 0x10]
call fcn.00434266
cmp dword [ebp - 8], 0
je 0x41dd88
push dword [ebp - 8]
call fcn.00434266
cmp dword [ebp - 4], 0
je 0x41dd96
push dword [ebp - 4]
call fcn.00434266
cmp dword [ebp - 0x30], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41ddab
push dword [ebp - 0x30]
call esi
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x2c], 0
je 0x41ddba
push dword [ebp - 0x2c]
call esi
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x20], 0
je 0x41ddca
push 4
push dword [ebp - 0x1c]
call fcn.0041d92a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14