Function at 0x610c7470
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 0x610c7683
cmp byte [edi + 0xc], 0
jne 0x610c7660
cmp byte [edi + 0xd], 0
jne 0x610c763d
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, 0x61107408
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 0x610c7625
cmp byte [0x61148140], 0
mov dword [edi + 8], 0
je 0x610c75d5
cmp ebx, 0x40
je 0x610c7551
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 0x610c74b0
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
je 0x610c75c0
inc ebx
cmp ebx, 0x40
jne 0x610c7520
test esi, esi
jne 0x610c74b0
cmp ebx, 0x40
je 0x610c757c
mov dword [esp], str._ext_build_netrel_src_cygwin_1.5.24_2_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], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov byte [0x61148140], 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 0x610c754c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xe7
je 0x610c750e
test byte [0x6110a820], 1
je 0x610c75b3
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], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov eax, 0xffffffff
jmp 0x610c75b8
mov dword [edi + 8], eax
test eax, eax
je 0x610c76a6
mov byte [0x61148140], 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.24_2_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 0x610c749b
mov dword [esp], str._ext_build_netrel_src_cygwin_1.5.24_2_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 0x610c7491
mov dword [esp], str._ext_build_netrel_src_cygwin_1.5.24_2_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 0x610c7487
mov dword [esp], str._ext_build_netrel_src_cygwin_1.5.24_2_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 0x610c762c