Function at 0x140032efc
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 [0x1400481f8]
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.14000865c
and qword [rdi], 0
xor r15d, r15d
and dword [rsp + 0x44], r15d
or r9, 0xffffffffffffffff
and qword [rbp - 0x80], r15
and qword [rsp + 0x78], r15
and qword [rsi], 0
lea r12d, [r15 + 1]
and qword [rsp + 0x58], 0
mov qword [rbp - 0x68], r9
mov qword [rsp + 0x60], r9
test ebx, ebx
jne 0x140032fd2
mov byte [rsp + 0x4c], r15b
call qword [sym.imp.ntdll.dll_RtlGetThreadErrorMode]
or eax, 0x10
lea rdx, [rsp + 0x48]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlSetThreadErrorMode]
movzx ecx, byte [rsp + 0x4c]
test eax, eax
cmovns ecx, r12d
mov byte [rsp + 0x4c], cl
test cl, cl
je 0x140032fd2
mov ecx, dword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlSetThreadErrorMode]
and qword [rsp + 0x68], r15
lea rbx, [r14 + 0x18]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
cmp byte [r14 + 0x2d1], r15b
jne 0x14003304b
mov edi, 0x80830002
mov dword [rbp - 0x70], edi
mov rcx, qword [0x140048138]
lea rsi, [0x140048138]
cmp rcx, rsi
je 0x140033034
test byte [rcx + 0x1c], r12b
je 0x140033034
cmp byte [rcx + 0x19], 2
jb 0x140033034
mov r9d, dword [r14 + 0x80]
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
mov edx, 0xc8
mov dword [rsp + 0x20], edi
call fcn.140001628
test rbx, rbx
je 0x1400336d6
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
jmp 0x1400336d6
and qword [rbp - 0x20], r15
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]
mov r12d, eax
test rbx, rbx
je 0x1400330a9
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
test r12d, r12d
jns 0x1400330f2
mov edi, r12d
bts edi, 0x1c
mov dword [rbp - 0x70], edi
mov rcx, qword [0x140048138]
lea rsi, [0x140048138]
cmp rcx, rsi
je 0x1400336d6
test byte [rcx + 0x1c], 1
je 0x1400336d6
cmp byte [rcx + 0x19], 2
jb 0x1400336d6
mov edx, 0xc9
mov dword [rsp + 0x20], r12d
jmp 0x1400336c3
mov rdi, qword [r14 + 0x240]
add rdi, 0x1f
shr rdi, 5
shl edi, 2
test edi, edi
je 0x140033693
mov ecx, edi
add rcx, 0x1c
call qword [sym.imp.msvcrt.dll_malloc]
mov qword [rsp + 0x58], rax
mov r9, rax
test rax, rax
jne 0x140033129
shr edi, 1
jmp 0x140033104
mov rcx, qword [0x140048138]
lea rsi, [0x140048138]
mov r13d, 1
cmp rcx, rsi
je 0x140033170
test byte [rcx + 0x1c], r13b
je 0x140033170
cmp byte [rcx + 0x19], 5
jb 0x140033170
mov rcx, qword [rcx + 0x10]
lea rax, [r14 + 0x2a0]
mov r8d, edi
mov edx, 0xcb
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
call fcn.14002b4c4
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
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]
test eax, eax
je 0x140033208
mov r9, qword [rbp + 0x80]
mov r8, qword [rbp + 0x88]
mov qword [rbp - 0x68], r9
mov qword [rsp + 0x60], r8
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x140033208
test byte [rcx + 0x1c], r13b
je 0x140033208
cmp byte [rcx + 0x19], 4
jb 0x140033208
mov rcx, qword [rcx + 0x10]
lea rax, [r14 + 0x2a0]
mov qword [rsp + 0x28], rax
mov edx, 0xcc
mov qword [rsp + 0x20], r8
lea r8, [0x14003fdf0]
call fcn.14000a968
cmp qword [r14 + 0x240], r15
jbe 0x140033680
lea eax, [rdi + 0x18]
mov dword [rsp + 0x48], eax
xor ecx, ecx
mov qword [rbp + 0x18], r15
and qword [rsp + 0x38], rcx
lea r8, [rbp + 0x18]
mov qword [rbp + 0x20], rcx
mov r9d, 0x10
lea rcx, [rsp + 0x44]
mov dword [rbp + 0x20], r13d
mov qword [rsp + 0x30], rcx
mov edx, 0x9006f
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
test eax, eax
jne 0x140033276
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x80000005
jne 0x140033623
mov r9d, dword [rsp + 0x44]
lea rdi, [r9 - 0x18]
mov qword [rbp - 0x60], rdi
mov r10, qword [0x140048138]
cmp r10, rsi
je 0x1400332c9
test byte [r10 + 0x1c], r13b
je 0x1400332c9
cmp byte [r10 + 0x19], 5
jb 0x1400332c9
mov rcx, qword [r10 + 0x10]
lea rax, [r14 + 0x2a0]
mov qword [rsp + 0x28], rax
lea r8, [0x14003fdf0]
mov edx, 0xce
mov qword [rsp + 0x20], rdi
call fcn.14000a968
mov r10, qword [0x140048138]
test rdi, rdi
je 0x140033680
xor r8d, r8d
lea rax, [r15 + rdi*8]
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x70], rax
test rdi, rdi
je 0x14003360b
cmp r15, rax
jae 0x14003360b
cmp r10, rsi
je 0x140033337
test byte [r10 + 0x1c], r13b
je 0x140033337
cmp byte [r10 + 0x19], 5
jb 0x140033337
mov rcx, qword [r10 + 0x10]
lea rax, [r14 + 0x2a0]
mov r9d, r8d
mov edx, 0xcf
mov qword [rsp + 0x28], rax
lea r8, [0x14003fdf0]
mov qword [rsp + 0x20], r15
call fcn.14000a968
mov r10, qword [0x140048138]
mov r12, qword [r14 + 0x50]
xor eax, eax
mov dword [rsp + 0x50], eax
test r12, r12
je 0x1400335d1
mov r13, qword [r12 + 0x10]
mov r12, qword [r12]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r13
mov ecx, 1
cmp r10, rsi
je 0x1400333ac
test byte [r10 + 0x1c], cl
je 0x1400333ac
cmp byte [r10 + 0x19], 5
jb 0x1400333ac
mov r9, qword [r13 + 0x10]
lea rax, [r14 + 0x2a0]
mov rcx, qword [r10 + 0x10]
lea r8, [0x14003fdf0]
mov qword [rsp + 0x28], rax
mov edx, 0xd0
mov rax, qword [r13 + 0x18]
mov qword [rsp + 0x20], rax
call fcn.14000a968
mov r10, qword [0x140048138]
mov ecx, 1
mov rdi, qword [r13 + 0x18]
mov rax, qword [r14 + 0x240]
cmp rdi, rax
jb 0x1400333cb
lea rdi, [rax - 1]
mov qword [r13 + 0x18], rdi
mov r10, qword [0x140048138]
cmp qword [r13 + 0x10], r15
ja 0x1400335a0
cmp rdi, r15
jb 0x1400335a0
mov rax, qword [rsp + 0x70]
mov dword [rsp + 0x50], ecx
cmp rdi, rax
jb 0x140033410
mov edi, eax
sub edi, r15d
add edi, ecx
cmp r10, rsi
je 0x140033494
test byte [r10 + 0x1c], cl
je 0x140033450
cmp byte [r10 + 0x19], 5
jb 0x140033450
mov edx, 0xd1
jmp 0x14003342c
sub edi, r15d
add edi, ecx
cmp r10, rsi
je 0x140033494
test byte [r10 + 0x1c], cl
je 0x140033450
cmp byte [r10 + 0x19], 5
jb 0x140033450
mov edx, 0xd2
mov rcx, qword [r10 + 0x10]
lea rax, [r14 + 0x2a0]
mov r9d, edi
mov qword [rsp + 0x20], rax
call fcn.14002b07c
mov r10, qword [0x140048138]
mov ecx, 1
cmp r10, rsi
je 0x140033494
test byte [r10 + 0x1c], cl
je 0x140033494
cmp byte [r10 + 0x19], 5
jb 0x140033494
mov eax, dword [rsp + 0x40]
lea rcx, [r14 + 0x2a0]
mov r9, qword [rsp + 0x58]
add rax, 0x10
mov qword [rsp + 0x28], rcx
add r9, rax
mov rcx, qword [r10 + 0x10]
mov edx, 0xd3
mov r8d, edi
mov qword [rsp + 0x20], r8
call fcn.14002b4c4
mov eax, dword [rsp + 0x40]
lea rcx, [rbp - 0x38]
mov rdx, qword [rsp + 0x58]
add rax, 0x10
add rdx, rax
mov r8d, edi
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x60]
test rcx, rcx
js 0x1400334c9
cmp r15, rcx
jb 0x1400334c9
cmp r15, rdx
jbe 0x1400334d8
mov rax, qword [rsp + 0x70]
cmp rax, rcx
jb 0x14003354c
cmp rax, rdx
ja 0x14003354c
mov eax, ecx
lea r12d, [rdi - 1]
sub eax, r15d
cmp r15, rcx
lea rcx, [r15 - 1]
sbb r13d, r13d
add r12d, r15d
and r13d, eax
mov eax, edi
add rcx, rax
cmp rdx, rcx
cmovb r12d, edx
sub r12d, r15d
sub r12d, r13d
inc r12d
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x140033534
test byte [rcx + 0x1c], 1
je 0x140033534
cmp byte [rcx + 0x19], 4
jb 0x140033534
mov rcx, qword [rcx + 0x10]
mov r9, r15
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
call fcn.14002b57c
mov r8d, r12d
lea rcx, [rbp - 0x38]
mov edx, r13d
call qword [sym.imp.ntdll.dll_RtlSetBits]
mov r12, qword [rbp - 0x58]
mov r13, qword [rbp - 0x50]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ntdll.dll_RtlNumberOfClearBits]
mov r9, qword [rbp - 0x80]
mov r8d, dword [rsp + 0x40]
mov cl, byte [r13 + 0x24]
mov r10, qword [0x140048138]
mov edx, eax
mov eax, edi
shr eax, 3
add r8d, eax
mov eax, edi
add r15, rax
mov dword [rsp + 0x40], r8d
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 0x1400335a5
mov r8d, dword [rsp + 0x40]
test r12, r12
jne 0x14003334a
lea r13d, [r12 + 1]
mov rdi, qword [rbp - 0x60]
cmp dword [rsp + 0x50], r12d
je 0x1400335d1
mov eax, r8d
cmp rdi, rax
mov rax, qword [rsp + 0x70]
ja 0x1400332ec
jmp 0x14003360b
cmp r10, rsi
je 0x140033600
test byte [r10 + 0x1c], r13b
je 0x140033600
cmp byte [r10 + 0x19], 3
jb 0x140033600
mov rcx, qword [r10 + 0x10]
lea rax, [r14 + 0x2a0]
mov edx, 0xd5
mov qword [rsp + 0x20], rax
mov r9, r15
call fcn.14002b07c
mov eax, dword [rsp + 0x40]
sub rdi, rax
lea r15, [r15 + rdi*8]
cmp r15, qword [r14 + 0x240]
jae 0x140033680
mov eax, dword [rsp + 0x48]
mov r13d, 1
jmp 0x14003321c
mov ecx, eax
call fcn.14000395c
mov edi, eax
mov dword [rbp - 0x70], eax
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x140033034
test byte [rcx + 0x1c], r13b
je 0x140033034
cmp byte [rcx + 0x19], 2
jb 0x140033034
mov rcx, qword [rcx + 0x10]
lea rax, [r14 + 0x2a0]
mov edx, 0xcd
mov dword [rsp + 0x28], edi
mov r9, r15
mov qword [rsp + 0x20], rax
lea r8, [0x14003fdf0]
call fcn.14001eac8
jmp 0x140033034
test rbx, rbx
je 0x14003368e
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
mov edi, dword [rbp - 0x70]
jmp 0x1400336d6
mov edi, 0x8007000e
mov dword [rbp - 0x70], edi
mov rcx, qword [0x140048138]
lea rsi, [0x140048138]
cmp rcx, rsi
je 0x1400336d6
test byte [rcx + 0x1c], 1
je 0x1400336d6
cmp byte [rcx + 0x19], 2
jb 0x1400336d6
mov edx, 0xca
mov dword [rsp + 0x20], edi
mov rcx, qword [rcx + 0x10]
lea r8, [0x14003fdf0]
mov r9, r13
call fcn.140008b3c
mov rax, qword [rbp - 0x48]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x40]
mov qword [rcx], rax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140033700
mov rcx, rax
call qword [sym.imp.msvcrt.dll_free]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140033710
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rbp - 0x78]
call fcn.1400084bc
mov eax, edi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14003b8a0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret