Function at 0x41dd64
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
xor esi, esi
lea eax, [ebp - 0x84]
push edi
push 0x44
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.00426ad0
xor eax, eax
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x30]
add esp, 0xc
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
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov edi, dword [ebp + 0x18]
push eax
push 0x25
mov dword [edi], esi
call fcn.00435b60
mov ebx, eax
test ebx, ebx
jns 0x41ddce
push str.Failed_to_find_System32_directory.
jmp 0x41e04a
lea eax, [ebp - 8]
push eax
push str.wusa.exe
push dword [ebp - 0x10]
call fcn.004352fa
mov ebx, eax
test ebx, ebx
jns 0x41ddef
push str.Failed_to_allocate_WUSA.exe_path.
jmp 0x41e04a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
dec eax
je 0x41de82
dec eax
je 0x41de0e
mov ebx, 0x8000ffff
push str.Failed_to_get_action_arguments_for_MSU_package.
jmp 0x41e04a
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 8]
push dword [eax + 0x24]
push 1
call fcn.00413d6a
mov ebx, eax
test ebx, ebx
jns 0x41de34
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
jmp 0x41e0c4
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.004352fa
mov ebx, eax
test ebx, ebx
jns 0x41de5b
push str.Failed_to_build_MSU_path.
jmp 0x41e04a
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 8]
push str.__ls____ls___quiet__norestart
push eax
call fcn.00437bd9
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x41deaf
push str.Failed_to_format_MSU_install_command.
jmp 0x41e04a
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.00437bd9
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x41deaf
push str.Failed_to_format_MSU_uninstall_command.
jmp 0x41e04a
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41defa
xor ecx, ecx
cmp word [eax], cx
je 0x41defa
push ecx
push str.__log:
lea eax, [ebp - 4]
push eax
call fcn.00437b22
mov ebx, eax
test ebx, ebx
jns 0x41dedc
push str.Failed_to_append_log_switch_to_MSU_command_line.
jmp 0x41e04a
push 0
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00437b22
mov ebx, eax
test ebx, ebx
jns 0x41defa
push str.Failed_to_append_log_path_to_MSU_command_line.
jmp 0x41e04a
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41df0a
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
push dword [ebp - 4]
push eax
push dword [esi + 0x10]
call fcn.0040e3e4
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp + 0xc]
call fcn.0040ea28
push eax
push 0x2000012d
push 2
call fcn.00402085
add esp, 0x1c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041db0d
mov ebx, eax
test ebx, ebx
jns 0x41df51
push str.Failed_to_ensure_WU_service_was_enabled_to_install_MSU_package.
jmp 0x41e04a
lea eax, [ebp - 0x30]
mov dword [ebp - 0x84], 0x44
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]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41dfbd
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.00433f1c
push dword [ebp - 8]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x41e0c4
push dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], 0x32
inc ebx
push eax
mov dword [ebp - 0x3c], ebx
call dword [ebp + 0x10]
cmp eax, ebx
je 0x41dfe3
test eax, eax
jne 0x41e054
lea eax, [ebp - 0x18]
push eax
push 0x1f4
push dword [ebp - 0x30]
call fcn.00435e12
mov ebx, eax
cmp ebx, 0x80070102
je 0x41dfbd
test ebx, ebx
js 0x41e0bc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x41e079
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.00433f1c
push str.Failed_to_get_process_exit_code.
push ebx
call fcn.004348ae
pop ecx
pop ecx
jmp 0x41e0cd
xor ebx, ebx
cmp eax, 2
setne bl
add ebx, 0x80070642
push ebx
push 0x14d
push str.msuengine.cpp
call fcn.00433f1c
push str.Bootstrapper_application_aborted_during_MSU_progress.
jmp 0x41e04a
mov ebx, dword [ebp - 0x18]
mov ecx, 0xbc2
cmp ebx, 0x80070bc2
cmove ebx, ecx
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x41e0b8
xor eax, eax
inc eax
cmp ebx, eax
je 0x41e0b8
cmp ebx, ecx
je 0x41e0b6
cmp ebx, 0x240005
je 0x41e0b6
cmp ebx, 0x240006
je 0x41e0b8
cmp ebx, 0x80240017
je 0x41e0b8
jmp 0x41e0cd
mov dword [edi], eax
mov ebx, esi
jmp 0x41e0cd
push dword [ebp - 8]
push str.Failed_to_wait_for_executable_to_complete:__ls
push ebx
call fcn.004348ae
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x41e0db
push dword [ebp - 0x14]
call fcn.0043bfd9
cmp dword [ebp - 0xc], 0
je 0x41e0e9
push dword [ebp - 0xc]
call fcn.0043bfd9
cmp dword [ebp - 0x10], 0
je 0x41e0f7
push dword [ebp - 0x10]
call fcn.0043bfd9
cmp dword [ebp - 8], 0
je 0x41e105
push dword [ebp - 8]
call fcn.0043bfd9
cmp dword [ebp - 4], 0
je 0x41e113
push dword [ebp - 4]
call fcn.0043bfd9
cmp dword [ebp - 0x30], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41e128
push dword [ebp - 0x30]
call esi
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x2c], 0
je 0x41e137
push dword [ebp - 0x2c]
call esi
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x20], 0
je 0x41e147
push 4
push dword [ebp - 0x1c]
call fcn.0041dca5
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14