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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x260
mov rbx, rcx
mov r12, r8
mov ebp, r9d
mov qword [rsp + 0x48], 0
test byte [rcx + 0x58], 4
jne 0x6a0c60
mov qword [rcx + 0xe8], rdx
mov rcx, r8
call fcn.0069b340
mov qword [rbx + 0x60], rax
test rax, rax
je 0x6a0c3d
mov eax, dword [rbx + 0x58]
test al, 4
je 0x6a0a40
mov r9d, 0xffffffff
mov r8, r12
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0
mov r13, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x20], 0
call r13
lea esi, [rax + rax]
movsxd rsi, esi
mov rcx, rsi
call fcn.0069b410
mov rdi, rax
test rax, rax
je 0x6a0c3d
shr rsi, 1
xor edx, edx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov dword [rsp + 0x28], esi
mov r8, r12
mov ecx, 0xfde9
call r13
test eax, eax
je 0x6a0ac0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x6a0b00
shr eax, 4
and eax, 1
mov esi, eax
je 0x6a0a60
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov r14, qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
call r14
mov r12, rdi
mov r13d, eax
test eax, eax
jne 0x6a0bd0
mov rcx, rdi
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov r8d, 7
mov dword [rsp + 0x28], 0x42000000
mov edx, 1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 0xd8], rax
test rcx, rcx
je 0x6a0946
call fcn.0069b430
mov rax, qword [rbx + 0xd8]
mov qword [rsp + 0x48], 0
cmp rax, 0xffffffffffffffff
je 0x6a0c10
mov rdx, qword [rbx + 8]
xor r9d, r9d
mov r8, rbx
mov rcx, rax
mov rdx, qword [rdx + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
je 0x6a0c10
mov rdx, qword [rbx + 0x108]
test rdx, rdx
je 0x6a0c20
mov r9d, ebp
lea rax, [rbx + 0xa8]
mov qword [rbx + 0xa8], 0
mov rcx, qword [rbx + 0xd8]
shr r9d, 2
mov qword [rsp + 0x30], rax
mov r8d, 0x1000
and r9d, 1
mov qword [rbx + 0xb0], 0
mov qword [rbx + 0xb8], 0
mov qword [rbx + 0xc0], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x17f
call qword [sym.imp.KERNEL32.dll_ReadDirectoryChangesW]
test eax, eax
je 0x6a0c10
test esi, esi
jne 0x6a0bc2
test r12, r12
je 0x6a0a1f
mov r8d, 0x139
lea rdx, str.src_win_fs_event.c
lea rcx, str.is_path_dir___pathw___NULL_:_pathw__NULL
call qword [sym.imp.msvcrt.dll__assert]
mov qword [rbx + 0x100], r12
xor eax, eax
mov dword [rbx + 0xe0], 1
jmp 0x6a0acd
mov edx, eax
or edx, 4
mov dword [rbx + 0x58], edx
test al, 8
je 0x6a0844
mov rax, qword [rbx + 8]
add dword [rax + 8], 1
jmp 0x6a0844
lea r12, [rsp + 0x50]
mov r8d, 0x104
mov rcx, rdi
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea r8, [rbx + 0xf0]
lea rdx, [rsp + 0x48]
mov rcx, rdi
test eax, eax
jne 0x6a0ae0
call fcn.006a0540
test eax, eax
jne 0x6a0b00
mov qword [rbx + 0xf8], 0
mov r12, qword [rsp + 0x48]
mov rcx, rdi
call fcn.0069b430
mov rdi, r12
xor r12d, r12d
jmp 0x6a08f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0069fed0
add rsp, 0x260
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call fcn.006a0540
test eax, eax
jne 0x6a0b00
xor edx, edx
lea r8, [rbx + 0xf8]
mov rcx, r12
call fcn.006a0540
test eax, eax
je 0x6a0a9e
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, rdi
mov esi, eax
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x6a0b21
call fcn.0069b430
mov qword [rbx + 0x60], 0
mov rcx, qword [rbx + 0xf0]
test rcx, rcx
je 0x6a0b3d
call fcn.0069b430
mov qword [rbx + 0xf0], 0
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x6a0b59
call fcn.0069b430
mov qword [rbx + 0xf8], 0
mov rcx, r12
call fcn.0069b430
mov rcx, qword [rbx + 0xd8]
cmp rcx, 0xffffffffffffffff
je 0x6a0b7f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xd8], 0xffffffffffffffff
mov rcx, qword [rbx + 0x108]
test rcx, rcx
je 0x6a0b9b
call fcn.0069b430
mov qword [rbx + 0x108], 0
mov eax, dword [rbx + 0x58]
test al, 4
je 0x6a0bb6
mov edx, eax
and edx, 0xfffffffb
mov dword [rbx + 0x58], edx
test al, 8
je 0x6a0bb6
mov rax, qword [rbx + 8]
sub dword [rax + 8], 1
mov ecx, esi
call fcn.0069fed0
jmp 0x6a0acd
test r12, r12
jne 0x6a0a1f
jmp 0x6a0a05
movsxd rcx, eax
add rcx, rcx
call fcn.0069b410
mov r12, rax
test rax, rax
je 0x6a0c3d
mov r8d, r13d
mov rdx, rax
mov rcx, rdi
call r14
test eax, eax
je 0x6a0c50
cdqe
xor edx, edx
mov rcx, rdi
mov rdi, r12
mov word [r12 + rax*2], dx
call fcn.0069b430
jmp 0x6a08f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x6a0b0b
mov ecx, 0x1000
call fcn.0069b410
mov rdx, rax
mov qword [rbx + 0x108], rax
test rax, rax
jne 0x6a0980
lea rdx, [0x0090d420]
mov ecx, 0xe
call fcn.0069fe10
nop
mov rcx, r12
mov r12, rdi
call fcn.0069b430
jmp 0x6a08f0
mov eax, 0xfffff019
jmp 0x6a0acd