Function at 0x1001397f
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f8c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
mov dword [ebp - 0x10], 8
mov dword [ebp - 0x20], 0xa0d018d3
mov dword [ebp - 0x28], 0xf4f88039
mov dword [ebp - 0x14], 0xc2184e5a
mov dword [ebp - 0x30], 0x5a596def
mov dword [ebp - 0x17c], 0xa65742d1
mov dword [ebp - 0x178], 0xa65742d1
mov dword [ebp - 0x174], 0xa65742d1
mov dword [ebp - 0x170], 0xa65742d1
mov dword [ebp - 0x58], 0
jmp 0x100139f8
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x10013a0b
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x60], 0xb395
jmp 0x100139f1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jl 0x10013a28
mov dword [ebp - 0xa8], 1
jmp 0x10013a2f
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x594d
jle 0x10013a44
mov dword [ebp - 0x74], 1
jmp 0x10013a48
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x74], eax
jne 0x10013a5c
mov dword [ebp - 0xf8], 1
jmp 0x10013a63
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
add eax, 0x677b568b
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jg 0x10013a85
mov dword [ebp - 0xf4], 1
jmp 0x10013a8c
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jle 0x10013aa9
mov dword [ebp - 0x7c], 1
jmp 0x10013aad
and dword [ebp - 0x7c], 0
push 3
pop eax
sub eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x10]
je 0x10013abe
cmp dword [ebp - 0x28], 0
jne 0x10013acd
cmp dword [ebp - 0x10], 0
jne 0x10013acd
and dword [ebp - 0xbc], 0
jmp 0x10013ad7
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0xbc]
inc eax
sub eax, dword [ebp - 0x10]
je 0x10013c5e
mov dword [ebp - 0x40], 0
jmp 0x10013af7
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10013b0d
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1a8], 0x73e70d2
jmp 0x10013af0
mov dword [ebp - 0x14], 0xe
jmp 0x10013b1d
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 7
jg 0x10013c59
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x13c], 0x4716
mov dword [ebp - 0x54], 0
jmp 0x10013b4f
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10013b62
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x48], 0x218670fc
jmp 0x10013b48
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x14], eax
jle 0x10013b7d
mov dword [ebp - 0xdc], 1
jmp 0x10013b84
and dword [ebp - 0xdc], 0
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x48]
cmp dword [ebp + eax - 0x1a8], ecx
jle 0x10013ba9
mov dword [ebp - 0x84], 1
jmp 0x10013bb0
and dword [ebp - 0x84], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
add eax, dword [ebp - 0x84]
imul eax, dword [ebp - 0xdc]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x1a8]
je 0x10013be1
mov dword [ebp - 0x134], 1
jmp 0x10013be8
and dword [ebp - 0x134], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x14]
add eax, 8
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x48]
jl 0x10013c16
mov dword [ebp - 0x8c], 1
jmp 0x10013c1d
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x8c]
jge 0x10013c34
mov dword [ebp - 0xc4], 1
jmp 0x10013c3b
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x68], 0xfffffffb
jmp 0x10013b16
jmp 0x10013dde
mov dword [ebp - 0x38], 0
jmp 0x10013c6e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x10013c84
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x15c], 0x47dc
jmp 0x10013c67
cmp dword [ebp - 0x20], 0
je 0x10013c9c
cmp dword [ebp - 0x14], 0
je 0x10013c9c
mov dword [ebp - 0xec], 1
jmp 0x10013ca3
and dword [ebp - 0xec], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x15c], 0
jne 0x10013ccb
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0x20], eax
jge 0x10013ccb
and dword [ebp - 0x94], 0
jmp 0x10013cd5
mov dword [ebp - 0x94], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x15c]
imul eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xec]
sub ecx, eax
sub ecx, 0x722525a5
jne 0x10013d12
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x15c], 0
jne 0x10013d12
and dword [ebp - 0x9c], 0
jmp 0x10013d1c
mov dword [ebp - 0x9c], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0x9c], eax
jl 0x10013d3a
mov dword [ebp - 0xcc], 1
jmp 0x10013d41
and dword [ebp - 0xcc], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x15c]
cmp dword [ebp - 0xcc], eax
jne 0x10013d6f
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x15c], 0
jne 0x10013d6f
and dword [ebp - 0xa4], 0
jmp 0x10013d79
mov dword [ebp - 0xa4], 1
cmp dword [ebp - 0xa4], 0xfffffff7
jge 0x10013d97
mov eax, 0xa956
test eax, eax
je 0x10013d97
mov dword [ebp - 0xfc], 1
jmp 0x10013d9e
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x190], eax
push 0xfffffffffffffff6
pop eax
cmp eax, 0xffffffff
jle 0x10013dbb
mov dword [ebp - 0xe4], 1
jmp 0x10013dc2
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x77cc
call fcn.10014e90
add esp, 0xc
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x10013e00
mov dword [ebp - 0xac], 1
jmp 0x10013e07
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xac], eax
jle 0x10013e1e
mov dword [ebp - 0xd4], 1
jmp 0x10013e25
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x30], eax
jg 0x10013e42
mov dword [ebp - 0xb4], 1
jmp 0x10013e49
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xb390
je 0x10013e5e
mov dword [ebp - 0x70], 1
jmp 0x10013e62
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x70]
jne 0x10013e79
mov eax, 0x229a0c81
test eax, eax
jne 0x10013e79
and dword [ebp - 0x78], 0
jmp 0x10013e80
mov dword [ebp - 0x78], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
add eax, dword [ebp - 0x78]
cmp eax, 0xffffffff
jae 0x10013e9e
mov dword [ebp - 0x108], 1
jmp 0x10013ea5
and dword [ebp - 0x108], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
mov dword [ebp - 0x198], eax
mov eax, 0x8fb6
imul eax, eax, 6
cmp dword [ebp - 0x20], eax
jge 0x10013ecb
mov dword [ebp - 0x80], 1
jmp 0x10013ecf
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 6
jb 0x10013ee1
mov dword [ebp - 0x88], 1
jmp 0x10013ee8
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x10013f08
mov dword [ebp - 0x90], 1
jmp 0x10013f0f
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x90], eax
jle 0x10013f26
mov dword [ebp - 0x98], 1
jmp 0x10013f2d
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
sub eax, 0x358c
cmp dword [ebp - 0x14], eax
jle 0x10013f49
mov dword [ebp - 0xa0], 1
jmp 0x10013f50
and dword [ebp - 0xa0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0xa0], eax
jle 0x10013f6e
mov dword [ebp - 0x130], 1
jmp 0x10013f75
and dword [ebp - 0x130], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
mov dword [ebp - 0x1c0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
mov dword [ebp - 0x1b4], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
mov dword [ebp - 0x18c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0x17c], ecx
mov eax, dword [0x10681cb4]
and eax, 1
jne 0x10013fe9
mov eax, dword [0x10681cb4]
or eax, 1
mov dword [0x10681cb4], eax
and dword [ebp - 4], 0
mov ecx, 0x10681c6c
call fcn.10016d6c
push 0x10090c3f
call fcn.10074a26
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x110], 0xe1e2c0d3
mov dword [ebp - 0x50], 0
jmp 0x1001400a
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x10014020
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x188], 5
jmp 0x10014003
mov dword [ebp - 0x34], 0
jmp 0x10014030
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jg 0x10014048
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp + eax*4 - 0x188]
mov dword [ebp - 0x110], eax
jmp 0x10014029
mov eax, dword [ebp + 8]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x1b0]
push eax
mov ecx, 0x10681c6c
call fcn.10016d36
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x194]
push eax
mov ecx, 0x10681c6c
call fcn.10016d44
mov ecx, eax
call fcn.10016d59
movzx eax, al
test eax, eax
je 0x1001411b
mov dword [ebp - 0x3c], 0x25b9b55b
mov dword [ebp - 0x3c], 8
jmp 0x100140a4
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffea
jle 0x100140fa
mov dword [ebp - 0x118], 0xfffffffd
mov dword [ebp - 0x138], 0xfffffffc
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x100140db
push 0x26fe
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 1
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x138]
push eax
push 0x1b70
call fcn.100138a1
add esp, 0x10
jmp 0x1001409d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x10681c6c
call fcn.10016dc0
mov al, byte [eax]
jmp 0x100144c7
push dword [ebp + 8]
lea eax, [ebp - 0x1e4]
push eax
call fcn.10012b7e
pop ecx
pop ecx
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x128]
call fcn.10016c3d
mov al, byte [eax]
mov byte [ebp - 0x15], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.10016be1
mov dword [ebp - 0x4c], 0xb7c7ce53
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0xb0], 0x3b1dab55
mov dword [ebp - 0x44], 0
jmp 0x1001418f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x100141a5
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x1cc], 3
jmp 0x10014188
mov dword [ebp - 0x4c], 0
jmp 0x100141b5
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jg 0x10014228
mov dword [ebp - 0x19c], 0x25681085
mov dword [ebp - 0x100], 0xa9bca7b
mov dword [ebp - 0x104], 0xfffffffb
xor eax, eax
inc eax
sub eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x100]
jge 0x100141f3
mov dword [ebp - 0x6c], 1
jmp 0x100141f7
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
add eax, 0x7494
cmp eax, dword [ebp - 0xb0]
jge 0x10014213
mov dword [ebp - 0xb8], 1
jmp 0x1001421a
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x104], eax
jmp 0x100141ae
push 0x4d1b
push 1
call fcn.10013914
pop ecx
pop ecx
push 0
push 0x10681c6c
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10014f21
add esp, 0x10
mov dword [ebp - 0x124], 0xef34ea88
mov dword [ebp - 0x1c], 0
jmp 0x10014267
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1001427d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x16c], 4
jmp 0x10014260
mov dword [ebp - 0x1c], 0
jmp 0x1001428d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x100142a3
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x150], 0x860b4ffb
jmp 0x10014286
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x150], 2
jmp 0x100142d1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x150]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x150], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x150], 0
jl 0x1001449f
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x11c], 0x6d9935ff
mov dword [ebp - 0x12c], 1
cmp dword [ebp - 0x2c], 0
jne 0x1001431f
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x150], 0
jne 0x1001431f
and dword [ebp - 0xc0], 0
jmp 0x10014329
mov dword [ebp - 0xc0], 1
cmp dword [ebp - 0xc0], 0xe224
jg 0x10014341
mov dword [ebp - 0x10c], 1
jmp 0x10014348
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1bc], eax
mov eax, 0x30a4
test eax, eax
jle 0x10014366
mov dword [ebp - 0xc8], 1
jmp 0x1001436d
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0xfffffffc
jg 0x10014382
mov dword [ebp - 0x114], 1
jmp 0x10014389
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x2c], 0
jne 0x100143a8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x16c], 0
jne 0x100143a8
and dword [ebp - 0xd0], 0
jmp 0x100143b2
mov dword [ebp - 0xd0], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xd0]
sub ecx, dword [ebp + eax - 0x16c]
jne 0x100143d4
xor eax, eax
inc eax
jne 0x100143d4
and dword [ebp - 0xd8], 0
jmp 0x100143de
mov dword [ebp - 0xd8], 1
push 4
pop eax
shl eax, 1
push 4
pop ecx
imul ecx, ecx, 3
mov edx, dword [ebp - 0xd8]
sub edx, dword [ebp + ecx - 0x150]
cmp dword [ebp + eax - 0x16c], edx
jg 0x1001440b
mov dword [ebp - 0xe0], 1
jmp 0x10014412
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xe0], eax
jl 0x10014429
mov dword [ebp - 0xe8], 1
jmp 0x10014430
and dword [ebp - 0xe8], 0
imul eax, dword [ebp - 0xe8], 0
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x124]
imul eax, dword [ebp - 0x2c]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x150]
je 0x10014461
mov dword [ebp - 0xf0], 1
jmp 0x10014468
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
sub eax, 8
imul eax, eax, 0xffffffff
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1001449a
push 0x2d16
push 0
push 0x62b9
call fcn.10014688
add esp, 0xc
jmp 0x100142b6
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x100144c4
push 0x367f
push 0xa71
push 0x4ed1
push 0
call fcn.100144d5
add esp, 0x10
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret