Function at 0x1000f3d0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
mov edx, 2
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x24c
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, 8
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x244], esi
call sym._resize_table
test eax, eax
je 0x1000f688
lea esi, [ebp - 0x218]
mov dword [esp + 4], 0x104
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindFirstVolumeW]
mov dword [ebp - 0x238], 0
sub esp, 8
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x244], 1
mov dword [ebp - 0x228], 0
sbb eax, eax
xor ebx, ebx
inc eax
mov dword [ebp - 0x248], eax
lea esi, [esi]
cmp dword [ebp - 0x22c], 0xffffffff
je 0x1000f61e
mov eax, dword [ebp - 0x228]
mov ebx, dword [ebp - 0x230]
mov ecx, 8
inc eax
mov dword [ebp - 0x23c], eax
mov edx, eax
mov eax, ebx
call sym._resize_table
test eax, eax
je 0x1000f688
mov eax, dword [ebp - 0x238]
add eax, dword [ebx + 0x14]
mov dword [esp], esi
mov edi, eax
mov dword [ebp - 0x234], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi], eax
lea eax, [ebp - 0x220]
mov edi, dword [sym.imp.kernel32.dll_GetVolumePathNamesForVolumeNameW]
mov dword [ebp - 0x220], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call edi
sub esp, 0x10
test eax, eax
jne 0x1000f4f3
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xea
jne 0x1000f651
mov ecx, dword [ebp - 0x220]
lea eax, [ecx + ecx]
mov dword [ebp - 0x240], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x1000f651
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x220]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], esi
call edi
sub esp, 0x10
test eax, eax
je 0x1000f648
mov dword [esp + 4], 0x3a
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [esp], ebx
call edi
test eax, eax
je 0x1000f648
mov dword [esp + 4], 0x3a
mov dword [esp], ebx
call edi
xor edx, edx
mov word [eax + 2], dx
mov eax, dword [ebp - 0x234]
mov edx, dword [ebp - 0x244]
mov dword [eax + 4], ebx
test edx, edx
je 0x1000f5cd
lea eax, [ebp - 0x224]
mov dword [esp + 8], edx
mov ebx, 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x220]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x228]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x1000f668
mov eax, dword [ebp - 0x21c]
or eax, dword [ebp - 0x220]
je 0x1000f660
mov eax, dword [ebp - 0x23c]
add dword [ebp - 0x238], 8
mov ebx, dword [ebp - 0x248]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x22c]
mov dword [esp + 8], 0x104
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextVolumeW]
sub esp, 0xc
test eax, eax
jne 0x1000f458
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindVolumeClose]
sub esp, 4
test byte [0x10021048], 8
jne 0x1000f6a0
mov eax, dword [ebp - 0x230]
mov esi, dword [ebp - 0x228]
mov dword [eax + 0xc], esi
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
xor ebx, ebx
jmp 0x1000f56b
mov ebx, 1
lea esi, [esi]
mov eax, dword [ebp - 0x228]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call sym._free_row_values
jmp 0x1000f5e6
lea esp, [ebp - 0x10]
mov ebx, 0xffffffff
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x228]
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_volume
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10021048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000f627