Function at 0x1004acfd
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004ad22
push 0x1402
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x1004af00
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1004aeaa
push 0
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov esi, eax
push 1
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1004ad97
mov dword [ebp - 0x10], 1
jmp 0x1004ad9b
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 5
jae 0x1004adaa
mov dword [ebp - 0x14], 1
jmp 0x1004adae
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jg 0x1004adc1
mov dword [ebp - 0x18], 1
jmp 0x1004adc5
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jge 0x1004ade2
mov dword [ebp - 0x1c], 1
jmp 0x1004ade6
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x64c9
cmp dword [eax], ecx
jne 0x1004adff
mov dword [ebp - 0x20], 1
jmp 0x1004ae03
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jle 0x1004ae20
mov dword [ebp - 0x24], 1
jmp 0x1004ae24
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x1004ae37
mov dword [ebp - 0x28], 1
jmp 0x1004ae3b
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x1004ae58
mov dword [ebp - 0x2c], 1
jmp 0x1004ae5c
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [eax]
je 0x1004ae82
mov eax, 0xdfa01480
test eax, eax
je 0x1004ae82
mov dword [ebp - 0x30], 1
jmp 0x1004ae86
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov ecx, dword [ebp - 0x30]
imul ecx, dword [eax]
test ecx, ecx
je 0x1004aeaa
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x1004aeaa
and dword [ebp - 0x34], 0
jmp 0x1004aeb1
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10019e95
mov esi, dword [eax]
sub esi, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10019e95
cmp esi, dword [eax]
jle 0x1004aedd
mov dword [ebp - 0x38], 1
jmp 0x1004aee1
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jle 0x1004aef4
mov dword [ebp - 0x3c], 1
jmp 0x1004aef8
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret