Function at 0x41ccdb
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.00425d30
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
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [eax], esi
lea eax, [ebp - 0x10]
push eax
push 0x25
mov dword [ebp - 0x18], esi
call fcn.0042fa71
mov edi, eax
cmp edi, esi
jge 0x41cd45
push str.Failed_to_find_System32_directory.
jmp 0x41ce69
lea eax, [ebp - 8]
push eax
push str.wusa.exe
push dword [ebp - 0x10]
call fcn.0042faa7
mov edi, eax
cmp edi, esi
jge 0x41cd66
push str.Failed_to_allocate_WUSA.exe_path.
jmp 0x41ce69
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
dec eax
je 0x41cdff
dec eax
je 0x41cd85
mov edi, 0x8000ffff
push str.Failed_to_get_action_arguments_for_MSU_package.
jmp 0x41ce69
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 8]
push dword [eax + 0x24]
push 1
call fcn.00415ff0
mov edi, eax
cmp edi, esi
jge 0x41cdb4
mov eax, dword [ebx + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push edi
call fcn.0042d996
add esp, 0xc
jmp 0x41d04f
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 - 0x14]
call fcn.0042faa7
mov edi, eax
cmp edi, esi
jge 0x41cddb
push str.Failed_to_build_MSU_path.
jmp 0x41ce69
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 8]
push str.__ls____ls___quiet__norestart
push eax
call fcn.0042f202
mov edi, eax
add esp, 0x10
cmp edi, esi
jge 0x41ce29
push str.Failed_to_format_MSU_install_command.
jmp 0x41ce69
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.0042f202
mov edi, eax
add esp, 0x10
cmp edi, esi
jge 0x41ce29
push str.Failed_to_format_MSU_uninstall_command.
jmp 0x41ce69
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x41ce76
cmp word [eax], si
je 0x41ce76
push esi
push str.__log:
lea eax, [ebp - 4]
push eax
call fcn.0042ee66
mov edi, eax
cmp edi, esi
jge 0x41ce51
push str.Failed_to_append_log_switch_to_MSU_command_line.
jmp 0x41ce69
push esi
push dword [ebx + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.0042ee66
mov edi, eax
cmp edi, esi
jge 0x41ce76
push str.Failed_to_append_log_path_to_MSU_command_line.
push edi
call fcn.0042d996
pop ecx
pop ecx
jmp 0x41d04f
mov eax, dword [ebp - 0xc]
cmp eax, esi
jne 0x41ce86
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x94]
push dword [ebp - 4]
push eax
push dword [ebx + 0x10]
call fcn.00410ac1
push eax
mov eax, dword [ebx + 8]
push dword [eax]
push dword [ebp + 0xc]
call fcn.00410e45
push eax
push 0x2000012d
push 2
pop esi
push esi
call fcn.004015e7
add esp, 0x1c
lea eax, [ebp - 0x20]
push eax
lea ebx, [ebp - 0x1c]
call fcn.0041cb44
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jge 0x41ced8
push str.Failed_to_ensure_WU_service_was_enabled_to_install_MSU_package.
push edi
call fcn.0042d996
pop ecx
pop ecx
jmp 0x41d04d
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x84], 0x44
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41cf4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41cf1b
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x41cf26
mov edi, 0x80004005
push edi
push 0x143
push str.msuengine.cpp
call fcn.0042fdc3
push dword [ebp - 8]
push str.Failed_to_CreateProcess_on_path:__ls
push edi
call fcn.0042d996
add esp, 0xc
jmp 0x41d04d
push dword [ebp + 0x14]
xor ebx, ebx
lea eax, [ebp - 0x40]
inc ebx
push eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0x32
call dword [ebp + 0x10]
cmp eax, ebx
je 0x41cf6e
test eax, eax
jne 0x41cfd7
lea eax, [ebp - 0x18]
push eax
push 0x1f4
push dword [ebp - 0x30]
call fcn.0042dbca
mov edi, eax
cmp edi, 0x80070102
je 0x41cf4c
test edi, edi
js 0x41cffe
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x41d00b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41cfb2
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x41cfbd
mov edi, 0x80004005
push edi
push 0x15a
push str.msuengine.cpp
call fcn.0042fdc3
push str.Failed_to_get_process_exit_code.
jmp 0x41cecb
xor ecx, ecx
cmp eax, esi
setne cl
lea edi, [ecx - 0x7ff8f9be]
push edi
push 0x14d
push str.msuengine.cpp
call fcn.0042fdc3
push str.Bootstrapper_application_aborted_during_MSU_progress.
jmp 0x41cecb
push dword [ebp - 8]
push str.Failed_to_wait_for_executable_to_complete:__ls
jmp 0x41cf3e
mov edi, dword [ebp - 0x18]
mov eax, 0xbc2
cmp edi, 0x80070bc2
jne 0x41d020
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x41d04b
cmp edi, ebx
je 0x41d04b
cmp edi, eax
je 0x41d046
cmp edi, 0x240005
je 0x41d046
cmp edi, 0x240006
je 0x41d04b
cmp edi, 0x80240017
je 0x41d04b
jmp 0x41d04d
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
xor edi, edi
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x41d05c
push dword [ebp - 0x14]
call fcn.0042dd7e
cmp dword [ebp - 0xc], esi
je 0x41d069
push dword [ebp - 0xc]
call fcn.0042dd7e
cmp dword [ebp - 0x10], esi
je 0x41d076
push dword [ebp - 0x10]
call fcn.0042dd7e
cmp dword [ebp - 8], esi
je 0x41d083
push dword [ebp - 8]
call fcn.0042dd7e
cmp dword [ebp - 4], esi
je 0x41d090
push dword [ebp - 4]
call fcn.0042dd7e
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], esi
je 0x41d0a3
push dword [ebp - 0x30]
call ebx
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x2c], esi
je 0x41d0b0
push dword [ebp - 0x2c]
call ebx
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x20], esi
je 0x41d0bf
push 4
push dword [ebp - 0x1c]
call fcn.0041cadc
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14