Function at 0x42e660
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x46b664]
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
lea esi, [ebx + 0x94]
pxor xmm0, xmm0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 1
cmp dword [esi + 4], edi
jne 0x42e6cd
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42e6cd
cmp eax, edi
je 0x42e6cd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x42e6f6
dec dword [eax]
jne 0x42e6f6
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42e6ea
cmp eax, edi
je 0x42e6ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
push eax
call fcn.00431dda
add esp, 4
push edi
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x44]
push edx
mov dword [esi + 4], edi
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push esi
mov dword [esi], 0xffffffff
call edi
test eax, eax
jne 0x42e756
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x29
mov eax, str.Could_not_create_reading_pipe_for_stdout.
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.0040eba0
mov dword [ebp - 4], 0xffffffff
push 0x462084
lea ecx, [ebp - 0x30]
push ecx
call fcn.00436362
cmp dword [ebx + 0xa0], 0
lea esi, [ebx + 0x9c]
jne 0x42e777
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42e777
test eax, eax
je 0x42e777
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
test eax, eax
je 0x42e7a0
dec dword [eax]
jne 0x42e7a0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42e794
test eax, eax
je 0x42e794
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
push eax
call fcn.00431dda
add esp, 4
push 0
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x48]
push eax
push esi
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
call edi
test eax, eax
jne 0x42e7ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
xor ecx, ecx
push 0x29
mov eax, str.Could_not_create_reading_pipe_for_stderr.
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
call fcn.0040eba0
mov dword [ebp - 4], 0xffffffff
push 0x462084
lea edx, [ebp - 0x30]
push edx
call fcn.00436362
push 0
lea eax, [ebp - 0x3c]
push eax
lea esi, [ebx + 0xa4]
call fcn.0042f280
push eax
lea ecx, [ebp - 0x40]
push ecx
call edi
test eax, eax
jne 0x42e83f
push str.Could_not_create_writing_pipe_for_stdin.
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x30]
push edx
mov ecx, eax
call fcn.0040eb10
push 0x462084
lea eax, [ebp - 0x30]
push eax
call fcn.00436362
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x38], edx
mov edx, 1
mov dword [eax], 0x44
mov dword [eax + 0x2c], 0x101
mov dword [eax + 0x40], ecx
mov word [eax + 0x30], dx
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.00431de5
mov esp, ebp
pop ebp
ret 8