Function at 0x140015f10
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 [0x14004b1f8]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov rax, qword gs:[0x58]
mov r13, rdx
mov rsi, qword [rbp + 0x648]
mov r15, r9
mov edx, 8
mov dword [rsp + 0x40], r8d
mov rcx, qword [rax]
lea rax, str.CTieredVolume::EnumerateFilesByFileName
mov qword [rdx + rcx], rax
lea rcx, [rsp + 0x30]
call fcn.140008c4c
mov r14, qword [r13 + 8]
lea rdx, [rsp + 0x60]
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea edi, [rax + 1]
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001600b
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x140016091
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12
je 0x140016000
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x38], ebx
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400163d6
test byte [rcx + 0x1c], dil
je 0x1400163d6
cmp byte [rcx + 0x19], 2
jb 0x1400163d6
mov edx, 0x138
mov r9, r15
jmp 0x1400163c2
xor ebx, ebx
mov dword [rsp + 0x38], ebx
jmp 0x1400163d6
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140016091
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x140016086
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x38], ebx
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400163e3
test byte [rcx + 0x1c], dil
je 0x1400163e3
cmp byte [rcx + 0x19], 2
jb 0x1400163e3
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400435d8]
mov edx, 0x137
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.140003fb8
jmp 0x1400163e3
xor ebx, ebx
mov dword [rsp + 0x38], ebx
jmp 0x1400163e3
mov r12d, 0x104
lea rcx, [rbp + 0x1b0]
mov edx, r12d
mov r8, r15
call fcn.14000a3d4
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
jns 0x1400160e8
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400163d6
test byte [rcx + 0x1c], dil
je 0x1400163d6
cmp byte [rcx + 0x19], 2
jb 0x1400163d6
lea edx, [r12 + 0x35]
jmp 0x140015ff8
mov rdx, r12
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
jns 0x140016137
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400163d6
test byte [rcx + 0x1c], dil
je 0x1400163d6
cmp byte [rcx + 0x19], 2
jb 0x1400163d6
mov edx, 0x13a
jmp 0x1400163bb
lea r8, [0x1400424ac]
lea rcx, [rbp + 0x1b0]
call fcn.14001776c
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
jns 0x1400161b0
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400163d6
test byte [rcx + 0x1c], dil
je 0x1400163d6
cmp byte [rcx + 0x19], 2
jb 0x1400163d6
mov edx, 0x13b
lea rax, [rbp + 0x1b0]
lea r9, [0x1400424ac]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400435d8]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.14000aec4
jmp 0x1400163d6
mov r12d, dword [rbp + 0x640]
test byte [rsp + 0x60], 0x10
je 0x1400161ff
movzx ecx, word [rbp - 0x74]
cmp cx, word [0x140042f78]
movzx eax, word [rbp - 0x72]
jne 0x1400161dc
cmp ax, word [0x140042f7a]
je 0x14001629d
cmp cx, word [0x140043268]
jne 0x1400161ff
cmp ax, word [0x14004326a]
jne 0x1400161ff
movzx eax, word [rbp - 0x70]
cmp ax, word [0x14004326c]
je 0x14001629d
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.14000a3d4
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
js 0x140016397
lea r8, [rbp - 0x74]
lea rcx, [rbp + 0x3c0]
call fcn.14001776c
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
js 0x140016363
mov edx, dword [rsp + 0x40]
lea r8, [rsp + 0x48]
shr edx, 4
lea rcx, [rbp + 0x3c0]
not edx
and edx, edi
call fcn.140009c04
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
js 0x14001632a
mov eax, dword [rsi]
mov rcx, qword [rsp + 0x48]
add rax, rdi
add rax, rax
mov qword [rsi + rax*8], rcx
mov eax, dword [rsi]
add rax, rax
mov qword [rsi + rax*8 + 0x18], rcx
add dword [rsi], edi
mov eax, dword [rsi]
cmp eax, r12d
jae 0x1400162ba
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x1400161b7
cmp dword [rsi], r12d
jne 0x1400162d8
or dword [r13], edi
xor edi, edi
xor ebx, ebx
mov dword [rsp + 0x38], ebx
test edi, edi
je 0x1400163e3
jmp 0x1400163d6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12
je 0x1400162c5
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x38], ebx
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400163d6
test byte [rcx + 0x1c], dil
je 0x1400163d6
cmp byte [rcx + 0x19], 2
jb 0x1400163d6
mov edx, 0x13f
jmp 0x140015ff8
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400163d6
test byte [rcx + 0x1c], dil
je 0x1400163d6
cmp byte [rcx + 0x19], 2
jb 0x1400163d6
mov edx, 0x13e
lea r9, [rbp + 0x3c0]
jmp 0x1400163c2
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400163d6
test byte [rcx + 0x1c], dil
je 0x1400163d6
cmp byte [rcx + 0x19], 2
jb 0x1400163d6
mov edx, 0x13d
lea rax, [rbp + 0x3c0]
lea r9, [rbp - 0x74]
jmp 0x140016192
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400163d6
test byte [rcx + 0x1c], dil
je 0x1400163d6
cmp byte [rcx + 0x19], 2
jb 0x1400163d6
mov edx, 0x13c
lea r9, [rbp + 0x1b0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400435d8]
mov dword [rsp + 0x20], ebx
call fcn.140003fb8
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
or r14, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov qword [r13 + 8], r14
call fcn.140008aa4
mov eax, ebx
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.14003ee40
mov rbx, qword [rsp + 0x720]
add rsp, 0x6e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret