Function at 0x10033455
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ec14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10033618
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x100335f7
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1010d9d0]
and eax, 1
jne 0x100334e2
mov eax, dword [0x1010d9d0]
or eax, 1
mov dword [0x1010d9d0], eax
and dword [ebp - 4], 0
mov ecx, 0x1010d9d4
call fcn.100175e0
push 0x1005f1ce
call fcn.10046972
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1010c532]
test eax, eax
je 0x10033542
mov ecx, 0x1010d9d4
call fcn.1003deca
movzx eax, al
test eax, eax
jne 0x10033542
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x1010d9d4
call fcn.100176a5
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x1010d9d4
call fcn.10017697
push eax
lea ecx, [ebp - 0x18]
call fcn.100176ba
movzx eax, al
test eax, eax
je 0x10033542
lea ecx, [ebp - 0x18]
call fcn.1003ded3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x100336b3
mov eax, dword [ebp - 0x14]
push dword [eax]
lea eax, [ebp - 0x78]
push eax
call fcn.100153ba
pop ecx
pop ecx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x78]
push eax
call fcn.10032f5e
pop ecx
mov dword [ebp - 0x20], eax
movzx eax, byte [0x1010c532]
test eax, eax
je 0x10033582
mov ecx, 0x1010d9d4
call fcn.1003deca
movzx eax, al
test eax, eax
jne 0x100335d0
push 1
push 0x6c85
push 0x7a43
push 1
push 0x7b1f
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push 0x6ead
push 0x1010d9d4
call fcn.100330db
add esp, 0x24
push 0x1f0a
push 1
push 0xee9
push 1
push 0x37d9
push 0x1010c532
push 1
call fcn.10033347
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.1000571e
jmp 0x100336b3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10033613
call dword [sym.imp.GDI32.dll_GdiFlush]
jmp 0x100336b3
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10033687
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x10033668
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 4
jge 0x10033685
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.10005887
mov dword [eax], 1
jmp 0x1003365d
jmp 0x100336b3
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x100336b3
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret