Function at 0x1001fb70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
push 2
push 0x208
call sym.___rust_alloc_zeroed
add esp, 8
test eax, eax
je 0x1001fe6f
mov edi, eax
mov ecx, 0x104
mov esi, 0xa
mov eax, 0x104
mov dword [ebp - 0x38], 0
jmp 0x1001fbbc
mov edi, dword [ebp - 0x10]
dec esi
mov eax, edx
je 0x1001fcb7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push eax
push ecx
push edi
push dword [ebp + 0xc]
mov ebx, ecx
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
jne 0x1001fcaf
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp - 0x14]
call sym.windows_result::error::Error::from_win32::h82b0b4b9d87e3c47
mov esi, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call sym.windows_result::error::Error::from_win32::h82b0b4b9d87e3c47
mov edi, eax
test edx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
je 0x1001fc0d
lea eax, [ebp - 0x28]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
add esp, 4
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x1001fc1d
lea eax, [ebp - 0x3c]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
add esp, 4
cmp edi, 0x800700ea
jne 0x1001fdf2
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x1c]
xor eax, eax
test ecx, ecx
js 0x1001fe61
lea esi, [ecx + ecx]
cmp esi, 0x7ffffffe
ja 0x1001fe61
test esi, esi
je 0x1001fc80
mov ebx, ecx
push 2
push esi
call sym.___rust_alloc_zeroed
add esp, 8
test eax, eax
mov dword [ebp - 0x10], eax
je 0x1001fe59
mov ecx, ebx
mov edx, ebx
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
test ebx, ebx
jne 0x1001fc94
jmp 0x1001fbb0
mov dword [ebp - 0x10], 2
xor edx, edx
mov esi, dword [ebp - 0x18]
test ebx, ebx
je 0x1001fbb0
add ebx, ebx
push 2
push ebx
push edi
mov edi, ecx
mov ebx, edx
call sym.___rust_dealloc
mov edx, ebx
mov ecx, edi
add esp, 0xc
jmp 0x1001fbb0
mov edx, dword [ebp - 0x14]
mov ecx, ebx
mov dword [ebp - 0x10], edi
test ecx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], 0
je 0x1001fdbf
mov esi, dword [ebp - 0x10]
jmp 0x1001fd1d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
sub esi, ebx
lea ecx, [ecx + ecx*2]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [eax + ecx*4], edi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + ecx*4 + 8], edi
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x34]
sub ecx, edi
je 0x1001fdbf
cmp word [esi], 0
je 0x1001fdbf
lea eax, [ecx + ecx]
mov dword [ebp - 0x34], ecx
mov ecx, 1
mov ebx, 0xfffffffe
neg eax
nop dword [eax]
cmp eax, ebx
je 0x1001fe17
add ebx, 0xfffffffe
cmp word [esi + ecx*2], 0
lea edi, [ecx + 1]
mov ecx, edi
jne 0x1001fd40
xor eax, eax
test edi, edi
js 0x1001fe4b
mov ecx, ebx
neg ecx
cmp ecx, 0x7ffffffe
ja 0x1001fe4b
mov eax, dword [0x1017b554]
movzx eax, byte [eax]
push 2
push ecx
mov dword [ebp - 0x18], ecx
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x1001fe40
push dword [ebp - 0x18]
push esi
mov dword [ebp - 0x20], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
jne 0x1001fce0
lea eax, [ebp - 0x2c]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hfbc2f55f2981f881
add esp, 4
jmp 0x1001fce0
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x2c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x30]
movsd qword [esi], xmm0
test eax, eax
je 0x1001fde8
add eax, eax
push 2
push eax
push dword [ebp - 0x10]
call sym.___rust_dealloc
add esp, 0xc
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [esi], 0
mov dword [esi + 4], 4
mov dword [esi + 8], 0
jne 0x1001fdd8
jmp 0x1001fde8
mov eax, dword [ebp - 0x34]
cmp eax, 0xffffffff
jne 0x1001fe2e
push 0x101594c8
call sym.core::slice::index::slice_end_index_overflow_fail::hee120db7aba97040
add esp, 4
jmp 0x1001fe6d
push 0x101594c8
push eax
inc eax
push eax
call sym.core::slice::index::slice_end_index_len_fail::h31017dc9c470f2c8
add esp, 0xc
jmp 0x1001fe6d
mov ecx, dword [ebp - 0x18]
mov eax, 2
mov dword [ebp - 0x20], ecx
push dword [ebp - 0x20]
push eax
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
add esp, 8
jmp 0x1001fe6d
mov eax, 2
mov dword [ebp - 0x10], esi
push dword [ebp - 0x10]
push eax
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
add esp, 8
ud2
push 0x208
push 2
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
mov edi, eax
push 2
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call sym.___rust_dealloc
add esp, 0xc
jmp 0x1001febf
lea ecx, [ebp - 0x2c]
call sym.core::ptr::drop_in_place_LT_alloc..vec..Vec_LT_alloc..vec..Vec_LT_u16_GT__GT__GT_::h9dbbbc3d9253ea9e
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
test ebx, ebx
je 0x1001fee4
add ebx, ebx
push 2
push ebx
push dword [ebp - 0x1c]
call sym.___rust_dealloc
add esp, 0xc
push edi
call sym.__Unwind_Resume
nop word [eax + eax]