Function at 0x14002e8d8
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 [0x14016a048]
lea r14, [0x14016a048]
cmp rcx, r14
je 0x14002e928
test byte [rcx + 0x1c], 1
je 0x14002e928
cmp byte [rcx + 0x19], 4
jb 0x14002e928
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x1f7
call fcn.14000c0e8
and qword [rsp + 0x70], 0
or rdi, 0xffffffffffffffff
test r15, r15
jne 0x14002e94f
lea r8, str.pbExist
mov edx, 0x2e75
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.140088f60
test rbx, rbx
jne 0x14002e96c
lea r8, str.wszSnapshotName
mov edx, 0x2e76
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.140088f60
lea rdx, [rsp + 0x70]
mov byte [r15], 1
mov rcx, rbx
call fcn.14008a658
mov rsi, qword [rsp + 0x70]
mov ebx, eax
mov r12d, eax
test eax, eax
js 0x14002eb02
xor ebp, ebp
cmp ebp, 5
jae 0x14002eae6
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 0x14002ea43
lea r14d, [rbp + 1]
cmp r14d, 5
jae 0x14002ea3b
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x14002ea17
test byte [rcx + 0x1c], 1
je 0x14002ea17
cmp byte [rcx + 0x19], 4
jb 0x14002ea17
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x1fa
mov qword [rsp + 0x20], rsi
mov r9d, ebp
call fcn.14003f824
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 0x14002e991
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x14002ea98
mov rcx, qword [0x14016a048]
lea r14, [0x14016a048]
cmp rcx, r14
je 0x14002ea92
test byte [rcx + 0x1c], 1
je 0x14002ea92
cmp byte [rcx + 0x19], 4
jb 0x14002ea92
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x1f8
mov r9, rsi
call fcn.140014f10
mov rcx, qword [0x14016a048]
mov byte [r15], 0
jmp 0x14002eb09
test eax, eax
jg 0x14002eaa0
mov ebx, eax
jmp 0x14002eaa9
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14016a048]
lea r14, [0x14016a048]
cmp rcx, r14
je 0x14002eb09
test byte [rcx + 0x1c], 1
je 0x14002eb09
cmp byte [rcx + 0x19], 2
jb 0x14002eb09
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x1f9
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140014f78
jmp 0x14002eb02
cmp rdi, 0xffffffffffffffff
je 0x14002eafb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea r14, [0x14016a048]
mov rcx, qword [0x14016a048]
test rsi, rsi
je 0x14002eb24
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
cmp rcx, r14
je 0x14002eb4a
test byte [rcx + 0x1c], 1
je 0x14002eb4a
cmp byte [rcx + 0x19], 4
jb 0x14002eb4a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a790]
mov edx, 0x1fb
call fcn.14000c0e8
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