Function at 0x418b89
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x46a264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x20]
push str.Run:
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov byte [ebp - 8], al
call fcn.00412aa6
push ebx
mov esi, eax
call fcn.004011e0
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00403700
lea eax, [ebp - 0x20]
xor esi, esi
push eax
push eax
push 0x120
push str.Installer::RunProcessAndWait
push esi
call fcn.00424aa4
add esp, 0x14
lea ecx, [ebp - 0x20]
push esi
push 1
call fcn.00401e60
test edi, edi
je 0x418c10
mov dword [edi], 0x190
push 0x40
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0x44
push esi
push eax
call fcn.004305d0
add esp, 0xc
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
push eax
lea eax, [ebp - 0x98]
push eax
xor eax, eax
push eax
push eax
push 0x8000000
push eax
push eax
push eax
push ebx
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor ebx, ebx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 8], bl
test eax, eax
jne 0x418ca3
push str.Create_process_failed.
mov word [ebp - 0x20], ax
call fcn.00412aa6
lea eax, [ebp - 0x20]
push eax
push eax
push 0x129
push str.Installer::RunProcessAndWait
push 1
call fcn.00424aa4
add esp, 0x14
lea ecx, [ebp - 0x20]
push ebx
push 1
call fcn.00401e60
xor al, al
jmp 0x418e5f
mov esi, dword [ebp - 0x4c]
xor eax, eax
push str.Process_created:
mov word [ebp - 0x20], ax
call fcn.00412aa6
push esi
mov ecx, eax
call fcn.004138bc
lea eax, [ebp - 0x20]
push eax
push eax
push 0x12c
push str.Installer::RunProcessAndWait
push ebx
call fcn.00424aa4
add esp, 0x14
lea ecx, [ebp - 0x20]
push ebx
push 1
call fcn.00401e60
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x418cf2
mov eax, dword [ecx]
push 0x28
call dword [eax + 0x1c]
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 7
push str.Wait_for_process_finish.
mov bl, 1
mov word [ebp - 0x20], ax
mov byte [ebp - 8], al
call fcn.00412aa6
lea eax, [ebp - 0x20]
push eax
push eax
push 0x132
push str.Installer::RunProcessAndWait
push 0
call fcn.00424aa4
add esp, 0x14
lea ecx, [ebp - 0x20]
push 0
push 1
call fcn.00401e60
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x418d98
xor ebx, ebx
mov dword [ebp - 0xc], 7
xor eax, eax
mov dword [ebp - 0x10], ebx
push str.Wait_process_failed.
lea ecx, [ebp - 0x20]
mov word [ebp - 0x20], ax
mov byte [ebp - 8], bl
call fcn.00412aa6
lea eax, [ebp - 0x20]
push eax
push eax
push 0x135
push str.Installer::RunProcessAndWait
push 1
call fcn.00424aa4
add esp, 0x14
lea ecx, [ebp - 0x20]
push ebx
jmp 0x418e51
test edi, edi
je 0x418e58
push edi
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x418df2
xor ebx, ebx
mov dword [ebp - 0xc], 7
push str.Get_setup_process_exit_code_failed.
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
mov byte [ebp - 8], bl
call fcn.00412aa6
lea eax, [ebp - 0x20]
push eax
push eax
push 0x13a
push str.Installer::RunProcessAndWait
push 1
call fcn.00424aa4
add esp, 0x14
lea ecx, [ebp - 0x20]
push ebx
push 1
call fcn.00401e60
push dword [edi]
and dword [ebp - 0x2c], 0
xor eax, eax
mov word [ebp - 0x3c], ax
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x28], 7
call fcn.00415914
pop ecx
pop ecx
push eax
push str.Setup_process_exit_with_code:
lea ecx, [ebp - 0x3c]
call fcn.00412aa6
mov ecx, eax
call fcn.00416051
xor edi, edi
lea ecx, [ebp - 0x1c]
push edi
push 1
call fcn.00401eb0
lea eax, [ebp - 0x3c]
push eax
push eax
push 0x13e
push str.Installer::RunProcessAndWait
push edi
call fcn.00424aa4
add esp, 0x14
lea ecx, [ebp - 0x3c]
push edi
push 1
call fcn.00401e60
push dword [ebp - 0x54]
call esi
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d2b3
mov esp, ebp
pop ebp
ret 0xc