Function at 0x14000f514
Capabilities:
Access peb ldr_data
Get volume information via ioctl

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1400471f8]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rax, qword gs:[0x58]
mov rbx, rcx
mov r12, rdx
mov ecx, 8
mov rdx, qword [rax]
lea rax, str.CTieredVolume::GetGeneralVolumeInfo
mov qword [rcx + rdx], rax
lea rcx, [rsp + 0x48]
call fcn.140008524
xor edi, edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rdi
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x60
mov edx, 0x90064
mov qword [rsp + 0x20], rax
mov rcx, r12
mov dword [rsp + 0x50], edi
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
lea r15, [0x140047138]
test eax, eax
je 0x14000f60d
mov rax, qword [rsp + 0x70]
mov r9d, dword [rbp - 0x74]
mov qword [rbx + 0x240], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x248], rax
cmp dword [rbx + 0x13c], r9d
je 0x14000f69e
mov dword [rbx + 0x13c], r9d
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x14000f69e
test byte [rcx + 0x1c], 1
je 0x14000f69e
cmp byte [rcx + 0x19], 4
jb 0x14000f69e
mov edx, 0x94
jmp 0x14000f690
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rbp - 0x40]
mov dword [rsp + 0x28], 0x98
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x902d8
mov rcx, r12
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
test eax, eax
je 0x14000f6f7
mov rax, qword [rbp - 0x20]
mov r9d, dword [rbp - 4]
mov qword [rbx + 0x240], rax
mov rax, qword [rbp - 0x18]
mov qword [rbx + 0x248], rax
cmp dword [rbx + 0x13c], r9d
je 0x14000f69e
mov dword [rbx + 0x13c], r9d
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x14000f69e
test byte [rcx + 0x1c], 1
je 0x14000f69e
cmp byte [rcx + 0x19], 4
jb 0x14000f69e
mov edx, 0x95
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rbx
call fcn.140009c6c
mov r9d, 0x1000
cmp dword [rbx + 0x13c], r9d
jae 0x14000f6df
mov dword [rbx + 0x13c], r9d
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x14000f6df
test byte [rcx + 0x1c], 1
je 0x14000f6df
cmp byte [rcx + 0x19], 4
jb 0x14000f6df
mov rcx, qword [rcx + 0x10]
mov edx, 0x98
mov qword [rsp + 0x20], rbx
call fcn.140009c6c
xor edx, edx
mov eax, 0x100000
div dword [rbx + 0x13c]
mov dword [rbx + 0x140], eax
jmp 0x14000f788
mov r9d, 0x1000
mov qword [rbx + 0x240], rdi
mov dword [rbx + 0x13c], r9d
mov qword [rbx + 0x248], rdi
mov rcx, qword [0x140047138]
lea r15, [0x140047138]
cmp rcx, r15
je 0x14000f744
test byte [rcx + 0x1c], 1
je 0x14000f744
cmp byte [rcx + 0x19], 4
jb 0x14000f744
mov rcx, qword [rcx + 0x10]
mov edx, 0x96
mov qword [rsp + 0x20], rbx
call fcn.140009c6c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.140003930
mov edi, eax
mov dword [rsp + 0x50], eax
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x14000f788
test byte [rcx + 0x1c], 1
je 0x14000f788
cmp byte [rcx + 0x19], 4
jb 0x14000f788
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x2a0]
mov edx, 0x97
mov dword [rsp + 0x20], eax
call fcn.140009f14
lea rcx, [rsp + 0x48]
call fcn.140008380
mov eax, edi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14003b910
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rbp
ret