Function at 0x10237b10
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026bd78
push sym.MSVCR71D.dll__except_handler3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xffffffff
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xffffffff
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp + 0x10]
and edx, 0x80
je 0x10237b68
mov dword [ebp - 0x28], 0
jmp 0x10237b6f
mov dword [ebp - 0x28], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x10237ba6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.102048f0
add esp, 4
or eax, 0xffffffff
jmp 0x10237e01
call fcn.1021bb20
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x10237db5
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
sar edx, 5
mov eax, dword [ebp - 0x1c]
and eax, 0x1f
imul eax, eax, 0x24
mov ecx, dword [edx*4 + sym.MSVCR71D.dll___pioinfo]
mov byte [ecx + eax + 4], 0x89
mov dword [ebp - 4], 0xffffffff
call fcn.10237be8
jmp 0x10237bf5
call fcn.1021bb20
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x10237d8d
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x20]
sar eax, 5
mov ecx, dword [ebp - 0x20]
and ecx, 0x1f
imul ecx, ecx, 0x24
mov edx, dword [eax*4 + sym.MSVCR71D.dll___pioinfo]
mov byte [edx + ecx + 4], 0x89
mov dword [ebp - 4], 0xffffffff
call fcn.10237c37
jmp 0x10237c4a
mov ecx, dword [ebp + 0x10]
and ecx, 0x8000
jne 0x10237c70
mov edx, dword [ebp + 0x10]
and edx, 0x4000
jne 0x10237ce5
cmp dword [sym.MSVCR71D.dll__fmode], 0x8000
jne 0x10237ce5
mov eax, dword [ebp - 0x1c]
sar eax, 5
mov ecx, dword [ebp - 0x1c]
and ecx, 0x1f
imul ecx, ecx, 0x24
mov edx, dword [eax*4 + sym.MSVCR71D.dll___pioinfo]
movsx eax, byte [edx + ecx + 4]
and eax, 0xffffff7f
mov ecx, dword [ebp - 0x1c]
sar ecx, 5
mov edx, dword [ebp - 0x1c]
and edx, 0x1f
imul edx, edx, 0x24
mov ecx, dword [ecx*4 + sym.MSVCR71D.dll___pioinfo]
mov byte [ecx + edx + 4], al
mov edx, dword [ebp - 0x20]
sar edx, 5
mov eax, dword [ebp - 0x20]
and eax, 0x1f
imul eax, eax, 0x24
mov ecx, dword [edx*4 + sym.MSVCR71D.dll___pioinfo]
movsx edx, byte [ecx + eax + 4]
and edx, 0xffffff7f
mov eax, dword [ebp - 0x20]
sar eax, 5
mov ecx, dword [ebp - 0x20]
and ecx, 0x1f
imul ecx, ecx, 0x24
mov eax, dword [eax*4 + sym.MSVCR71D.dll___pioinfo]
mov byte [eax + ecx + 4], dl
mov ecx, dword [ebp + 0x10]
and ecx, 0x80
je 0x10237d60
mov edx, dword [ebp - 0x1c]
sar edx, 5
mov eax, dword [ebp - 0x1c]
and eax, 0x1f
imul eax, eax, 0x24
mov ecx, dword [edx*4 + sym.MSVCR71D.dll___pioinfo]
movsx edx, byte [ecx + eax + 4]
or edx, 0x10
mov eax, dword [ebp - 0x1c]
sar eax, 5
mov ecx, dword [ebp - 0x1c]
and ecx, 0x1f
imul ecx, ecx, 0x24
mov eax, dword [eax*4 + sym.MSVCR71D.dll___pioinfo]
mov byte [eax + ecx + 4], dl
mov ecx, dword [ebp - 0x20]
sar ecx, 5
mov edx, dword [ebp - 0x20]
and edx, 0x1f
imul edx, edx, 0x24
mov eax, dword [ecx*4 + sym.MSVCR71D.dll___pioinfo]
movsx ecx, byte [eax + edx + 4]
or ecx, 0x10
mov edx, dword [ebp - 0x20]
sar edx, 5
mov eax, dword [ebp - 0x20]
and eax, 0x1f
imul eax, eax, 0x24
mov edx, dword [edx*4 + sym.MSVCR71D.dll___pioinfo]
mov byte [edx + eax + 4], cl
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1021bda0
add esp, 8
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.1021bda0
add esp, 8
call sym.MSVCR71D.dll__errno
mov dword [eax], 0
jmp 0x10237db3
mov ecx, dword [ebp - 0x1c]
sar ecx, 5
mov edx, dword [ebp - 0x1c]
and edx, 0x1f
imul edx, edx, 0x24
mov eax, dword [ecx*4 + sym.MSVCR71D.dll___pioinfo]
mov byte [eax + edx + 4], 0
call sym.MSVCR71D.dll__errno
mov dword [eax], 0x18
jmp 0x10237dc0
call sym.MSVCR71D.dll__errno
mov dword [eax], 0x18
call sym.MSVCR71D.dll__errno
cmp dword [eax], 0
je 0x10237dee
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call sym.MSVCR71D.dll___doserrno
mov dword [eax], 0
or eax, 0xffffffff
jmp 0x10237e01
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 4], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret