Function at 0x1400143d8
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 [0x14004b1f8]
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.140008c4c
xor eax, eax
lea rdx, [rbp - 0x70]
and qword [rsp + 0x58], rax
mov rcx, rsi
mov dword [rsp + 0x58], r12d
and r13d, 0x10
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400144c7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x50], ebx
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001498e
test byte [rcx + 0x1c], 1
je 0x14001498e
cmp byte [rcx + 0x19], 2
jb 0x14001498e
mov edx, 0x10b
mov r9, rsi
jmp 0x14001497a
mov edi, 0x104
lea rcx, [rbp + 0x3f0]
mov edx, edi
mov r8, rsi
call fcn.14000a3d4
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
jns 0x140014517
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001498e
test byte [rcx + 0x1c], 1
je 0x14001498e
cmp byte [rcx + 0x19], 2
jb 0x14001498e
lea edx, [rdi + 8]
jmp 0x1400144bf
mov rdx, rdi
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
jns 0x140014566
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001498e
test byte [rcx + 0x1c], 1
je 0x14001498e
cmp byte [rcx + 0x19], 2
jb 0x14001498e
mov edx, 0x10d
jmp 0x140014973
lea r8, [0x1400424ac]
lea rcx, [rbp + 0x3f0]
call fcn.14001776c
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
jns 0x1400145df
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001498e
test byte [rcx + 0x1c], 1
je 0x14001498e
cmp byte [rcx + 0x19], 2
jb 0x14001498e
mov edx, 0x10e
lea rax, [rbp + 0x3f0]
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 0x14001498e
test byte [rbp - 0x70], 0x10
je 0x140014626
movzx ecx, word [rbp - 0x44]
cmp cx, word [0x140042f78]
movzx eax, word [rbp - 0x42]
jne 0x140014603
cmp ax, word [0x140042f7a]
je 0x14001473e
cmp cx, word [0x140043268]
jne 0x140014626
cmp ax, word [0x14004326a]
jne 0x140014626
movzx eax, word [rbp - 0x40]
cmp ax, word [0x14004326c]
je 0x14001473e
mov r8, rdi
lea rcx, [rbp + 0x1e0]
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, [rbp + 0x3f0]
mov rdx, rdi
lea rcx, [rbp + 0x1e0]
call fcn.14000a3d4
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
js 0x14001494f
lea r8, [rbp - 0x44]
lea rcx, [rbp + 0x1e0]
call fcn.14001776c
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
js 0x14001491b
mov eax, r13d
mov edx, 0x180
neg eax
sbb ecx, ecx
and qword [rsp + 0x30], 0
and ecx, 0xffe00000
xor r9d, r9d
add ecx, 0x2200000
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0x1e0]
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400148ca
mov r9d, 8
mov dword [rsp + 0x20], 0x43
lea r8, [rsp + 0x58]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov r14d, eax
test eax, eax
js 0x140014857
test r12d, r12d
jne 0x14001472b
lea r9d, [r12 + 0x18]
mov rcx, rdi
lea r8, [rsp + 0x78]
lea edx, [r12 + 0x12]
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x14001480b
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.140014bf4
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
js 0x1400147a9
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r14, qword [rsp + 0x40]
mov edi, 0x104
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x1400145df
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12
je 0x14001484b
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x50], ebx
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001498e
test byte [rcx + 0x1c], 1
je 0x14001498e
cmp byte [rcx + 0x19], 2
jb 0x14001498e
mov edx, 0x115
jmp 0x1400144bf
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400148ad
test byte [rcx + 0x1c], 1
je 0x1400148ad
cmp byte [rcx + 0x19], 2
jb 0x1400148ad
mov rcx, qword [rcx + 0x10]
lea rax, [r15 + 0x2a0]
mov dword [rsp + 0x30], ebx
lea r8, [0x1400435d8]
mov qword [rsp + 0x28], rax
mov edx, 0x114
mov rax, qword [rsp + 0x60]
mov r9, rax
mov qword [rsp + 0x20], rax
call fcn.14000b810
jmp 0x1400148ad
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.140003bb8
mov ebx, eax
mov dword [rsp + 0x50], eax
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400148ad
test byte [rcx + 0x1c], 1
je 0x1400148ad
cmp byte [rcx + 0x19], 2
jb 0x1400148ad
mov edx, 0x113
mov dword [rsp + 0x20], ebx
mov r9, rsi
jmp 0x14001489d
xor ebx, ebx
mov dword [rsp + 0x50], ebx
or rdi, 0xffffffffffffffff
jmp 0x1400148b2
mov ecx, r14d
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call fcn.140003bb8
mov ebx, eax
mov dword [rsp + 0x50], eax
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x1400148ad
test byte [rcx + 0x1c], 1
je 0x1400148ad
cmp byte [rcx + 0x19], 2
jb 0x1400148ad
mov edx, 0x112
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x1e0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400435d8]
call fcn.140003fb8
mov r14, qword [rsp + 0x40]
cmp rdi, 0xffffffffffffffff
je 0x14001498e
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x14001498e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x50], ebx
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001498e
test byte [rcx + 0x1c], 1
je 0x14001498e
cmp byte [rcx + 0x19], 2
jb 0x14001498e
mov edx, 0x111
lea r9, [rbp + 0x1e0]
jmp 0x14001497a
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001498e
test byte [rcx + 0x1c], 1
je 0x14001498e
cmp byte [rcx + 0x19], 2
jb 0x14001498e
mov edx, 0x110
lea rax, [rbp + 0x1e0]
lea r9, [rbp - 0x44]
jmp 0x1400145c1
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001498e
test byte [rcx + 0x1c], 1
je 0x14001498e
cmp byte [rcx + 0x19], 2
jb 0x14001498e
mov edx, 0x10f
lea r9, [rbp + 0x3f0]
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]
lea rcx, [rsp + 0x48]
call fcn.140008aa4
mov eax, ebx
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.14003ee40
mov rbx, qword [rsp + 0x760]
add rsp, 0x710
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret