Function at 0x4027e0
Capabilities:
Create process on windows
Create process suspended
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6dc
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push str.LaunchExe
call fcn.004186ca
mov edi, dword [ebp + 0xc]
xor esi, esi
xor edx, edx
cmp edi, esi
mov dword [ebp - 4], esi
je 0x40282b
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
mov edi, dword [ebp + 8]
cmp edi, esi
je 0x40283e
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
add edx, 0xa
push edx
call fcn.004181f4
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1c], ebx
push 0x42f3d4
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0xc8], esi
call fcn.0040c660
add esp, 8
call fcn.004033e0
mov esi, eax
mov dword [ebp - 0x20], esi
call fcn.00403440
mov edi, eax
test esi, esi
mov dword [ebp - 0x18], edi
je 0x402a72
test edi, edi
je 0x402a72
mov ecx, esi
call fcn.00403960
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00403100
mov edx, dword [esi]
push str.Started
mov ecx, esi
call dword [edx + 4]
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax]
push str.Before_FindModule
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.NEWDEV.DLL
call fcn.00401550
add esp, 4
test eax, eax
jne 0x402a57
push str.NTPRINT.DLL
call fcn.00401550
add esp, 4
test eax, eax
jne 0x402a57
mov ecx, esi
call fcn.00403960
push str.LaunchExe_ExeName
mov ecx, esi
call fcn.00403100
mov eax, dword [ebp + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx]
mov ecx, esi
call fcn.00403960
push str.LaunchExe_Params
mov ecx, esi
call fcn.00403100
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx]
mov ecx, esi
call fcn.00403960
push str.LaunchExe_FullPath
mov ecx, esi
call fcn.00403100
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
push esi
mov edx, dword [ecx]
call dword [edx]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.hpbvspst___EXE_to_launch:
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call esi
push ebx
call esi
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x74]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push edx
push ebx
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x6c], str.winsta0default
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x402a17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc4]
push str.CreateProcess_failed:_GetLastError_returned__u_n
push eax
call fcn.0040c660
add esp, 0xc
lea ecx, [ebp - 0xc4]
push ecx
jmp 0x402a1c
push str.Setup_was_successfully_launched
call esi
test ebx, ebx
je 0x402a32
push ebx
call fcn.0041821d
add esp, 4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004186a0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Newdev.dll_or_ntprint.dll_found___Waiting
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4028c7
lea edx, [ebp - 0x2d0]
push str.Output_failed
push edx
call fcn.0040c660
add esp, 8
lea eax, [ebp - 0x1cc]
push str.Initialization_error
push eax
call fcn.0040c660
mov ecx, 0x83
lea esi, [ebp - 0x2d0]
lea edi, [ebp - 0x6e8]
mov dword [ebp - 0xc8], 0
add esp, 8
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x6e8]
push 0x42a060
push ecx
call fcn.0040cba6
lea ecx, [ebp + 8]
call fcn.004012b0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x402ae4
push eax
call fcn.0041821d
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x402af2
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x402b00
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov eax, dword [ebp - 0x2d4]
test eax, eax
je 0x402b20
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x4dc]
push ecx
push edx
push eax
lea ecx, [ebp + 8]
call fcn.004013e0
jmp 0x402b3a
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x3d8]
push eax
lea edx, [ebp - 0x4dc]
push ecx
push edx
lea ecx, [ebp + 8]
call fcn.004012f0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004012e0
mov eax, 0x402b4c
ret