Function at 0x45acc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d64f
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x4ae44c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.Begin_Windows_Installer_upgrade
push 0x484d84
mov dword [ebp - 0x10], 0
call fcn.00459000
push eax
call fcn.0045a050
add esp, 0xc
lea ecx, [ebp - 0x18]
call dword [0x4824e8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [0x4824e8]
mov bl, 1
mov byte [ebp - 4], bl
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0045abe0
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push ecx
push str.System
lea edx, [ebp - 0x14]
push 0x4861f8
push edx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0045ac50
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x18]
call dword [0x4824d8]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push 0x3c
lea ecx, [ebp - 0x58]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x3c], 0xa
mov dword [ebp - 0x54], 0x140
mov dword [ebp - 0x58], 0x3c
call dword [sym.imp.mfc100u.dll_]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x48], eax
call dword [sym.imp.mfc100u.dll_]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x45af52
mov eax, dword [ebp - 0x20]
or esi, 0xffffffff
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x45aef0
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0040b540
add esp, 8
mov byte [ebp - 4], 4
mov ecx, eax
call dword [sym.imp.mfc100u.dll_]
mov edx, dword [ebp - 0x10]
push eax
push 0x485024
push edx
push str.Wait_ended_successfully.__App_returned_error_code:
push str.siss
call fcn.00459000
push eax
call fcn.0045a050
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0xbc2
jne 0x45ae7a
push str.Windows_Installer_upgrade_has_requested_reboot
push 0x484d84
call fcn.00459000
push eax
call fcn.0045a050
add esp, 0xc
call fcn.0042def0
mov byte [eax + 0x819], bl
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.0040b540
add esp, 8
mov byte [ebp - 4], 6
mov ecx, eax
call dword [sym.imp.mfc100u.dll_]
push eax
mov eax, dword [ebp - 0x10]
push 0x485024
push eax
push str.End_Windows_Installer_upgrade:
push str.siss
call fcn.00459000
push eax
call fcn.0045a050
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x10], eax
call fcn.0040b540
add esp, 8
mov byte [ebp - 4], 5
mov ecx, eax
call dword [sym.imp.mfc100u.dll_]
mov edx, dword [ebp - 0x10]
push eax
push 0x485024
push edx
push str.Wait_ended_unsuccessfully.__App_returned_error_code:
push str.siss
call fcn.00459000
push eax
call fcn.0045a050
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [ebp - 4], esi
jmp 0x45af85
mov eax, dword [ebp - 0x38]
push eax
push str.Execution_was_unsuccessful:
push 0x484d4c
mov dword [ebp - 0x10], eax
call fcn.00459000
push eax
call fcn.0045a050
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret