Function at 0x1400172e8
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.140009790
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 0x14001740c
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 0x14001749e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140017401
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 0x140017810
test byte [rcx + 0x1c], sil
je 0x140017810
cmp byte [rcx + 0x19], 2
jb 0x140017810
mov edx, 0x138
mov r9, r12
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045650]
mov dword [rsp + 0x20], ebx
call fcn.14000476c
jmp 0x140017810
mov ebx, edi
mov dword [rsp + 0x40], ebx
jmp 0x140017810
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 0x14001749e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140017493
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 0x140017823
test byte [rcx + 0x1c], sil
je 0x140017823
cmp byte [rcx + 0x19], 2
jb 0x140017823
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045650]
mov edx, 0x137
mov dword [rsp + 0x20], ebx
mov r9, r12
call fcn.14000476c
jmp 0x140017823
mov ebx, edi
mov dword [rsp + 0x40], ebx
jmp 0x140017823
mov r8, r12
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.14000b090
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
jns 0x1400174f1
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140017810
test byte [rcx + 0x1c], sil
je 0x140017810
cmp byte [rcx + 0x19], 2
jb 0x140017810
mov edx, 0x139
jmp 0x1400173e5
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 0x14001754f
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140017810
test byte [rcx + 0x1c], sil
je 0x140017810
cmp byte [rcx + 0x19], 2
jb 0x140017810
mov edx, 0x13a
lea r9, [rbp + 0x1b0]
jmp 0x1400173e8
lea r8, [0x14004452c]
lea rcx, [rbp + 0x1b0]
call fcn.140018c3c
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
jns 0x1400175c8
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140017810
test byte [rcx + 0x1c], sil
je 0x140017810
cmp byte [rcx + 0x19], 2
jb 0x140017810
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x1b0]
mov edx, 0x13b
mov dword [rsp + 0x28], ebx
lea r9, [0x14004452c]
mov qword [rsp + 0x20], rax
lea r8, [0x140045650]
call fcn.14000ba54
jmp 0x140017810
mov r13d, dword [rbp + 0x640]
test byte [rsp + 0x60], 0x10
je 0x1400175ff
cmp word [rbp - 0x74], 0x2e
jne 0x1400175ff
cmp word [rbp - 0x72], di
je 0x1400176a0
cmp word [rbp - 0x74], 0x2e
jne 0x1400175ff
cmp word [rbp - 0x72], 0x2e
jne 0x1400175ff
cmp word [rbp - 0x70], di
je 0x1400176a0
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.14000b090
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
js 0x1400177cc
lea r8, [rbp - 0x74]
lea rcx, [rbp + 0x3c0]
call fcn.140018c3c
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
js 0x140017782
mov edx, dword [rsp + 0x48]
lea r8, [rsp + 0x50]
shr edx, 4
lea rcx, [rbp + 0x3c0]
not edx
and edx, esi
call fcn.14000a82c
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
js 0x140017749
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 0x1400176c4
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 0x1400175cf
cmp dword [r14], r13d
jne 0x1400176d6
mov r13, qword [rsp + 0x30]
or dword [r13], esi
mov esi, edi
jmp 0x140017736
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140017731
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 0x14001780b
test byte [rcx + 0x1c], sil
je 0x14001780b
cmp byte [rcx + 0x19], 2
jb 0x14001780b
mov edx, 0x13f
mov r9, r12
jmp 0x1400177f7
mov r13, qword [rsp + 0x30]
mov ebx, edi
mov dword [rsp + 0x40], ebx
test esi, esi
je 0x140017823
jmp 0x140017810
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x14001780b
test byte [rcx + 0x1c], sil
je 0x14001780b
cmp byte [rcx + 0x19], 2
jb 0x14001780b
mov edx, 0x13e
lea r9, [rbp + 0x3c0]
jmp 0x1400177f7
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x14001780b
test byte [rcx + 0x1c], sil
je 0x14001780b
cmp byte [rcx + 0x19], 2
jb 0x14001780b
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, [0x140045650]
call fcn.14000ba54
jmp 0x14001780b
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x14001780b
test byte [rcx + 0x1c], sil
je 0x14001780b
cmp byte [rcx + 0x19], 2
jb 0x14001780b
mov edx, 0x13c
lea r9, [rbp + 0x1b0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045650]
mov dword [rsp + 0x20], ebx
call fcn.14000476c
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.1400095e0
mov eax, ebx
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.140041040
mov rbx, qword [rsp + 0x720]
add rsp, 0x6e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret