Function at 0x42ec40
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
lea ebx, [eax + 0x14]
mov dword [ebp - 0x34], eax
lea edi, [eax + 0x2c]
mov dword [ebp - 0x30], ecx
cmp edi, ebx
je 0x42ed53
cmp dword [ebx + 0x14], 0xf
mov esi, dword [ebx + 0x10]
jbe 0x42ec7e
mov ebx, dword [ebx]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x2c], edx
cmp esi, edx
ja 0x42ecb1
mov dword [ebp - 0x20], edi
mov eax, edi
cmp edx, 0xf
jbe 0x42ec97
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
push esi
push ebx
push eax
mov dword [edi + 0x10], esi
call fcn.00435e50
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x42ed53
cmp esi, 0x7fffffff
ja 0x42ee7d
mov ecx, esi
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x42ecd1
mov ecx, 0x7fffffff
jmp 0x42ecf5
mov eax, edx
shr eax, 1
mov dword [ebp - 0x20], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x20]
cmp edx, eax
jbe 0x42eceb
mov ecx, 0x7fffffff
jmp 0x42ecf5
mov eax, dword [ebp - 0x20]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
push eax
push edi
call fcn.00401ff0
mov ecx, dword [ebp - 0x20]
push esi
push ebx
mov ebx, eax
mov dword [edi + 0x10], esi
push ebx
mov dword [edi + 0x14], ecx
call fcn.00435e50
mov eax, dword [ebp - 0x2c]
add esp, 0x14
mov byte [ebx + esi], 0
cmp eax, 0xf
jbe 0x42ed51
lea ecx, [eax + 1]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x42ed47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee78
mov eax, edx
push ecx
push eax
call fcn.004345c7
add esp, 8
mov dword [edi], ebx
xor ebx, ebx
cmp byte [ebp + 8], bl
je 0x42edc3
lea eax, [ebp - 0x4c]
push eax
call fcn.00430a00
mov esi, eax
add esp, 4
cmp edi, esi
je 0x42ed8f
mov ecx, edi
call fcn.00402a40
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x42edc3
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42edb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee78
push ecx
push edx
call fcn.004345c7
add esp, 8
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00431010
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0xf
cmova eax, dword [ebp - 0x1c]
push dword [ebp - 0x30]
push 0
push 0x200
push 0x200
push 1
push 0
push 0x400c0003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x10], eax
cmp eax, 0xffffffff
jne 0x42ee0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
inc eax
mov dword [ebp - 0x24], eax
cmp ecx, 0xf
jbe 0x42ee47
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ee3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee78
push ecx
push edx
call fcn.004345c7
mov eax, dword [ebp - 0x24]
add esp, 8
cmp byte [ebp + 8], 0
je 0x42ee63
cmp ebx, 0xe7
je 0x42ee5a
cmp ebx, 5
jne 0x42ee63
cmp eax, 0x19
jb 0x42ed53
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004345d5
mov esp, ebp
pop ebp
ret 8
call fcn.00437e6f
call fcn.00401ef0
int3