Function at 0x14001f930
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.1400096b0
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 0x1400201eb
test r8d, r8d
je 0x14001fabf
cmp r8d, 0xfffffdef
je 0x14001fa57
cmp r8d, 0xfffffbbc
je 0x14001fa57
cmp r8d, 0xfffff8f0
je 0x14001fa57
cmp r8d, 0xfffffc0d
jne 0x14001fa38
mov eax, 0x8007000e
jmp 0x14001fa61
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 0x14001fa61
mov ecx, 0x70
call fcn.14000425c
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 0x14001faaf
test byte [rcx + 0x1c], dil
je 0x14001faaf
cmp byte [rcx + 0x19], r12b
jb 0x14001faaf
mov r9, qword [r13 + 0x28]
lea edx, [rdi + 0x10]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], r8d
lea r8, [0x140045b28]
mov r9, qword [r9 + 0x70]
call fcn.14000468c
mov dword [rsp + 0x44], 4
xor r8d, r8d
jmp 0x1400200bd
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.140009d28
mov dword [rsp + 0x78], eax
mov ebx, eax
test eax, eax
jns 0x14001fb46
mov rcx, qword [0x14004d128]
lea r14, [0x14004d128]
lea r12d, [rdi + 1]
cmp rcx, r14
je 0x14001fb36
test byte [rcx + 0x1c], dil
je 0x14001fb36
cmp byte [rcx + 0x19], r12b
jb 0x14001fb36
mov rax, qword [r13 + 0x28]
lea edx, [rdi + 0x11]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045b28]
mov dword [rsp + 0x20], ebx
mov r9, qword [rax]
add r9, 0x2a0
call fcn.140009ba4
mov eax, 5
xor r8d, r8d
movzx edx, ax
jmp 0x1400200c6
mov rcx, qword [r13 + 0x28]
xor edx, edx
call fcn.14001b8e4
mov rcx, qword [r13 + 0x28]
mov edx, edi
call fcn.14001b8e4
mov r15d, 0x8007000e
lea r14, [0x14004d128]
mov r12d, 2
jmp 0x14001fb75
mov esi, dword [rsp + 0x48]
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.14001efe8
xor r9d, r9d
mov r8d, eax
test eax, eax
jne 0x14001ffa7
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 0x14001fdad
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 0x14001fc9e
cmp dword [rsp + 0x68], esi
je 0x14001fc9e
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001fc76
test byte [rcx + 0x1c], dil
je 0x14001fc76
cmp byte [rcx + 0x19], r12b
jb 0x14001fc76
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b28]
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.14001ee1c
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 0x14001fe14
cmp r15d, 0xc000050c
jne 0x14001fd40
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 0x14001fc7b
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001fd2f
test byte [rcx + 0x1c], dil
je 0x14001fd2f
cmp byte [rcx + 0x19], r12b
jb 0x14001fd2f
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b28]
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.14001ee1c
movzx edx, r12w
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x44], edx
jmp 0x14001fc7b
test r15d, r15d
jns 0x14001fc76
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001fd95
test byte [rcx + 0x1c], dil
je 0x14001fd95
cmp byte [rcx + 0x19], r12b
jb 0x14001fd95
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b28]
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.14001ee1c
mov esi, 3
mov dword [rsp + 0x50], r15d
mov r15, qword [rsp + 0x60]
mov dword [rsp + 0x44], esi
jmp 0x14001fc7f
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 0x14001fdfa
test byte [rcx + 0x1c], dil
je 0x14001fdfa
cmp byte [rcx + 0x19], r12b
jb 0x14001fdfa
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.14001ed58
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 0x14001fe75
movzx edx, word [rsp + 0x54]
xor eax, eax
cmp ax, dx
jae 0x14001fe66
mov r11d, dword [rsp + 0x58]
cmp r11d, edx
je 0x14001fe66
movzx eax, cx
mov r8d, dword [rbp + rax*8 - 0x40]
cmp r8d, r10d
jne 0x14001fe45
cmp word [rbp + rax*8 - 0x3c], si
je 0x14001fe66
test r8d, r8d
je 0x14001fe54
add cx, di
cmp cx, dx
jb 0x14001fe2c
jmp 0x14001fe66
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 0x14001fe75
lea ecx, [rax + 0x643]
test ecx, 0xfffffffd
je 0x14001ff57
test eax, eax
je 0x14001fb71
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001fef5
test byte [rcx + 0x1c], dil
je 0x14001fef5
cmp byte [rcx + 0x19], r12b
jb 0x14001fef5
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b28]
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.140018dd4
cmp esi, 0xfffffdef
je 0x14001ff37
cmp esi, 0xfffffbbc
je 0x14001ff37
cmp esi, 0xfffff8f0
je 0x14001ff37
cmp esi, 0xfffffc0d
jne 0x14001ff1a
mov ebx, r15d
jmp 0x14001ff43
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 0x14001ff43
mov ecx, 0x70
call fcn.14000425c
mov ebx, eax
xor eax, eax
mov dword [rsp + 0x78], ebx
cmp dword [rsp + 0x48], eax
jle 0x14001ff96
xor ebx, ebx
mov dword [rsp + 0x78], ebx
jmp 0x14001ff96
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14001ff96
test byte [rcx + 0x1c], dil
je 0x14001ff96
cmp byte [rcx + 0x19], 4
jb 0x14001ff96
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b28]
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.140004340
test esi, esi
mov esi, dword [rsp + 0x48]
jne 0x140020051
jmp 0x14001fb75
cmp r8d, 0xfffffdef
je 0x14001ffec
cmp r8d, 0xfffffbbc
je 0x14001ffec
cmp r8d, 0xfffff8f0
je 0x14001ffec
cmp r8d, 0xfffffc0d
jne 0x14001ffd0
mov ebx, r15d
jmp 0x14001fff8
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 0x14001fff8
mov ecx, 0x70
call fcn.14000425c
mov ebx, eax
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140020043
test byte [rcx + 0x1c], dil
je 0x140020043
mov esi, dword [rsp + 0x48]
cmp byte [rcx + 0x19], r12b
jb 0x140020047
mov rax, qword [r13 + 0x28]
mov edx, 0x13
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x28], r8d
lea r8, [0x140045b28]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140018dd4
xor r9d, r9d
jmp 0x140020047
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 0x1400200b0
test byte [rcx + 0x1c], dil
je 0x1400200b0
mov r15d, dword [rsp + 0x4c]
cmp byte [rcx + 0x19], r12b
jb 0x1400200b5
mov rax, qword [r13 + 0x28]
lea r8, [0x140045b28]
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.14001eb44
jmp 0x1400200b5
mov r15d, dword [rsp + 0x4c]
xor r8d, r8d
test r15d, r15d
jg 0x1400200d0
mov edx, dword [rsp + 0x44]
mov eax, 5
test ebx, ebx
jns 0x140020232
jmp 0x1400200d9
mov edx, dword [rsp + 0x44]
mov eax, 5
cmp dword [0x14004d098], eax
jbe 0x140020232
movabs r9, 0x200000000000
test qword [0x14004d0a8], r9
je 0x140020232
mov rax, qword [0x14004d0b0]
and rax, r9
cmp rax, qword [0x14004d0b0]
jne 0x140020232
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, [0x1400473e0]
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 0x140020232
mov rcx, qword [0x14004d128]
lea r14, [0x14004d128]
cmp rcx, r14
je 0x14002022a
mov edi, 1
test byte [rcx + 0x1c], dil
je 0x14002022a
cmp byte [rcx + 0x19], 4
jb 0x14002022a
mov r9, qword [r13 + 0x28]
lea edx, [rdi + 0xf]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045b28]
mov r9, qword [r9 + 0x70]
call fcn.140004458
mov dword [rsp + 0x78], r12d
mov ebx, r12d
lea rcx, [rsp + 0x70]
call fcn.140009500
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140040f60
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