Function at 0x428794
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x428831
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x48]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x4287f9
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xac], eax
push dword [ebp - 0xac]
push 0
push 0x43b7
push 0x52a7
call fcn.0042986f
add esp, 0x10
jmp 0x42882c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x34], eax
push 1
push 0x51ec
push dword [ebp - 0x34]
push 1
push dword [ebp - 0xc4]
push 0x7c62
push 1
call fcn.004167f8
add esp, 0x1c
jmp 0x428ab8
lea eax, [ebp + 0x30]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x4289f5
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x4289bc
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
push 2
mov ecx, dword [ebp - 0x14]
call fcn.00435ad2
cmp dword [eax], 0xc60edac7
ja 0x42894c
mov dword [ebp - 0xc], 1
jmp 0x428950
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x428963
mov dword [ebp - 0x10], 1
jmp 0x428967
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00435ad2
cmp dword [eax], 0xc12a7b09
jb 0x428998
mov dword [ebp - 0x18], 1
jmp 0x42899c
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x18]
imul eax, ecx
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x4289f0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4289f0
push 0
push 0xfce
push 0x20f4
push 0x954
push 0x2458
push 0x1a56
push 0x170b
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x428ab8
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x428a73
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x428a71
push 0x4dfa
push 1
push 0x2d86
push 0x7f28
push 0
push 0x53f
push 0x4a68
push 0x24e
push 1
call fcn.0040d038
add esp, 0x24
jmp 0x428ab8
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret