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

Disassembly:
push rbp
sub rsp, 0x750
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x6c8], 0xfffffffffffffffe
mov dword [rbp + 0xdc], r8d
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rcx
mov qword [rbp + 0x548], rdx
mov rax, qword [rbp + 0x548]
mov rax, qword [rax]
mov qword [rbp + 0x550], rax
mov dword [rbp + 0x55c], r8d
mov rax, qword [rdx]
mov eax, dword [rax]
mov dword [rbp + 0xf0], eax
cmp r8d, 0x20
setb al
test al, 1
jne 0x14004bec7
jmp 0x14004bee2
mov eax, dword [rbp + 0xf0]
mov ecx, dword [rbp + 0xdc]
and ecx, 0x1f
shr eax, cl
and eax, 1
cmp eax, 0
je 0x14004befc
jmp 0x14004bf0c
lea rcx, str.attempt_to_shift_right_with_overflow
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
mov edx, 0x24
call fcn.14009f4b0
ud2
mov rax, qword [rbp + 0xe0]
mov qword [rax], 3
jmp 0x14004bf2a
mov eax, dword [rbp + 0xdc]
add ax, 0x41
mov word [rbp + 0xda], ax
setb al
test al, 1
jne 0x14004bfb4
jmp 0x14004bf3a
mov rax, qword [rbp + 0xe8]
add rsp, 0x750
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 + 0x6b8], rax
mov qword [rbp + 0x6c0], 4
lea rcx, [rbp + 0xf6]
call sub.KERNEL32.dll_GetDriveTypeW
mov dword [rbp + 0xd4], eax
mov dword [rbp + 0x560], eax
cmp eax, 2
sete cl
mov byte [rbp + 0xd9], cl
and cl, 1
mov byte [rbp + 0x567], cl
cmp eax, 3
jne 0x14004c121
jmp 0x14004bfce
lea rcx, str.attempt_to_add_with_overflow_rustc_79e9716c980570bfd1f666e3b16ac583f0168962librarycore_srciter_traits_accum.rs
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
mov edx, 0x1c
call fcn.14009f4b0
ud2
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 + 0x6a8], rax
mov qword [rbp + 0x6b0], 4
lea rax, [rbp + 0xfe]
mov qword [rbp + 0x698], rax
mov qword [rbp + 0x6a0], 0x105
mov qword [rbp + 0x648], 0
mov qword [rbp + 0x650], 0
mov qword [rbp + 0x660], 0
mov rax, qword [rbp + 0x660]
mov qword [rbp + 0x658], rax
mov r9, qword [rbp + 0x658]
mov qword [rbp + 0x628], 0
mov qword [rbp + 0x630], 0
mov qword [rbp + 0x640], 0
mov rax, qword [rbp + 0x640]
mov qword [rbp + 0x638], rax
mov r11, qword [rbp + 0x638]
mov qword [rbp + 0x608], 0
mov qword [rbp + 0x610], 0
mov qword [rbp + 0x620], 0
mov rax, qword [rbp + 0x620]
mov qword [rbp + 0x618], rax
mov r10, qword [rbp + 0x618]
lea rax, [rbp + 0x308]
mov qword [rbp + 0x688], rax
mov qword [rbp + 0x690], 0x20
lea rcx, [rbp + 0xf6]
lea rdx, [rbp + 0xfe]
mov r8d, 0x105
lea rax, [rbp + 0x308]
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x20
call sub.KERNEL32.dll_GetVolumeInformationW
cmp eax, 0
je 0x14004c143
jmp 0x14004c156
mov eax, dword [rbp + 0xd4]
cmp eax, 2
je 0x14004bfce
mov rax, qword [rbp + 0xe0]
mov qword [rax], 3
jmp 0x14004bf2a
mov rax, qword [rbp + 0xe0]
mov qword [rax], 3
jmp 0x14004bf2a
mov qword [rbp + 0x348], 0
lea rcx, [rbp + 0xfe]
mov edx, 0x105
call fcn.14003ada0
mov rcx, rax
call fcn.14000a490
mov qword [rbp + 0x350], rax
mov qword [rbp + 0x358], rdx
lea rcx, [rbp + 0x350]
call fcn.14000b050
mov qword [rbp + 0x360], rax
mov rax, qword [rbp + 0x360]
cmp rax, 0
sete al
test al, 1
jne 0x14004c1af
jmp 0x14004c217
mov rax, qword [rbp + 0x348]
mov qword [rbp + 0x380], rax
mov rdx, qword [rbp + 0x380]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
lea rcx, [rbp + 0xfe]
call fcn.140010690
mov qword [rbp + 0xb0], rax
mov r8, rdx
mov rdx, qword [rbp + 0xb0]
lea rcx, [rbp + 0x368]
mov qword [rbp + 0xb8], rcx
call fcn.140040af0
mov rcx, qword [rbp + 0xb8]
call fcn.140016970
mov qword [rbp + 0xc0], rdx
mov qword [rbp + 0xc8], rax
jmp 0x14004c24d
mov rax, qword [rbp + 0x360]
mov qword [rbp + 0x568], rax
cmp word [rax], 0
je 0x14004c1af
mov rax, qword [rbp + 0x348]
add rax, 1
mov qword [rbp + 0xa8], rax
setb al
test al, 1
jne 0x14004c902
jmp 0x14004c8ef
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 + 0x570], rcx
mov qword [rbp + 0x578], rax
mov qword [rbp + 0x348], 0
lea rcx, [rbp + 0x308]
mov edx, 0x20
call fcn.14003ada0
mov qword [rbp + 0x98], rdx
mov qword [rbp + 0xa0], rax
jmp 0x14004c2a9
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0xa0]
call fcn.14000a490
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x80], rax
jmp 0x14004c2c9
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x80]
mov qword [rbp + 0x388], rcx
mov qword [rbp + 0x390], rax
lea rcx, [rbp + 0x388]
call fcn.14000b050
mov qword [rbp + 0x70], rax
jmp 0x14004c2f4
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x398], rax
mov rax, qword [rbp + 0x398]
cmp rax, 0
sete al
test al, 1
jne 0x14004c313
jmp 0x14004c345
mov rax, qword [rbp + 0x348]
mov qword [rbp + 0x3b8], rax
mov rdx, qword [rbp + 0x3b8]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
lea rcx, [rbp + 0x308]
call fcn.1400106c0
mov qword [rbp + 0x60], rdx
mov qword [rbp + 0x68], rax
jmp 0x14004c378
mov rax, qword [rbp + 0x398]
mov qword [rbp + 0x580], rax
cmp word [rax], 0
je 0x14004c313
mov rax, qword [rbp + 0x348]
add rax, 1
mov qword [rbp + 0x58], rax
setb al
test al, 1
jne 0x14004c8d2
jmp 0x14004c8c2
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
call fcn.14003ada0
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x50], rax
jmp 0x14004c38f
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x50]
call fcn.14000a110
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x40], rax
jmp 0x14004c3a6
mov r8, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x3a0]
call fcn.140016c10
jmp 0x14004c3bc
mov eax, dword [rbp + 0xdc]
add ax, 0x41
mov word [rbp + 0x36], ax
setb al
test al, 1
jne 0x14004c430
mov ax, word [rbp + 0x36]
mov word [rbp + 0x3c2], 0x5c
mov word [rbp + 0x3c4], 0x5c
mov word [rbp + 0x3c6], 0x2e
mov word [rbp + 0x3c8], 0x5c
mov word [rbp + 0x3ca], ax
mov word [rbp + 0x3cc], 0x3a
mov word [rbp + 0x3ce], 0
lea rcx, [rbp + 0x3c2]
mov edx, 7
xor r8d, r8d
call fcn.14004ba50
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], rax
jmp 0x14004c44c
lea rcx, str.attempt_to_add_with_overflow_rustc_79e9716c980570bfd1f666e3b16ac583f0168962librarycore_srciter_traits_accum.rs
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
mov edx, 0x1c
call fcn.14009f4b0
jmp 0x14004c44a
ud2
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
call fcn.14003db80
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], rax
jmp 0x14004c463
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 0x3d8], rcx
mov qword [rbp + 0x3e0], rax
cmp qword [rbp + 0x3d8], 0
jne 0x14004c4b3
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x588], rax
mov qword [rbp + 0x3d0], rax
lea rcx, [rbp + 0x400]
lea rdx, [rbp + 0xf6]
mov r8d, 4
call fcn.14004bba0
jmp 0x14004c4c4
mov rcx, qword [rbp + 0xe0]
call fcn.14003df50
jmp 0x14004c8af
lea rcx, [rbp + 0x3e8]
lea rdx, [rbp + 0x400]
call fcn.14003dc20
jmp 0x14004c4d9
cmp qword [rbp + 0x3e8], 0
jne 0x14004c51d
mov rax, qword [rbp + 0x3f0]
mov qword [rbp], rax
mov rcx, qword [rbp + 0x3f8]
mov qword [rbp + 8], rcx
mov qword [rbp + 0x590], rax
mov qword [rbp + 0x598], rcx
mov qword [rbp + 0x5a0], rax
mov qword [rbp + 0x5a8], rcx
cmp rax, 0
je 0x14004c52e
jmp 0x14004c541
mov rcx, qword [rbp + 0xe0]
call fcn.14003df50
jmp 0x14004c89c
mov rax, qword [rbp + 0xe0]
mov qword [rax], 3
jmp 0x14004c684
mov byte [rbp + 0x427], 0
mov dword [rbp + 0x418], 7
mov dword [rbp + 0x41c], 0
mov al, byte [rbp + 0x427]
mov byte [rbp + 0x420], al
mov byte [rbp + 0x5b7], 0
mov qword [rbp + 0x5b8], 1
mov byte [rbp + 0x5c7], 0
mov qword [rbp + 0x5c8], 1
lea rax, [rbp + 0x5e0]
mov qword [rbp + 0x600], rax
mov dword [rbp + 0x5e8], 0
mov qword [rbp + 0x5e0], 0
mov eax, dword [rbp + 0x5e8]
mov dword [rbp + 0x5d8], eax
mov rax, qword [rbp + 0x5e0]
mov qword [rbp + 0x5d0], rax
mov eax, dword [rbp + 0x5d8]
mov dword [rbp + 0x5f8], eax
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x5f0], rax
mov eax, dword [rbp + 0x5f8]
mov dword [rbp + 0x430], eax
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x428], rax
mov dword [rbp + 0x434], 0
mov rcx, qword [rbp + 0x3d0]
mov qword [rbp + 0x668], 0
mov qword [rbp + 0x670], 0
mov qword [rbp + 0x680], 0
mov rax, qword [rbp + 0x680]
mov qword [rbp + 0x678], rax
mov rdx, qword [rbp + 0x678]
mov rax, rsp
mov qword [rax + 0x38], rdx
lea rdx, [rbp + 0x434]
mov qword [rax + 0x30], rdx
lea rdx, [rbp + 0x428]
mov qword [rax + 0x20], rdx
mov dword [rax + 0x28], 0xc
mov edx, 0x2d1400
lea r8, [rbp + 0x418]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
mov dword [rbp - 4], eax
jmp 0x14004c695
lea rcx, [rbp + 0x3d0]
call fcn.14000f4a0
jmp 0x14004c8a1
mov eax, dword [rbp - 4]
cmp eax, 0
jne 0x14004c6b5
mov qword [rbp + 0x440], 0xffffffffffffffff
mov qword [rbp + 0x438], 2
jmp 0x14004c6ee
cmp dword [rbp + 0x434], 0xc
jne 0x14004c69d
mov al, byte [rbp + 0x430]
cmp al, 0
sete cl
and cl, 1
mov byte [rbp + 0x5b6], cl
cmp al, 0
jne 0x14004c6e3
mov qword [rbp + 0x438], 1
jmp 0x14004c6ee
mov qword [rbp + 0x438], 0
mov r8, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x438]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x440]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x4d8]
call fcn.140018070
jmp 0x14004c720
lea rcx, [rbp + 0x3a0]
call fcn.140023230
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
jmp 0x14004c736
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x4f8]
call fcn.140034cc0
jmp 0x14004c74c
lea rcx, [rbp + 0x510]
lea rdx, [rbp + 0xf6]
mov r8d, 4
call fcn.140034cf0
jmp 0x14004c767
mov qword [rbp + 0x540], 3
mov rdx, qword [rbp + 0x540]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
lea rcx, [rbp + 0xf6]
call fcn.140010720
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rax
jmp 0x14004c796
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp + 0x528]
call fcn.140040af0
jmp 0x14004c7ac
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 + 0x448], r10
mov qword [rbp + 0x450], r9
movups xmm0, xmmword [rbp + 0x4d8]
movups xmm1, xmmword [rbp + 0x4e8]
movups xmmword [rbp + 0x468], xmm1
movups xmmword [rbp + 0x458], 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 r9, qword [rbp + 0x538]
mov qword [rbp + 0x4b8], r9
movups xmm0, xmmword [rbp + 0x528]
movups xmmword [rbp + 0x4a8], xmm0
mov qword [rbp + 0x4c0], r8
mov qword [rbp + 0x4c8], rdx
and al, 1
mov byte [rbp + 0x4d0], al
lea rdx, [rbp + 0x448]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x3d0]
call fcn.14000f4a0
jmp 0x14004c87d
lea rcx, [rbp + 0x3a0]
call fcn.1400579d0
jmp 0x14004c88b
lea rcx, [rbp + 0x368]
call fcn.140057900
jmp 0x14004bf2a
jmp 0x14004c684
lea rcx, [rbp + 0x3a0]
call fcn.1400579d0
jmp 0x14004c8b1
jmp 0x14004c8a1
lea rcx, [rbp + 0x368]
call fcn.140057900
jmp 0x14004bf2a
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x348], rax
jmp 0x14004c2e2
lea rcx, str.attempt_to_add_with_overflow_rustc_79e9716c980570bfd1f666e3b16ac583f0168962librarycore_srciter_traits_accum.rs
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
mov edx, 0x1c
call fcn.14009f4b0
jmp 0x14004c44a
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x348], rax
jmp 0x14004c188
lea rcx, str.attempt_to_add_with_overflow_rustc_79e9716c980570bfd1f666e3b16ac583f0168962librarycore_srciter_traits_accum.rs
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
mov edx, 0x1c
call fcn.14009f4b0
ud2