Function at 0x14002422c
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400541a0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14, rdx
mov rbx, rcx
mov qword [rbp - 0x38], rcx
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x40], r12d
lea rax, [rsp + 0x48]
mov qword [rbp - 0x58], rax
lea edi, [r12 + 7]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
lea r8d, [r12 + 0x1e]
lea rdx, str.GetDisplayNameForVolumeNoThrow
lea rcx, [rsp + 0x48]
call fcn.140002d18
nop
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x68], r12w
lea r8d, [r12 + 0x22]
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rsp + 0x68]
call fcn.140002d18
nop
lea r9, [rsp + 0x48]
mov r8d, 0x218
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.140002028
nop
mov dword [rsp + 0x40], r12d
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
xor r8d, r8d
mov r15d, 0x104
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.140003718
lea rdi, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdi, qword [rbp - 0x30]
movzx eax, r12w
mov ecx, r15d
rep stosw word [rdi], ax
mov qword [rbp - 0x20], r15
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov word [rax + 0x208], r12w
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.140003678
cmp qword [rbx + 0x18], 8
jb 0x14002435d
mov rcx, qword [rbx]
jmp 0x140024360
mov rcx, rbx
lea r9, [rsp + 0x40]
mov r8d, dword [rbp - 0x20]
mov rdx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
mov edi, eax
lea rcx, [rbp - 0x78]
call fcn.140003414
test edi, edi
jne 0x140024538
mov edx, dword [rsp + 0x40]
cmp rdx, qword [rbp - 0x20]
ja 0x1400243af
mov qword [rbp - 0x20], rdx
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov word [rax + rdx*2], r12w
jmp 0x1400243bf
xor r8d, r8d
sub rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x30]
call fcn.140003920
cmp dword [rsp + 0x40], r12d
je 0x140024407
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.140003678
mov esi, 1
cmp qword [rbx + 0x18], 8
jb 0x1400243e4
mov rcx, qword [rbx]
jmp 0x1400243e7
mov rcx, rbx
lea r9, [rsp + 0x40]
mov r8d, dword [rbp - 0x20]
mov rdx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
mov dil, r12b
jne 0x14002440a
mov dil, 1
test sil, 1
je 0x140024419
lea rcx, [rbp - 0x78]
call fcn.140003414
test dil, dil
je 0x140024538
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x48], rax
mov esi, 7
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x68], r12w
lea r8d, [rsi + 0x2e]
lea rdx, str.GetVolumePathNamesForVolumeName__s__fails_winerror__d
lea rcx, [rsp + 0x68]
call fcn.140002d18
nop
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
lea r8d, [rsi + 0x17]
lea rdx, str.GetDisplayNameForVolumeNoThrow
lea rcx, [rsp + 0x48]
call fcn.140002d18
nop
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
lea r8d, [rsi + 0x1b]
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rbp - 0x78]
call fcn.140002d18
cmp qword [rbx + 0x18], 8
jb 0x1400244b1
mov rdi, qword [rbx]
jmp 0x1400244b4
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
nop
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 0x228
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x10]
call fcn.140001cb4
nop
cmp qword [rbp - 0x18], 8
jb 0x140024504
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
lea rcx, [rbp + 0x10]
call fcn.1400021d4
nop
cmp qword [rbx + 0x18], 8
jb 0x140024531
mov rcx, qword [rbx]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
xor al, al
jmp 0x14002464b
mov esi, 7
mov qword [rbp + 8], rsi
mov qword [rbp], r12
mov word [rbp - 0x10], r12w
or r15, 0xffffffffffffffff
mov r9, r15
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.140002c28
nop
lea rdi, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdi, qword [rbp - 0x30]
jmp 0x1400245bd
mov rax, r15
inc rax
cmp word [rdi + rax*2], r12w
jne 0x140024575
cmp qword [rbp], rax
jbe 0x1400245a8
test cx, cx
jne 0x14002458f
mov r8, r12
jmp 0x14002459c
mov r8, r15
inc r8
cmp word [rdi + r8*2], r12w
jne 0x140024592
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.140002d18
mov rax, r15
inc rax
cmp word [rdi + rax*2], r12w
jne 0x1400245ab
lea rdi, [rdi + rax*2]
add rdi, 2
movzx ecx, word [rdi]
test cx, cx
jne 0x140024572
lea rax, [rbp - 0x10]
cmp r14, rax
je 0x1400245e1
mov r9, r15
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.140002c28
nop
cmp qword [rbp + 8], 8
jb 0x1400245f8
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp + 8], rsi
mov qword [rbp], r12
mov word [rbp - 0x10], r12w
cmp qword [rbp - 0x18], 8
jb 0x14002461c
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
lea rcx, [rbp + 0x10]
call fcn.1400021d4
nop
cmp qword [rbx + 0x18], 8
jb 0x140024649
mov rcx, qword [rbx]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov al, 1
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140032b80
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret