Function at 0x4691c0
Capabilities:
Check if file exists
Create pipe
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x488026
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
push ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
push 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], ecx
push ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], ecx
xor esi, esi
push ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], ecx
call ebp
push ebx
push 1
push ebx
push ebx
mov dword [esp + 0x64], eax
call ebp
mov edx, dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
cmp byte [edi + 0x34], bl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x5c], bl
je 0x46937f
cmp dword [edi + 0x58], ebx
mov ebp, 1
je 0x469288
mov dword [0x4e3200], ebp
call dword [edi + 0x58]
mov dword [0x4e31fc], eax
mov dword [0x4e31f8], 0xc
mov dword [edi + 0x58], ebx
mov eax, dword [edi + 0x60]
push 0x4e31f8
push 0xea60
push 0x10000
push 0x10000
push 0xff
push 6
push 0x40000003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
jne 0x469321
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.CreateNamedPipe
mov dword [esp + 0x74], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ebx
mov dword [esp + 0x74], esi
call fcn.00458010
add esp, 0xc
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x58]
push ecx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [edi]
cmp eax, ebx
je 0x469544
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, ebx
jne 0x46936f
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4a98dc
mov dword [esp + 0x74], ebp
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ebx
mov dword [esp + 0x74], 0xffffffff
call fcn.00458010
add esp, 0xc
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
jmp 0x469544
mov eax, dword [edi + 0x6c]
xor ebp, ebp
cmp eax, ebx
jl 0x4694e0
lea esp, [esp]
push str.RR_ServerReadyEvent
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
cmp esi, ebx
jne 0x4693f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x469490
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.OpenEvent
mov dword [esp + 0x74], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ebx
mov dword [esp + 0x74], 0xffffffff
call fcn.00458010
add esp, 0xc
jmp 0x469490
push 0x4e20
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x469447
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x48affc
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Server_did_not_respond.
mov dword [esp + 0x78], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov dword [esp + 0x74], 0xffffffff
call fcn.00457810
jmp 0x469486
cmp eax, 0xffffffff
jne 0x469489
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4a9860
mov dword [esp + 0x74], 4
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ebx
mov dword [esp + 0x74], 0xffffffff
call fcn.00458010
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x60]
push ebx
push 0xe0000000
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
jne 0x4694e0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x60]
push 0x61a8
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
mov eax, dword [edi + 0x6c]
inc ebp
cmp ebp, eax
jle 0x469390
jmp 0x4692f6
cmp esi, ebx
je 0x4692f6
cmp esi, 0xffffffff
je 0x469544
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x24], 2
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x469544
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4a9830
mov dword [esp + 0x74], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ebx
mov dword [esp + 0x74], 0xffffffff
call fcn.00458010
add esp, 0xc
cmp esi, ebx
je 0x4692f6
cmp esi, 0xffffffff
je 0x4692f6
lea edx, [esp + 0x20]
push edx
lea ecx, [edi + 0x38]
call fcn.00468570
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret