Function at 0x4078bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x45d06c]
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.004011fd
push esi
mov ecx, eax
call fcn.00402462
lea eax, [ebp - 0x24]
push eax
push eax
push 0x1ad
push str.Installer::RunProcessAndWait
push 0
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402561
test ebx, ebx
je 0x407932
mov dword [ebx], 0x190
push 0x40
xor ebx, ebx
mov dword [ebp - 0xa4], 0x44
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.0042b810
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 0x4079c0
push str.Create_process_failed.
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.004011fd
lea eax, [ebp - 0x24]
push eax
push eax
push 0x1b6
push str.Installer::RunProcessAndWait
push 1
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402561
xor al, al
jmp 0x407b6c
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.004011fd
push esi
mov ecx, eax
call fcn.004012f9
lea eax, [ebp - 0x24]
push eax
push eax
push 0x1b9
push str.Installer::RunProcessAndWait
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402561
mov esi, dword [ebp - 0x44]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x407a1a
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.004011fd
lea eax, [ebp - 0x24]
mov esi, str.Installer::RunProcessAndWait
push eax
push eax
push 0x1c1
push esi
push 0
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402561
push 0xffffffffffffffff
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x407ab4
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.004011fd
lea eax, [ebp - 0x24]
push eax
push eax
push 0x1c4
push esi
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402561
xor bl, bl
jmp 0x407b61
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x407b61
push esi
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x407b09
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.004011fd
lea eax, [ebp - 0x24]
push eax
push eax
push 0x1c9
push str.Installer::RunProcessAndWait
push ebx
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00402561
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.0041668b
push eax
push str.Setup_process_exit_with_code:
lea ecx, [ebp - 0x40]
call fcn.004011fd
mov ecx, eax
call fcn.0040124f
lea ecx, [ebp - 0x20]
call fcn.004025ed
lea eax, [ebp - 0x40]
push eax
push eax
push 0x1cd
push str.Installer::RunProcessAndWait
push 0
call fcn.00415c43
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.00402561
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.00429462
mov esp, ebp
pop ebp
ret 0xc