Function at 0x1400309f4
Capabilities:
Get volume information via ioctl

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rax, qword gs:[0x58]
mov r14, rcx
mov ebx, edx
mov qword [rbp - 0x40], r9
mov edx, 8
mov rsi, r9
mov rdi, r8
mov qword [rbp - 0x48], r8
mov rcx, qword [rax]
lea rax, str.CTieredVolume::GetVolumeBitmapInfoByTier
mov qword [rdx + rcx], rax
lea rcx, [rbp - 0x78]
call fcn.140005448
and qword [rdi], 0
or r9, 0xffffffffffffffff
and qword [rsi], 0
xor r15d, r15d
xor esi, esi
mov qword [rbp - 0x68], r9
and dword [rsp + 0x44], esi
and qword [rbp - 0x80], rsi
and qword [rsp + 0x78], rsi
mov qword [rsp + 0x58], rsi
lea r12d, [rsi + 1]
mov qword [rsp + 0x60], r9
test ebx, ebx
jne 0x140030adc
mov byte [rsp + 0x4c], sil
call qword [sym.imp.ntdll.dll_RtlGetThreadErrorMode]
nop dword [rax + rax]
or eax, 0x10
lea rdx, [rsp + 0x48]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlSetThreadErrorMode]
nop dword [rax + rax]
movzx ecx, byte [rsp + 0x4c]
test eax, eax
cmovns ecx, r12d
mov byte [rsp + 0x4c], cl
test cl, cl
je 0x140030adc
mov ecx, dword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlSetThreadErrorMode]
nop dword [rax + rax]
and qword [rsp + 0x68], rsi
lea rbx, [r14 + 0x18]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
cmp byte [r14 + 0x2d1], sil
jne 0x140030b61
mov edi, 0x80830002
mov dword [rbp - 0x70], edi
mov rcx, qword [0x14004d128]
lea rsi, [0x14004d128]
cmp rcx, rsi
je 0x140030b44
test byte [rcx + 0x1c], r12b
je 0x140030b44
cmp byte [rcx + 0x19], 2
jb 0x140030b44
mov r9d, dword [r14 + 0x80]
lea r8, [0x140047120]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd1
mov dword [rsp + 0x20], edi
call fcn.14000a318
test rbx, rbx
je 0x14003122a
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
jmp 0x14003122a
and qword [rbp - 0x20], rsi
lea r13, [r14 + 0x90]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x21
lea r9, [rbp + 8]
mov qword [rbp - 0x18], r13
lea r8, [rbp - 0x28]
mov dword [rbp - 0x28], 0x30
mov edx, 0x100003
mov dword [rbp - 0x10], 0xc0
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x20], 7
movdqu xmmword [rbp - 8], xmm0
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
mov r12d, eax
test rbx, rbx
je 0x140030bcb
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test r12d, r12d
jns 0x140030c14
mov edi, r12d
bts edi, 0x1c
mov dword [rbp - 0x70], edi
mov rcx, qword [0x14004d128]
lea rsi, [0x14004d128]
cmp rcx, rsi
je 0x14003122a
test byte [rcx + 0x1c], 1
je 0x14003122a
cmp byte [rcx + 0x19], 2
jb 0x14003122a
mov edx, 0xd2
mov dword [rsp + 0x20], r12d
jmp 0x140031217
mov rdi, qword [r14 + 0x240]
add rdi, 0x1f
shr rdi, 5
shl edi, 2
mov qword [rsp + 0x58], rsi
test edi, edi
je 0x1400311e7
mov ecx, edi
add rcx, 0x1c
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov ecx, edi
mov rsi, rax
shr ecx, 1
mov r12, rax
test rax, rax
cmovne ecx, edi
mov edi, ecx
je 0x140030c26
mov rcx, qword [0x14004d128]
lea rsi, [0x14004d128]
mov r13d, 1
cmp rcx, rsi
je 0x140030ca0
test byte [rcx + 0x1c], r13b
je 0x140030ca0
cmp byte [rcx + 0x19], 5
jb 0x140030ca0
mov rcx, qword [rcx + 0x10]
lea rax, [r14 + 0x2a0]
mov qword [rsp + 0x28], rax
mov edx, 0xd4
mov r9, r12
mov qword [rsp + 0x20], rdi
call fcn.140039514
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
and qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov rcx, qword [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rbp + 0x30]
mov dword [rsp + 0x28], 0x60
mov edx, 0x90064
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
je 0x140030d44
mov r9, qword [rbp + 0x80]
mov r8, qword [rbp + 0x88]
mov qword [rbp - 0x68], r9
mov qword [rsp + 0x60], r8
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140030d44
test byte [rcx + 0x1c], r13b
je 0x140030d44
cmp byte [rcx + 0x19], 4
jb 0x140030d44
mov rcx, qword [rcx + 0x10]
lea rax, [r14 + 0x2a0]
mov qword [rsp + 0x28], rax
mov edx, 0xd5
mov qword [rsp + 0x20], r8
lea r8, [0x140047120]
call fcn.140038dfc
mov qword [rsp + 0x58], r12
cmp qword [r14 + 0x240], r15
jbe 0x1400311ce
lea eax, [rdi + 0x18]
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x48], eax
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x44]
and dword [rbp + 0x24], 0
lea r8, [rbp + 0x18]
mov qword [rsp + 0x30], rcx
mov r9d, 0x10
mov rcx, qword [rsp + 0x68]
mov edx, 0x9006f
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov qword [rbp + 0x18], r15
mov dword [rbp + 0x20], r13d
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x140030dc2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x80000005
jne 0x140031171
mov r9d, dword [rsp + 0x44]
lea rdi, [r9 - 0x18]
mov qword [rsp + 0x70], rdi
mov r10, qword [0x14004d128]
cmp r10, rsi
je 0x140030e16
test byte [r10 + 0x1c], r13b
je 0x140030e16
cmp byte [r10 + 0x19], 5
jb 0x140030e16
mov rcx, qword [r10 + 0x10]
lea rax, [r14 + 0x2a0]
mov qword [rsp + 0x28], rax
lea r8, [0x140047120]
mov edx, 0xd7
mov qword [rsp + 0x20], rdi
call fcn.140038dfc
mov r10, qword [0x14004d128]
test rdi, rdi
je 0x1400311ce
xor r8d, r8d
lea rax, [r15 + rdi*8]
mov dword [rsp + 0x40], r8d
mov qword [rbp - 0x60], rax
cmp r15, rax
jae 0x14003115f
cmp r10, rsi
je 0x140030e7a
test byte [r10 + 0x1c], r13b
je 0x140030e7a
cmp byte [r10 + 0x19], 5
jb 0x140030e7a
mov rcx, qword [r10 + 0x10]
lea rax, [r14 + 0x2a0]
mov r9d, r8d
mov edx, 0xd8
mov qword [rsp + 0x28], rax
lea r8, [0x140047120]
mov qword [rsp + 0x20], r15
call fcn.140038dfc
mov r10, qword [0x14004d128]
and dword [rsp + 0x50], 0
mov r13, qword [r14 + 0x50]
test r13, r13
je 0x14003111f
mov rbx, qword [rbp - 0x60]
mov rdi, qword [r13 + 0x10]
mov r13, qword [r13]
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], rdi
mov edx, 1
cmp r10, rsi
je 0x140030ef1
test byte [r10 + 0x1c], dl
je 0x140030ef1
cmp byte [r10 + 0x19], 5
jb 0x140030ef1
mov r9, qword [rdi + 0x10]
lea rax, [r14 + 0x2a0]
mov rcx, qword [r10 + 0x10]
lea r8, [0x140047120]
mov qword [rsp + 0x28], rax
mov edx, 0xd9
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140038dfc
mov r10, qword [0x14004d128]
mov edx, 1
mov rax, qword [rdi + 0x18]
mov rcx, qword [r14 + 0x240]
cmp rax, rcx
jb 0x140030f10
lea rax, [rcx - 1]
mov qword [rdi + 0x18], rax
mov r10, qword [0x14004d128]
cmp qword [rdi + 0x10], r15
ja 0x1400310e9
cmp rax, r15
jb 0x1400310e9
mov dword [rsp + 0x50], edx
cmp rax, rbx
jb 0x140030f50
mov edi, ebx
sub edi, r15d
add edi, edx
cmp r10, rsi
je 0x140030fd3
test byte [r10 + 0x1c], dl
je 0x140030f93
cmp byte [r10 + 0x19], 5
jb 0x140030f93
mov edx, 0xda
jmp 0x140030f6f
mov edi, dword [rdi + 0x18]
sub edi, r15d
add edi, edx
cmp r10, rsi
je 0x140030fd3
test byte [r10 + 0x1c], dl
je 0x140030f93
cmp byte [r10 + 0x19], 5
jb 0x140030f93
mov edx, 0xdb
mov rcx, qword [r10 + 0x10]
lea rax, [r14 + 0x2a0]
mov r9d, edi
mov qword [rsp + 0x20], rax
call fcn.140038ba8
mov r10, qword [0x14004d128]
mov edx, 1
cmp r10, rsi
je 0x140030fd3
test byte [r10 + 0x1c], dl
je 0x140030fd3
cmp byte [r10 + 0x19], 5
jb 0x140030fd3
mov r9d, dword [rsp + 0x40]
lea rcx, [r14 + 0x2a0]
mov qword [rsp + 0x28], rcx
add r9, 0x10
mov rcx, qword [r10 + 0x10]
add r9, r12
mov r8d, edi
mov edx, 0xdc
mov qword [rsp + 0x20], r8
call fcn.140039514
mov edx, dword [rsp + 0x40]
lea rcx, [rbp - 0x38]
add rdx, 0x10
mov r8d, edi
add rdx, r12
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
nop dword [rax + rax]
mov rax, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x60]
test rax, rax
js 0x140031009
cmp r15, rax
jb 0x140031009
cmp r15, rdx
jbe 0x140031013
cmp rbx, rax
jb 0x14003108c
cmp rbx, rdx
ja 0x14003108c
cmp rax, r15
jbe 0x140031020
mov r12d, eax
sub r12d, r15d
jmp 0x140031023
xor r12d, r12d
mov eax, edi
lea rcx, [r15 - 1]
add rcx, rax
mov r13d, edx
cmp rdx, rcx
cmovae r13d, ecx
sub r13d, r12d
sub r13d, r15d
inc r13d
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x14003106d
test byte [rcx + 0x1c], 1
je 0x14003106d
cmp byte [rcx + 0x19], 4
jb 0x14003106d
mov rcx, qword [rcx + 0x10]
mov r9, r15
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r12d
call fcn.140038b3c
mov r8d, r13d
lea rcx, [rbp - 0x38]
mov edx, r12d
call qword [sym.imp.ntdll.dll_RtlSetBits]
nop dword [rax + rax]
mov r12, qword [rsp + 0x58]
mov r13, qword [rbp - 0x58]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ntdll.dll_RtlNumberOfClearBits]
nop dword [rax + rax]
mov r9, qword [rbp - 0x80]
mov r8d, dword [rsp + 0x40]
mov r10, qword [0x14004d128]
mov edx, eax
mov eax, edi
shr eax, 3
add r8d, eax
mov rax, qword [rbp - 0x50]
mov dword [rsp + 0x40], r8d
mov cl, byte [rax + 0x24]
mov eax, edi
add r15, rax
lea rax, [rdx + r9]
test cl, cl
cmove r9, rax
mov qword [rbp - 0x80], r9
mov r9, qword [rsp + 0x78]
lea rax, [rdx + r9]
cmove rax, r9
mov qword [rsp + 0x78], rax
jmp 0x1400310ee
mov r8d, dword [rsp + 0x40]
test r13, r13
jne 0x140030e90
lea rbx, [r14 + 0x18]
mov rdi, qword [rsp + 0x70]
cmp dword [rsp + 0x50], r13d
je 0x14003111f
mov eax, r8d
mov r13d, 1
cmp rdi, rax
mov rax, qword [rbp - 0x60]
ja 0x140030e2f
jmp 0x14003115f
mov r13d, 1
cmp r10, rsi
je 0x140031154
test byte [r10 + 0x1c], r13b
je 0x140031154
cmp byte [r10 + 0x19], 3
jb 0x140031154
mov rcx, qword [r10 + 0x10]
lea rax, [r14 + 0x2a0]
mov edx, 0xde
mov qword [rsp + 0x20], rax
mov r9, r15
call fcn.140038ba8
mov eax, dword [rsp + 0x40]
sub rdi, rax
lea r15, [r15 + rdi*8]
cmp r15, qword [r14 + 0x240]
jae 0x1400311ce
mov eax, dword [rsp + 0x48]
jmp 0x140030d62
mov ecx, eax
call fcn.140002f1c
mov edi, eax
mov dword [rbp - 0x70], eax
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140030b44
test byte [rcx + 0x1c], r13b
je 0x140030b44
cmp byte [rcx + 0x19], 2
jb 0x140030b44
mov rcx, qword [rcx + 0x10]
lea rax, [r14 + 0x2a0]
mov edx, 0xd6
mov dword [rsp + 0x28], edi
mov r9, r15
mov qword [rsp + 0x20], rax
lea r8, [0x140047120]
call fcn.1400281a8
jmp 0x140030b44
test rbx, rbx
je 0x1400311e2
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
mov edi, dword [rbp - 0x70]
jmp 0x14003122a
mov edi, 0x8007000e
mov dword [rbp - 0x70], edi
mov rcx, qword [0x14004d128]
lea rsi, [0x14004d128]
cmp rcx, rsi
je 0x14003122a
test byte [rcx + 0x1c], 1
je 0x14003122a
cmp byte [rcx + 0x19], 2
jb 0x14003122a
mov edx, 0xd3
mov dword [rsp + 0x20], edi
mov rcx, qword [rcx + 0x10]
lea r8, [0x140047120]
mov r9, r13
call fcn.14000c3e8
mov rax, qword [rbp - 0x48]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x80]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140031257
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003126d
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
lea rcx, [rbp - 0x78]
call fcn.1400059b8
mov eax, edi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140001e70
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret