Function at 0x10031ec0
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x101918ac]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0
movzx eax, byte [eax]
push 2
push 0x20a
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x10032229
mov esi, eax
push 0x20a
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x105
push esi
call sub.kernel32.dll_FindFirstVolumeW
mov dword [ebp - 0x30], eax
dec eax
cmp eax, 0xfffffffe
jae 0x10031f65
mov ebx, esi
xor esi, esi
mov edi, 0xfffffffe
nop dword [eax]
cmp word [ebx + esi*2], 0
je 0x10031ff7
add edi, 0xfffffffe
inc esi
cmp edi, 0xfffffdf4
jne 0x10031f30
push 0x1016f0c4
push 0x105
push 0x106
mov esi, ebx
call sym.core::slice::index::slice_end_index_len_fail::hb7bcdcb5c84f7e98
add esp, 0xc
jmp 0x10032238
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 1
je 0x10031f87
lea eax, [ebp - 0x1c]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
push 2
push 0x20a
push esi
call sym.___rust_dealloc
add esp, 0xc
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x10031fce
mov edi, dword [ebp - 0x14]
add edi, 4
jmp 0x10031fb6
add edi, 0xc
dec esi
je 0x10031fce
mov eax, dword [edi - 4]
test eax, eax
je 0x10031fb0
add eax, eax
push 2
push eax
push dword [edi]
call sym.___rust_dealloc
add esp, 0xc
jmp 0x10031fb0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10031fe9
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [ebp - 0x14]
call sym.___rust_dealloc
add esp, 0xc
mov eax, 4
xor ecx, ecx
xor edx, edx
jmp 0x100321a2
mov eax, dword [0x101918ac]
neg edi
movzx eax, byte [eax]
push 2
push edi
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x1003221a
push edi
mov dword [ebp - 0x2c], ebx
push ebx
mov dword [ebp - 0x28], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::h417697026837f9a0
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [ebp - 0x10], 1
push 0x105
mov esi, dword [ebp - 0x2c]
push esi
jmp 0x10032084
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
inc esi
lea ecx, [edi + edi*2]
inc edi
mov dword [eax + ecx*4], esi
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [ebp - 0x10], edi
push 0x105
mov esi, ebx
push ebx
push dword [ebp - 0x30]
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
je 0x1003210b
xor esi, esi
mov edi, 0xfffffffe
nop word [eax + eax]
cmp word [ebx + esi*2], 0
je 0x100320c0
add edi, 0xfffffffe
inc esi
cmp edi, 0xfffffdf4
jne 0x100320a0
jmp 0x10031f47
mov eax, dword [0x101918ac]
neg edi
movzx eax, byte [eax]
push 2
push edi
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x1003221a
push edi
push ebx
mov dword [ebp - 0x2c], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
jne 0x10032060
lea eax, [ebp - 0x18]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::h417697026837f9a0
add esp, 4
jmp 0x10032060
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
lea edi, [ebp - 0x1c]
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 1
je 0x1003212d
push edi
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
lea ecx, [ebp - 0x20]
cmp eax, 0x80070012
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jne 0x10032151
test edx, edx
je 0x1003215e
push ecx
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
jmp 0x1003215e
test edx, edx
je 0x1003215e
push ecx
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
push dword [ebp - 0x30]
call sub.kernel32.dll_FindVolumeClose
test eax, eax
jne 0x10032189
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 1
je 0x10032189
push edi
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
push 2
push 0x20a
push esi
call sym.___rust_dealloc
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x18]
push eax
push ecx
call sym.__ZN5rayon4iter6extend91__LT_impl_u20_rayon..iter..ParallelExtend_LT_T_GT__u20_for_u20_alloc..vec..Vec_LT_T_GT__GT_10par_exten
add esp, 8
movsd xmm0, qword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
movsd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
push esi
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hd957adf7a1720a73
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x10032203
imul eax, eax, 0x58
push 8
push eax
push dword [esi + 4]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x24]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
push 2
mov esi, ebx
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
add esp, 8
jmp 0x10032238
push 0x20a
push 2
call sym.alloc::alloc::handle_alloc_error::h9a0385ddba01e206
add esp, 8
ud2