Function at 0x40bf30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4525ba
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x46b0b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, cl
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
cmp dword [ebp + 0x18], 0
jne 0x40bfd3
push str.e:_b_tc8c25476_751c_4a2a_a9df_f424693e5ffdinstallintegrator_src_applauncherAppLauncher.h
push str.McShellExecute
push 0x2d
push 4
call fcn.00407040
mov byte [ebp - 4], 2
mov edx, str.McShellExecute
mov ecx, dword [eax]
call fcn.00407210
push 0x57
push ecx
mov edx, str.Exe_Path_Invalid_Error:
mov ecx, eax
call fcn.00407210
add esp, 4
mov ecx, eax
call fcn.0040f7d0
sub esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
call fcn.00401190
mov ecx, dword [ebp - 0x10]
call fcn.004074e0
mov eax, dword [ebp - 0x10]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0x57
jmp 0x40c129
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.004010b0
test eax, eax
je 0x40c055
push str.e:_b_tc8c25476_751c_4a2a_a9df_f424693e5ffdinstallintegrator_src_applauncherAppLauncher.h
push str.McShellExecute
push 0x32
push 4
lea ecx, [ebp - 0x10]
call fcn.00407040
mov byte [ebp - 4], 4
mov edx, str.McShellExecute
mov ecx, dword [eax]
call fcn.00407210
push 5
push ecx
mov edx, str.Invalid_Digital_Signature_Found_for_the_EXE._Error:
mov ecx, eax
call fcn.00407210
add esp, 4
mov ecx, eax
call fcn.0040f7d0
sub esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
call fcn.00401190
mov ecx, dword [ebp - 0x10]
call fcn.004074e0
mov eax, dword [ebp - 0x10]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 5
jmp 0x40c129
push 0x38
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.0042fef0
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov dword [ebp - 0x48], 0x400
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x34], 8
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
test bl, bl
mov dword [ebp - 0x38], eax
mov eax, str.runas
cmove eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x30], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
je 0x40c127
push str.e:_b_tc8c25476_751c_4a2a_a9df_f424693e5ffdinstallintegrator_src_applauncherAppLauncher.h
push str.McShellExecute
push 0x41
push 4
lea ecx, [ebp - 0x10]
call fcn.00407040
mov byte [ebp - 4], 6
mov edx, str.McShellExecute
mov ecx, dword [eax]
call fcn.00407210
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.Shell_Execute_Failed_with_Error:
mov ecx, esi
call fcn.00407210
add esp, 4
mov ecx, eax
call fcn.0040ba50
sub esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
call fcn.00401190
mov ecx, dword [ebp - 0x10]
call fcn.004074e0
mov eax, dword [ebp - 0x10]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x40c129
xor esi, esi
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x40c13e
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00409f50
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x40c167
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.00409f50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret