Function at 0x45a076
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x45a195
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x45a155
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x45a111
mov byte [ebp - 1], 0
push 1
push 1
push 1
push 1
lea eax, [ebp - 1]
push eax
push 0x932
push 0x4335
push 0x62a8
push 0x509b
push 0x4fef
push 1
call fcn.0044863f
add esp, 0x2c
jmp 0x45a153
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x45a141
xor eax, eax
jne 0x45a141
and dword [ebp - 0xc], 0
jmp 0x45a148
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
jmp 0x45a190
push 0x357a
push 0x3a36
push 0
push 0x3fb1
push 0x5735
push 0
push 0x4495
push 1
push 0x55af
push 0x5de7
push 0x65c9
push 0xf3
call fcn.0043dd97
add esp, 0x30
jmp 0x45a329
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x45a25e
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x45a20b
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
jmp 0x45a259
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
push 1
mov eax, dword [ebp - 0x2c]
push dword [eax]
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0046c3a0
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.00407825
lea ecx, [ebp - 0xc0]
call fcn.00402d22
jmp 0x45a329
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x45a2c6
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x45a2c4
push 0
push 0x1a7c
push 0x1923
push 0x23d3
push 0x16e5
push 0xa8c
push 0x249c
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x45a329
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x45a309
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x45a329
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xa4]
call fcn.0043396d
mov dword [eax], 1
jmp 0x45a2fe
mov esp, ebp
pop ebp
ret