Function at 0x14000fb68
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword gs:[0x58]
mov r15, rcx
mov ecx, 8
mov rdx, qword [rax]
lea rax, str.CTieredVolume::UpgradePinnedDataDatabaseToDscAttribute
mov qword [rcx + rdx], rax
lea rcx, [rbp - 0x50]
call fcn.140008524
and word [rbp - 0x20], 0
lea r13, [r15 + 0x540]
and qword [rbp - 0x18], 0
lea rcx, [rbp - 0x40]
mov rdx, r13
mov byte [rbp - 0x40], 0
mov byte [rbp - 0x1e], 0
mov byte [rbp - 0x10], 0
call fcn.140018ac8
mov dword [rbp - 0x48], eax
mov ebx, eax
test eax, eax
jns 0x14000fc12
mov rcx, qword [0x140047138]
lea r14, [0x140047138]
cmp rcx, r14
je 0x14000fe4d
test byte [rcx + 0x1c], 1
je 0x14000fe4d
cmp byte [rcx + 0x19], 2
jb 0x14000fe4d
mov edx, 0x9e
jmp 0x14000fc56
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.140018b5c
mov dword [rbp - 0x48], eax
mov ebx, eax
test eax, eax
jns 0x14000fc76
mov rcx, qword [0x140047138]
lea r14, [0x140047138]
cmp rcx, r14
je 0x14000fe4d
test byte [rcx + 0x1c], 1
je 0x14000fe4d
cmp byte [rcx + 0x19], 2
jb 0x14000fe4d
mov edx, 0x9f
mov rcx, qword [rcx + 0x10]
lea r9, [r15 + 0x2a0]
lea r8, [0x14003f470]
mov dword [rsp + 0x20], eax
call fcn.140008a18
jmp 0x14000fe4d
lea rcx, [rbp - 0x40]
call fcn.14001c718
mov dword [rbp - 0x48], eax
mov ebx, eax
lea r14, [0x140047138]
test eax, eax
jns 0x14000fcc7
mov rcx, qword [0x140047138]
cmp rcx, r14
je 0x14000fcc7
test byte [rcx + 0x1c], 1
je 0x14000fcc7
cmp byte [rcx + 0x19], 2
jb 0x14000fcc7
mov rcx, qword [rcx + 0x10]
lea r9, [r15 + 0x2a0]
mov edx, 0xa0
mov dword [rsp + 0x20], eax
lea r8, [0x14003f470]
call fcn.140008a18
mov dl, 1
lea rcx, [rbp - 0x40]
call fcn.14001a2b8
test eax, eax
jns 0x14000fd0e
mov rcx, qword [0x140047138]
cmp rcx, r14
je 0x14000fd0e
test byte [rcx + 0x1c], 1
je 0x14000fd0e
cmp byte [rcx + 0x19], 2
jb 0x14000fd0e
mov rcx, qword [rcx + 0x10]
lea r9, [r15 + 0x2a0]
mov edx, 0xa1
mov dword [rsp + 0x20], eax
lea r8, [0x14003f470]
call fcn.140008a18
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.1400184d8
test eax, eax
jns 0x14000fd57
mov rcx, qword [0x140047138]
cmp rcx, r14
je 0x14000fd57
test byte [rcx + 0x1c], 1
je 0x14000fd57
cmp byte [rcx + 0x19], 2
jb 0x14000fd57
mov rcx, qword [rcx + 0x10]
lea r9, [r15 + 0x2a0]
mov edx, 0xa2
mov dword [rsp + 0x20], eax
lea r8, [0x14003f470]
call fcn.140008a18
mov rcx, r13
call fcn.1400187a8
test eax, eax
jns 0x14000fd9b
mov rcx, qword [0x140047138]
cmp rcx, r14
je 0x14000fd9b
test byte [rcx + 0x1c], 1
je 0x14000fd9b
cmp byte [rcx + 0x19], 2
jb 0x14000fd9b
mov rcx, qword [rcx + 0x10]
lea r9, [r15 + 0x2a0]
mov edx, 0xa3
mov dword [rsp + 0x20], eax
lea r8, [0x14003f470]
call fcn.140008a18
lea rdx, [r15 + 0x488]
mov rcx, r15
call fcn.1400182b4
test eax, eax
jns 0x14000fde6
mov rcx, qword [0x140047138]
cmp rcx, r14
je 0x14000fde6
test byte [rcx + 0x1c], 1
je 0x14000fde6
cmp byte [rcx + 0x19], 2
jb 0x14000fde6
mov rcx, qword [rcx + 0x10]
lea r9, [r15 + 0x2a0]
mov edx, 0xa4
mov dword [rsp + 0x20], eax
lea r8, [0x14003f470]
call fcn.140008a18
mov rcx, qword [r15 + 0x360]
mov byte [r15 + 0x480], 0
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x14000fe4d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [0x140047138]
cmp rcx, r14
je 0x14000fe36
test byte [rcx + 0x1c], 1
je 0x14000fe36
cmp byte [rcx + 0x19], 2
jb 0x14000fe36
mov rcx, qword [rcx + 0x10]
lea r9, [r15 + 0x2a0]
mov edx, 0xa5
mov dword [rsp + 0x20], eax
call fcn.140009f14
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 [rbp - 0x48], ebx
lea rcx, [rbp - 0x40]
call fcn.14001bd4c
lea rcx, [rbp - 0x50]
call fcn.140008380
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov r13, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret