Function at 0x10049df6
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088417
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push esi
mov dword [ebp - 0x10], 0xfffffffb
push 2
lea ecx, [ebp - 0x20]
call fcn.1001b841
and dword [ebp - 4], 0
mov dword [ebp - 0x9c], 0xecf93a29
mov dword [ebp - 0xa4], 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x2c], 0xffff
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x28], 0
jmp 0x10049e63
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x10049e79
push dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
and dword [eax], 0
jmp 0x10049e5c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0x10], 0
jne 0x10049e98
push 0xfffffffffffffff6
pop eax
test eax, eax
jne 0x10049e98
and dword [ebp - 0x90], 0
jmp 0x10049ea2
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x90], eax
jge 0x10049eb6
mov dword [ebp - 0x78], 1
jmp 0x10049eba
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x78]
add ecx, 0xa
sub eax, ecx
jne 0x10049ecb
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x7c], eax
push 1
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x7c]
neg eax
sub eax, dword [ebp - 0x10]
je 0x10049f0e
mov eax, 0xa67d
test eax, eax
je 0x10049f0e
push 1
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
cmp dword [eax], 0
je 0x10049f0e
mov dword [ebp - 0x40], 1
jmp 0x10049f12
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x10]
cmp eax, 0xcba2afe0
ja 0x10049f34
mov eax, 0xe3bc4aee
test eax, eax
je 0x10049f34
mov dword [ebp - 0x84], 1
jmp 0x10049f3b
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x84]
test eax, eax
je 0x10049f82
mov dword [ebp - 0x10], 0
jmp 0x10049f59
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10049f7d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x10049f52
jmp 0x1004a407
mov dword [ebp - 0x30], 0xfffffff8
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xd0], 0x466df464
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x64], 0x156ac6de
mov dword [ebp - 0xc4], 0xffffffff
push 2
lea ecx, [ebp - 0x10c]
call fcn.1001b841
mov byte [ebp - 4], 1
lea eax, [ebp - 0xfc]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
push 0x4924
call fcn.10049d0a
add esp, 0x10
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1004a000
push 0x172c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x10], 0
jmp 0x1004a010
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1004a3f8
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0xf0], 0x7f2e4e98
mov dword [ebp - 0xe0], 0xfffffff7
mov dword [ebp - 0x100], 0xcae1fad0
mov dword [ebp - 0xd4], 0xf3c4fb36
mov dword [ebp - 0xf8], 0xd67785dc
mov dword [ebp - 0xd8], 0xadb5619a
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xc8], 6
mov dword [ebp - 0x24], 0
jmp 0x1004a08b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1004a0a1
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xe4], 0x1844c383
jmp 0x1004a084
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
cmp dword [eax], 0
jne 0x1004a36c
mov esi, dword [ebp - 0x30]
push 1
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
cmp esi, dword [eax]
jg 0x1004a0d2
mov dword [ebp - 0xc0], 1
jmp 0x1004a0d9
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0x30], 0xffffffff
jg 0x1004a0f1
mov dword [ebp - 0x48], 1
jmp 0x1004a0f5
and dword [ebp - 0x48], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
je 0x1004a113
mov dword [ebp - 0x8c], 1
jmp 0x1004a11a
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
add eax, 7
cmp eax, 0x1d0b
jg 0x1004a133
mov dword [ebp - 0x50], 1
jmp 0x1004a137
and dword [ebp - 0x50], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov eax, dword [eax]
cmp eax, dword [ebp - 0x50]
jle 0x1004a155
mov dword [ebp - 0x94], 1
jmp 0x1004a15c
and dword [ebp - 0x94], 0
push 1
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov esi, dword [ebp - 0x94]
add esi, dword [eax]
push 1
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
cmp esi, dword [eax]
jg 0x1004a185
mov dword [ebp - 0x58], 1
jmp 0x1004a189
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], eax
jge 0x1004a19d
mov dword [ebp - 0xcc], 1
jmp 0x1004a1a4
and dword [ebp - 0xcc], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
push 1
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x1004a1e0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
cmp dword [eax], 0
jne 0x1004a1e0
and dword [ebp - 0x60], 0
jmp 0x1004a1e7
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xf4], eax
push 1
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x1004a223
mov eax, 0xffff
test eax, eax
jne 0x1004a223
and dword [ebp - 0xac], 0
jmp 0x1004a22d
mov dword [ebp - 0xac], 1
push 0
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov ecx, dword [ebp - 0xac]
imul ecx, dword [eax]
cmp ecx, 0xfffffffb
jne 0x1004a24e
mov dword [ebp - 0x70], 1
jmp 0x1004a252
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 3
ja 0x1004a270
mov dword [ebp - 0xbc], 1
jmp 0x1004a277
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xbc], eax
jge 0x1004a28e
mov dword [ebp - 0xb8], 1
jmp 0x1004a295
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xb8], eax
jne 0x1004a2a9
mov dword [ebp - 0x80], 1
jmp 0x1004a2ad
and dword [ebp - 0x80], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [eax]
jle 0x1004a2cb
mov dword [ebp - 0xa0], 1
jmp 0x1004a2d2
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x2c]
jl 0x1004a2ef
mov dword [ebp - 0x88], 1
jmp 0x1004a2f6
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 5
jne 0x1004a30b
mov dword [ebp - 0xb0], 1
jmp 0x1004a312
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xb0], eax
jne 0x1004a32c
cmp dword [ebp - 0x38], 0
je 0x1004a32c
mov dword [ebp - 0x34], 1
jmp 0x1004a330
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
je 0x1004a342
mov dword [ebp - 0xa8], 1
jmp 0x1004a349
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x38]
jne 0x1004a36c
and dword [ebp - 0x44], 0
jmp 0x1004a373
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x44], eax
jg 0x1004a384
mov dword [ebp - 0x4c], 1
jmp 0x1004a388
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xaef40462
ja 0x1004a39a
mov dword [ebp - 0x54], 1
jmp 0x1004a39e
and dword [ebp - 0x54], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov eax, dword [eax]
cmp eax, dword [ebp - 0x54]
jle 0x1004a3b9
mov dword [ebp - 0x5c], 1
jmp 0x1004a3bd
and dword [ebp - 0x5c], 0
push 1
lea ecx, [ebp - 0x20]
call fcn.1001b8b2
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
push eax
push 0x7a56
push 0x2b78
push 1
call fcn.10049d80
add esp, 0x10
jmp 0x1004a009
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.1001b8ad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1001b8ad
mov eax, dword [ebp + 0xc]
dec eax
and eax, dword [ebp + 8]
je 0x1004a431
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100496a6
pop ecx
pop ecx
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
jmp 0x1004a437
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret