Function at 0x610c7860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
test eax, eax
jne 0x610c7a73
cmp byte [edi + 0xc], 0
jne 0x610c7a50
cmp byte [edi + 0xd], 0
jne 0x610c7a2d
mov esi, 1
xor ebx, ebx
lea esi, [esi]
lea edi, [edi]
mov eax, 3
xor ecx, ecx
mov edx, 0x20000
mov dword [esp + 0x10], eax
mov eax, 0x61109424
mov dword [esp + 0xc], eax
mov eax, 3
mov dword [esp + 8], eax
mov eax, 0xc0000000
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_CreateFileA
sub esp, 0x1c
cmp eax, 0xffffffff
jne 0x610c7a15
cmp byte [0x61149f90], 0
mov dword [edi + 8], 0
je 0x610c79c5
cmp ebx, 0x40
je 0x610c7941
lea esi, [esi]
lea edi, [edi]
mov ecx, 0xa
mov dword [esp + 4], ecx
mov eax, dword [edi + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_WaitNamedPipeA
sub esp, 8
test eax, eax
mov esi, eax
jne 0x610c78a0
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
je 0x610c79b0
inc ebx
cmp ebx, 0x40
jne 0x610c7910
test esi, esi
jne 0x610c78a0
cmp ebx, 0x40
je 0x610c796c
mov dword [esp], str._ext_build_netrel_src_cygwin_1.5.25_7_winsup_cygserver_transport_pipes.cc
mov edx, str.retries__MAX_WAIT_NAMED_PIPE_RETRY
mov eax, 0x13a
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym.___assert
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 0x10], eax
mov eax, str.lost_connection_to_cygserver__error___lu
mov dword [esp + 0xc], eax
mov eax, str.virtual_int_transport_layer_pipes::connect__
mov dword [esp + 8], eax
mov eax, 0x8000
mov dword [esp + 4], eax
mov dword [esp], 0x6110c854
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov byte [0x61149f90], 0
mov eax, 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0
inc ebx
call sub.KERNEL32.dll_Sleep
sub esp, 4
jmp 0x610c793c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xe7
je 0x610c78fe
test byte [0x6110c854], 1
je 0x610c79a3
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 0x10], eax
mov edi, str.Error_opening_the_pipe___lu_
mov esi, str.virtual_int_transport_layer_pipes::connect__
mov dword [esp + 0xc], edi
mov ebx, 0x40
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0x6110c854
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov eax, 0xffffffff
jmp 0x610c79a8
mov dword [edi + 8], eax
test eax, eax
je 0x610c7a96
mov byte [0x61149f90], 1
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str._ext_build_netrel_src_cygwin_1.5.25_7_winsup_cygserver_transport_pipes.cc
mov esi, str.__is_listening_endpoint
mov ebx, 0x108
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
call sym.___assert
jmp 0x610c788b
mov dword [esp], str._ext_build_netrel_src_cygwin_1.5.25_7_winsup_cygserver_transport_pipes.cc
mov eax, str.__is_accepted_endpoint
mov dword [esp + 8], eax
mov eax, 0x107
mov dword [esp + 4], eax
call sym.___assert
jmp 0x610c7881
mov dword [esp], str._ext_build_netrel_src_cygwin_1.5.25_7_winsup_cygserver_transport_pipes.cc
mov eax, str.__hPipe
mov dword [esp + 8], eax
mov eax, 0x106
mov dword [esp + 4], eax
call sym.___assert
jmp 0x610c7877
mov dword [esp], str._ext_build_netrel_src_cygwin_1.5.25_7_winsup_cygserver_transport_pipes.cc
mov eax, str._hPipe
mov dword [esp + 8], eax
mov eax, 0x11b
mov dword [esp + 4], eax
call sym.___assert
jmp 0x610c7a1c