Function at 0x1400b8f70
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 r15, rcx
mov rbx, qword [rsp + 0x538]
mov r14d, dword [rsp + 0x530]
mov r12d, dword [rsp + 0x528]
mov rax, qword [rsp + 0x520]
mov qword [rsp + 0x1d0], rdx
mov qword [rsp + 0x1f8], rax
shr rsi, 1
cmp rsi, rax
jae 0x1400b9711
cmp r12d, r14d
jae 0x1400b9731
mov qword [rsp + 0x1c0], r15
mov rbx, qword [rbx]
mov esi, 8
lea r15, [rsp + 0x48]
xorps xmm6, xmm6
xor ebp, ebp
xor eax, eax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x118], rbx
mov eax, dword [rbx]
bt eax, r12d
jae 0x1400b93cb
lea edi, [r12 + 0x41]
mov word [rsp + 0x48], di
mov dword [rsp + 0x4a], 0x5c003a
mov word [rsp + 0x4e], 0
mov rcx, r15
call sub.kernel32.dll_GetDriveTypeW
mov r13d, eax
lea eax, [r13 - 4]
cmp eax, 0xfffffffe
jb 0x1400b93cb
mov qword [rsp + 0x120], rbp
mov r8d, 0x20a
lea rbp, [rsp + 0x290]
mov rcx, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x220], xmm6
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
lea rax, [rsp + 0x200]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, r15
mov rdx, rbp
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x1400b93c3
xor ecx, ecx
cmp word [rsp + rcx*2 + 0x290], 0
je 0x1400b90d5
inc rcx
cmp rcx, 0x105
jne 0x1400b90b7
mov ecx, 0x105
jmp 0x1400b90e2
cmp rcx, 0x106
jae 0x1400b9ae9
lea rax, [rsp + rcx*2]
add rax, 0x290
xor ecx, ecx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], 1
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x88], rax
mov word [rsp + 0x90], 0
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x80]
call fcn.1400b9fd3
mov rbp, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xf0]
xor ebx, ebx
cmp word [rsp + rbx*2 + 0x200], 0
je 0x1400b916e
inc rbx
cmp rbx, 0x20
jne 0x1400b9153
mov ebx, 0x20
jmp 0x1400b9178
cmp rbx, 0x21
jae 0x1400b9af7
mov rcx, rbx
call fcn.1400c2e62
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], 0
cmp rax, rbx
jb 0x1400b96ea
xor r14d, r14d
test rbx, rbx
je 0x1400b91c9
add rbx, rbx
xor eax, eax
mov cl, byte [rsp + rax + 0x200]
mov byte [rdx + r14], cl
inc r14
add rax, 2
cmp rbx, rax
jne 0x1400b91b2
mov qword [rsp + 0x148], r14
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x1b2], rax
mov word [rsp + 0x1ba], di
mov dword [rsp + 0x1bc], 0x3a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x1b2]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x1400b935d
mov rbx, rax
xor eax, eax
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x48]
xor edx, edx
lea r8, [rsp + 0x170]
lea r9, [rsp + 0x80]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400b9358
mov rax, qword [rsp + 0x170]
test rax, rax
je 0x1400b9358
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x1e0], 7
mov byte [rsp + 0x1e8], 0
xor eax, eax
mov dword [rsp + 0x130], eax
mov qword [rsp + 0x128], rax
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xc
mov rcx, rbx
mov edx, 0x2d1400
lea r8, [rsp + 0x1e0]
mov r9d, 0xc
call qword [sym.imp.kernel32.dll_DeviceIoControl]
xor edi, edi
cmp byte [rsp + 0x130], 0
sete dil
cmp dword [rsp + 0x5c], 0xc
mov ecx, 2
cmovne rdi, rcx
test eax, eax
cmove rdi, rcx
test r15, r15
je 0x1400b93dc
js 0x1400b9b27
mov rbp, r15
not rbp
shr rbp, 0x3f
mov rcx, r15
mov rdx, rbp
call fcn.1400430d0
test rax, rax
jne 0x1400b93e1
jmp 0x1400b9b2e
mov rcx, rbx
jmp 0x1400b9364
mov rcx, 0xffffffffffffffff
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsp + 0x138], 0
mov r14d, dword [rsp + 0x530]
mov rbx, qword [rsp + 0x118]
lea r15, [rsp + 0x48]
je 0x1400b93a1
mov r8, qword [rsp + 0x140]
mov rcx, qword [0x140154958]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xe0], 0
je 0x1400b93c3
mov r8, qword [rsp + 0xe8]
mov rcx, qword [0x140154958]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbp, qword [rsp + 0x120]
inc r12d
cmp r12d, r14d
jne 0x1400b9002
jmp 0x1400b9767
mov eax, 1
cmp r13d, 2
sete byte [rsp + 0x47]
mov qword [rsp + 0x100], rax
mov rcx, rax
mov rdx, qword [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov r15, qword [rsp + 0x140]
mov rcx, r14
call fcn.1400c2e62
mov qword [rsp + 0xf8], rax
mov r13, rdx
mov rcx, rdx
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov ecx, 4
call fcn.1400ba1cd
mov qword [rsp + 0x1c8], rax
mov r15, rdx
mov rax, qword [rsp + 0x48]
mov qword [rdx], rax
xor ebp, ebp
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x178], 1
mov qword [rsp + 0x180], rbp
lea rax, [rsp + 0x4e]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov word [rsp + 0x90], 0
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0x80]
call fcn.1400b9fd3
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x57]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7b], ecx
movups xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x170]
mov ecx, dword [rsp + 0x173]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x57], ecx
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsp + 0x138], rbp
je 0x1400b951a
mov r8, qword [rsp + 0x140]
mov rcx, qword [0x140154958]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xe0], 0
mov rbx, qword [rsp + 0x118]
mov rbp, qword [rsp + 0x120]
je 0x1400b954c
mov r8, qword [rsp + 0xe8]
mov rcx, qword [0x140154958]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x7b]
mov dword [rsp + 0x170], eax
mov dword [rsp + 0x173], ecx
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x200], xmm0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x57]
mov dword [rsp + 0x138], eax
mov dword [rsp + 0x13b], ecx
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x298], rsi
mov qword [rsp + 0x2a0], rbp
cmp rbp, rax
jne 0x1400b95ed
lea rcx, [rsp + 0x290]
mov rdx, rbp
call fcn.1400b8617
mov rbp, qword [rsp + 0x2a0]
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0xd8], rax
mov rsi, qword [rsp + 0x298]
mov r8, qword [rsp + 0x110]
mov r9, qword [rsp + 0x108]
mov r10b, byte [rsp + 0x47]
mov rdx, qword [rsp + 0x100]
mov r11, qword [rsp + 0xf8]
lea rax, [rbp*8]
add rax, rbp
shl rax, 4
mov rcx, qword [rsp + 0xd0]
mov qword [rsi + rax], rcx
mov qword [rsi + rax + 8], rdx
mov qword [rsi + rax + 0x10], rcx
mov byte [rsi + rax + 0x18], 0
mov ecx, dword [rsp + 0x170]
mov edx, dword [rsp + 0x173]
mov dword [rsi + rax + 0x19], ecx
mov dword [rsi + rax + 0x1c], edx
mov qword [rsi + rax + 0x20], rdi
mov qword [rsi + rax + 0x28], 0xffffffffffffffff
mov qword [rsi + rax + 0x30], r8
mov qword [rsi + rax + 0x38], r9
mov qword [rsi + rax + 0x40], r11
mov qword [rsi + rax + 0x48], r13
mov qword [rsi + rax + 0x50], r14
mov rcx, qword [rsp + 0x1c8]
mov qword [rsi + rax + 0x58], rcx
mov qword [rsi + rax + 0x60], r15
mov qword [rsi + rax + 0x68], 4
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rsi + rax + 0x70], xmm0
mov rcx, qword [rsp + 0x210]
mov qword [rsi + rax + 0x80], rcx
mov byte [rsi + rax + 0x88], r10b
mov ecx, dword [rsp + 0x138]
mov edx, dword [rsp + 0x13b]
mov dword [rsi + rax + 0x8c], edx
mov dword [rsi + rax + 0x89], ecx
inc rbp
mov r14d, dword [rsp + 0x530]
lea r15, [rsp + 0x48]
jmp 0x1400b93cb
lea rcx, [rsp + 0x138]
xor edx, edx
mov r8, rbx
call fcn.1401105ed
mov rdx, qword [rsp + 0x140]
mov r14, qword [rsp + 0x148]
jmp 0x1400b91a8
mov rdi, r9
test r8b, r8b
je 0x1400b9818
call fcn.14008f52f
shr rdi, 1
cmp rax, rdi
cmova rdi, rax
jmp 0x1400b9824
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 8
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x210], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x200], xmm0
jmp 0x1400b97fa
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rbp
xorps xmm0, xmm0
movaps xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], 0
test rbp, rbp
mov r15, qword [rsp + 0x1c0]
je 0x1400b97fa
mov rax, qword [rsp + 0x90]
lea rdx, [rsp + 0x290]
mov qword [rdx + 0x10], rax
mov rax, qword [rsp + 0x80]
mov qword [rdx], rax
mov rax, qword [rsp + 0x88]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x200]
mov rcx, rsi
call fcn.1400b8808
mov rax, qword [rsi + 0x10]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [rsi]
movups xmmword [r15], xmm0
jmp 0x1400b99b8
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
lea rcx, [rsp + 0x80]
call fcn.1400b8a32
jmp 0x1400b99b8
test rdi, rdi
je 0x1400b8fcd
shr rdi, 1
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1d8], rsi
xor eax, eax
mov ecx, r14d
sub ecx, r12d
cmovb ecx, eax
cmp rsi, rcx
ja 0x1400b9b0d
add esi, r12d
mov dword [rsp + 0xa0], esi
mov dword [rsp + 0xa4], r14d
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x1f0]
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], rbx
mov dword [rsp + 0x80], r12d
mov dword [rsp + 0x84], esi
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rbx
lea rcx, [0x14008d855]
call fcn.14008d9ba
test rax, rax
jne 0x1400b98fb
call fcn.14008de56
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
lea rcx, [0x14008d855]
call fcn.14008d9ba
test rax, rax
je 0x1400b99d4
cmp qword [rax + 0x140], rsi
jne 0x1400b9ac9
lea rcx, [rsp + 0x290]
lea rdx, [rsp + 0x80]
mov r8, rax
xor r9d, r9d
call fcn.1400b8b91
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 0x1400b997b
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
test r8, r8
je 0x1400b99a3
mov qword [rcx], r8
mov qword [r8 + 8], rcx
mov rcx, qword [rsp + 0x68]
xorps xmm0, xmm0
add rax, qword [rsp + 0x70]
movups xmmword [rsp + 0x68], xmm0
jmp 0x1400b99a3
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 [r15], rdx
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], rax
lea rcx, [rsp + 0x60]
call fcn.1400b9b56
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 [0x140154a00]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0xa8], 0
jne 0x1400b99f8
xor ecx, ecx
call fcn.14008d8e2
lea rax, [rsp + 0x208]
lea rsi, [rsp + 0x80]
mov ecx, 9
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov ecx, dword [0x140154a00]
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 r8, [0x1400b9de0]
lea rsi, [rsp + 0x200]
mov rcx, rbx
mov rdx, rsi
call fcn.14008f334
mov rcx, qword [rsi]
call fcn.14008dd69
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 + 0x170]
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 + 0x140]
mov rcx, rsi
call fcn.1400b8b3a
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 0x1400b9916
lea rcx, [rsp + 0x290]
lea r9, [rsp + 0x80]
mov rdx, rbx
mov r8, rax
call fcn.1401122ef
jmp 0x1400b9916
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.27.8_srcwindowsdisk.rs
mov edx, 0x105
jmp 0x1400b9b06
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.27.8_srcwindowsdisk.rs
mov edx, 0x20
mov rcx, rbx
call fcn.14010bf40
ud2
lea rcx, [0x1401378cf]
lea r8, [0x140137960]
mov edx, 0x2b
call fcn.14010bf50
ud2
call fcn.140043290
ud2
mov rcx, r15
mov rdx, rbp
call fcn.14010bac0
ud2