Function at 0x6cba80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x23c
mov ebx, dword [esp + 0x250]
mov dword [esp + 0x24], 0
test byte [ebx + 0x2c], 0x40
jne 0x6cbed0
mov eax, dword [esp + 0x254]
mov dword [ebx + 0x78], eax
mov eax, dword [esp + 0x258]
mov dword [esp], eax
call dbg.uv__strdup
test eax, eax
mov dword [ebx + 0x30], eax
je 0x6cbefa
mov eax, dword [ebx + 0x2c]
test al, 1
jne 0x6cbc20
test al, 0x40
je 0x6cbbe4
mov eax, dword [esp + 0x258]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov dword [esp + 8], eax
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call ebp
mov edi, eax
lea eax, [eax + eax]
sub esp, 0x18
mov dword [esp], eax
call sym._uv__malloc
test eax, eax
mov esi, eax
je 0x6cbefa
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x258]
and edi, 0x7fffffff
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov dword [esp + 8], eax
call ebp
sub esp, 0x18
test eax, eax
je 0x6cbc00
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x6cbda1
shr eax, 4
and eax, 1
mov edi, eax
jne 0x6cbc44
lea ebp, [esp + 0x28]
mov dword [esp + 8], 2
mov dword [esp], esi
mov dword [esp + 4], ebp
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
sub esp, 0xc
test eax, eax
lea ecx, [ebx + 0x7c]
lea edx, [esp + 0x24]
mov eax, esi
jne 0x6cbd81
call sym._uv_split_path.part.0
test eax, eax
jne 0x6cbda1
mov dword [ebx + 0x80], 0
mov ebp, dword [esp + 0x24]
mov dword [esp], esi
call dbg.uv__free
mov esi, ebp
xor ebp, ebp
jmp 0x6cbc46
mov edx, eax
or edx, 0x40
test al, 0x20
mov dword [ebx + 0x2c], edx
je 0x6cbada
mov eax, dword [ebx + 4]
add dword [eax + 4], 1
jmp 0x6cbada
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], eax
call dbg.uv_translate_sys_error
add esp, 0x23c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xa9
mov dword [esp + 4], str.src_win_fs_event.c
mov dword [esp], 0x8697a8
call dbg._assert
mov eax, dword [ebx + 0x2c]
jmp 0x6cbad2
mov ebp, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x42000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 7
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov dword [ebx + 0x70], eax
mov edx, dword [esp + 0x24]
test edx, edx
je 0x6cbca0
mov dword [esp], edx
call dbg.uv__free
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x24], 0
cmp eax, 0xffffffff
je 0x6cbe61
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov edx, dword [ebx + 4]
mov edx, dword [edx + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
sub esp, 0x10
test eax, eax
je 0x6cbe61
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x6cbee0
lea edx, [ebx + 0x54]
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x25c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x17f
mov dword [esp + 8], 0x1000
mov dword [esp + 4], eax
shr edx, 2
and edx, 1
mov dword [esp + 0xc], edx
mov eax, dword [ebx + 0x70]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadDirectoryChangesW]
sub esp, 0x20
test eax, eax
je 0x6cbe61
test edi, edi
je 0x6cbe70
test ebp, ebp
je 0x6cbe78
mov dword [ebx + 0x84], ebp
mov dword [ebx + 0x74], 1
add esp, 0x23c
pop ebx
xor eax, eax
pop esi
pop edi
pop ebp
ret
call sym._uv_split_path.part.0
test eax, eax
jne 0x6cbda1
lea ecx, [ebx + 0x80]
xor edx, edx
mov eax, ebp
call sym._uv_split_path.part.0
test eax, eax
je 0x6cbbd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x6cbdbf
mov dword [esp], eax
call dbg.uv__free
mov dword [ebx + 0x30], 0
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x6cbdd5
mov dword [esp], eax
call dbg.uv__free
mov dword [ebx + 0x7c], 0
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x6cbdf1
mov dword [esp], eax
call dbg.uv__free
mov dword [ebx + 0x80], 0
mov dword [esp], esi
call dbg.uv__free
mov eax, dword [ebx + 0x70]
cmp eax, 0xffffffff
je 0x6cbe14
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x70], 0xffffffff
sub esp, 4
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x6cbe30
mov dword [esp], eax
call dbg.uv__free
mov dword [ebx + 0x88], 0
mov eax, dword [ebx + 0x2c]
test al, 0x40
je 0x6cbe4e
test al, 1
jne 0x6cbea0
mov edx, eax
and edx, 0xffffffbf
test al, 0x20
mov dword [ebx + 0x2c], edx
je 0x6cbe4e
mov eax, dword [ebx + 4]
sub dword [eax + 4], 1
mov dword [esp], edi
call dbg.uv_translate_sys_error
add esp, 0x23c
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, ebp
mov edi, eax
jmp 0x6cbda9
test ebp, ebp
je 0x6cbd67
mov dword [esp + 8], 0x11d
mov dword [esp + 4], str.src_win_fs_event.c
mov dword [esp], str.is_path_dir___pathw___NULL_:_pathw__NULL
call dbg._assert
jmp 0x6cbd67
mov dword [esp + 8], 0x13f
mov dword [esp + 4], str.src_win_fs_event.c
mov dword [esp], 0x8697a8
call dbg._assert
mov eax, dword [ebx + 0x2c]
test al, 0x40
je 0x6cbe4e
jmp 0x6cbe3b
mov eax, 0xfffff019
jmp 0x6cbc0e
mov dword [esp], 0x1000
call sym._uv__malloc
test eax, eax
mov dword [ebx + 0x88], eax
jne 0x6cbce1
mov dword [esp + 4], 0x869788
mov dword [esp], 0xe
call dbg.uv_fatal_error
nop