Function at 0x40754c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x45a06c]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x14], 0
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x24]
push str.Run:
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov byte [ebp - 0xc], al
call fcn.004011b7
push esi
mov ecx, eax
call fcn.0040239a
lea eax, [ebp - 0x24]
push eax
push eax
push 0x198
push str.Installer::RunProcessAndWait
push 0
call fcn.00415994
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402499
test ebx, ebx
je 0x4075c2
mov dword [ebx], 0x190
push 0x40
xor ebx, ebx
mov dword [ebp - 0xa4], 0x44
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.00429740
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa4]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0xc], bl
test eax, eax
jne 0x407650
push str.Create_process_failed.
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.004011b7
lea eax, [ebp - 0x24]
push eax
push eax
push 0x1a1
push str.Installer::RunProcessAndWait
push 1
call fcn.00415994
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402499
xor al, al
jmp 0x4077fc
mov esi, dword [ebp - 0x50]
xor eax, eax
push 7
pop edi
push str.Process_created:
mov dword [ebp - 0x10], edi
mov word [ebp - 0x24], ax
call fcn.004011b7
push esi
mov ecx, eax
call fcn.004012b3
lea eax, [ebp - 0x24]
push eax
push eax
push 0x1a4
push str.Installer::RunProcessAndWait
push ebx
call fcn.00415994
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402499
mov esi, dword [ebp - 0x44]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4076aa
mov eax, dword [ecx]
push 0x28
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov word [ebp - 0x24], ax
push str.Wait_for_process_finish.
inc ebx
mov byte [ebp - 0xc], al
call fcn.004011b7
lea eax, [ebp - 0x24]
mov esi, str.Installer::RunProcessAndWait
push eax
push eax
push 0x1ac
push esi
push 0
call fcn.00415994
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402499
push 0xffffffffffffffff
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x407744
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x10], edi
push str.Wait_process_failed.
mov word [ebp - 0x24], ax
mov byte [ebp - 0xc], al
call fcn.004011b7
lea eax, [ebp - 0x24]
push eax
push eax
push 0x1af
push esi
push ebx
call fcn.00415994
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402499
xor bl, bl
jmp 0x4077f1
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4077f1
push esi
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x407799
and dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
push str.Get_setup_process_exit_code_failed.
mov dword [ebp - 0x10], edi
mov word [ebp - 0x24], ax
mov byte [ebp - 0xc], al
call fcn.004011b7
lea eax, [ebp - 0x24]
push eax
push eax
push 0x1b4
push str.Installer::RunProcessAndWait
push ebx
call fcn.00415994
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402499
xor bl, bl
mov edx, dword [esi]
lea ecx, [ebp - 0x20]
and dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x40], ax
mov byte [ebp - 0x28], al
call fcn.004163dc
push eax
push str.Setup_process_exit_with_code:
lea ecx, [ebp - 0x40]
call fcn.004011b7
mov ecx, eax
call fcn.00401209
lea ecx, [ebp - 0x20]
call fcn.00402525
lea eax, [ebp - 0x40]
push eax
push eax
push 0x1b8
push str.Installer::RunProcessAndWait
push 0
call fcn.00415994
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.00402499
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427412
mov esp, ebp
pop ebp
ret 0xc