Function at 0x1400b9fc9
Capabilities:
Get disk information
Get disk size
Get storage device properties

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b8
movaps xmmword [rsp + 0x4a0], xmm6
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rsp + 0x538]
mov r15d, dword [rsp + 0x530]
mov r13d, dword [rsp + 0x528]
mov rax, qword [rsp + 0x520]
mov qword [rsp + 0x198], rdx
mov qword [rsp + 0x1b8], rax
shr rsi, 1
cmp rsi, rax
jae 0x1400ba855
mov qword [rsp + 0x150], r14
xorps xmm6, xmm6
movaps xmmword [rsp + 0xf0], xmm6
mov esi, 8
cmp r13d, r15d
jae 0x1400ba7a7
mov r12, qword [rbx]
lea rdi, [rsp + 0x50]
mov qword [rsp + 0x158], r12
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x250], xmm0
mov eax, dword [r12]
bt eax, r13d
jae 0x1400ba443
lea ebx, [r13 + 0x41]
mov word [rsp + 0x50], bx
mov dword [rsp + 0x52], 0x5c003a
mov word [rsp + 0x56], 0
mov rcx, rdi
call sub.kernel32.dll_GetDriveTypeW
mov r14d, eax
lea eax, [r14 - 4]
cmp eax, 0xfffffffe
jb 0x1400ba443
mov r8d, 0x20a
lea rbp, [rsp + 0x290]
mov rcx, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rdi
mov rdx, rbp
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x1400ba443
xor ecx, ecx
cmp word [rsp + rcx*2 + 0x290], 0
je 0x1400ba133
inc rcx
cmp rcx, 0x105
jne 0x1400ba115
mov ecx, 0x105
jmp 0x1400ba140
cmp rcx, 0x106
jae 0x1400bab65
lea rax, [rsp + rcx*2]
add rax, 0x290
mov qword [rsp + 0x100], 1
lea rcx, [rsp + 0x108]
movups xmmword [rcx], xmm6
lea rcx, [rsp + 0x290]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rax
mov word [rsp + 0xb0], 0
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0xa0]
call fcn.1400b8f6a
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x108]
mov rbp, qword [rsp + 0x110]
xor edi, edi
mov qword [rsp + 0x168], rax
cmp word [rsp + rdi*2 + 0x1c0], 0
je 0x1400ba1dd
inc rdi
cmp rdi, 0x20
jne 0x1400ba1c2
mov edi, 0x20
jmp 0x1400ba1e7
cmp rdi, 0x21
jae 0x1400bab73
mov rcx, rdi
call fcn.14008bd36
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], 0
cmp rdx, rdi
jb 0x1400ba780
mov r15, rax
xor r12d, r12d
test rdi, rdi
je 0x1400ba243
add rdi, rdi
xor eax, eax
mov cl, byte [rsp + rax + 0x1c0]
mov byte [r15 + r12], cl
inc r12
add rax, 2
cmp rdi, rax
jne 0x1400ba224
mov r15, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x160], rax
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x90], rax
mov word [rsp + 0x98], bx
mov dword [rsp + 0x9a], 0x3a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
je 0x1400ba3e7
mov rbx, rax
xor eax, eax
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xa0], rax
mov rcx, rdi
xor edx, edx
lea r8, [rsp + 0x100]
lea r9, [rsp + 0xa0]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400ba3e2
mov rax, qword [rsp + 0x100]
test rax, rax
je 0x1400ba3e2
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x1a0], 7
mov byte [rsp + 0x1a8], 0
xor eax, eax
mov dword [rsp + 0x178], eax
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xc
mov rcx, rbx
mov edx, 0x2d1400
lea r8, [rsp + 0x1a0]
mov r9d, 0xc
call qword [sym.imp.kernel32.dll_DeviceIoControl]
xor edx, edx
cmp byte [rsp + 0x178], 0
sete dl
cmp dword [rsp + 0x5c], 0xc
mov ecx, 2
cmovne rdx, rcx
test eax, eax
cmove rdx, rcx
test rbp, rbp
mov qword [rsp + 0x138], rdx
je 0x1400ba464
js 0x1400baba3
mov rdi, rbp
not rbp
shr rbp, 0x3f
mov al, byte [0x140152a70]
mov rcx, rdi
mov rdx, rbp
call fcn.140041bf0
test rax, rax
jne 0x1400ba46c
jmp 0x1400babaa
mov rcx, rbx
jmp 0x1400ba3ee
mov rcx, 0xffffffffffffffff
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsp + 0x160], 0
mov r12, qword [rsp + 0x158]
je 0x1400ba419
mov rcx, qword [0x1401529c8]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x168], 0
mov r15d, dword [rsp + 0x530]
je 0x1400ba443
mov rcx, qword [0x1401529c8]
xor edx, edx
mov r8, qword [rsp + 0xe8]
call qword [sym.imp.kernel32.dll_HeapFree]
movaps xmm0, xmmword [rsp + 0x250]
movaps xmmword [rsp + 0xf0], xmm0
inc r13d
cmp r13d, r15d
jne 0x1400ba057
jmp 0x1400ba7a7
mov eax, 1
mov rdi, rbp
cmp r14d, 2
sete byte [rsp + 0x4f]
mov rbp, rax
mov rcx, rax
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x190], rdi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r12
call fcn.14008bd36
mov rdi, rax
mov qword [rsp + 0x188], rdx
mov rcx, rax
mov rdx, r15
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
mov ecx, 4
call fcn.1400b998e
mov r14, rax
mov qword [rsp + 0x180], rdx
mov rax, qword [rsp + 0x50]
mov qword [r14], rax
mov qword [rsp + 0x100], 1
lea rax, [rsp + 0x108]
movups xmmword [rax], xmm6
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x56]
mov qword [rsp + 0xa8], rax
mov word [rsp + 0xb0], 0
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0xa0]
call fcn.1400b8f6a
movups xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x100]
mov ecx, dword [rsp + 0x103]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8b], ecx
mov eax, dword [rsp + 0x100]
mov ecx, dword [rsp + 0x103]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x83], ecx
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsp + 0x160], 0
je 0x1400ba59f
mov rcx, qword [0x1401529c8]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x168], 0
je 0x1400ba5c1
mov rcx, qword [0x1401529c8]
xor edx, edx
mov r8, qword [rsp + 0xe8]
call qword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8b]
mov dword [rsp + 0x100], eax
mov dword [rsp + 0x103], ecx
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x1c0], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x83]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x93], ecx
mov qword [rsp + 0x290], rsi
movaps xmm0, xmmword [rsp + 0x250]
lea rax, [rsp + 0x298]
movups xmmword [rax], xmm0
mov rdx, qword [rsp + 0x2a0]
cmp rdx, qword [rsp + 0x298]
mov r15d, dword [rsp + 0x530]
jne 0x1400ba66b
lea rcx, [rsp + 0x290]
call fcn.1400b67b6
mov rsi, qword [rsp + 0x290]
mov rdx, qword [rsp + 0x2a0]
mov r9, qword [rsp + 0x148]
mov r10, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x138]
mov r11b, byte [rsp + 0x4f]
lea rax, [rdx + rdx*8]
shl rax, 4
mov qword [rsi + rax], rcx
mov qword [rsi + rax + 8], 0xffffffffffffffff
mov qword [rsi + rax + 0x10], rbp
mov rbp, qword [rsp + 0x190]
mov qword [rsi + rax + 0x18], rbp
mov qword [rsi + rax + 0x20], rbp
mov byte [rsi + rax + 0x28], 0
mov ecx, dword [rsp + 0x100]
mov r8d, dword [rsp + 0x103]
mov dword [rsi + rax + 0x29], ecx
mov dword [rsi + rax + 0x2c], r8d
mov qword [rsi + rax + 0x30], rdi
mov rcx, qword [rsp + 0x188]
mov qword [rsi + rax + 0x38], rcx
mov qword [rsi + rax + 0x40], r12
mov qword [rsi + rax + 0x48], r14
mov rcx, qword [rsp + 0x180]
mov qword [rsi + rax + 0x50], rcx
mov qword [rsi + rax + 0x58], 4
movaps xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rsi + rax + 0x60], xmm0
mov rcx, qword [rsp + 0x1d0]
mov qword [rsi + rax + 0x70], rcx
mov qword [rsi + rax + 0x78], r9
mov qword [rsi + rax + 0x80], r10
mov byte [rsi + rax + 0x88], r11b
mov ecx, dword [rsp + 0x90]
mov r8d, dword [rsp + 0x93]
mov dword [rsi + rax + 0x8c], r8d
mov dword [rsi + rax + 0x89], ecx
inc rdx
mov qword [rsp + 0x2a0], rdx
lea rax, [rsp + 0x298]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xf0], xmm0
mov r12, qword [rsp + 0x158]
lea rdi, [rsp + 0x50]
jmp 0x1400ba453
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8, rdi
call fcn.14010bf3f
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xb0]
jmp 0x1400ba21a
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rsp + 0x1c8], xmm0
mov qword [rsp + 0x1c0], rsi
movaps xmmword [rsp + 0x290], xmm6
mov qword [rsp + 0x2a0], 0
cmp qword [rsp + 0x1d0], 0
je 0x1400ba9d2
lea rsi, [rsp + 0x290]
mov rcx, rsi
call fcn.1400b68ac
movups xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rax], xmm0
mov rcx, qword [rsp + 0x1d0]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0
mov rcx, qword [rsi + 8]
mov qword [rax + 0x20], rcx
lea rdx, [rcx + 0x18]
test rcx, rcx
cmove rdx, rsi
mov qword [rdx], rax
mov qword [rsi + 8], rax
mov rax, qword [rsi + 0x10]
inc rax
mov qword [rsi + 0x10], rax
mov rcx, qword [rsp + 0x150]
mov qword [rcx + 0x10], rax
mov rax, qword [rsi]
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov qword [rcx + 8], rax
jmp 0x1400baa34
mov rdi, r9
test r8b, r8b
je 0x1400ba86e
call fcn.14008d284
shr rdi, 1
cmp rax, rdi
cmova rdi, rax
jmp 0x1400ba87a
test rdi, rdi
je 0x1400ba026
shr rdi, 1
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0xf0], rsi
xor eax, eax
mov ecx, r15d
sub ecx, r13d
cmovb ecx, eax
cmp rsi, rcx
ja 0x1400bab89
add esi, r13d
lea rax, [rsp + 0x198]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rbx
mov dword [rsp + 0xc0], esi
mov dword [rsp + 0xc4], r15d
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd8], rbx
mov dword [rsp + 0xe0], r13d
mov dword [rsp + 0xe4], esi
lea rcx, [0x14008b97f]
call fcn.14008ba98
test rax, rax
jne 0x1400ba951
call fcn.14008bebf
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
lea rcx, [0x14008b97f]
call fcn.14008ba98
test rax, rax
je 0x1400baa50
cmp qword [rax + 0x110], rsi
jne 0x1400bab45
lea rcx, [rsp + 0x290]
lea rdx, [rsp + 0xa0]
mov r8, rax
xor r9d, r9d
call fcn.1400b9be5
mov rdx, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x298]
mov rax, qword [rsp + 0x2a0]
movups xmm0, xmmword [rsp + 0x2a8]
movaps xmmword [rsp + 0x60], xmm0
mov r8, qword [rsp + 0x2b8]
mov qword [rsp + 0x70], r8
test rcx, rcx
je 0x1400ba9f7
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
test r8, r8
je 0x1400baa1f
mov qword [rcx + 0x18], r8
mov qword [r8 + 0x20], rcx
mov rcx, qword [rsp + 0x68]
xorps xmm0, xmm0
add rax, qword [rsp + 0x70]
movups xmmword [rsp + 0x68], xmm0
jmp 0x1400baa1f
xorps xmm0, xmm0
mov rax, qword [rsp + 0x150]
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
lea rcx, [rsp + 0x1c0]
call fcn.1400b68e8
jmp 0x1400baa34
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rax
mov rdx, r8
mov rax, r9
mov qword [r14], rdx
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rax
lea rcx, [rsp + 0x60]
call fcn.1400babde
movaps xmm6, xmmword [rsp + 0x4a0]
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [0x140152a74]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0xa8], 0
jne 0x1400baa74
xor ecx, ecx
call fcn.14008ba0b
lea rax, [rsp + 0x1c8]
lea rsi, [rsp + 0xa0]
mov ecx, 9
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov ecx, dword [0x140152a74]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
lea rcx, [rcx + 0xb0]
mov qword [rax - 8], rcx
mov qword [rax + 0x48], 0
lea rdx, [0x1400bae70]
lea rsi, [rsp + 0x1c0]
mov rcx, rbx
mov r8, rsi
call fcn.14008d083
mov rcx, qword [rsi]
call fcn.14008bdd2
lea rdi, [rsp + 0x290]
mov r8d, 0x88
mov rcx, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x80]
lea rdx, [rsp + 0x100]
mov qword [rdx + 0x30], rax
movups xmm0, xmmword [rdi + 0x50]
movups xmm1, xmmword [rdi + 0x60]
movups xmm2, xmmword [rdi + 0x70]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea rsi, [rsp + 0x258]
mov rcx, rsi
call fcn.1400b6b4d
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi + 0x20], xmm2
jmp 0x1400ba96c
lea rcx, [rsp + 0x290]
lea r9, [rsp + 0xa0]
mov rdx, rbx
mov r8, rax
call fcn.14010ff47
jmp 0x1400ba96c
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.27.8_srcwindowsdisk.rs
mov edx, 0x105
jmp 0x1400bab82
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.27.8_srcwindowsdisk.rs
mov edx, 0x20
mov rcx, rdi
call fcn.1401098b0
ud2
lea rcx, [0x1401359ff]
lea r8, [0x140135a90]
mov edx, 0x2b
call fcn.140109930
ud2
call fcn.140041db0
ud2
mov rcx, rbp
mov rdx, rdi
call fcn.1401093b0
ud2