Function at 0x14001d400
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov rax, qword [0x1400491f8]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov rax, qword gs:[0x58]
mov r13, rcx
mov ecx, 8
mov rdx, qword [rax]
lea rax, str.TieringPinnedSession::MigratePinnedDatabaseToDscAttribute
mov qword [rcx + rdx], rax
lea rcx, [rsp + 0x70]
call fcn.140008b4c
xor eax, eax
lea rcx, [rbp + 0x60]
xor r12d, r12d
mov qword [rbp - 0x50], rax
xor edx, edx
mov qword [rbp - 0x48], rax
mov esi, r12d
mov dword [rsp + 0x48], r12d
lea r8d, [rax + 0x28]
mov dword [rsp + 0x4c], r12d
mov r15d, r12d
call sub.msvcrt.dll_memset
mov rcx, qword [r13 + 8]
lea eax, [r12 + 5]
movzx edx, r12w
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x44], edx
xor r9d, r9d
mov rdx, qword [r13 + 0x18]
mov r8d, 0x80000000
mov word [rsp + 0x54], ax
mov dword [rsp + 0x58], r12d
call qword [sym.imp.ESENT.dll_JetMove]
mov r8d, eax
add eax, 0x643
test eax, 0xfffffffd
je 0x14001dc7b
test r8d, r8d
je 0x14001d58d
cmp r8d, 0xfffffdef
je 0x14001d525
cmp r8d, 0xfffffbbc
je 0x14001d525
cmp r8d, 0xfffff8f0
je 0x14001d525
cmp r8d, 0xfffffc0d
jne 0x14001d506
mov eax, 0x8007000e
jmp 0x14001d52f
mov eax, r8d
mov ecx, 0xe5e0000
cdq
xor eax, edx
sub eax, edx
mov edx, 0x8e5e0000
test r8d, r8d
movzx eax, ax
cmovs ecx, edx
or eax, ecx
jmp 0x14001d52f
mov ecx, 0x70
call fcn.140003cb8
mov ebx, eax
mov dword [rsp + 0x78], eax
mov rcx, qword [0x140049138]
lea r14, [0x140049138]
mov edi, 1
lea r12d, [rdi + 1]
cmp rcx, r14
je 0x14001d57d
test byte [rcx + 0x1c], dil
je 0x14001d57d
cmp byte [rcx + 0x19], r12b
jb 0x14001d57d
mov r9, qword [r13 + 0x28]
lea edx, [rdi + 0x10]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], r8d
lea r8, [0x140041a18]
mov r9, qword [r9 + 0x70]
call fcn.1400040b8
mov dword [rsp + 0x44], 4
xor r8d, r8d
jmp 0x14001db60
mov rax, qword [r13 + 0x28]
lea r8, [rbp - 0x80]
mov edi, 1
mov r9d, 0x100080
mov cl, dil
mov rdx, qword [rax]
add rdx, 0x2a0
call fcn.1400090d0
mov dword [rsp + 0x78], eax
mov ebx, eax
test eax, eax
jns 0x14001d614
mov rcx, qword [0x140049138]
lea r14, [0x140049138]
lea r12d, [rdi + 1]
cmp rcx, r14
je 0x14001d604
test byte [rcx + 0x1c], dil
je 0x14001d604
cmp byte [rcx + 0x19], r12b
jb 0x14001d604
mov rax, qword [r13 + 0x28]
lea edx, [rdi + 0x11]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140041a18]
mov dword [rsp + 0x20], ebx
mov r9, qword [rax]
add r9, 0x2a0
call fcn.14000903c
mov eax, 5
xor r8d, r8d
movzx edx, ax
jmp 0x14001db69
mov rcx, qword [r13 + 0x28]
xor edx, edx
call fcn.140019558
mov rcx, qword [r13 + 0x28]
mov edx, edi
call fcn.140019558
mov r15d, 0x8007000e
lea r14, [0x140049138]
mov r12d, 2
jmp 0x14001d643
mov esi, dword [rsp + 0x48]
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.14001ca68
xor r9d, r9d
mov r8d, eax
test eax, eax
jne 0x14001da50
movups xmm0, xmmword [rbp - 0x50]
mov rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x78]
add esi, edi
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x48], esi
mov r8d, 0x180
movzx esi, byte [rsp + 0x40]
mov qword [rsp + 0x20], r9
and esi, edi
lea r9d, [rax + 7]
mov dword [rbp - 0x78], 0x18
add esi, edi
mov dword [rbp - 0x74], r12d
movdqu xmmword [rbp - 0x70], xmm0
call qword [sym.imp.api_ms_win_core_file_l2_1_1.dll_OpenFileById]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x14001d863
mov r9d, 8
mov dword [rsp + 0x20], 0x43
lea r8, [rsp + 0x68]
mov rcx, rax
lea rdx, [rbp - 0x60]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov r15d, eax
xor eax, eax
test r15d, r15d
js 0x14001d75a
cmp dword [rsp + 0x68], esi
je 0x14001d75a
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14001d738
test byte [rcx + 0x1c], dil
je 0x14001d738
cmp byte [rcx + 0x19], r12b
jb 0x14001d738
mov rax, qword [r13 + 0x28]
lea r8, [0x140041a18]
mov r9, qword [rbp - 0x48]
mov edx, 0x14
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x30], r15d
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.14001c8a8
mov r15, qword [rsp + 0x60]
mov esi, dword [rsp + 0x44]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r10d, dword [rsp + 0x50]
mov r15d, 0x8007000e
jmp 0x14001d8be
cmp r15d, 0xc000050c
jne 0x14001d7f6
mov r15, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
mov rcx, r15
mov dword [rsp + 0x6c], eax
mov r9d, 8
mov dword [rsp + 0x68], esi
lea rdx, [rbp - 0x60]
mov dword [rsp + 0x20], 0x43
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov esi, eax
test eax, eax
jns 0x14001d73d
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14001d7e5
test byte [rcx + 0x1c], dil
je 0x14001d7e5
cmp byte [rcx + 0x19], r12b
jb 0x14001d7e5
mov rax, qword [r13 + 0x28]
lea r8, [0x140041a18]
mov r9, qword [rbp - 0x48]
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x30], esi
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.14001c8a8
movzx edx, r12w
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x44], edx
jmp 0x14001d73d
test r15d, r15d
jns 0x14001d738
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14001d84b
test byte [rcx + 0x1c], dil
je 0x14001d84b
cmp byte [rcx + 0x19], r12b
jb 0x14001d84b
mov rax, qword [r13 + 0x28]
lea r8, [0x140041a18]
mov r9, qword [rbp - 0x48]
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x30], r15d
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.14001c8a8
mov esi, 3
mov dword [rsp + 0x50], r15d
mov r15, qword [rsp + 0x60]
mov dword [rsp + 0x44], esi
jmp 0x14001d741
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14001d8aa
test byte [rcx + 0x1c], dil
je 0x14001d8aa
cmp byte [rcx + 0x19], r12b
jb 0x14001d8aa
mov rax, qword [r13 + 0x28]
mov r9, qword [rbp - 0x48]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x30], edx
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.14001c7ec
movzx esi, di
mov dword [rsp + 0x44], esi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r10d, eax
mov dword [rsp + 0x50], eax
xor ecx, ecx
test r10d, r10d
je 0x14001d924
movzx r8d, word [rsp + 0x54]
xor eax, eax
cmp ax, r8w
jae 0x14001d915
mov r11d, dword [rsp + 0x58]
movzx r9d, r8w
cmp r11d, r9d
je 0x14001d915
movzx eax, cx
mov edx, dword [rbp + rax*8 + 0x60]
cmp edx, r10d
jne 0x14001d8f4
cmp word [rbp + rax*8 + 0x64], si
je 0x14001d915
test edx, edx
je 0x14001d903
add cx, di
cmp cx, r8w
jb 0x14001d8dc
jmp 0x14001d915
add r11d, edi
mov dword [rbp + rax*8 + 0x60], r10d
mov dword [rsp + 0x58], r11d
mov word [rbp + rax*8 + 0x64], si
xor ecx, ecx
add dword [rsp + 0x4c], edi
mov dword [rsp + 0x50], ecx
mov word [rsp + 0x44], cx
mov rdx, qword [r13 + 0x18]
xor r9d, r9d
mov rcx, qword [r13 + 8]
mov r8d, edi
call qword [sym.imp.ESENT.dll_JetMove]
mov esi, eax
cmp eax, 0xfffffc07
je 0x14001d924
lea ecx, [rax + 0x643]
test ecx, 0xfffffffd
je 0x14001da00
test eax, eax
je 0x14001d63f
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14001d99e
test byte [rcx + 0x1c], dil
je 0x14001d99e
cmp byte [rcx + 0x19], r12b
jb 0x14001d99e
mov rax, qword [r13 + 0x28]
lea r8, [0x140041a18]
mov r9d, dword [rsp + 0x48]
mov edx, 0x19
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], esi
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x20], rax
call fcn.14001687c
cmp esi, 0xfffffdef
je 0x14001d9e0
cmp esi, 0xfffffbbc
je 0x14001d9e0
cmp esi, 0xfffff8f0
je 0x14001d9e0
cmp esi, 0xfffffc0d
jne 0x14001d9c3
mov ebx, r15d
jmp 0x14001d9ec
mov eax, esi
mov ecx, 0x8e5e0000
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
test esi, esi
mov eax, 0xe5e0000
cmovs eax, ecx
or ebx, eax
jmp 0x14001d9ec
mov ecx, 0x70
call fcn.140003cb8
mov ebx, eax
xor eax, eax
mov dword [rsp + 0x78], ebx
cmp dword [rsp + 0x48], eax
jle 0x14001da3f
xor ebx, ebx
mov dword [rsp + 0x78], ebx
jmp 0x14001da3f
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14001da3f
test byte [rcx + 0x1c], dil
je 0x14001da3f
cmp byte [rcx + 0x19], 4
jb 0x14001da3f
mov rax, qword [r13 + 0x28]
lea r8, [0x140041a18]
mov r9d, dword [rsp + 0x48]
mov edx, 0x18
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140003d90
test esi, esi
mov esi, dword [rsp + 0x48]
jne 0x14001dafa
jmp 0x14001d643
cmp r8d, 0xfffffdef
je 0x14001da95
cmp r8d, 0xfffffbbc
je 0x14001da95
cmp r8d, 0xfffff8f0
je 0x14001da95
cmp r8d, 0xfffffc0d
jne 0x14001da79
mov ebx, r15d
jmp 0x14001daa1
cdq
mov esi, 0xe5e0000
xor eax, edx
sub eax, edx
movzx ebx, ax
test r8d, r8d
mov eax, 0x8e5e0000
cmovs esi, eax
or ebx, esi
jmp 0x14001daa1
mov ecx, 0x70
call fcn.140003cb8
mov ebx, eax
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14001daec
test byte [rcx + 0x1c], dil
je 0x14001daec
mov esi, dword [rsp + 0x48]
cmp byte [rcx + 0x19], r12b
jb 0x14001daf0
mov rax, qword [r13 + 0x28]
mov edx, 0x13
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x28], r8d
lea r8, [0x140041a18]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x20], rax
call fcn.14001687c
xor r9d, r9d
jmp 0x14001daf0
mov esi, dword [rsp + 0x48]
test esi, esi
cmovg ebx, r9d
mov dword [rsp + 0x78], ebx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14001db53
test byte [rcx + 0x1c], dil
je 0x14001db53
mov r15d, dword [rsp + 0x4c]
cmp byte [rcx + 0x19], r12b
jb 0x14001db58
mov rax, qword [r13 + 0x28]
lea r8, [0x140041a18]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x30], ebx
sub r9d, r15d
mov edx, 0x1a
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
call fcn.14001c5f0
jmp 0x14001db58
mov r15d, dword [rsp + 0x4c]
xor r8d, r8d
test r15d, r15d
jg 0x14001db73
mov edx, dword [rsp + 0x44]
mov eax, 5
test ebx, ebx
jns 0x14001dcc2
jmp 0x14001db7c
mov edx, dword [rsp + 0x44]
mov eax, 5
cmp dword [0x1400490a0], eax
jbe 0x14001dcc2
movabs r9, 0x200000000000
test qword [0x1400490b0], r9
je 0x14001dcc2
mov rax, qword [0x1400490b8]
and rax, r9
cmp rax, qword [0x1400490b8]
jne 0x14001dcc2
mov rax, qword [r13 + 0x28]
lea rcx, [rbp - 8]
mov rax, qword [rax]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], 2
movzx ecx, word [rax + 0x2b8]
mov rax, qword [rax + 0x2c0]
mov qword [rbp - 0x10], rax
lea rax, [rsp + 0x58]
mov dword [rbp - 8], ecx
lea rcx, [rsp + 0x40]
mov qword [rbp], rax
lea rax, [rsp + 0x54]
mov qword [rbp + 0x10], rcx
lea rcx, [rsp + 0x50]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x60]
mov qword [rbp + 0x20], rcx
lea rcx, [rsp + 0x4c]
mov qword [rbp + 0x50], rax
mov dword [rbp - 4], r8d
mov dword [rsp + 0x58], ebx
mov qword [rbp + 8], 4
mov byte [rsp + 0x40], dl
mov qword [rbp + 0x18], 1
mov dword [rsp + 0x50], esi
mov qword [rbp + 0x28], 4
mov dword [rsp + 0x4c], r15d
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], 4
mov qword [rbp + 0x48], 2
mov qword [rbp + 0x58], 0x28
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400432e0]
mov dword [rsp + 0x20], 0xa
call fcn.1400010d0
jmp 0x14001dcc2
mov rcx, qword [0x140049138]
lea r14, [0x140049138]
cmp rcx, r14
je 0x14001dcba
mov edi, 1
test byte [rcx + 0x1c], dil
je 0x14001dcba
cmp byte [rcx + 0x19], 4
jb 0x14001dcba
mov r9, qword [r13 + 0x28]
lea edx, [rdi + 0xf]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140041a18]
mov r9, qword [r9 + 0x70]
call fcn.140003e9c
mov dword [rsp + 0x78], r12d
mov ebx, r12d
lea rcx, [rsp + 0x70]
call fcn.1400089a4
mov eax, ebx
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.14003d760
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret