Function at 0x14001fa10
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 - 0xc8]
sub rsp, 0x1a0
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rbp + 0x90], 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.140009790
mov rcx, qword [r13 + 8]
xor r12d, r12d
xorps xmm0, xmm0
mov dword [rsp + 0x48], r12d
xor eax, eax
mov dword [rsp + 0x4c], r12d
movzx edx, r12w
mov qword [rbp - 0x20], rax
lea eax, [r12 + 5]
mov dword [rsp + 0x44], edx
mov rdx, qword [r13 + 0x18]
xor r9d, r9d
mov r8d, 0x80000000
mov word [rsp + 0x54], ax
movups xmmword [rbp - 0x50], xmm0
mov esi, r12d
mov dword [rsp + 0x50], r12d
mov r15d, r12d
mov dword [rsp + 0x58], r12d
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.ESENT.dll_JetMove]
nop dword [rax + rax]
mov r8d, eax
add eax, 0x643
test eax, 0xfffffffd
je 0x1400202cb
test r8d, r8d
je 0x14001fb9f
cmp r8d, 0xfffffdef
je 0x14001fb37
cmp r8d, 0xfffffbbc
je 0x14001fb37
cmp r8d, 0xfffff8f0
je 0x14001fb37
cmp r8d, 0xfffffc0d
jne 0x14001fb18
mov eax, 0x8007000e
jmp 0x14001fb41
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 0x14001fb41
mov ecx, 0x70
call fcn.14000433c
mov ebx, eax
mov dword [rsp + 0x78], eax
mov rcx, qword [0x14004d128]
lea r14, [0x14004d128]
mov edi, 1
lea r12d, [rdi + 1]
cmp rcx, r14
je 0x14001fb8f
test byte [rcx + 0x1c], dil
je 0x14001fb8f
cmp byte [rcx + 0x19], r12b
jb 0x14001fb8f
mov r9, qword [r13 + 0x28]
lea edx, [rdi + 0x10]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], r8d
lea r8, [0x140045b78]
mov r9, qword [r9 + 0x70]
call fcn.14000476c
mov dword [rsp + 0x44], 4
xor r8d, r8d
jmp 0x14002019d
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.140009e08
mov dword [rsp + 0x78], eax
mov ebx, eax
test eax, eax
jns 0x14001fc26
mov rcx, qword [0x14004d128]
lea r14, [0x14004d128]
lea r12d, [rdi + 1]
cmp rcx, r14
je 0x14001fc16
test byte [rcx + 0x1c], dil
je 0x14001fc16
cmp byte [rcx + 0x19], r12b
jb 0x14001fc16
mov rax, qword [r13 + 0x28]
lea edx, [rdi + 0x11]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045b78]
mov dword [rsp + 0x20], ebx
mov r9, qword [rax]
add r9, 0x2a0
call fcn.140009c84
mov eax, 5
xor r8d, r8d
movzx edx, ax
jmp 0x1400201a6
mov rcx, qword [r13 + 0x28]
xor edx, edx
call fcn.14001b9c4
mov rcx, qword [r13 + 0x28]
mov edx, edi
call fcn.14001b9c4
mov r15d, 0x8007000e
lea r14, [0x14004d128]
mov r12d, 2
jmp 0x14001fc55
mov esi, dword [rsp + 0x48]
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.14001f0c8
xor r9d, r9d
mov r8d, eax
test eax, eax
jne 0x140020087
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]
nop dword [rax + rax]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x14001fe8d
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]
nop dword [rax + rax]
mov r15d, eax
xor eax, eax
test r15d, r15d
js 0x14001fd7e
cmp dword [rsp + 0x68], esi
je 0x14001fd7e
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001fd56
test byte [rcx + 0x1c], dil
je 0x14001fd56
cmp byte [rcx + 0x19], r12b
jb 0x14001fd56
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b78]
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.14001eefc
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]
nop dword [rax + rax]
mov r10d, dword [rsp + 0x50]
mov r15d, 0x8007000e
jmp 0x14001fef4
cmp r15d, 0xc000050c
jne 0x14001fe20
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]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jns 0x14001fd5b
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001fe0f
test byte [rcx + 0x1c], dil
je 0x14001fe0f
cmp byte [rcx + 0x19], r12b
jb 0x14001fe0f
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b78]
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.14001eefc
movzx edx, r12w
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x44], edx
jmp 0x14001fd5b
test r15d, r15d
jns 0x14001fd56
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001fe75
test byte [rcx + 0x1c], dil
je 0x14001fe75
cmp byte [rcx + 0x19], r12b
jb 0x14001fe75
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b78]
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.14001eefc
mov esi, 3
mov dword [rsp + 0x50], r15d
mov r15, qword [rsp + 0x60]
mov dword [rsp + 0x44], esi
jmp 0x14001fd5f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001feda
test byte [rcx + 0x1c], dil
je 0x14001feda
cmp byte [rcx + 0x19], r12b
jb 0x14001feda
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.14001ee38
movzx esi, di
mov dword [rsp + 0x44], esi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r10d, eax
mov dword [rsp + 0x50], eax
xor ecx, ecx
test r10d, r10d
je 0x14001ff55
movzx edx, word [rsp + 0x54]
xor eax, eax
cmp ax, dx
jae 0x14001ff46
mov r11d, dword [rsp + 0x58]
cmp r11d, edx
je 0x14001ff46
movzx eax, cx
mov r8d, dword [rbp + rax*8 - 0x40]
cmp r8d, r10d
jne 0x14001ff25
cmp word [rbp + rax*8 - 0x3c], si
je 0x14001ff46
test r8d, r8d
je 0x14001ff34
add cx, di
cmp cx, dx
jb 0x14001ff0c
jmp 0x14001ff46
add r11d, edi
mov dword [rbp + rax*8 - 0x40], r10d
mov dword [rsp + 0x58], r11d
mov word [rbp + rax*8 - 0x3c], 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]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0xfffffc07
je 0x14001ff55
lea ecx, [rax + 0x643]
test ecx, 0xfffffffd
je 0x140020037
test eax, eax
je 0x14001fc51
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001ffd5
test byte [rcx + 0x1c], dil
je 0x14001ffd5
cmp byte [rcx + 0x19], r12b
jb 0x14001ffd5
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b78]
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.140018eb4
cmp esi, 0xfffffdef
je 0x140020017
cmp esi, 0xfffffbbc
je 0x140020017
cmp esi, 0xfffff8f0
je 0x140020017
cmp esi, 0xfffffc0d
jne 0x14001fffa
mov ebx, r15d
jmp 0x140020023
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 0x140020023
mov ecx, 0x70
call fcn.14000433c
mov ebx, eax
xor eax, eax
mov dword [rsp + 0x78], ebx
cmp dword [rsp + 0x48], eax
jle 0x140020076
xor ebx, ebx
mov dword [rsp + 0x78], ebx
jmp 0x140020076
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140020076
test byte [rcx + 0x1c], dil
je 0x140020076
cmp byte [rcx + 0x19], 4
jb 0x140020076
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b78]
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.140004420
test esi, esi
mov esi, dword [rsp + 0x48]
jne 0x140020131
jmp 0x14001fc55
cmp r8d, 0xfffffdef
je 0x1400200cc
cmp r8d, 0xfffffbbc
je 0x1400200cc
cmp r8d, 0xfffff8f0
je 0x1400200cc
cmp r8d, 0xfffffc0d
jne 0x1400200b0
mov ebx, r15d
jmp 0x1400200d8
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 0x1400200d8
mov ecx, 0x70
call fcn.14000433c
mov ebx, eax
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140020123
test byte [rcx + 0x1c], dil
je 0x140020123
mov esi, dword [rsp + 0x48]
cmp byte [rcx + 0x19], r12b
jb 0x140020127
mov rax, qword [r13 + 0x28]
mov edx, 0x13
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x28], r8d
lea r8, [0x140045b78]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140018eb4
xor r9d, r9d
jmp 0x140020127
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]
nop dword [rax + rax]
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140020190
test byte [rcx + 0x1c], dil
je 0x140020190
mov r15d, dword [rsp + 0x4c]
cmp byte [rcx + 0x19], r12b
jb 0x140020195
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b78]
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.14001ec24
jmp 0x140020195
mov r15d, dword [rsp + 0x4c]
xor r8d, r8d
test r15d, r15d
jg 0x1400201b0
mov edx, dword [rsp + 0x44]
mov eax, 5
test ebx, ebx
jns 0x140020312
jmp 0x1400201b9
mov edx, dword [rsp + 0x44]
mov eax, 5
cmp dword [0x14004d098], eax
jbe 0x140020312
movabs r9, 0x200000000000
test qword [0x14004d0a8], r9
je 0x140020312
mov rax, qword [0x14004d0b0]
and rax, r9
cmp rax, qword [0x14004d0b0]
jne 0x140020312
mov rax, qword [r13 + 0x28]
lea rcx, [rbp - 0x40]
mov byte [rsp + 0x40], dl
xor r9d, r9d
mov qword [rbp + 0x80], rcx
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x58], r15d
lea rcx, [rsp + 0x54]
mov qword [rbp + 0x70], rcx
lea rcx, [rsp + 0x58]
mov qword [rbp + 0x60], rcx
lea rcx, [rbp + 0x28]
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x4c], ebx
mov rax, qword [rax]
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x50], rdx
lea rdx, [rsp + 0x40]
mov qword [rbp + 0x40], rdx
lea rdx, [rsp + 0x4c]
mov rcx, qword [rax + 0x2c0]
mov qword [rbp + 0x20], rcx
movzx ecx, word [rax + 0x2b8]
lea rax, [rbp - 0x10]
mov dword [rbp + 0x28], ecx
lea rcx, [0x14004d098]
mov qword [rbp + 0x30], rdx
lea rdx, [0x140047430]
mov dword [rbp + 0x2c], r8d
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
mov qword [rbp + 0x88], 0x28
mov qword [rbp + 0x78], 2
mov qword [rbp + 0x68], 4
mov qword [rbp + 0x58], 4
mov qword [rbp + 0x48], 1
mov qword [rbp + 0x38], 4
mov qword [rbp + 0x18], 2
call fcn.140001090
jmp 0x140020312
mov rcx, qword [0x14004d128]
lea r14, [0x14004d128]
cmp rcx, r14
je 0x14002030a
mov edi, 1
test byte [rcx + 0x1c], dil
je 0x14002030a
cmp byte [rcx + 0x19], 4
jb 0x14002030a
mov r9, qword [r13 + 0x28]
lea edx, [rdi + 0xf]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045b78]
mov r9, qword [r9 + 0x70]
call fcn.140004538
mov dword [rsp + 0x78], r12d
mov ebx, r12d
lea rcx, [rsp + 0x70]
call fcn.1400095e0
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140041040
lea r11, [rsp + 0x1a0]
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