Function at 0x1000f004
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000f040
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 1
push 0x243d
push 0x6b8a
push dword [ebp - 0x34]
call fcn.1000f21c
add esp, 0x14
jmp 0x1000f218
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1000f087
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x1000f218
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1000f0e4
mov dword [ebp - 0x14], 1
jmp 0x1000f0e8
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
je 0x1000f100
mov dword [ebp - 8], 1
jmp 0x1000f104
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 8], eax
jge 0x1000f127
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1000f127
mov dword [ebp - 0x70], 1
jmp 0x1000f12b
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.100184a4
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
jne 0x1000f165
push 1
mov ecx, dword [ebp - 0xc]
call fcn.100184a4
cmp dword [eax], 0
jne 0x1000f165
and dword [ebp - 0x1c], 0
jmp 0x1000f16c
mov dword [ebp - 0x1c], 1
imul eax, dword [ebp - 0x1c], 0xe4b9
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
push 0
mov ecx, dword [ebp - 0xc]
call fcn.100184a4
cmp dword [eax], 0x4489b467
jg 0x1000f193
mov dword [ebp - 0x20], 1
jmp 0x1000f197
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax + 0x154d1983]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
je 0x1000f1b6
mov dword [ebp - 0x10], 1
jmp 0x1000f1ba
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jl 0x1000f1d5
mov dword [ebp - 0x24], 1
jmp 0x1000f1d9
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x24]
test eax, eax
jne 0x1000f1ef
mov dword [ebp - 0x28], 1
jmp 0x1000f1f3
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jne 0x1000f206
mov dword [ebp - 0x2c], 1
jmp 0x1000f20a
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret