Function at 0x417e2f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x578
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x524], eax
mov eax, dword [0x4c12e0]
mov dword [ebp - 0x520], ebx
mov edx, dword [edi + 0xc]
test edx, edx
je 0x417e87
test eax, eax
je 0x417e87
cmp dword [0x4c3630], 0
je 0x417e87
mov eax, dword [edx]
push str.In_CInfFile::_CreateProcessAndWait__
push edx
call dword [eax + 0x10]
mov eax, dword [0x4c12e0]
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0
mov ecx, dword [edi + 0xc]
je 0x417eaa
test ecx, ecx
je 0x417ecb
test eax, eax
je 0x417ecb
cmp dword [0x4c3630], 0
je 0x417ecb
push ebx
push esi
push str...Trying_to_create_and_wait_for_process__s_with_command_line__s
jmp 0x417ec2
test ecx, ecx
je 0x417ecb
test eax, eax
je 0x417ecb
cmp dword [0x4c3630], 0
je 0x417ecb
push ebx
push esi
push str...Trying_to_create_process__s_with_command_line__s_and_continue
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
add esp, 0x10
push esi
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.00465df5
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.004662f3
add esp, 0x14
xor ebx, ebx
test eax, eax
je 0x417ef8
mov byte [eax], bl
jmp 0x417efe
mov byte [ebp - 0x10c], bl
push dword [ebp - 0x520]
lea eax, [ebp - 0x51c]
push esi
push str.__s___s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x578]
push ebx
push eax
call fcn.0045b1d0
push 0x10
lea eax, [ebp - 0x534]
push ebx
push eax
call fcn.0045b1d0
mov dword [ebp - 0x578], esi
add esp, 0x28
xor esi, esi
mov dword [ebp - 0x570], str.winsta0default
inc esi
cmp dword [ebp + 0x18], esi
jne 0x417f61
xor eax, eax
mov dword [ebp - 0x54c], esi
mov word [ebp - 0x548], ax
lea eax, [ebp - 0x534]
xor ecx, ecx
cmp byte [ebp - 0x10c], cl
push eax
lea eax, [ebp - 0x578]
push eax
lea eax, [ebp - 0x10c]
cmove eax, ecx
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x51c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
jne 0x417fc9
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x417ff7
cmp dword [0x4c12e0], 0
je 0x417ff7
cmp dword [0x4c3630], 0
je 0x417ff7
mov eax, dword [ecx]
lea edx, [ebp - 0x51c]
push edx
push str...CreateProcess__s__success
push ecx
call dword [eax + 0x10]
add esp, 0xc
jmp 0x417ff7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x417ff7
cmp dword [0x4c12e0], 0
je 0x417ff7
mov ecx, dword [eax]
lea edx, [ebp - 0x51c]
push ebx
push edx
push str...CreateProcess__s__failed._Error:__d
push eax
call dword [ecx + 0x14]
add esp, 0x10
cmp dword [ebp - 0x530], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41800e
push dword [ebp - 0x530]
call esi
mov eax, dword [ebp - 0x534]
test eax, eax
je 0x418047
cmp dword [ebp + 0x10], 0
je 0x418044
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x524]
test eax, eax
je 0x41803e
push eax
push dword [ebp - 0x534]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x534]
push eax
call esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x41806f
cmp dword [0x4c12e0], 0
je 0x41806f
cmp dword [0x4c3630], 0
je 0x41806f
mov eax, dword [ecx]
push ebx
push str.CInfFile::_CreateProcessAndWait___returns__d
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret 0x14