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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x390
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rbx, rdx
lea r15, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x48], r15
lea r12, str.CVssDeletingWriter::PathIsRedirected
mov qword [rsp + 0x50], r12
lea r13, str.WRTDELET
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], 0x617
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
xor edi, edi
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rbp]
call fcn.1400bec34
nop
mov qword [rsp + 0x40], rdi
lea rax, [0x1400f6248]
mov qword [rsp + 0x38], rax
cmp word [rbx], di
je 0x1400d40a3
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14003152c
mov rbx, qword [rsp + 0x40]
or rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rbx + rax*2], di
jne 0x1400d3ff4
mov r14d, 0x5c
cmp word [rbx + rax*2 - 2], r14w
jne 0x1400d401c
mov rax, rsi
inc rax
cmp word [rbx + rax*2], di
jne 0x1400d400e
mov word [rbx + rax*2 - 2], di
mov r8d, 0x104
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1400d40f7
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], 0x62e
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, str.GetVolumePathName__s__failed_with__d
lea rdx, [rsp + 0x48]
lea rcx, [rbp]
call fcn.140009fb0
xor edx, edx
lea rcx, [rbp]
call fcn.140031dac
mov bl, al
lea rcx, [rsp + 0x38]
call fcn.14002e4c8
nop
lea rcx, [rbp]
call fcn.140009990
mov al, bl
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400164a0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp + 0x70]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x1400d40fe
cmp word [rbp + rax*2 + 0x6e], r14w
jne 0x1400d4124
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x1400d4135
mov word [rbp + rax + 0x70], di
mov rax, rsi
inc rax
cmp word [rbx + rax*2], di
jne 0x1400d4127
jmp 0x1400d4202
call fcn.1400167c8
int3
mov rdx, rbx
lea rcx, [rbp + 0x70]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1400d40a3
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x1400d41d2
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], 0x655
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, str.GetFileAttributes__s__failed_with__d
lea rdx, [rsp + 0x48]
lea rcx, [rbp]
call fcn.140009fb0
jmp 0x1400d41d8
bt eax, 0xa
jb 0x1400d4211
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400d40a3
mov word [rax], di
mov rax, rsi
inc rax
cmp word [rbx + rax*2], di
jne 0x1400d41f9
cmp rax, 3
jae 0x1400d413b
jmp 0x1400d40a3
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], 0x65c
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
mov r9, rbx
lea r8, str.reparse_point_found:__s
lea rdx, [rsp + 0x48]
lea rcx, [rbp]
call fcn.140009fb0
mov dl, 1
jmp 0x1400d40a5