Function at 0x404ba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a7ad
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x42442c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::constructor_void_]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str.piperexe.exe__
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.utils4c.dll_class_Str___cdecl_operator_char_const___class_Str_const__]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.utils4c.dll_public:_class_Str____thiscall_Str::operator_class_Str_const__]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
push 0x44
push 0
lea ecx, [ebp - 0xe4]
push ecx
call fcn.0040b000
add esp, 0xc
mov dword [ebp - 0xe4], 0x44
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0xe4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call dword [sym.imp.utils4c.dll_public:_char____thiscall_Str::operator_char__void_const]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x404cb4
lea ecx, [ebp - 0x70]
call fcn.004032e0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 2
push str.Could_not_execute_piperexe.exe
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004069c0
add esp, 8
push eax
lea ecx, [ebp - 0x94]
call fcn.00403330
push 0x4229bc
lea eax, [ebp - 0x94]
push eax
call fcn.00408fdb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004033e0
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x404d2b
lea ecx, [ebp - 0x58]
call fcn.004032e0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 3
push str.Could_not_get_process_return_code
mov eax, dword [ebp - 0x18]
push eax
call fcn.004069c0
add esp, 8
push eax
lea ecx, [ebp - 0xa0]
call fcn.00403330
push 0x4229bc
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00408fdb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004033e0
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
je 0x404d84
lea ecx, [ebp - 0x7c]
call fcn.004032e0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
push str.Pipe_process_interrupted
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004069c0
add esp, 8
push eax
lea ecx, [ebp - 0x64]
call fcn.00403330
push 0x4229bc
lea edx, [ebp - 0x64]
push edx
call fcn.00408fdb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004033e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call dword [sym.imp.utils4c.dll_public:_void___thiscall_Str::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret