Function at 0x66e0f250
Capabilities:
Check if file exists
Connect pipe
Read pipe
Write pipe

Disassembly:
push 0xffffffffffffffff
push 0x66f77b90
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], 0
mov esi, eax
call fcn.66f5b9a0
mov dword [esp + 0x84], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], vtable.FNPNS::UTC::StreamWithoutVersion::CFirstParseStreamWriteNV.0
push dword [esp + 0x18]
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 2
call dword [0x66f8c104]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push 0
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push 0x14
call dword [eax + 0xc]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push dword [esp + 0x14]
call dword [eax + 0xc]
push dword [esp + 0x28]
lea ecx, [esp + 0x4c]
push 0
call fcn.66f5bb20
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
call fcn.66e0e870
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push dword [esp + 0x18]
mov byte [esp + 0x88], 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 0x14
call dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push dword [esp + 0x14]
call dword [eax + 0xc]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x58]
sub eax, dword [esp + 0x4c]
add eax, 0xfffffff8
push eax
call fcn.66f5b930
push 0x66f8c148
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 4
call fcn.66e13410
lea eax, [edi + 4]
mov byte [esp + 0x84], 5
push eax
lea ecx, [esp + 0x6c]
call fcn.66e13620
push 0x66f8c154
lea ecx, [esp + 0x6c]
call fcn.66e136f0
mov ebp, dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
mov esi, 0xa
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
dec esi
test eax, eax
je 0x66e0f48a
mov edx, dword [esp + 0x60]
lea ebx, [esp + 0x20]
mov edi, dword [esp + 0x5c]
sub edx, edi
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
push 0x7d0
push ebx
push edx
sub eax, ecx
mov dword [esp + 0x2c], 0
push edi
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.66e13a40
push eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x66e0f410
call ebx
cmp eax, 2
jne 0x66e0f3b7
xor bl, bl
jmp 0x66e0f48c
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0x44], 0
mov word [esp + 0x3c], ax
lea eax, [esp + 0x58]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], vtable.FNPNS::UTC::StreamWithoutVersion::CFirstParseStreamReadEndianNV_struct_FNPNS::UTC::CGenericEndianPolicy_struct_FNPNS::UTC::NativeEndianPolicy__.0
lea eax, [esp + 0x18]
mov byte [esp + 0x84], 7
push eax
lea ecx, [esp + 0x3c]
call dword [0x66f8c1a4]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
call dword [eax + 0x24]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
call dword [eax + 0x24]
cmp dword [esp + 0x1c], 0
jne 0x66e0f482
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [esp + 0x38], vtable.FNPNS::UTC::CTwoParseStreamRead.0
mov bl, 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 4
call fcn.66e134c0
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 3
call fcn.66f5b9c0
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], vtable.FNPNS::UTC::CTwoParseStreamWrite.0
mov dword [esp + 0x24], vtable.FNPNS::UTC::CTwoParseStreamWrite.0
mov dword [esp + 0x84], 0xffffffff
call fcn.66f5b9c0
mov al, bl
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4