Function at 0x14008c340
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov r14, rcx
xor r15d, r15d
mov dword [rbp - 0x28], r15d
lea rsi, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x20], rsi
lea r12, vtable.CVolObject.0
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r15
lea rax, vtable.CWString.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea r13, vtable.CVolMem.0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x70], 0xfe
lea rcx, [rbp - 0x20]
call fcn.1400932e0
nop
lea r8, [0x1402b2990]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14019a090
mov rbx, rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x88]
lea rdi, [fcn.140008770]
cmp rax, rdi
je 0x14008c42a
lea rcx, [rsp + 0x20]
call rax
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rcx
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x88]
cmp rdx, rdi
je 0x14008c45d
lea rcx, [rsp + 0x40]
call rdx
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14000b740
nop
lea rcx, [rbp - 0x60]
call fcn.14000bbb0
nop
mov qword [rbp - 0x80], r12
lea rcx, [rbp]
call fcn.14000bbb0
nop
mov qword [rbp - 0x20], r12
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14008c4a5
lea rax, [0x1402ac8c0]
cmp qword [rsp + 0x68], 0
cmovne rax, qword [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14008c5c4
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], 0x40
lea r9d, [rax + 0xa]
lea r8, [rbp - 0x80]
mov edx, 0x1f7
lea rcx, [0x140489950]
mov rax, qword [0x140489950]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x14008c526
cmp qword [rsp + 0x68], rcx
jne 0x14008c521
lea rcx, [0x1402ac8c0]
mov rbx, qword [rbp - 0x58]
mov rax, rbx
mov rsi, qword [rbp - 0x68]
jmp 0x14008c536
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rbp - 0x58]
mov rax, rbx
mov rsi, qword [rbp - 0x68]
test rcx, rcx
je 0x14008c577
cmp word [rcx], 0
je 0x14008c577
test rax, rax
js 0x14008c577
lea rdx, [0x1402c7344]
call fcn.140253a60
mov rdi, rax
test rax, rax
je 0x14008c570
mov r9, rax
mov r8, rbx
mov edx, 1
mov rcx, rsi
call fcn.1402538f0
mov rcx, rdi
call fcn.140252d34
lea rdi, [fcn.140008770]
mov qword [rbp - 0x80], r13
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x14008c5ad
mov rax, qword [rbp - 0x80]
mov r8, qword [rax + 0x18]
lea rax, [fcn.14018de50]
cmp r8, rax
jne 0x14008c5a6
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x14008c5ad
lea rcx, [rbp - 0x80]
call r8
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x80], r12
lea rsi, vtable.CVolCommonBaseWithMemManager.0
lea rcx, [rbp - 0x80]
call fcn.1400932e0
nop
lea r8, [0x1402b2970]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14019a090
mov rbx, rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x88]
cmp rax, rdi
je 0x14008c5fc
lea rcx, [rsp + 0x20]
call rax
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rcx
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x88]
cmp rdx, rdi
je 0x14008c62f
lea rcx, [rsp + 0x40]
call rdx
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14000b740
nop
lea rcx, [rbp]
call fcn.14000bbb0
nop
mov qword [rbp - 0x20], r12
lea rcx, [rbp - 0x60]
call fcn.14000bbb0
nop
mov qword [rbp - 0x80], r12
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14008c677
lea rax, [0x1402ac8c0]
cmp qword [rsp + 0x68], 0
cmovne rax, qword [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14008c789
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], 0x40
lea r9d, [rax + 0xa]
lea r8, [rbp - 0x80]
mov edx, 0x1f8
lea rcx, [0x140489950]
mov rax, qword [0x140489950]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x14008c6f8
cmp qword [rsp + 0x68], rcx
jne 0x14008c6f3
lea rcx, [0x1402ac8c0]
mov rbx, qword [rbp - 0x58]
mov rax, rbx
mov rsi, qword [rbp - 0x68]
jmp 0x14008c708
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rbp - 0x58]
mov rax, rbx
mov rsi, qword [rbp - 0x68]
test rcx, rcx
je 0x14008c743
cmp word [rcx], 0
je 0x14008c743
test rax, rax
js 0x14008c743
lea rdx, [0x1402c7344]
call fcn.140253a60
mov rdi, rax
test rax, rax
je 0x14008c743
mov r9, rax
mov r8, rbx
mov edx, 1
mov rcx, rsi
call fcn.1402538f0
mov rcx, rdi
call fcn.140252d34
nop
mov qword [rbp - 0x80], r13
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x14008c779
mov rax, qword [rbp - 0x80]
mov r8, qword [rax + 0x18]
lea rax, [fcn.14018de50]
cmp r8, rax
jne 0x14008c772
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x14008c779
lea rcx, [rbp - 0x80]
call r8
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x20]
call fcn.1400932e0
nop
lea r8, [0x1402b2990]
mov rdx, rax
mov rcx, r14
call fcn.14019a090
mov dword [rbp - 0x28], 1
lea rcx, [rbp]
call fcn.14000bbb0
nop
mov qword [rbp - 0x20], r12
lea rax, [rsp + 0x40]
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x40], r13
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14008c800
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x18]
lea rax, [fcn.14018de50]
cmp r8, rax
jne 0x14008c7f8
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x14008c800
lea rcx, [rsp + 0x40]
call r8
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x20], r12
mov rax, r14
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret