Function at 0x140201494
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov qword [rbp + 7], 0xfffffffffffffffe
mov rbx, r8
mov rsi, rdx
mov r12, rcx
xor r13d, r13d
mov dword [rbp + 0x77], r13d
mov rdx, r8
mov rcx, rsi
call fcn.14000c4d8
mov dword [rbp + 0x77], 1
mov rax, qword [rbx]
cmp dword [rax - 0x10], r13d
je 0x1402017ad
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], r13
mov qword [rsp + 0x38], r13
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x71], r13
lea r8, [rsp + 0x38]
lea rdx, [0x140331200]
mov rcx, rbx
call fcn.1402e46c0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbp - 0x79]
mov qword [rbp - 0x21], rax
or r14d, 0xffffffff
mov qword [rsp + 0x20], rbx
cmp rbx, rax
je 0x140201694
mov rax, qword [r12 + 8]
lea rcx, [r12 + 8]
call qword [rax + 0x30]
test al, al
je 0x140201694
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], r13
lea rdx, [rbp - 0x61]
mov rcx, qword [rbx]
call fcn.14023eafc
mov rbx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x19], rax
mov qword [rsp + 0x30], rbx
cmp rbx, rax
je 0x140201653
mov rax, qword [r12 + 8]
lea rcx, [r12 + 8]
call qword [rax + 0x30]
test al, al
je 0x140201653
mov rdx, qword [rbx]
lea rcx, [rbp + 0x7f]
call fcn.14000cb18
nop
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x140201623
lea rcx, [rbp + 0x7f]
call fcn.140024ec0
mov r11, qword [rbp + 0x7f]
cmp dword [r11 - 0x10], r13d
je 0x1402015c9
lea rcx, [rbp + 0x7f]
call fcn.1402c7148
test al, al
jne 0x140201623
mov rdx, rbx
lea rcx, [rbp + 0x7f]
call fcn.14000c244
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140201623
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140201623
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140201611
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
add rbx, 8
mov rax, qword [rbp - 0x19]
jmp 0x14020156b
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x41]
call fcn.140038190
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140201653
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp - 0x61]
test rbx, rbx
je 0x140201682
mov rdi, qword [rbp - 0x59]
cmp rbx, rdi
je 0x14020167a
mov rcx, rbx
call fcn.140082b80
add rbx, 8
cmp rbx, rdi
jne 0x140201665
mov rbx, qword [rbp - 0x61]
mov rcx, rbx
call fcn.1400be0f4
mov rbx, qword [rsp + 0x20]
add rbx, 8
mov rax, qword [rbp - 0x21]
jmp 0x140201524
lea rcx, [r12 + 8]
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
je 0x140201743
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdx, [0x140331200]
lea rcx, [rbp - 0x11]
call fcn.14000cb18
lea r11, [rsp + 0x28]
mov qword [rbp - 9], r11
mov byte [rbp - 1], 1
lea r9, [rbp - 0x11]
mov r8, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp + 0xf]
call fcn.1400449c0
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140201713
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140201743
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140201774
mov rdi, qword [rbp - 0x79]
cmp rbx, rdi
je 0x14020176c
mov rcx, rbx
call fcn.140082b80
add rbx, 8
cmp rbx, rdi
jne 0x140201756
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1400be0f4
mov qword [rsp + 0x38], r13
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x71], r13
mov rbx, qword [rbp - 0x41]
test rbx, rbx
je 0x1402017ad
mov rdi, rbx
cmp rbx, qword [rbp - 0x39]
je 0x1402017a5
mov rcx, rdi
call fcn.140082b80
add rdi, 8
cmp rdi, qword [rbp - 0x39]
jne 0x140201793
mov rcx, rbx
call fcn.1400be0f4
mov rax, rsi
add rsp, 0xe0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret