Function at 0x14003b281
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, 0x4d8
movaps xmmword [rsp + 0x4c0], xmm6
nop
push rdx
pop rsi
mov qword [rsp + 0x88], rcx
mov r14, qword [rsp + 0x558]
mov ebp, dword [rsp + 0x550]
mov edi, dword [rsp + 0x548]
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x150], rdx
lea rbx, [rsp + 0x2a0]
mov qword [rbx], r9
mov qword [rbx + 8], rax
mov rcx, rbx
call fcn.140039aa2
test al, al
je 0x14003b46f
shr rsi, 1
mov qword [rsp + 0x158], rsi
sub eax, eax
mov ecx, ebp
sub ecx, edi
cmovb ecx, eax
cmp rsi, rcx
ja 0x14003bc9d
add esi, edi
lea rax, [rsp + 0x150]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rbx
mov qword [rsp + 0x190], r14
mov dword [rsp + 0x198], esi
mov dword [rsp + 0x19c], ebp
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rbx
mov qword [rsp + 0x1b0], r14
mov dword [rsp + 0x1b8], edi
mov dword [rsp + 0x1bc], esi
call fcn.14000f384
test rax, rax
je 0x14003ba70
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x178]
mov r8, rax
sub r9d, r9d
call fcn.14003af0e
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rsp + 0x118]
movaps xmmword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x14003bb34
mov rcx, qword [rsp + 0xe0]
and qword [rsp + 0xe0], 0
test rcx, rcx
je 0x14003b432
mov qword [rax + 0x18], rcx
mov qword [rcx + 0x20], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xc8], rax
add qword [rsp + 0xd0], rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x88]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xc0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc8]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0xe0]
call fcn.14003b21c
jmp 0x14003bb85
mov rbx, qword [r14]
mov eax, 8
mov qword [rsp + 0xa0], rax
lea r12, [rsp + 0x4c]
lea r13, [rsp + 0x2b0]
xorps xmm6, xmm6
xor eax, eax
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [rsp + 0x98], rax
mov rsi, r14
mov qword [rsp + 0xf8], rbx
cmp edi, ebp
jae 0x14003b9dd
mov eax, dword [rbx]
bt eax, edi
jae 0x14003b9d6
lea r15d, [rdi + 0x41]
mov word [rsp + 0x4c], r15w
mov dword [rsp + 0x4e], 0x5c003a
and word [rsp + 0x52], 0
mov rcx, r12
call sub.KERNEL32.dll_GetDriveTypeW
mov r14d, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14003b579
mov r8d, 0x20a
mov rcx, r13
sub edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x290], xmm6
movaps xmmword [rsp + 0x280], xmm6
movaps xmmword [rsp + 0x270], xmm6
movaps xmmword [rsp + 0x260], xmm6
lea rax, [rsp + 0x260]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, r12
mov rdx, r13
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
or eax, eax
je 0x14003b579
mov eax, 0x20a
sub r8d, r8d
lea r12, [rsp + 0x70]
or rax, rax
je 0x14003b58a
cmp word [rsp + r8*2 + 0x2b0], 0
je 0x14003b592
inc r8
add rax, 0xfffffffffffffffe
jmp 0x14003b55f
mov qword [rsp + 0x1c0], 3
jmp 0x14003b9d6
mov r8d, 0x105
jmp 0x14003b59f
cmp r8, 0x106
jae 0x14003bc72
lea rcx, [rsp + 0x160]
mov rdx, r13
call fcn.140039cd1
mov rcx, qword [rsp + 0x168]
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x58], rax
mov eax, 0x40
xor ebx, ebx
mov qword [rsp + 0xa8], rcx
or rax, rax
je 0x14003b5ec
cmp word [rsp + rbx*2 + 0x260], 0
je 0x14003b5f3
inc rbx
add rax, 0xfffffffffffffffe
jmp 0x14003b5d3
mov ebx, 0x20
jmp 0x14003b5fd
cmp rbx, 0x21
jae 0x14003bc89
mov rcx, r12
push rbx
nop
pop rdx
sub r8d, r8d
call fcn.14000dc79
cmp qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x78]
jne 0x14003bc65
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
and qword [rsp + 0x80], 0
mov rcx, r12
push rbx
nop
pop rdx
call fcn.14000af03
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
test rbx, rbx
je 0x14003b66d
xor eax, eax
mov cl, byte [rsp + rax*2 + 0x260]
mov byte [r13 + rbp], cl
inc rbp
inc rax
cmp rbx, rax
jne 0x14003b656
mov rbx, qword [rsp + 0x70]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x70], rax
mov word [rsp + 0x78], r15w
mov dword [rsp + 0x7a], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, r12
xor edx, edx
mov r8d, 3
sub r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14003b7e8
mov r12, rax
and qword [rsp + 0xb0], 0
and qword [rsp + 0x60], 0
lea rcx, [rsp + 0x4c]
sub edx, edx
lea r8, [rsp + 0xb0]
lea r9, [rsp + 0x60]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
or eax, eax
je 0x14003b7d2
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x14003b7d2
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x138], rax
and dword [rsp + 0x68], 0
mov qword [rsp + 0xb0], 7
and qword [rsp + 0x60], 0
mov byte [rsp + 0xb8], 0
and dword [rsp + 0x54], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r12
mov edx, 0x2d1400
lea r8, [rsp + 0xb0]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
sub esi, esi
cmp byte [rsp + 0x68], 0
sete sil
cmp dword [rsp + 0x54], 0xc
mov ecx, 2
cmovne rsi, rcx
or eax, eax
cmove rsi, rcx
cmp qword [rsp + 0x58], 0
mov qword [rsp + 0x148], rbx
je 0x14003b841
js 0x14003bcb5
mov al, byte [0x14007c0f8]
xor ecx, ecx
mov rdx, qword [rsp + 0x58]
call fcn.140034ce0
or rax, rax
je 0x14003bcba
mov r15, rax
jmp 0x14003b847
mov qword [rsp + 0x1c0], 3
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
jmp 0x14003b800
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
mov qword [rsp + 0x1c0], 3
push rbx
pop rcx
nop
mov rdx, r13
call fcn.14000c2be
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xa8]
call fcn.14000c2be
mov ebp, dword [rsp + 0x550]
mov rbx, qword [rsp + 0xf8]
lea r12, [rsp + 0x4c]
lea r13, [rsp + 0x2b0]
jmp 0x14003b9d6
mov r15d, 1
mov rcx, r15
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x58]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], r15
mov qword [rsp + 0x1e0], rbx
mov byte [rsp + 0x1e8], 0
lea rcx, [rsp + 0x1f0]
mov rdx, r13
mov r8, rbp
call fcn.140039f5f
mov r8d, 4
lea rcx, [rsp + 0x208]
lea r15, [rsp + 0x4c]
mov rdx, r15
call fcn.14003bf45
mov r8d, 3
lea rcx, [rsp + 0x220]
mov rdx, r15
call fcn.140039cd1
or qword [rsp + 0x1c8], 0xffffffffffffffff
cmp r14d, 2
mov qword [rsp + 0x1c0], rsi
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x240], rax
sete byte [rsp + 0x248]
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0x148]
mov rdx, r13
call fcn.14000c2be
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xa8]
call fcn.14000c2be
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x2b0], rcx
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x2b8], rax
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x2c0], rsi
cmp rsi, rcx
lea r13, [rsp + 0x2b0]
jne 0x14003b98a
mov rcx, r13
call fcn.1400394ca
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x2b8]
imul rcx, rsi, 0x90
mov qword [rsp + 0xa0], rax
add rcx, rax
mov r8d, 0x90
lea rdx, [rsp + 0x1c0]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x98], rsi
mov rsi, qword [rsp + 0x558]
mov ebp, dword [rsp + 0x550]
mov rbx, qword [rsp + 0xf8]
lea r12, [rsp + 0x4c]
inc edi
jmp 0x14003b4ae
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rsi
or rax, rax
je 0x14003bb65
mov ecx, 8
mov edx, 0x28
call fcn.14000bf3f
test rax, rax
je 0x14003bcc9
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], 1
jmp 0x14003bb85
call fcn.14000ddb6
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14000f384
or rax, rax
je 0x14003bba1
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14003bc4d
mov rax, r14
add rax, 0x110
mov rcx, qword [r14 + 0x100]
lea r15, [rsp + 0x240]
mov qword [r15], rax
and qword [r15 + 8], 0
mov qword [r15 + 0x10], rcx
mov byte [r15 + 0x18], 1
lea r12, [rsp + 0x1c0]
lea rsi, [rsp + 0x178]
mov ecx, 9
mov rdi, r12
rep movsq qword [rdi], qword [rsi]
and qword [r12 + 0x48], 0
lea rdx, [0x14003bd05]
mov rcx, rbx
mov r8, r12
call fcn.14000f416
mov rcx, r14
mov rdx, r15
call fcn.140039a52
lea rcx, [rsp + 0x2b0]
mov r8d, 0xa0
mov rdx, r12
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2f8]
lea rcx, [rsp + 0x100]
call fcn.140039906
jmp 0x14003b398
sub eax, eax
cmp rax, 3
je 0x14003b432
mov rcx, qword [rsp + rax*8 + 0xc0]
mov rdx, qword [rsp + rax*8 + 0xe0]
mov qword [rsp + rax*8 + 0xc0], rdx
mov qword [rsp + rax*8 + 0xe0], rcx
inc rax
jmp 0x14003bb36
xorps xmm0, xmm0
mov rax, qword [rsp + 0x88]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x100]
call fcn.14003984a
movaps xmm6, xmmword [rsp + 0x4c0]
add rsp, 0x4d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
sub ecx, ecx
call fcn.140039c35
test rax, rax
je 0x14003bcd8
lea rdx, [rsp + 0x1c8]
mov qword [rdx - 8], rax
lea rsi, [rsp + 0x178]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
and qword [rdx + 0x48], 0
lea rdx, [0x14003be4c]
lea rsi, [rsp + 0x1c0]
mov rcx, rbx
mov r8, rsi
call fcn.14000f416
mov rcx, qword [rsi]
call fcn.14000dcf1
lea rcx, [rsp + 0x2b0]
mov r8d, 0x88
push rsi
nop
pop rdx
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x300]
lea rsi, [rsp + 0x268]
mov rcx, rsi
call fcn.140039906
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0x110], xmm1
movaps xmmword [rsp + 0x120], xmm2
jmp 0x14003b398
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x178]
mov r8, r14
jmp 0x14003b390
mov rdx, qword [rsp + 0x80]
call fcn.140002e60
lea rax, str._home_omnipotent_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
mov edx, 0x105
mov rcx, r8
mov r8, rax
call fcn.140004380
lea r8, str._:_a_
mov edx, 0x20
push rbx
pop rcx
nop
call fcn.140004380
lea rcx, str.assertion_failed:_index___self.range.len___home_omnipotent_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.10.0_src_range.rs
lea r8, [0x14006fc18]
mov edx, 0x2b
call fcn.1400046f0
call fcn.140002e80
mov ecx, 1
mov rdx, qword [rsp + 0x58]
call fcn.140002e60
mov ecx, 8
mov edx, 0x28
call fcn.140002ec0
lea rax, str._4_a_
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_051478957371ee0084a7c0913941d2a8c4757bb9library_std_src_threadlocal.rs
lea r9, [0x140073500]
lea r8, [rsp + 0x2b0]
mov edx, 0x46
call fcn.1400055c0
int3