Function at 0x10020020
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x1017b554]
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 0x10020389
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 0x100200c5
mov ebx, esi
xor esi, esi
mov edi, 0xfffffffe
nop dword [eax]
cmp word [ebx + esi*2], 0
je 0x10020157
add edi, 0xfffffffe
inc esi
cmp edi, 0xfffffdf4
jne 0x10020090
push 0x101594c8
push 0x105
push 0x106
mov esi, ebx
call sym.core::slice::index::slice_end_index_len_fail::h31017dc9c470f2c8
add esp, 0xc
jmp 0x10020398
call sym.windows_result::error::Error::from_win32::h82b0b4b9d87e3c47
test edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 1
je 0x100200e7
lea eax, [ebp - 0x1c]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
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 0x1002012e
mov edi, dword [ebp - 0x14]
add edi, 4
jmp 0x10020116
add edi, 0xc
dec esi
je 0x1002012e
mov eax, dword [edi - 4]
test eax, eax
je 0x10020110
add eax, eax
push 2
push eax
push dword [edi]
call sym.___rust_dealloc
add esp, 0xc
jmp 0x10020110
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10020149
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 0x10020302
mov eax, dword [0x1017b554]
neg edi
movzx eax, byte [eax]
push 2
push edi
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x1002037a
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::hfbc2f55f2981f881
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 0x100201e4
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 0x1002026b
xor esi, esi
mov edi, 0xfffffffe
nop word [eax + eax]
cmp word [ebx + esi*2], 0
je 0x10020220
add edi, 0xfffffffe
inc esi
cmp edi, 0xfffffdf4
jne 0x10020200
jmp 0x100200a7
mov eax, dword [0x1017b554]
neg edi
movzx eax, byte [eax]
push 2
push edi
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x1002037a
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 0x100201c0
lea eax, [ebp - 0x18]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hfbc2f55f2981f881
add esp, 4
jmp 0x100201c0
call sym.windows_result::error::Error::from_win32::h82b0b4b9d87e3c47
lea edi, [ebp - 0x1c]
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 1
je 0x1002028d
push edi
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
add esp, 4
call sym.windows_result::error::Error::from_win32::h82b0b4b9d87e3c47
lea ecx, [ebp - 0x20]
cmp eax, 0x80070012
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jne 0x100202b1
test edx, edx
je 0x100202be
push ecx
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
add esp, 4
jmp 0x100202be
test edx, edx
je 0x100202be
push ecx
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
add esp, 4
push dword [ebp - 0x30]
call sub.kernel32.dll_FindVolumeClose
test eax, eax
jne 0x100202e9
call sym.windows_result::error::Error::from_win32::h82b0b4b9d87e3c47
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 1
je 0x100202e9
push edi
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
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 fcn.1002df70
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::h144be9a77b1592df
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x10020363
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::he63c9115d026ec98
add esp, 8
jmp 0x10020398
push 0x20a
push 2
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
add esp, 8
ud2