Function at 0x14002eb18
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15, rdx
mov rbx, rcx
mov rcx, qword [0x140173048]
lea r14, [0x140173048]
cmp rcx, r14
je 0x14002eb68
test byte [rcx + 0x1c], 1
je 0x14002eb68
cmp byte [rcx + 0x19], 4
jb 0x14002eb68
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x1f7
call fcn.14000c328
and qword [rsp + 0x70], 0
or rdi, 0xffffffffffffffff
test r15, r15
jne 0x14002eb8f
lea r8, str.pbExist
mov edx, 0x2e75
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400906e0
test rbx, rbx
jne 0x14002ebac
lea r8, str.wszSnapshotName
mov edx, 0x2e76
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400906e0
lea rdx, [rsp + 0x70]
mov byte [r15], 1
mov rcx, rbx
call fcn.140091dd8
mov rsi, qword [rsp + 0x70]
mov ebx, eax
mov r12d, eax
test eax, eax
js 0x14002ed42
xor ebp, ebp
cmp ebp, 5
jae 0x14002ed26
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000000
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002ec83
lea r14d, [rbp + 1]
cmp r14d, 5
jae 0x14002ec7b
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14002ec57
test byte [rcx + 0x1c], 1
je 0x14002ec57
cmp byte [rcx + 0x19], 4
jb 0x14002ec57
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x1fa
mov qword [rsp + 0x20], rsi
mov r9d, ebp
call fcn.14003fa64
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov ecx, 0x3e8
or rdi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
mov ebp, r14d
jmp 0x14002ebd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x14002ecd8
mov rcx, qword [0x140173048]
lea r14, [0x140173048]
cmp rcx, r14
je 0x14002ecd2
test byte [rcx + 0x1c], 1
je 0x14002ecd2
cmp byte [rcx + 0x19], 4
jb 0x14002ecd2
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x1f8
mov r9, rsi
call fcn.140015150
mov rcx, qword [0x140173048]
mov byte [r15], 0
jmp 0x14002ed49
test eax, eax
jg 0x14002ece0
mov ebx, eax
jmp 0x14002ece9
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
lea r14, [0x140173048]
cmp rcx, r14
je 0x14002ed49
test byte [rcx + 0x1c], 1
je 0x14002ed49
cmp byte [rcx + 0x19], 2
jb 0x14002ed49
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x1f9
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.1400151b8
jmp 0x14002ed42
cmp rdi, 0xffffffffffffffff
je 0x14002ed3b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea r14, [0x140173048]
mov rcx, qword [0x140173048]
test rsi, rsi
je 0x14002ed64
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
cmp rcx, r14
je 0x14002ed8a
test byte [rcx + 0x1c], 1
je 0x14002ed8a
cmp byte [rcx + 0x19], 4
jb 0x14002ed8a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x1fb
call fcn.14000c328
lea r11, [rsp + 0x40]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret