Function at 0x419e60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ad58
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x50], eax
mov edi, str._ZProgram::StartProgram_Start
mov dword [ebp - 4], 2
call fcn.00408b90
mov eax, dword [ebp + 8]
mov esi, 0x10
cmp dword [ebp + 0x1c], esi
jae 0x419eb5
lea eax, [ebp + 8]
push eax
mov edi, str._path:
call fcn.00408e10
mov eax, dword [ebp + 0x24]
add esp, 4
cmp dword [ebp + 0x38], esi
jae 0x419ece
lea eax, [ebp + 0x24]
push eax
mov edi, str._cmd:
call fcn.00408e10
push 0x44
xor ebx, ebx
lea ecx, [ebp - 0xb0]
push ebx
push ecx
call fcn.00509940
push 0x53a17c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
mov edx, 5
push ecx
mov dword [ebp - 0xb0], 0x44
mov dword [ebp - 0x84], 1
mov word [ebp - 0x80], dx
call fcn.00404cc0
add esp, 0x1c
mov ecx, eax
lea eax, [ebp + 0x24]
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00408270
push eax
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 4
call fcn.00404500
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x419f50
mov edx, dword [ebp - 0x48]
push edx
call fcn.004ad85d
add esp, 4
mov edi, 0xf
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], esi
jb 0x419f73
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004ad85d
add esp, 4
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0xb0]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x24]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00404580
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00420700
mov edi, 8
add esp, 0x20
cmp dword [eax + 0x14], edi
jb 0x419fb8
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
sete byte [ebp - 0x49]
cmp dword [ebp - 0x18], edi
jb 0x419fd7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004ad85d
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a04b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, str._CreateProcess_Fail__ErrorCode:
call fcn.00408c90
add esp, 4
mov edi, str._ZProgram::StartProgram_End
call fcn.00408b90
cmp dword [ebp + 0x1c], esi
jb 0x41a00b
mov eax, dword [ebp + 8]
push eax
call fcn.004ad85d
add esp, 4
mov edi, 0xf
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], esi
jb 0x41a02a
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.004ad85d
add esp, 4
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
cmp dword [ebp + 0x54], esi
jb 0x41a044
mov edx, dword [ebp + 0x40]
push edx
call fcn.004ad85d
add esp, 4
xor al, al
jmp 0x41a0f3
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov ecx, str.True
lea edi, [ebp + 0x40]
call fcn.00404da0
test al, al
je 0x41a08b
mov edx, dword [ebp - 0x60]
push 0xffffffffffffffff
push edx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, 2
call fcn.0041be30
mov edx, dword [ebp - 0x5c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x60]
push eax
call edi
mov edi, str._ZProgram::StartProgram_End
call fcn.00408b90
cmp dword [ebp + 0x1c], esi
jb 0x41a0b8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ad85d
add esp, 4
mov edi, 0xf
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], esi
jb 0x41a0d7
mov edx, dword [ebp + 0x24]
push edx
call fcn.004ad85d
add esp, 4
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
cmp dword [ebp + 0x54], esi
jb 0x41a0f1
mov eax, dword [ebp + 0x40]
push eax
call fcn.004ad85d
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00503edf
mov esp, ebp
pop ebp
ret