Function at 0x140015604
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x610]
sub rsp, 0x710
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov rax, qword gs:[0x58]
mov r15, rcx
mov rsi, rdx
mov ecx, 8
mov r12d, r9d
mov r13d, r8d
mov rdx, qword [rax]
lea rax, str.CTieredVolume::SetDesiredStorageClass
mov qword [rcx + rdx], rax
lea rcx, [rsp + 0x48]
call fcn.1400096b0
xorps xmm0, xmm0
lea rdx, [rbp - 0x70]
xor eax, eax
xor edi, edi
mov qword [rsp + 0x58], rdi
mov rcx, rsi
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
and r13d, 0x10
mov dword [rsp + 0x58], r12d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov qword [rsp + 0x40], rax
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400156fb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x50], ebx
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015bf5
test byte [rcx + 0x1c], 1
je 0x140015bf5
cmp byte [rcx + 0x19], 2
jb 0x140015bf5
mov edx, 0x10b
mov r9, rsi
jmp 0x140015be1
mov r8, rsi
lea rcx, [rbp + 0x3f0]
mov edx, 0x104
call fcn.14000afb0
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
jns 0x14001574b
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015bf5
test byte [rcx + 0x1c], 1
je 0x140015bf5
cmp byte [rcx + 0x19], 2
jb 0x140015bf5
mov edx, 0x10c
jmp 0x1400156f3
mov edx, 0x104
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
nop dword [rax + rax]
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
jns 0x1400157a2
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015bf5
test byte [rcx + 0x1c], 1
je 0x140015bf5
cmp byte [rcx + 0x19], 2
jb 0x140015bf5
mov edx, 0x10d
jmp 0x140015bda
lea r8, [0x1400444dc]
lea rcx, [rbp + 0x3f0]
call fcn.140018b5c
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
jns 0x14001581b
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015bf5
test byte [rcx + 0x1c], 1
je 0x140015bf5
cmp byte [rcx + 0x19], 2
jb 0x140015bf5
mov edx, 0x10e
lea rax, [rbp + 0x3f0]
lea r9, [0x1400444dc]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045600]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.14000b974
jmp 0x140015bf5
test byte [rbp - 0x70], 0x10
je 0x14001584c
cmp word [rbp - 0x44], 0x2e
movzx eax, word [rbp - 0x42]
jne 0x14001584c
test ax, ax
je 0x140015981
cmp word [rbp - 0x44], 0x2e
jne 0x14001584c
cmp ax, 0x2e
jne 0x14001584c
cmp word [rbp - 0x40], di
je 0x140015981
mov ebx, 0x104
lea rcx, [rbp + 0x1e0]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, [rbp + 0x3f0]
mov edx, ebx
lea rcx, [rbp + 0x1e0]
call fcn.14000afb0
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
js 0x140015bb6
lea r8, [rbp - 0x44]
lea rcx, [rbp + 0x1e0]
call fcn.140018b5c
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
js 0x140015b82
mov eax, r13d
mov qword [rsp + 0x30], rdi
neg eax
mov edx, 0x180
sbb ecx, ecx
xor r9d, r9d
and ecx, 0xffe00000
add ecx, 0x2200000
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0x1e0]
lea r8d, [r9 + 7]
mov dword [rsp + 0x20], 3
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140015b2b
mov r9d, 8
mov dword [rsp + 0x20], 0x43
lea r8, [rsp + 0x58]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
js 0x140015aac
test r12d, r12d
jne 0x14001596b
lea r9d, [r12 + 0x18]
mov rcx, rdi
lea r8, [rsp + 0x70]
lea edx, [r12 + 0x12]
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_GetFileInformationByHandleEx]
nop dword [rax + rax]
test eax, eax
je 0x140015a56
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.140015e68
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
js 0x1400159f8
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov r14, qword [rsp + 0x40]
xor edi, edi
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14001581b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140015aa0
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x50], ebx
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015bf5
test byte [rcx + 0x1c], 1
je 0x140015bf5
cmp byte [rcx + 0x19], 2
jb 0x140015bf5
mov edx, 0x115
jmp 0x1400156f3
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015b08
test byte [rcx + 0x1c], 1
je 0x140015b08
cmp byte [rcx + 0x19], 2
jb 0x140015b08
mov rcx, qword [rcx + 0x10]
lea rax, [r15 + 0x2a0]
mov dword [rsp + 0x30], ebx
lea r8, [0x140045600]
mov qword [rsp + 0x28], rax
mov edx, 0x114
and qword [rsp + 0x20], 0
xor r9d, r9d
call fcn.14000c32c
jmp 0x140015b08
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.14000425c
mov ebx, eax
mov dword [rsp + 0x50], eax
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015b08
test byte [rcx + 0x1c], 1
je 0x140015b08
cmp byte [rcx + 0x19], 2
jb 0x140015b08
mov edx, 0x113
mov dword [rsp + 0x20], ebx
mov r9, rsi
jmp 0x140015af8
mov ebx, edi
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x50], ebx
jmp 0x140015b0d
mov ecx, r14d
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, eax
call fcn.14000425c
mov ebx, eax
mov dword [rsp + 0x50], eax
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015b08
test byte [rcx + 0x1c], 1
je 0x140015b08
cmp byte [rcx + 0x19], 2
jb 0x140015b08
mov edx, 0x112
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x1e0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045600]
call fcn.14000468c
mov r14, qword [rsp + 0x40]
cmp rdi, 0xffffffffffffffff
je 0x140015bf5
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x140015bf5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x50], ebx
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015bf5
test byte [rcx + 0x1c], 1
je 0x140015bf5
cmp byte [rcx + 0x19], 2
jb 0x140015bf5
mov edx, 0x111
lea r9, [rbp + 0x1e0]
jmp 0x140015be1
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015bf5
test byte [rcx + 0x1c], 1
je 0x140015bf5
cmp byte [rcx + 0x19], 2
jb 0x140015bf5
mov edx, 0x110
lea rax, [rbp + 0x1e0]
lea r9, [rbp - 0x44]
jmp 0x1400157fd
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015bf5
test byte [rcx + 0x1c], 1
je 0x140015bf5
cmp byte [rcx + 0x19], 2
jb 0x140015bf5
mov edx, 0x10f
lea r9, [rbp + 0x3f0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045600]
mov dword [rsp + 0x20], ebx
call fcn.14000468c
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
lea rcx, [rsp + 0x48]
call fcn.140009500
mov eax, ebx
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.140040f60
mov rbx, qword [rsp + 0x760]
add rsp, 0x710
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret