Function at 0x66e0ee70
Capabilities:
Check if file exists
Connect pipe
Read pipe
Resolve function by parsing pe exports
Write pipe

Disassembly:
push 0xffffffffffffffff
push 0x66f77b2e
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], 0
mov esi, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x4c], 0
call fcn.66f5b9a0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], vtable.FNPNS::UTC::StreamWithoutVersion::CFirstParseStreamWriteNV.0
push dword [esp + 0x38]
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 2
call dword [0x66f8c104]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push 0
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push 0
call dword [eax + 0xc]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push dword [esp + 0x24]
call dword [eax + 0xc]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push dword [esp + 0x28]
call dword [eax + 0xc]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push dword [esp + 0x20]
call dword [eax + 0xc]
push dword [esp + 0x18]
lea ecx, [esp + 0x54]
push 0
call fcn.66f5bb20
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x34]
call fcn.66e0e870
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push dword [esp + 0x38]
mov byte [esp + 0xac], 3
call dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push 0
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push 0
call dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push dword [esp + 0x24]
call dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push dword [esp + 0x28]
call dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push dword [esp + 0x20]
call dword [eax + 0xc]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x54]
add eax, 0xfffffff8
push eax
lea ecx, [esp + 0x64]
call fcn.66f5b930
push 0x66f8c148
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 4
call fcn.66e13410
lea eax, [ebp + 4]
mov byte [esp + 0xa8], 5
push eax
lea ecx, [esp + 0x78]
call fcn.66e13620
push 0x66f8c154
lea ecx, [esp + 0x78]
call fcn.66e136f0
mov esi, dword [esp + 0xb0]
mov ebx, 0xa
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x66e0f153
mov eax, ebx
dec ebx
test eax, eax
je 0x66e0f14f
mov edx, dword [esp + 0x68]
lea ebp, [esp + 0x70]
mov edi, dword [esp + 0x64]
sub edx, edi
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
push 0x7d0
push ebp
push edx
sub eax, ecx
push edi
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.66e13a40
push eax
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x66e0f133
xor eax, eax
mov dword [esp + 0x48], 0
mov word [esp + 0x40], ax
lea eax, [esp + 0x60]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], vtable.FNPNS::UTC::StreamWithoutVersion::CFirstParseStreamReadEndianNV_struct_FNPNS::UTC::CGenericEndianPolicy_struct_FNPNS::UTC::NativeEndianPolicy__.0
lea eax, [esp + 0x38]
mov byte [esp + 0xa8], 7
push eax
lea ecx, [esp + 0x40]
call dword [0x66f8c1a4]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 0x24]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 0x24]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 0x24]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 0x24]
cmp dword [esp + 0x4c], 0
jne 0x66e0f121
push 0
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.66e13c60
mov byte [esp + 0xa8], 5
mov dword [esp + 0x3c], vtable.FNPNS::UTC::CTwoParseStreamRead.0
jmp 0x66e0f13e
call ebp
cmp eax, 2
je 0x66e0f23d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x66e0f041
mov ebp, dword [esp + 0x1c]
push 0
push 0
push 6
push 0xb
lea ecx, [esp + 0x98]
call fcn.66e13ad0
push esi
lea ecx, [esp + 0x8c]
mov byte [esp + 0xac], 8
mov dword [esp + 0x20], 0
call fcn.66e13c10
test al, al
je 0x66e0f1c3
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.66e0f250
test al, al
je 0x66e0f1c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [esi + 0xc]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [esi + 8]
call dword [eax + 4]
push dword [esp + 0x1c]
mov ecx, esi
push ebx
push edi
push dword [esi + 4]
call fcn.66e13c60
lea ecx, [esp + 0x88]
mov byte [esp + 0xa8], 5
mov bl, 1
call fcn.66e13b10
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 4
call fcn.66e134c0
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 3
call fcn.66f5b9c0
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], vtable.FNPNS::UTC::CTwoParseStreamWrite.0
mov dword [esp + 0x14], vtable.FNPNS::UTC::CTwoParseStreamWrite.0
mov dword [esp + 0xa8], 0xffffffff
call fcn.66f5b9c0
mov al, bl
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 4
xor bl, bl
jmp 0x66e0f1d9