Function at 0x4bb680
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 qword [rsp + 0x48], 0
mov rbx, rcx
mov rdi, r8
mov ebp, r9d
test byte [rcx + 0x58], 4
jne 0x4bbb00
mov qword [rcx + 0xe8], rdx
mov rcx, r8
call fcn.004b7500
mov qword [rbx + 0x60], rax
test rax, rax
je 0x4bbadd
mov eax, dword [rbx + 0x58]
test al, 4
je 0x4bb8d0
mov r9d, 0xffffffff
mov r8, rdi
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.004b75d0
mov r12, rax
test rax, rax
je 0x4bbadd
shr rsi, 1
xor edx, edx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov dword [rsp + 0x28], esi
mov r8, rdi
mov ecx, 0xfde9
call r13
test eax, eax
je 0x4bb950
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4bb990
shr eax, 4
and eax, 1
mov esi, eax
je 0x4bb8f0
mov r14, qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
xor r8d, r8d
xor edx, edx
mov rcx, r12
call r14
mov r13, r12
mov edi, eax
test eax, eax
jne 0x4bba70
mov r8d, 7
mov rcx, r12
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x42000000
mov edx, 1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r8, qword [rsp + 0x48]
mov qword [rbx + 0xd8], rax
mov rcx, rax
test r8, r8
je 0x4bb7db
mov rcx, r8
call fcn.004b75f0
mov rcx, qword [rbx + 0xd8]
mov qword [rsp + 0x48], 0
cmp rcx, 0xffffffffffffffff
je 0x4bbab0
mov rax, qword [rbx + 8]
xor r9d, r9d
mov r8, rbx
mov rdx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
je 0x4bbab0
mov rdx, qword [rbx + 0x108]
test rdx, rdx
je 0x4bbac0
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 0x4bbab0
test esi, esi
jne 0x4bba58
test r13, r13
je 0x4bb8b1
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], r13
xor eax, eax
mov dword [rbx + 0xe0], 1
jmp 0x4bb95d
mov edx, eax
or edx, 4
mov dword [rbx + 0x58], edx
test al, 8
je 0x4bb6d4
mov rax, qword [rbx + 8]
add dword [rax + 8], 1
jmp 0x4bb6d4
lea r13, [rsp + 0x50]
mov r8d, 0x104
mov rcx, r12
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea r8, [rbx + 0xf0]
lea rdx, [rsp + 0x48]
mov rcx, r12
test eax, eax
jne 0x4bb970
call fcn.004bb3f0
test eax, eax
jne 0x4bb990
mov qword [rbx + 0xf8], 0
mov rdi, qword [rsp + 0x48]
mov rcx, r12
xor r13d, r13d
call fcn.004b75f0
mov r12, rdi
jmp 0x4bb77f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004bb150
add rsp, 0x260
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call fcn.004bb3f0
test eax, eax
jne 0x4bb990
xor edx, edx
lea r8, [rbx + 0xf8]
mov rcx, r13
call fcn.004bb3f0
test eax, eax
je 0x4bb92e
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13, r12
mov r14d, eax
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x4bb9b2
call fcn.004b75f0
mov qword [rbx + 0x60], 0
mov rcx, qword [rbx + 0xf0]
test rcx, rcx
je 0x4bb9ce
call fcn.004b75f0
mov qword [rbx + 0xf0], 0
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x4bb9ea
call fcn.004b75f0
mov qword [rbx + 0xf8], 0
mov rcx, r13
call fcn.004b75f0
mov rcx, qword [rbx + 0xd8]
cmp rcx, 0xffffffffffffffff
je 0x4bba10
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xd8], 0xffffffffffffffff
mov rcx, qword [rbx + 0x108]
test rcx, rcx
je 0x4bba2c
call fcn.004b75f0
mov qword [rbx + 0x108], 0
mov eax, dword [rbx + 0x58]
test al, 4
je 0x4bba47
mov edx, eax
and edx, 0xfffffffb
mov dword [rbx + 0x58], edx
test al, 8
je 0x4bba47
mov rax, qword [rbx + 8]
sub dword [rax + 8], 1
mov ecx, r14d
call fcn.004bb150
jmp 0x4bb95d
test r13, r13
jne 0x4bb8b1
jmp 0x4bb897
movsxd rcx, eax
add rcx, rcx
call fcn.004b75d0
mov r13, rax
test rax, rax
je 0x4bbadd
mov r8d, edi
mov rdx, rax
mov rcx, r12
call r14
test eax, eax
je 0x4bbaf0
cdqe
xor edx, edx
mov rcx, r12
mov r12, r13
mov word [r13 + rax*2], dx
call fcn.004b75f0
jmp 0x4bb77f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
jmp 0x4bb99c
mov ecx, 0x1000
call fcn.004b75d0
mov qword [rbx + 0x108], rax
mov rdx, rax
test rax, rax
jne 0x4bb812
lea rdx, [0x0071b8e0]
mov ecx, 0xe
call fcn.004bb090
nop
mov rcx, r13
mov r13, r12
call fcn.004b75f0
jmp 0x4bb77f
mov eax, 0xfffff019
jmp 0x4bb95d