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

Disassembly:
push rbp
sub rsp, 0x6f0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x668], 0xfffffffffffffffe
mov dword [rbp + 0xd4], r8d
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0x528], rdx
mov rax, qword [rbp + 0x528]
mov rax, qword [rax]
mov qword [rbp + 0x530], rax
mov dword [rbp + 0x53c], r8d
mov rax, qword [rdx]
mov eax, dword [rax]
mov dword [rbp + 0xe8], eax
cmp r8d, 0x20
jae 0x14016a8fb
mov eax, dword [rbp + 0xe8]
mov ecx, dword [rbp + 0xd4]
and ecx, 0x1f
shr eax, cl
and eax, 1
cmp eax, 0
je 0x14016a907
jmp 0x14016a917
lea rcx, str.C:Users_simran.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.1401bdda0
mov rax, qword [rbp + 0xd8]
mov qword [rax], 3
jmp 0x14016a935
mov eax, dword [rbp + 0xd4]
add ax, 0x41
mov word [rbp + 0xd2], ax
setb al
test al, 1
jne 0x14016a9bf
jmp 0x14016a945
mov rax, qword [rbp + 0xe0]
add rsp, 0x6f0
pop rbp
ret
mov ax, word [rbp + 0xd2]
mov word [rbp + 0xee], ax
mov word [rbp + 0xf0], 0x3a
mov word [rbp + 0xf2], 0x5c
mov word [rbp + 0xf4], 0
lea rax, [rbp + 0xee]
mov qword [rbp + 0x658], rax
mov qword [rbp + 0x660], 4
lea rcx, [rbp + 0xee]
call sub.kernel32.dll_GetDriveTypeW
mov dword [rbp + 0xcc], eax
mov dword [rbp + 0x540], eax
cmp eax, 2
sete cl
mov byte [rbp + 0xd1], cl
and cl, 1
mov byte [rbp + 0x547], cl
cmp eax, 3
jne 0x14016aacb
jmp 0x14016a9cb
lea rcx, str.C:Users_simran.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.1401bdc60
lea rcx, [rbp + 0xf6]
xor edx, edx
mov r8d, 0x20a
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x300]
xor edx, edx
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0xee]
mov qword [rbp + 0x648], rax
mov qword [rbp + 0x650], 4
lea rax, [rbp + 0xf6]
mov qword [rbp + 0x638], rax
mov qword [rbp + 0x640], 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 + 0x300]
mov qword [rbp + 0x628], rax
mov qword [rbp + 0x630], 0x20
lea rcx, [rbp + 0xee]
lea rdx, [rbp + 0xf6]
mov r8d, 0x105
xor eax, eax
mov r9d, eax
lea rax, [rbp + 0x300]
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 0x14016aaed
jmp 0x14016ab00
mov eax, dword [rbp + 0xcc]
cmp eax, 2
je 0x14016a9cb
mov rax, qword [rbp + 0xd8]
mov qword [rax], 3
jmp 0x14016a935
mov rax, qword [rbp + 0xd8]
mov qword [rax], 3
jmp 0x14016a935
mov qword [rbp + 0x340], 0
lea rcx, [rbp + 0xf6]
mov edx, 0x105
call fcn.14012ef70
mov rcx, rax
call fcn.1401583f0
mov qword [rbp + 0x348], rax
mov qword [rbp + 0x350], rdx
lea rcx, [rbp + 0x348]
call fcn.140158cc0
mov qword [rbp + 0x358], rax
mov rax, qword [rbp + 0x358]
cmp rax, 0
sete al
test al, 1
jne 0x14016ab59
jmp 0x14016abb3
mov rdx, qword [rbp + 0x340]
lea r8, str.C:Users_simran.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
lea rcx, [rbp + 0xf6]
call fcn.14014f120
mov qword [rbp + 0xa8], rax
mov r8, rdx
mov rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0x360]
mov qword [rbp + 0xb0], rcx
call fcn.14015d7d0
mov rcx, qword [rbp + 0xb0]
call fcn.140166130
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], rax
jmp 0x14016abe7
mov rax, qword [rbp + 0x358]
mov qword [rbp + 0x548], rax
cmp word [rax], 0
je 0x14016ab59
mov rax, qword [rbp + 0x340]
add rax, 1
mov qword [rbp + 0xa0], rax
setb al
jb 0x14016b262
jmp 0x14016b24f
mov rax, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xc0]
mov rdx, rcx
mov qword [rbp + 0x80], rdx
mov rdx, rax
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x550], rcx
mov qword [rbp + 0x558], rax
mov qword [rbp + 0x340], 0
lea rcx, [rbp + 0x300]
mov edx, 0x20
call fcn.14012ef70
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x98], rax
jmp 0x14016ac43
mov rdx, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x98]
call fcn.1401583f0
mov qword [rbp + 0x70], rdx
mov qword [rbp + 0x78], rax
jmp 0x14016ac60
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
mov qword [rbp + 0x378], rcx
mov qword [rbp + 0x380], rax
lea rcx, [rbp + 0x378]
call fcn.140158cc0
mov qword [rbp + 0x68], rax
jmp 0x14016ac88
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x388], rax
mov rax, qword [rbp + 0x388]
cmp rax, 0
sete al
test al, 1
jne 0x14016aca7
jmp 0x14016accb
mov rdx, qword [rbp + 0x340]
lea r8, str.C:Users_simran.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
lea rcx, [rbp + 0x300]
call fcn.14014f3f0
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rax
jmp 0x14016acfc
mov rax, qword [rbp + 0x388]
mov qword [rbp + 0x560], rax
cmp word [rax], 0
je 0x14016aca7
mov rax, qword [rbp + 0x340]
add rax, 1
mov qword [rbp + 0x50], rax
setb al
jb 0x14016b23e
jmp 0x14016b22e
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x60]
call fcn.14012ef70
mov qword [rbp + 0x40], rdx
mov qword [rbp + 0x48], rax
jmp 0x14016ad13
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x48]
call fcn.140157e90
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x38], rax
jmp 0x14016ad2a
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x390]
call fcn.140156100
jmp 0x14016ad40
mov eax, dword [rbp + 0xd4]
add ax, 0x41
mov word [rbp + 0x2e], ax
setb al
test al, 1
jne 0x14016adb4
mov ax, word [rbp + 0x2e]
mov word [rbp + 0x3aa], 0x5c
mov word [rbp + 0x3ac], 0x5c
mov word [rbp + 0x3ae], 0x2e
mov word [rbp + 0x3b0], 0x5c
mov word [rbp + 0x3b2], ax
mov word [rbp + 0x3b4], 0x3a
mov word [rbp + 0x3b6], 0
lea rcx, [rbp + 0x3aa]
mov edx, 7
xor r8d, r8d
call fcn.14016a4e0
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], rax
jmp 0x14016adc4
lea rcx, str.C:Users_simran.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.1401bdc60
jmp 0x14016adc2
ud2
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
call fcn.140132ea0
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], rax
jmp 0x14016addb
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x10]
mov qword [rbp + 0x3c0], rcx
mov qword [rbp + 0x3c8], rax
cmp qword [rbp + 0x3c0], 0
jne 0x14016ae2b
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x568], rax
mov qword [rbp + 0x3b8], rax
lea rcx, [rbp + 0x3e8]
lea rdx, [rbp + 0xee]
mov r8d, 4
call fcn.14016a5e0
jmp 0x14016ae3c
mov rcx, qword [rbp + 0xd8]
call fcn.14012eb90
jmp 0x14016b21b
lea rcx, [rbp + 0x3d0]
lea rdx, [rbp + 0x3e8]
call fcn.140132f40
jmp 0x14016ae51
cmp qword [rbp + 0x3d0], 0
jne 0x14016ae95
mov rax, qword [rbp + 0x3d8]
mov qword [rbp - 8], rax
mov rcx, qword [rbp + 0x3e0]
mov qword [rbp], rcx
mov qword [rbp + 0x570], rax
mov qword [rbp + 0x578], rcx
mov qword [rbp + 0x580], rax
mov qword [rbp + 0x588], rcx
cmp rax, 0
je 0x14016aea6
jmp 0x14016aeb9
mov rcx, qword [rbp + 0xd8]
call fcn.14012eb90
jmp 0x14016b208
mov rax, qword [rbp + 0xd8]
mov qword [rax], 3
jmp 0x14016b004
mov byte [rbp + 0x40f], 0
mov dword [rbp + 0x400], 7
mov dword [rbp + 0x404], 0
mov al, byte [rbp + 0x40f]
mov byte [rbp + 0x408], al
mov byte [rbp + 0x5bf], 0
mov qword [rbp + 0x5c0], 1
mov byte [rbp + 0x5cf], 0
mov qword [rbp + 0x5d0], 1
lea rax, [rbp + 0x5a4]
mov qword [rbp + 0x5d8], rax
lea rax, [rbp + 0x5a4]
mov qword [rbp + 0x5e0], rax
lea rcx, [rbp + 0x5a4]
mov edx, 4
call fcn.140137bd0
lea rcx, [rbp + 0x5a4]
xor edx, edx
mov r8d, 0xc
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbp + 0x5a4]
mov qword [rbp + 0x598], rax
mov eax, dword [rbp + 0x5ac]
mov dword [rbp + 0x5a0], eax
mov rax, qword [rbp + 0x598]
mov qword [rbp + 0x5b0], rax
mov eax, dword [rbp + 0x5a0]
mov dword [rbp + 0x5b8], eax
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 0x410], rax
mov eax, dword [rbp + 0x5b8]
mov dword [rbp + 0x418], eax
mov dword [rbp + 0x41c], 0
mov rcx, qword [rbp + 0x3b8]
mov qword [rbp + 0x5e8], 0
mov qword [rbp + 0x5f0], 0
mov edx, 0x2d1400
lea r8, [rbp + 0x400]
mov r9d, 0xc
lea r10, [rbp + 0x410]
lea rax, [rbp + 0x41c]
xor r11d, r11d
mov qword [rsp + 0x20], r10
mov dword [rsp + 0x28], 0xc
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_DeviceIoControl
cmp eax, 0
je 0x14016b015
jmp 0x14016b02d
lea rcx, [rbp + 0x3b8]
call fcn.14013cc50
jmp 0x14016b20d
mov qword [rbp + 0x428], 0xffffffffffffffff
mov qword [rbp + 0x420], 2
jmp 0x14016b067
cmp dword [rbp + 0x41c], 0xc
jne 0x14016b015
cmp byte [rbp + 0x418], 0
sete al
mov cl, al
and cl, 1
mov byte [rbp + 0x597], cl
test al, 1
jne 0x14016b05c
mov qword [rbp + 0x420], 0
jmp 0x14016b067
mov qword [rbp + 0x420], 1
mov r8, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x420]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x428]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x4c0]
call fcn.1401678a0
jmp 0x14016b099
lea rcx, [rbp + 0x390]
call fcn.1401449a0
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
jmp 0x14016b0af
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x4e0]
call fcn.14013e160
jmp 0x14016b0c5
lea rcx, [rbp + 0x4f8]
lea rdx, [rbp + 0xee]
mov r8d, 4
call fcn.14013e130
jmp 0x14016b0e0
lea r8, str.C:Users_simran.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
lea rcx, [rbp + 0xee]
mov edx, 3
call fcn.14014f210
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rax
jmp 0x14016b102
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp + 0x510]
call fcn.14015d7d0
jmp 0x14016b118
mov rcx, qword [rbp + 0xd8]
mov al, byte [rbp + 0xd1]
mov rdx, qword [rbp]
mov r8, qword [rbp - 8]
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x18]
mov qword [rbp + 0x430], r10
mov qword [rbp + 0x438], r9
movups xmm0, xmmword [rbp + 0x4c0]
movups xmm1, xmmword [rbp + 0x4d0]
movups xmmword [rbp + 0x450], xmm1
movups xmmword [rbp + 0x440], xmm0
mov r9, qword [rbp + 0x4f0]
mov qword [rbp + 0x470], r9
movups xmm0, xmmword [rbp + 0x4e0]
movups xmmword [rbp + 0x460], xmm0
mov r9, qword [rbp + 0x508]
mov qword [rbp + 0x488], r9
movups xmm0, xmmword [rbp + 0x4f8]
movups xmmword [rbp + 0x478], xmm0
mov r9, qword [rbp + 0x520]
mov qword [rbp + 0x4a0], r9
movups xmm0, xmmword [rbp + 0x510]
movups xmmword [rbp + 0x490], xmm0
mov qword [rbp + 0x4a8], r8
mov qword [rbp + 0x4b0], rdx
and al, 1
mov byte [rbp + 0x4b8], al
lea rdx, [rbp + 0x430]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x3b8]
call fcn.14013cc50
jmp 0x14016b1e9
lea rcx, [rbp + 0x390]
call fcn.140176190
jmp 0x14016b1f7
lea rcx, [rbp + 0x360]
call fcn.1401760e0
jmp 0x14016a935
jmp 0x14016b004
lea rcx, [rbp + 0x390]
call fcn.140176190
jmp 0x14016b21d
jmp 0x14016b20d
lea rcx, [rbp + 0x360]
call fcn.1401760e0
jmp 0x14016a935
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x340], rax
jmp 0x14016ac76
lea rcx, str.C:Users_simran.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.1401bdc60
jmp 0x14016adc2
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x340], rax
jmp 0x14016ab32
lea rcx, str.C:Users_simran.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.1401bdc60
int3