Function at 0x42ee40
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452670
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x46c664]
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 0x42eead
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42eead
cmp eax, edi
je 0x42eead
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x42eed6
dec dword [eax]
jne 0x42eed6
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42eeca
cmp eax, edi
je 0x42eeca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
push eax
call fcn.0043266a
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 0x42ef36
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.0040e990
mov dword [ebp - 4], 0xffffffff
push 0x4630f4
lea ecx, [ebp - 0x30]
push ecx
call fcn.00436bf2
cmp dword [ebx + 0xa0], 0
lea esi, [ebx + 0x9c]
jne 0x42ef57
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42ef57
test eax, eax
je 0x42ef57
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
test eax, eax
je 0x42ef80
dec dword [eax]
jne 0x42ef80
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42ef74
test eax, eax
je 0x42ef74
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
push eax
call fcn.0043266a
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 0x42efdf
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.0040e990
mov dword [ebp - 4], 0xffffffff
push 0x4630f4
lea edx, [ebp - 0x30]
push edx
call fcn.00436bf2
push 0
lea eax, [ebp - 0x3c]
push eax
lea esi, [ebx + 0xa4]
call fcn.0042fb10
push eax
lea ecx, [ebp - 0x40]
push ecx
call edi
test eax, eax
jne 0x42f01f
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.0040e900
push 0x4630f4
lea eax, [ebp - 0x30]
push eax
call fcn.00436bf2
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.00432675
mov esp, ebp
pop ebp
ret 8