Function at 0x14002e6a0
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push rbp
sub rsp, 0x700
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x678], 0xfffffffffffffffe
mov dword [rbp + 0xdc], r8d
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rcx
mov qword [rbp + 0x530], rdx
mov rax, qword [rbp + 0x530]
mov rax, qword [rax]
mov qword [rbp + 0x538], rax
mov dword [rbp + 0x544], r8d
mov rax, qword [rdx]
mov eax, dword [rax]
mov dword [rbp + 0xf0], eax
cmp r8d, 0x20
jae 0x14002e71b
mov eax, dword [rbp + 0xf0]
mov ecx, dword [rbp + 0xdc]
and ecx, 0x1f
shr eax, cl
and eax, 1
cmp eax, 0
je 0x14002e727
jmp 0x14002e737
lea rcx, str.C:Userschris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
call fcn.140096270
mov rax, qword [rbp + 0xe0]
mov qword [rax], 3
jmp 0x14002e755
mov eax, dword [rbp + 0xdc]
add ax, 0x41
mov word [rbp + 0xda], ax
setb al
test al, 1
jne 0x14002e7df
jmp 0x14002e765
mov rax, qword [rbp + 0xe8]
add rsp, 0x700
pop rbp
ret
mov ax, word [rbp + 0xda]
mov word [rbp + 0xf6], ax
mov word [rbp + 0xf8], 0x3a
mov word [rbp + 0xfa], 0x5c
mov word [rbp + 0xfc], 0
lea rax, [rbp + 0xf6]
mov qword [rbp + 0x668], rax
mov qword [rbp + 0x670], 4
lea rcx, [rbp + 0xf6]
call sub.KERNEL32.dll_GetDriveTypeW
mov dword [rbp + 0xd4], eax
mov dword [rbp + 0x548], eax
cmp eax, 2
sete cl
mov byte [rbp + 0xd9], cl
and cl, 1
mov byte [rbp + 0x54f], cl
cmp eax, 3
jne 0x14002e8eb
jmp 0x14002e7eb
lea rcx, str.C:Userschris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
call fcn.1400961b0
lea rcx, [rbp + 0xfe]
xor edx, edx
mov r8d, 0x20a
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x308]
xor edx, edx
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0xf6]
mov qword [rbp + 0x658], rax
mov qword [rbp + 0x660], 4
lea rax, [rbp + 0xfe]
mov qword [rbp + 0x648], rax
mov qword [rbp + 0x650], 0x105
mov qword [rbp + 0x618], 0
mov qword [rbp + 0x620], 0
mov qword [rbp + 0x608], 0
mov qword [rbp + 0x610], 0
mov qword [rbp + 0x5f8], 0
mov qword [rbp + 0x600], 0
lea rax, [rbp + 0x308]
mov qword [rbp + 0x638], rax
mov qword [rbp + 0x640], 0x20
lea rcx, [rbp + 0xf6]
lea rdx, [rbp + 0xfe]
mov r8d, 0x105
xor eax, eax
mov r9d, eax
lea rax, [rbp + 0x308]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x20
call sub.KERNEL32.dll_GetVolumeInformationW
cmp eax, 0
je 0x14002e90d
jmp 0x14002e920
mov eax, dword [rbp + 0xd4]
cmp eax, 2
je 0x14002e7eb
mov rax, qword [rbp + 0xe0]
mov qword [rax], 3
jmp 0x14002e755
mov rax, qword [rbp + 0xe0]
mov qword [rax], 3
jmp 0x14002e755
mov qword [rbp + 0x348], 0
lea rcx, [rbp + 0xfe]
mov edx, 0x105
call fcn.1400259a0
mov rcx, rax
call fcn.140022750
mov qword [rbp + 0x350], rax
mov qword [rbp + 0x358], rdx
lea rcx, [rbp + 0x350]
call fcn.140022f90
mov qword [rbp + 0x360], rax
mov rax, qword [rbp + 0x360]
cmp rax, 0
sete al
test al, 1
jne 0x14002e979
jmp 0x14002e9d3
mov rdx, qword [rbp + 0x348]
lea r8, str.C:Userschris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
lea rcx, [rbp + 0xfe]
call fcn.14000dde0
mov qword [rbp + 0xb0], rax
mov r8, rdx
mov rdx, qword [rbp + 0xb0]
lea rcx, [rbp + 0x368]
mov qword [rbp + 0xb8], rcx
call fcn.14000c110
mov rcx, qword [rbp + 0xb8]
call fcn.14002be10
mov qword [rbp + 0xc0], rdx
mov qword [rbp + 0xc8], rax
jmp 0x14002ea07
mov rax, qword [rbp + 0x360]
mov qword [rbp + 0x550], rax
cmp word [rax], 0
je 0x14002e979
mov rax, qword [rbp + 0x348]
add rax, 1
mov qword [rbp + 0xa8], rax
setb al
jb 0x14002f07d
jmp 0x14002f06a
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xc8]
mov rdx, rcx
mov qword [rbp + 0x88], rdx
mov rdx, rax
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x558], rcx
mov qword [rbp + 0x560], rax
mov qword [rbp + 0x348], 0
lea rcx, [rbp + 0x308]
mov edx, 0x20
call fcn.1400259a0
mov qword [rbp + 0x98], rdx
mov qword [rbp + 0xa0], rax
jmp 0x14002ea63
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0xa0]
call fcn.140022750
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x80], rax
jmp 0x14002ea83
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x80]
mov qword [rbp + 0x380], rcx
mov qword [rbp + 0x388], rax
lea rcx, [rbp + 0x380]
call fcn.140022f90
mov qword [rbp + 0x70], rax
jmp 0x14002eaae
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x390], rax
mov rax, qword [rbp + 0x390]
cmp rax, 0
sete al
test al, 1
jne 0x14002eacd
jmp 0x14002eaf1
mov rdx, qword [rbp + 0x348]
lea r8, str.C:Userschris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
lea rcx, [rbp + 0x308]
call fcn.14000dc80
mov qword [rbp + 0x60], rdx
mov qword [rbp + 0x68], rax
jmp 0x14002eb22
mov rax, qword [rbp + 0x390]
mov qword [rbp + 0x568], rax
cmp word [rax], 0
je 0x14002eacd
mov rax, qword [rbp + 0x348]
add rax, 1
mov qword [rbp + 0x58], rax
setb al
jb 0x14002f059
jmp 0x14002f049
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
call fcn.1400259a0
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x50], rax
jmp 0x14002eb39
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x50]
call fcn.1400224f0
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x40], rax
jmp 0x14002eb50
mov r8, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x398]
call fcn.140028450
jmp 0x14002eb66
mov eax, dword [rbp + 0xdc]
add ax, 0x41
mov word [rbp + 0x36], ax
setb al
test al, 1
jne 0x14002ebda
mov ax, word [rbp + 0x36]
mov word [rbp + 0x3b2], 0x5c
mov word [rbp + 0x3b4], 0x5c
mov word [rbp + 0x3b6], 0x2e
mov word [rbp + 0x3b8], 0x5c
mov word [rbp + 0x3ba], ax
mov word [rbp + 0x3bc], 0x3a
mov word [rbp + 0x3be], 0
lea rcx, [rbp + 0x3b2]
mov edx, 7
xor r8d, r8d
call fcn.14002e300
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], rax
jmp 0x14002ebea
lea rcx, str.C:Userschris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
call fcn.1400961b0
jmp 0x14002ebe8
ud2
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
call fcn.14002b3f0
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], rax
jmp 0x14002ec01
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 0x3c8], rcx
mov qword [rbp + 0x3d0], rax
cmp qword [rbp + 0x3c8], 0
jne 0x14002ec51
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x570], rax
mov qword [rbp + 0x3c0], rax
lea rcx, [rbp + 0x3f0]
lea rdx, [rbp + 0xf6]
mov r8d, 4
call fcn.14002e400
jmp 0x14002ec62
mov rcx, qword [rbp + 0xe0]
call fcn.14002b4f0
jmp 0x14002f036
lea rcx, [rbp + 0x3d8]
lea rdx, [rbp + 0x3f0]
call fcn.14002b2a0
jmp 0x14002ec77
cmp qword [rbp + 0x3d8], 0
jne 0x14002ecbb
mov rax, qword [rbp + 0x3e0]
mov qword [rbp], rax
mov rcx, qword [rbp + 0x3e8]
mov qword [rbp + 8], rcx
mov qword [rbp + 0x578], rax
mov qword [rbp + 0x580], rcx
mov qword [rbp + 0x588], rax
mov qword [rbp + 0x590], rcx
cmp rax, 0
je 0x14002eccc
jmp 0x14002ecdf
mov rcx, qword [rbp + 0xe0]
call fcn.14002b4f0
jmp 0x14002f023
mov rax, qword [rbp + 0xe0]
mov qword [rax], 3
jmp 0x14002ee17
mov byte [rbp + 0x417], 0
mov dword [rbp + 0x408], 7
mov dword [rbp + 0x40c], 0
mov al, byte [rbp + 0x417]
mov byte [rbp + 0x410], al
mov byte [rbp + 0x59f], 0
mov qword [rbp + 0x5a0], 1
mov byte [rbp + 0x5af], 0
mov qword [rbp + 0x5b0], 1
lea rcx, [rbp + 0x5c8]
mov qword [rbp + 0x5e8], rcx
mov qword [rbp + 0x5f0], rcx
mov edx, 4
call fcn.14000d3e0
mov dword [rbp + 0x5d0], 0
mov qword [rbp + 0x5c8], 0
mov eax, dword [rbp + 0x5d0]
mov dword [rbp + 0x5c0], eax
mov rax, qword [rbp + 0x5c8]
mov qword [rbp + 0x5b8], rax
mov eax, dword [rbp + 0x5c0]
mov dword [rbp + 0x5e0], eax
mov rax, qword [rbp + 0x5b8]
mov qword [rbp + 0x5d8], rax
mov eax, dword [rbp + 0x5e0]
mov dword [rbp + 0x420], eax
mov rax, qword [rbp + 0x5d8]
mov qword [rbp + 0x418], rax
mov dword [rbp + 0x424], 0
mov rcx, qword [rbp + 0x3c0]
mov qword [rbp + 0x628], 0
mov qword [rbp + 0x630], 0
mov rax, rsp
lea rdx, [rbp + 0x424]
mov qword [rax + 0x30], rdx
lea rdx, [rbp + 0x418]
mov qword [rax + 0x20], rdx
mov qword [rax + 0x38], 0
mov dword [rax + 0x28], 0xc
mov edx, 0x2d1400
lea r8, [rbp + 0x408]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
mov dword [rbp - 4], eax
jmp 0x14002ee28
lea rcx, [rbp + 0x3c0]
call fcn.14000a8d0
jmp 0x14002f028
mov eax, dword [rbp - 4]
cmp eax, 0
jne 0x14002ee48
mov qword [rbp + 0x430], 0xffffffffffffffff
mov qword [rbp + 0x428], 2
jmp 0x14002ee82
cmp dword [rbp + 0x424], 0xc
jne 0x14002ee30
cmp byte [rbp + 0x420], 0
sete al
mov cl, al
and cl, 1
mov byte [rbp + 0x59e], cl
test al, 1
jne 0x14002ee77
mov qword [rbp + 0x428], 0
jmp 0x14002ee82
mov qword [rbp + 0x428], 1
mov r8, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x428]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x430]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x4c8]
call fcn.14002c630
jmp 0x14002eeb4
lea rcx, [rbp + 0x398]
call fcn.140033910
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
jmp 0x14002eeca
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x4e8]
call fcn.14002c250
jmp 0x14002eee0
lea rcx, [rbp + 0x500]
lea rdx, [rbp + 0xf6]
mov r8d, 4
call fcn.14002c220
jmp 0x14002eefb
lea r8, str.C:Userschris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
lea rcx, [rbp + 0xf6]
mov edx, 3
call fcn.14000dbd0
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rax
jmp 0x14002ef1d
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp + 0x518]
call fcn.14000c110
jmp 0x14002ef33
mov rcx, qword [rbp + 0xe0]
mov al, byte [rbp + 0xd9]
mov rdx, qword [rbp + 8]
mov r8, qword [rbp]
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x18]
mov qword [rbp + 0x438], r10
mov qword [rbp + 0x440], r9
movups xmm0, xmmword [rbp + 0x4c8]
movups xmm1, xmmword [rbp + 0x4d8]
movups xmmword [rbp + 0x458], xmm1
movups xmmword [rbp + 0x448], xmm0
mov r9, qword [rbp + 0x4f8]
mov qword [rbp + 0x478], r9
movups xmm0, xmmword [rbp + 0x4e8]
movups xmmword [rbp + 0x468], xmm0
mov r9, qword [rbp + 0x510]
mov qword [rbp + 0x490], r9
movups xmm0, xmmword [rbp + 0x500]
movups xmmword [rbp + 0x480], xmm0
mov r9, qword [rbp + 0x528]
mov qword [rbp + 0x4a8], r9
movups xmm0, xmmword [rbp + 0x518]
movups xmmword [rbp + 0x498], xmm0
mov qword [rbp + 0x4b0], r8
mov qword [rbp + 0x4b8], rdx
and al, 1
mov byte [rbp + 0x4c0], al
lea rdx, [rbp + 0x438]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x3c0]
call fcn.14000a8d0
jmp 0x14002f004
lea rcx, [rbp + 0x398]
call fcn.140054760
jmp 0x14002f012
lea rcx, [rbp + 0x368]
call fcn.1400546b0
jmp 0x14002e755
jmp 0x14002ee17
lea rcx, [rbp + 0x398]
call fcn.140054760
jmp 0x14002f038
jmp 0x14002f028
lea rcx, [rbp + 0x368]
call fcn.1400546b0
jmp 0x14002e755
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x348], rax
jmp 0x14002ea9c
lea rcx, str.C:Userschris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
call fcn.1400961b0
jmp 0x14002ebe8
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x348], rax
jmp 0x14002e952
lea rcx, str.C:Userschris.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
call fcn.1400961b0
int3