Function at 0x140017208
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov rax, qword gs:[0x58]
mov r13, rdx
mov r14, qword [rbp + 0x648]
mov r12, r9
mov qword [rsp + 0x30], rdx
mov edx, 8
mov rcx, qword [rax]
lea rax, str.CTieredVolume::EnumerateFilesByFileName
mov dword [rsp + 0x48], r8d
mov qword [rdx + rcx], rax
lea rcx, [rsp + 0x38]
call fcn.1400096b0
mov r15, qword [r13 + 8]
lea rdx, [rsp + 0x60]
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov esi, 1
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001732c
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400173be
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140017321
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x40], ebx
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140017730
test byte [rcx + 0x1c], sil
je 0x140017730
cmp byte [rcx + 0x19], 2
jb 0x140017730
mov edx, 0x138
mov r9, r12
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045600]
mov dword [rsp + 0x20], ebx
call fcn.14000468c
jmp 0x140017730
mov ebx, edi
mov dword [rsp + 0x40], ebx
jmp 0x140017730
mov rcx, r12
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400173be
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400173b3
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x40], ebx
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140017743
test byte [rcx + 0x1c], sil
je 0x140017743
cmp byte [rcx + 0x19], 2
jb 0x140017743
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045600]
mov edx, 0x137
mov dword [rsp + 0x20], ebx
mov r9, r12
call fcn.14000468c
jmp 0x140017743
mov ebx, edi
mov dword [rsp + 0x40], ebx
jmp 0x140017743
mov r8, r12
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.14000afb0
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
jns 0x140017411
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140017730
test byte [rcx + 0x1c], sil
je 0x140017730
cmp byte [rcx + 0x19], 2
jb 0x140017730
mov edx, 0x139
jmp 0x140017305
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
jns 0x14001746f
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140017730
test byte [rcx + 0x1c], sil
je 0x140017730
cmp byte [rcx + 0x19], 2
jb 0x140017730
mov edx, 0x13a
lea r9, [rbp + 0x1b0]
jmp 0x140017308
lea r8, [0x1400444dc]
lea rcx, [rbp + 0x1b0]
call fcn.140018b5c
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
jns 0x1400174e8
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140017730
test byte [rcx + 0x1c], sil
je 0x140017730
cmp byte [rcx + 0x19], 2
jb 0x140017730
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x1b0]
mov edx, 0x13b
mov dword [rsp + 0x28], ebx
lea r9, [0x1400444dc]
mov qword [rsp + 0x20], rax
lea r8, [0x140045600]
call fcn.14000b974
jmp 0x140017730
mov r13d, dword [rbp + 0x640]
test byte [rsp + 0x60], 0x10
je 0x14001751f
cmp word [rbp - 0x74], 0x2e
jne 0x14001751f
cmp word [rbp - 0x72], di
je 0x1400175c0
cmp word [rbp - 0x74], 0x2e
jne 0x14001751f
cmp word [rbp - 0x72], 0x2e
jne 0x14001751f
cmp word [rbp - 0x70], di
je 0x1400175c0
mov ebx, 0x104
lea rcx, [rbp + 0x3c0]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, [rbp + 0x1b0]
mov edx, ebx
lea rcx, [rbp + 0x3c0]
call fcn.14000afb0
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
js 0x1400176ec
lea r8, [rbp - 0x74]
lea rcx, [rbp + 0x3c0]
call fcn.140018b5c
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
js 0x1400176a2
mov edx, dword [rsp + 0x48]
lea r8, [rsp + 0x50]
shr edx, 4
lea rcx, [rbp + 0x3c0]
not edx
and edx, esi
call fcn.14000a74c
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
js 0x140017669
mov eax, dword [r14]
mov rcx, qword [rsp + 0x50]
add rax, rsi
add rax, rax
mov qword [r14 + rax*8], rcx
mov eax, dword [r14]
add rax, rax
mov qword [r14 + rax*8 + 0x18], rcx
add dword [r14], esi
mov eax, dword [r14]
cmp eax, r13d
jae 0x1400175e4
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400174ef
cmp dword [r14], r13d
jne 0x1400175f6
mov r13, qword [rsp + 0x30]
or dword [r13], esi
mov esi, edi
jmp 0x140017656
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140017651
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x40], ebx
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x14001772b
test byte [rcx + 0x1c], sil
je 0x14001772b
cmp byte [rcx + 0x19], 2
jb 0x14001772b
mov edx, 0x13f
mov r9, r12
jmp 0x140017717
mov r13, qword [rsp + 0x30]
mov ebx, edi
mov dword [rsp + 0x40], ebx
test esi, esi
je 0x140017743
jmp 0x140017730
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x14001772b
test byte [rcx + 0x1c], sil
je 0x14001772b
cmp byte [rcx + 0x19], 2
jb 0x14001772b
mov edx, 0x13e
lea r9, [rbp + 0x3c0]
jmp 0x140017717
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x14001772b
test byte [rcx + 0x1c], sil
je 0x14001772b
cmp byte [rcx + 0x19], 2
jb 0x14001772b
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x3c0]
mov edx, 0x13d
mov dword [rsp + 0x28], ebx
lea r9, [rbp - 0x74]
mov qword [rsp + 0x20], rax
lea r8, [0x140045600]
call fcn.14000b974
jmp 0x14001772b
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x14001772b
test byte [rcx + 0x1c], sil
je 0x14001772b
cmp byte [rcx + 0x19], 2
jb 0x14001772b
mov edx, 0x13c
lea r9, [rbp + 0x1b0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045600]
mov dword [rsp + 0x20], ebx
call fcn.14000468c
mov r13, qword [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
or r15, 0xffffffffffffffff
lea rcx, [rsp + 0x38]
mov qword [r13 + 8], r15
call fcn.140009500
mov eax, ebx
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.140040f60
mov rbx, qword [rsp + 0x720]
add rsp, 0x6e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret