Function at 0x140106f92
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, 0x578
movaps xmmword [rsp + 0x560], xmm6
mov rsi, rdx
mov qword [rsp + 0xa0], rcx
mov r14, qword [rsp + 0x5f8]
mov ebx, dword [rsp + 0x5f0]
mov r12d, dword [rsp + 0x5e8]
mov rax, qword [rsp + 0x5e0]
mov qword [rsp + 0x108], rdx
lea rdi, [rsp + 0x300]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.1401033a8
test al, al
je 0x14010710d
shr rsi, 1
mov qword [rsp + 0x110], rsi
xor eax, eax
mov ecx, ebx
sub ecx, r12d
cmovb ecx, eax
cmp rsi, rcx
ja 0x140107a48
add esi, r12d
lea rax, [rsp + 0x108]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rdi
mov qword [rsp + 0x1d0], r14
mov dword [rsp + 0x1d8], esi
mov dword [rsp + 0x1dc], ebx
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rdi
mov qword [rsp + 0x1f0], r14
mov dword [rsp + 0x1f8], r12d
mov dword [rsp + 0x1fc], esi
call fcn.1400744e5
test rax, rax
je 0x140107829
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x1b8]
mov r8, rax
xor r9d, r9d
call fcn.140106ba0
mov rax, qword [rsp + 0x70]
lea rsi, [rsp + 0x310]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsi], xmm0
movups xmm0, xmmword [rsp + 0x78]
lea rdi, [rsp + 0x330]
movaps xmmword [rdi], xmm0
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x10], rax
mov rcx, rsi
mov rdx, rdi
call fcn.1401063ac
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
mov rcx, rdi
call fcn.14010301f
jmp 0x140107919
and qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 8
and qword [rsp + 0x70], 0
mov qword [rsp + 0x78], r14
mov r15, qword [r14]
lea rsi, [rsp + 0xb0]
xorps xmm6, xmm6
cmp r12d, ebx
jae 0x140107742
mov eax, dword [r15]
bt eax, r12d
jae 0x1401074c1
lea ebp, [r12 + 0x41]
mov word [rsp + 0xb0], bp
mov dword [rsp + 0xb2], 0x5c003a
and word [rsp + 0xb6], 0
mov rcx, rsi
call sub.kernel32.dll_GetDriveTypeW
mov r13d, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x1401074c1
mov r8d, 0x20a
lea rdi, [rsp + 0x350]
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x190], xmm6
movaps xmmword [rsp + 0x180], xmm6
movaps xmmword [rsp + 0x170], xmm6
movaps xmmword [rsp + 0x160], xmm6
lea rax, [rsp + 0x160]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rsi
mov rdx, rdi
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x1401074c1
mov eax, 0x20a
xor r8d, r8d
test rax, rax
je 0x140107213
cmp word [rsp + r8*2 + 0x350], 0
je 0x14010721b
inc r8
add rax, 0xfffffffffffffffe
jmp 0x1401071f9
mov r8d, 0x105
jmp 0x140107228
cmp r8, 0x106
jae 0x140107a0f
lea rcx, [rsp + 0x118]
lea rdx, [rsp + 0x350]
call fcn.14010360d
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x40], rax
mov eax, 0x40
xor ebx, ebx
test rax, rax
je 0x14010727a
cmp word [rsp + rbx*2 + 0x160], 0
je 0x140107281
inc rbx
add rax, 0xfffffffffffffffe
jmp 0x140107261
mov ebx, 0x20
jmp 0x14010728b
cmp rbx, 0x21
jae 0x140107a2d
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.140072bbd
cmp qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x50]
jne 0x1401079fb
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
and qword [rsp + 0x58], 0
mov rcx, rdi
mov rdx, rbx
call fcn.14012775f
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
test rbx, rbx
je 0x1401072f3
xor eax, eax
mov cl, byte [rsp + rax*2 + 0x160]
mov byte [r14 + rdi], cl
inc rdi
inc rax
cmp rbx, rax
jne 0x1401072dd
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa8], rax
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0xea], rax
mov word [rsp + 0xf2], bp
mov dword [rsp + 0xf4], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0xea]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x140107481
mov rbp, rax
and qword [rsp + 0xb8], 0
and qword [rsp + 0x48], 0
mov rcx, rsi
xor edx, edx
lea r8, [rsp + 0xb8]
lea r9, [rsp + 0x48]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140107477
mov rax, qword [rsp + 0xb8]
test rax, rax
je 0x140107477
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf8], rax
and dword [rsp + 0xe0], 0
mov qword [rsp + 0x134], 7
and qword [rsp + 0xd8], 0
mov byte [rsp + 0x13c], 0
and dword [rsp + 0x94], 0
lea rax, [rsp + 0x94]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, rbp
mov edx, 0x2d1400
lea r8, [rsp + 0x134]
mov r9d, 0xc
call sub.kernel32.dll_DeviceIoControl
xor ebx, ebx
cmp byte [rsp + 0xe0], 0
sete bl
cmp dword [rsp + 0x94], 0xc
mov ecx, 2
cmovne rbx, rcx
test eax, eax
cmove rbx, rcx
cmp qword [rsp + 0x40], 0
je 0x1401074fd
js 0x140107a60
mov al, byte [0x1402ec188]
xor ecx, ecx
mov rdx, qword [rsp + 0x40]
call fcn.1400fc8d0
test rax, rax
jne 0x140107502
jmp 0x140107a74
mov rcx, rbp
call fcn.14012856c
jmp 0x14010748d
mov rcx, 0xffffffffffffffff
call fcn.14012856c
mov rcx, qword [rsp + 0xa8]
mov rdx, r14
call fcn.1400cc39a
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x98]
call fcn.1400cc39a
mov r14, qword [rsp + 0x5f8]
mov ebx, dword [rsp + 0x5f0]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x170], rax
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x160], xmm0
inc r12d
movaps xmm0, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x70], rax
jmp 0x140107135
mov eax, 1
mov qword [rsp + 0xd0], rax
mov rcx, rax
mov rdx, qword [rsp + 0x98]
mov r8, qword [rsp + 0x40]
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x1a0]
mov rdx, r14
mov r8, rdi
call fcn.14011be0c
mov r8d, 4
lea rcx, [rsp + 0xb8]
mov rdi, rsi
mov rdx, rsi
call fcn.140108013
mov r8d, 3
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.14010360d
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x2f0], rax
movups xmm0, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x2e0], xmm0
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0x2c0], xmm0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x2d0], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x2a0], xmm0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x2b0], rax
mov rcx, rbp
call fcn.14012856c
mov rcx, qword [rsp + 0xa8]
mov rdx, r14
call fcn.1400cc39a
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x98]
call fcn.1400cc39a
or qword [rsp + 0x208], 0xffffffffffffffff
cmp r13d, 2
mov qword [rsp + 0x200], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x218], rcx
mov qword [rsp + 0x220], rax
mov byte [rsp + 0x228], 0
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4b]
lea rdx, [rsp + 0x229]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov rax, qword [rsp + 0x2f0]
mov qword [rdx + 0x17], rax
movaps xmm0, xmmword [rsp + 0x2e0]
movups xmmword [rdx + 7], xmm0
mov rax, qword [rsp + 0x2d0]
mov qword [rdx + 0x2f], rax
movaps xmm0, xmmword [rsp + 0x2c0]
movups xmmword [rdx + 0x1f], xmm0
mov rax, qword [rsp + 0x2b0]
mov qword [rdx + 0x47], rax
movaps xmm0, xmmword [rsp + 0x2a0]
movups xmmword [rdx + 0x37], xmm0
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x280], rax
sete byte [rsp + 0x288]
mov eax, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xbb]
mov dword [rdx + 0x63], ecx
mov dword [rdx + 0x60], eax
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x350], xmm0
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x360], rdi
cmp rdi, qword [rsp + 0x350]
jne 0x1401076f1
lea rcx, [rsp + 0x350]
call fcn.140102e93
imul rcx, rdi, 0x90
add rcx, qword [rsp + 0x358]
mov r8d, 0x90
lea rdx, [rsp + 0x200]
call sub.msvcrt.dll_memcpy
inc rdi
mov qword [rsp + 0x170], rdi
movaps xmm0, xmmword [rsp + 0x350]
movaps xmmword [rsp + 0x160], xmm0
mov r14, qword [rsp + 0x5f8]
mov ebx, dword [rsp + 0x5f0]
jmp 0x1401074db
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x140], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x158], rax
and qword [rsp + 0x210], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x200], xmm0
cmp qword [rsp + 0x150], 0
je 0x1401078fc
movups xmmword [rsp + 0x368], xmm0
movaps xmm0, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x350], xmm0
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x360], rax
lea rcx, [rsp + 0x218]
call fcn.14010307b
mov rcx, qword [rsp + 0x360]
mov qword [rax + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x350]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], rax
mov eax, 1
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x200]
mov qword [rcx], rax
mov rax, qword [rsp + 0x208]
mov qword [rcx + 8], rax
jmp 0x140107919
call fcn.140072d8f
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.1400744e5
test rax, rax
je 0x140107935
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x1401079e6
mov rax, r14
add rax, 0x110
mov rcx, qword [r14 + 0x100]
lea r8, [rsp + 0x200]
mov qword [r8 + 0x80], rax
and qword [r8 + 0x88], 0
mov qword [r8 + 0x90], rcx
mov byte [r8 + 0x98], 1
lea rsi, [rsp + 0x1b8]
mov ecx, 9
mov rdi, r8
rep movsq qword [rdi], qword [rsi]
lea rdi, [rsp + 0x248]
and qword [rdi], 0
lea rdx, [0x140107c4e]
mov rcx, rbx
call fcn.14007464e
lea rdx, [rsp + 0x280]
mov rcx, r14
call fcn.140103394
lea rcx, [rsp + 0x350]
lea rdx, [rsp + 0x200]
mov r8d, 0xa0
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x398]
lea rcx, [rsp + 0x60]
call fcn.140103248
jmp 0x1401070aa
mov rax, qword [rsp + 0xa0]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x140]
call fcn.140008dc7
movaps xmm6, xmmword [rsp + 0x560]
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.140103571
test rax, rax
je 0x140107a92
lea rdi, [rsp + 0x208]
mov qword [rdi - 8], rax
lea rsi, [rsp + 0x1b8]
mov ecx, 9
rep movsq qword [rdi], qword [rsi]
lea rdi, [rsp + 0x250]
and qword [rdi], 0
lea rdx, [0x140107e66]
lea r8, [rsp + 0x200]
mov rcx, rbx
call fcn.14007464e
mov rcx, qword [rsp + 0x200]
call fcn.140072c74
lea rcx, [rsp + 0x350]
lea rdx, [rsp + 0x200]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x3a0]
lea rsi, [rsp + 0x168]
mov rcx, rsi
call fcn.140103248
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x80], xmm2
jmp 0x1401070aa
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x1b8]
mov r8, r14
jmp 0x1401070a2
mov qword [rsp + 0x78], r14
mov rdx, qword [rsp + 0x58]
call fcn.1400311b0
jmp 0x140107a90
mov qword [rsp + 0x78], r14
lea rax, str._home_ellie_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.26.9_src_windows_disk.rs
mov edx, 0x105
mov rcx, r8
mov r8, rax
call fcn.140034e10
jmp 0x140107a90
mov qword [rsp + 0x78], r14
lea r8, str._home_ellie_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.26.9_src_windows_disk.rs
mov edx, 0x20
mov rcx, rbx
call fcn.140034e10
jmp 0x140107a90
lea rcx, [0x14025fe1a]
lea r8, [0x14025fea0]
mov edx, 0x2b
call fcn.140035180
mov rax, qword [rsp + 0x5f8]
mov qword [rsp + 0x78], rax
call fcn.1400311d0
jmp 0x140107a90
mov rax, qword [rsp + 0x5f8]
mov qword [rsp + 0x78], rax
mov ecx, 1
mov rdx, qword [rsp + 0x40]
call fcn.1400311b0
ud2
lea rax, str.n_t_
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, [0x140270b88]
lea r8, [rsp + 0x350]
mov edx, 0x46
call fcn.140037bd0
mov r12, rax
mov rcx, rdi
call fcn.140107dfd
jmp 0x140107c40
mov rcx, r12
call fcn.140128e60
call fcn.140039140
int3