Function at 0x1400156e4
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.140009790
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 0x1400157db
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 0x140015cd5
test byte [rcx + 0x1c], 1
je 0x140015cd5
cmp byte [rcx + 0x19], 2
jb 0x140015cd5
mov edx, 0x10b
mov r9, rsi
jmp 0x140015cc1
mov r8, rsi
lea rcx, [rbp + 0x3f0]
mov edx, 0x104
call fcn.14000b090
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
jns 0x14001582b
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015cd5
test byte [rcx + 0x1c], 1
je 0x140015cd5
cmp byte [rcx + 0x19], 2
jb 0x140015cd5
mov edx, 0x10c
jmp 0x1400157d3
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 0x140015882
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015cd5
test byte [rcx + 0x1c], 1
je 0x140015cd5
cmp byte [rcx + 0x19], 2
jb 0x140015cd5
mov edx, 0x10d
jmp 0x140015cba
lea r8, [0x14004452c]
lea rcx, [rbp + 0x3f0]
call fcn.140018c3c
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
jns 0x1400158fb
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015cd5
test byte [rcx + 0x1c], 1
je 0x140015cd5
cmp byte [rcx + 0x19], 2
jb 0x140015cd5
mov edx, 0x10e
lea rax, [rbp + 0x3f0]
lea r9, [0x14004452c]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045650]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.14000ba54
jmp 0x140015cd5
test byte [rbp - 0x70], 0x10
je 0x14001592c
cmp word [rbp - 0x44], 0x2e
movzx eax, word [rbp - 0x42]
jne 0x14001592c
test ax, ax
je 0x140015a61
cmp word [rbp - 0x44], 0x2e
jne 0x14001592c
cmp ax, 0x2e
jne 0x14001592c
cmp word [rbp - 0x40], di
je 0x140015a61
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.14000b090
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
js 0x140015c96
lea r8, [rbp - 0x44]
lea rcx, [rbp + 0x1e0]
call fcn.140018c3c
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
js 0x140015c62
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 0x140015c0b
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 0x140015b8c
test r12d, r12d
jne 0x140015a4b
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 0x140015b36
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.140015f48
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
js 0x140015ad8
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 0x1400158fb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140015b80
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 0x140015cd5
test byte [rcx + 0x1c], 1
je 0x140015cd5
cmp byte [rcx + 0x19], 2
jb 0x140015cd5
mov edx, 0x115
jmp 0x1400157d3
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015be8
test byte [rcx + 0x1c], 1
je 0x140015be8
cmp byte [rcx + 0x19], 2
jb 0x140015be8
mov rcx, qword [rcx + 0x10]
lea rax, [r15 + 0x2a0]
mov dword [rsp + 0x30], ebx
lea r8, [0x140045650]
mov qword [rsp + 0x28], rax
mov edx, 0x114
and qword [rsp + 0x20], 0
xor r9d, r9d
call fcn.14000c40c
jmp 0x140015be8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.14000433c
mov ebx, eax
mov dword [rsp + 0x50], eax
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015be8
test byte [rcx + 0x1c], 1
je 0x140015be8
cmp byte [rcx + 0x19], 2
jb 0x140015be8
mov edx, 0x113
mov dword [rsp + 0x20], ebx
mov r9, rsi
jmp 0x140015bd8
mov ebx, edi
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x50], ebx
jmp 0x140015bed
mov ecx, r14d
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, eax
call fcn.14000433c
mov ebx, eax
mov dword [rsp + 0x50], eax
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015be8
test byte [rcx + 0x1c], 1
je 0x140015be8
cmp byte [rcx + 0x19], 2
jb 0x140015be8
mov edx, 0x112
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x1e0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045650]
call fcn.14000476c
mov r14, qword [rsp + 0x40]
cmp rdi, 0xffffffffffffffff
je 0x140015cd5
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x140015cd5
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 0x140015cd5
test byte [rcx + 0x1c], 1
je 0x140015cd5
cmp byte [rcx + 0x19], 2
jb 0x140015cd5
mov edx, 0x111
lea r9, [rbp + 0x1e0]
jmp 0x140015cc1
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015cd5
test byte [rcx + 0x1c], 1
je 0x140015cd5
cmp byte [rcx + 0x19], 2
jb 0x140015cd5
mov edx, 0x110
lea rax, [rbp + 0x1e0]
lea r9, [rbp - 0x44]
jmp 0x1400158dd
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x140015cd5
test byte [rcx + 0x1c], 1
je 0x140015cd5
cmp byte [rcx + 0x19], 2
jb 0x140015cd5
mov edx, 0x10f
lea r9, [rbp + 0x3f0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045650]
mov dword [rsp + 0x20], ebx
call fcn.14000476c
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.1400095e0
mov eax, ebx
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.140041040
mov rbx, qword [rsp + 0x760]
add rsp, 0x710
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret