Function at 0x100411e4
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007da67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1004186f
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x100414dd
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x100412de
mov ecx, dword [ebp - 0x54]
call fcn.10041fc7
movzx eax, al
test eax, eax
jne 0x100414d8
mov dword [ebp - 0x4c], 0x37e9
mov dword [ebp - 0xb8], 0x1000b3e8
cmp dword [ebp - 0x4c], 0x3805
jle 0x10041377
and dword [ebp - 0x48], 0
jmp 0x10041305
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x7438
jge 0x10041377
and dword [ebp - 0x24], 0
jmp 0x1004131b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x142
jge 0x10041375
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
lea ecx, [ebp - 0x178]
call fcn.1001072e
pop ecx
pop ecx
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
call fcn.1001d53e
push eax
call fcn.10067b63
pop ecx
lea ecx, [ebp - 0x178]
call fcn.1001d534
jmp 0x10041314
jmp 0x100412fe
push dword [ebp - 0xb0]
push 1
push dword [ebp - 0x54]
push dword [ebp - 0xf8]
push 1
push 0x6e16
call fcn.10040ab5
add esp, 0x18
cmp dword [ebp - 0x4c], 0x34b6
jge 0x100413ac
push dword [ebp - 0xb8]
call fcn.10067b63
pop ecx
mov dword [ebp - 0x6c], 0x2fa5
mov dword [ebp - 0xc0], 0x1000b44c
cmp dword [ebp - 0x6c], 0x3355
jle 0x10041494
and dword [ebp - 0x44], 0
jmp 0x100413d7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x2add
jge 0x10041494
and dword [ebp - 0x2c], 0
jmp 0x100413f1
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x173a
jge 0x1004148f
and dword [ebp - 0x3c], 0
jmp 0x1004140b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x513b
jge 0x1004148a
and dword [ebp - 0x34], 0
jmp 0x10041421
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6bdd
jge 0x10041485
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
sar eax, cl
cdq
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x160]
call fcn.1001072e
pop ecx
pop ecx
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
call fcn.1001d53e
push eax
call fcn.10067b63
pop ecx
lea ecx, [ebp - 0x160]
call fcn.1001d534
jmp 0x1004141a
jmp 0x10041404
jmp 0x100413ea
jmp 0x100413d0
cmp dword [ebp - 0x6c], 0x2cb3
jge 0x100414a9
push dword [ebp - 0xc0]
call fcn.10067b63
pop ecx
push 1
push 0x2768
push 0x1f4a
push 0x7281
push dword [ebp - 0x5c]
push 0x27df
push 0x25c0
push 0x6db2
push 1
push 1
call fcn.10040ddf
add esp, 0x28
jmp 0x1004186a
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x80], 0x6472
mov dword [ebp - 0x8c], 0x1000b484
cmp dword [ebp - 0x80], 0x655e
jle 0x100415b9
and dword [ebp - 0x20], 0
jmp 0x1004152c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x57d6
jge 0x100415b9
and dword [ebp - 0x28], 0
jmp 0x10041546
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x42a9
jge 0x100415b4
and dword [ebp - 0x30], 0
jmp 0x1004155c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x879
jge 0x100415b2
and dword [ebp - 0x38], 0
jmp 0x10041572
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x279c
jge 0x100415b0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
shl eax, cl
mov ecx, dword [ebp - 0x30]
sar eax, cl
and eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
push dword [ebp - 0x134]
push dword [ebp - 0x138]
mov ecx, 0x10082bb8
call fcn.1001d55e
jmp 0x1004156b
jmp 0x10041555
jmp 0x1004153f
jmp 0x10041525
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 3
jmp 0x100415ea
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jl 0x10041851
mov dword [ebp - 0x50], 0x3d0bb94d
push 1
lea ecx, [ebp - 0x144]
call fcn.1001d86d
and dword [ebp - 4], 0
push 0
push 0x27a7
push 1
lea eax, [ebp - 0x148]
push eax
push 0x6745
lea eax, [ebp - 0x144]
push eax
call fcn.100241b9
add esp, 0x18
push 0x128f
push dword [ebp - 0x10]
push 1
push 0x5c3c
push 0
push 0x49c0
push dword [ebp - 0x14]
call fcn.10021d84
add esp, 0x1c
mov dword [ebp - 0x78], 0x16ac
mov dword [ebp - 0x88], 0x1000b4a8
cmp dword [ebp - 0x78], 0x18d4
jle 0x10041708
and dword [ebp - 0x40], 0
jmp 0x1004167e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x4bad
jge 0x100416f2
and dword [ebp - 0x1c], 0
jmp 0x10041694
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x540
jge 0x100416f0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
cdq
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], edx
push dword [ebp - 0x104]
push dword [ebp - 0x108]
lea ecx, [ebp - 0x190]
call fcn.1001072e
pop ecx
pop ecx
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
call fcn.1001d53e
push eax
call fcn.10067b63
pop ecx
lea ecx, [ebp - 0x190]
call fcn.1001d534
jmp 0x1004168d
jmp 0x10041677
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 1
mov ecx, dword [ebp - 0x14]
call fcn.1001d90b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001d90b
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x7c], eax
jg 0x1004175f
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001d90b
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001d90b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1004175f
and dword [ebp - 0x64], 0
jmp 0x10041766
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x64]
jge 0x10041779
mov dword [ebp - 0x74], 1
jmp 0x1004177d
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
jge 0x10041796
mov dword [ebp - 0x58], 1
jmp 0x1004179a
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xf839e071
jae 0x100417ac
mov dword [ebp - 0x60], 1
jmp 0x100417b0
and dword [ebp - 0x60], 0
push 0
lea ecx, [ebp - 0x144]
call fcn.1001d90b
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax]
je 0x100417cd
mov dword [ebp - 0x68], 1
jmp 0x100417d1
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x68], eax
jle 0x100417e4
mov dword [ebp - 0x70], 1
jmp 0x100417e8
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x70]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
cmp ecx, dword [eax]
jge 0x10041803
mov dword [ebp - 0xe0], 1
jmp 0x1004180a
and dword [ebp - 0xe0], 0
push 0
lea ecx, [ebp - 0x144]
call fcn.1001d90b
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001d90b
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ecx], eax
cmp dword [ebp - 0x78], 0x147f
jge 0x1004183d
push dword [ebp - 0x88]
call fcn.10067b63
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.1001d8ef
jmp 0x100415df
cmp dword [ebp - 0x80], 0x61b7
jge 0x1004186a
mov edx, dword [ebp - 0x8c]
mov ecx, 0x10082bb8
call fcn.100202a3
jmp 0x10041949
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1004190e
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd4]
call fcn.10041f89
mov ecx, dword [ebp - 0xdc]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10041949
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
test eax, eax
je 0x10041949
push 0x1ed7
push 1
push 0
push 0x61b8
call fcn.10021c27
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret