Function at 0x140115f1f
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.140112408
test al, al
je 0x14011609a
shr rsi, 1
mov qword [rsp + 0x110], rsi
xor eax, eax
mov ecx, ebx
sub ecx, r12d
cmovb ecx, eax
cmp rsi, rcx
ja 0x1401169d5
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.14007d3f1
test rax, rax
je 0x1401167b6
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x1b8]
mov r8, rax
xor r9d, r9d
call fcn.140115b2d
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.140115339
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.14011207f
jmp 0x1401168a6
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 0x1401166cf
mov eax, dword [r15]
bt eax, r12d
jae 0x14011644e
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 0x14011644e
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 0x14011644e
mov eax, 0x20a
xor r8d, r8d
test rax, rax
je 0x1401161a0
cmp word [rsp + r8*2 + 0x350], 0
je 0x1401161a8
inc r8
add rax, 0xfffffffffffffffe
jmp 0x140116186
mov r8d, 0x105
jmp 0x1401161b5
cmp r8, 0x106
jae 0x14011699c
lea rcx, [rsp + 0x118]
lea rdx, [rsp + 0x350]
call fcn.14011266d
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 0x140116207
cmp word [rsp + rbx*2 + 0x160], 0
je 0x14011620e
inc rbx
add rax, 0xfffffffffffffffe
jmp 0x1401161ee
mov ebx, 0x20
jmp 0x140116218
cmp rbx, 0x21
jae 0x1401169ba
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.14007bac9
cmp qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x50]
jne 0x140116988
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.140136fac
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
test rbx, rbx
je 0x140116280
xor eax, eax
mov cl, byte [rsp + rax*2 + 0x160]
mov byte [r14 + rdi], cl
inc rdi
inc rax
cmp rbx, rax
jne 0x14011626a
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 0x14011640e
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 0x140116404
mov rax, qword [rsp + 0xb8]
test rax, rax
je 0x140116404
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 0x14011648a
js 0x1401169ed
mov al, byte [0x140320188]
xor ecx, ecx
mov rdx, qword [rsp + 0x40]
call fcn.14010b930
test rax, rax
jne 0x14011648f
jmp 0x140116a01
mov rcx, rbp
call fcn.140137dbc
jmp 0x14011641a
mov rcx, 0xffffffffffffffff
call fcn.140137dbc
mov rcx, qword [rsp + 0xa8]
mov rdx, r14
call fcn.1400d671a
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x98]
call fcn.1400d671a
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 0x1401160c2
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.14012b642
mov r8d, 4
lea rcx, [rsp + 0xb8]
mov rdi, rsi
mov rdx, rsi
call fcn.140116fa0
mov r8d, 3
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.14011266d
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.140137dbc
mov rcx, qword [rsp + 0xa8]
mov rdx, r14
call fcn.1400d671a
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x98]
call fcn.1400d671a
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 0x14011667e
lea rcx, [rsp + 0x350]
call fcn.140111ef3
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 0x140116468
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 0x140116889
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.1401120db
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 0x1401168a6
call fcn.14007bc9b
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14007d3f1
test rax, rax
je 0x1401168c2
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x140116973
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, [0x140116bdb]
mov rcx, rbx
call fcn.14007d55a
lea rdx, [rsp + 0x280]
mov rcx, r14
call fcn.1401123f4
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.1401122a8
jmp 0x140116037
mov rax, qword [rsp + 0xa0]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x140]
call fcn.1400094c8
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.1401125d1
test rax, rax
je 0x140116a1f
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, [0x140116df3]
lea r8, [rsp + 0x200]
mov rcx, rbx
call fcn.14007d55a
mov rcx, qword [rsp + 0x200]
call fcn.14007bb80
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.1401122a8
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 0x140116037
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x1b8]
mov r8, r14
jmp 0x14011602f
mov qword [rsp + 0x78], r14
mov rdx, qword [rsp + 0x58]
call fcn.140032d90
jmp 0x140116a1d
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.140036a50
jmp 0x140116a1d
mov qword [rsp + 0x78], r14
lea r8, str.X__
mov edx, 0x20
mov rcx, rbx
call fcn.140036a50
jmp 0x140116a1d
lea rcx, [0x140291d12]
lea r8, [0x140291d98]
mov edx, 0x2b
call fcn.140036dc0
mov rax, qword [rsp + 0x5f8]
mov qword [rsp + 0x78], rax
call fcn.140032db0
jmp 0x140116a1d
mov rax, qword [rsp + 0x5f8]
mov qword [rsp + 0x78], rax
mov ecx, 1
mov rdx, qword [rsp + 0x40]
call fcn.140032d90
ud2
lea rax, str.60_
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, [0x1402a3250]
lea r8, [rsp + 0x350]
mov edx, 0x46
call fcn.140039810
mov r12, rax
mov rcx, rdi
call fcn.140116d8a
jmp 0x140116bcd
mov rcx, r12
call fcn.1401386b0
call fcn.14003ad80
int3