Function at 0x14001698c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r15, rcx
lea rcx, [rbp + 0xb8]
call fcn.140017064
nop
mov rdx, qword [rax]
lea rcx, [rbp + 0xb0]
call fcn.140009580
nop
mov rdx, qword [rbp + 0xb8]
add rdx, 0xffffffffffffffe8
or r12d, 0xffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400169f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.ExcludedDirectories.lst
lea rcx, [rbp + 0xb0]
call fcn.140009210
mov rbx, qword [rbp + 0xb0]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140016a3f
call fcn.140002dfc
mov rcx, rax
test rax, rax
je 0x140016cff
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r15], rax
lea rdx, [rbx - 0x18]
jmp 0x140016cb6
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14001a548
nop
mov edi, 1
lea esi, [rdi + 1]
jmp 0x140016aa5
mov eax, edi
inc edi
cmp eax, 0xa
jge 0x140016ab5
mov r9d, 0x20
lea r8d, [r9 + 1]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14001ae44
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
je 0x140016a9a
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140016aa5
add rcx, rax
mov edx, esi
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, qword [rsp + 0x60]
movsxd rax, dword [rcx + 4]
test byte [rsp + rax + 0x70], sil
jne 0x140016a57
movsxd rax, dword [rcx + 4]
test byte [rsp + rax + 0x70], sil
je 0x140016b2a
call fcn.140002dfc
mov rcx, rax
test rax, rax
je 0x140016cf4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r15], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x140073630]
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.14001a474
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140016a36
mov r8d, r12d
movabs rdx, 0x7fffffffffffffff
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::ignore_long_long___int64___int____ptr64]
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea eax, [rbx + 1]
mov edi, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
xor esi, esi
xor ebx, ebx
test eax, eax
je 0x140016bce
mov ecx, edi
cmp rdi, 0x1000
jb 0x140016ba1
call fcn.14000c3bc
jmp 0x140016ba6
call fcn.1400520fc
mov rbx, rax
mov r14, rax
mov qword [rsp + 0x30], rax
lea rsi, [rax + rdi]
mov qword [rsp + 0x40], rsi
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], rsi
jmp 0x140016bd3
mov r14, qword [rsp + 0x30]
sub rsi, rbx
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140009504
nop
mov rdi, qword [rsp + 0x50]
lea rcx, [rdi - 0x18]
call fcn.14000a2b4
add rax, 0x18
mov qword [r15], rax
mov eax, r12d
lock xadd dword [rdi - 8], eax
add eax, r12d
test eax, eax
jg 0x140016c28
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test rbx, rbx
je 0x140016c63
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
cmp rdx, 0x1000
jb 0x140016c5a
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140016ced
mov rbx, rcx
mov rcx, rbx
call fcn.140052590
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x140073630]
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.14001a474
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xb0]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140016cce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r15
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x80004005
call fcn.140002fa4
nop
mov ecx, 0x80004005
call fcn.140002fa4
int3