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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422020
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.004172df
mov edi, dword [ebp + 0xc]
xor esi, esi
xor edx, edx
cmp edi, esi
mov dword [ebp - 4], esi
je 0x4023eb
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 0x4023fe
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.00416e09
mov ebx, eax
lea eax, [ebp - 0x1cc]
push 0x42d434
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0xc8], esi
call fcn.0040c1ff
add esp, 0xc
call fcn.00402fa0
mov esi, eax
mov dword [ebp - 0x20], esi
call fcn.00403000
mov edi, eax
test esi, esi
mov dword [ebp - 0x18], edi
je 0x40262f
test edi, edi
je 0x40262f
mov ecx, esi
call fcn.00403520
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00402cc0
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.004012a0
add esp, 4
test eax, eax
jne 0x402614
push str.NTPRINT.DLL
call fcn.004012a0
add esp, 4
test eax, eax
jne 0x402614
mov ecx, esi
call fcn.00403520
push str.LaunchExe_ExeName
mov ecx, esi
call fcn.00402cc0
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.00403520
push str.LaunchExe_Params
mov ecx, esi
call fcn.00402cc0
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.00403520
push str.LaunchExe_FullPath
mov ecx, esi
call fcn.00402cc0
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 0x4025d4
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.0040c1ff
add esp, 0xc
lea ecx, [ebp - 0xc4]
push ecx
jmp 0x4025d9
push str.Setup_was_successfully_launched
call esi
test ebx, ebx
je 0x4025ef
push ebx
call fcn.00416e32
add esp, 4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004172b5
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 0x402484
lea edx, [ebp - 0x2d0]
push str.Output_failed
push edx
call fcn.0040c1ff
lea eax, [ebp - 0x1cc]
push str.Initialization_error
push eax
call fcn.0040c1ff
mov ecx, 0x83
lea esi, [ebp - 0x2d0]
lea edi, [ebp - 0x6e8]
mov dword [ebp - 0xc8], 0
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x6e8]
push 0x427f88
push ecx
call fcn.0040c626
lea ecx, [ebp + 8]
call fcn.00401000
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x40269e
push eax
call fcn.00416e32
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4026ac
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4026ba
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov eax, dword [ebp - 0x2d4]
test eax, eax
je 0x4026da
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x4dc]
push ecx
push edx
push eax
lea ecx, [ebp + 8]
call fcn.00401130
jmp 0x4026f4
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.00401040
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00401030
mov eax, 0x402706
ret