Function at 0x41db33
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.004267c0
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.00431d07
mov ebx, eax
test ebx, ebx
jns 0x41db9d
push str.Failed_to_find_System32_directory.
jmp 0x41de19
lea eax, [ebp - 8]
push eax
push str.wusa.exe
push dword [ebp - 0x10]
call fcn.004314a9
mov ebx, eax
test ebx, ebx
jns 0x41dbbe
push str.Failed_to_allocate_WUSA.exe_path.
jmp 0x41de19
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
dec eax
je 0x41dc51
dec eax
je 0x41dbdd
mov ebx, 0x8000ffff
push str.Failed_to_get_action_arguments_for_MSU_package.
jmp 0x41de19
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 8]
push dword [eax + 0x24]
push 1
call fcn.00413be9
mov ebx, eax
test ebx, ebx
jns 0x41dc03
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
jmp 0x41de93
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.004314a9
mov ebx, eax
test ebx, ebx
jns 0x41dc2a
push str.Failed_to_build_MSU_path.
jmp 0x41de19
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 8]
push str.__ls____ls___quiet__norestart
push eax
call fcn.00433cea
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x41dc7e
push str.Failed_to_format_MSU_install_command.
jmp 0x41de19
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.00433cea
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x41dc7e
push str.Failed_to_format_MSU_uninstall_command.
jmp 0x41de19
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41dcc9
xor ecx, ecx
cmp word [eax], cx
je 0x41dcc9
push ecx
push str.__log:
lea eax, [ebp - 4]
push eax
call fcn.00433c35
mov ebx, eax
test ebx, ebx
jns 0x41dcab
push str.Failed_to_append_log_switch_to_MSU_command_line.
jmp 0x41de19
push 0
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00433c35
mov ebx, eax
test ebx, ebx
jns 0x41dcc9
push str.Failed_to_append_log_path_to_MSU_command_line.
jmp 0x41de19
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41dcd9
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
push dword [ebp - 4]
push eax
push dword [esi + 0x10]
call fcn.0040e2bb
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp + 0xc]
call fcn.0040e8fd
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.0041d8e0
mov ebx, eax
test ebx, ebx
jns 0x41dd20
push str.Failed_to_ensure_WU_service_was_enabled_to_install_MSU_package.
jmp 0x41de19
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 0x41dd8c
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.004300d9
push dword [ebp - 8]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x41de93
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 0x41ddb2
test eax, eax
jne 0x41de23
lea eax, [ebp - 0x18]
push eax
push 0x1f4
push dword [ebp - 0x30]
call fcn.00431fb6
mov ebx, eax
cmp ebx, 0x80070102
je 0x41dd8c
test ebx, ebx
js 0x41de8b
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x41de48
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.004300d9
push str.Failed_to_get_process_exit_code.
push ebx
call fcn.00430a57
pop ecx
pop ecx
jmp 0x41de9c
xor ebx, ebx
cmp eax, 2
setne bl
add ebx, 0x80070642
push ebx
push 0x14d
push str.msuengine.cpp
call fcn.004300d9
push str.Bootstrapper_application_aborted_during_MSU_progress.
jmp 0x41de19
mov ebx, dword [ebp - 0x18]
cmp ebx, 0x80070bc2
mov ecx, 0xbc2
cmove ebx, ecx
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x41de87
xor eax, eax
inc eax
cmp ebx, eax
je 0x41de87
cmp ebx, ecx
je 0x41de85
cmp ebx, 0x240005
je 0x41de85
cmp ebx, 0x240006
je 0x41de87
cmp ebx, 0x80240017
je 0x41de87
jmp 0x41de9c
mov dword [edi], eax
mov ebx, esi
jmp 0x41de9c
push dword [ebp - 8]
push str.Failed_to_wait_for_executable_to_complete:__ls
push ebx
call fcn.00430a57
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x41deaa
push dword [ebp - 0x14]
call fcn.004380ab
cmp dword [ebp - 0xc], 0
je 0x41deb8
push dword [ebp - 0xc]
call fcn.004380ab
cmp dword [ebp - 0x10], 0
je 0x41dec6
push dword [ebp - 0x10]
call fcn.004380ab
cmp dword [ebp - 8], 0
je 0x41ded4
push dword [ebp - 8]
call fcn.004380ab
cmp dword [ebp - 4], 0
je 0x41dee2
push dword [ebp - 4]
call fcn.004380ab
cmp dword [ebp - 0x30], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41def7
push dword [ebp - 0x30]
call esi
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x2c], 0
je 0x41df06
push dword [ebp - 0x2c]
call esi
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x20], 0
je 0x41df16
push 4
push dword [ebp - 0x1c]
call fcn.0041da76
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14