Function at 0x1000aed0
Capabilities:
Get disk information

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
mov ebx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], 0x3a0041
mov dword [ebp - 0x2c], 0x5c
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x38], 0x40000000
mov dword [ebp - 0x34], 0
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov ecx, 0x2c
mov edx, 4
mov dword [ebp - 0x48], eax
mov eax, ebx
call sym._resize_table
test eax, eax
je 0x1000b150
cmp dword [ebp - 0x64], 1
mov dword [ebp - 0x5c], 0
mov esi, 0x41
sbb eax, eax
mov dword [ebp - 0x54], 0
xor ebx, ebx
inc eax
mov dword [ebp - 0x68], eax
jmp 0x1000af5a
inc esi
cmp esi, 0x5b
je 0x1000b108
lea ecx, [esi - 0x41]
mov eax, 1
shl eax, cl
test dword [ebp - 0x48], eax
je 0x1000af50
lea eax, [ebp - 0x30]
mov word [ebp - 0x30], si
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
mov dword [ebp - 0x58], eax
mov edi, eax
lea eax, [eax - 2]
sub esp, 4
cmp eax, 1
jbe 0x1000af8e
cmp edi, 5
jne 0x1000af50
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
mov ecx, 0x2c
inc eax
mov dword [ebp - 0x60], eax
mov edx, eax
mov eax, ebx
call sym._resize_table
test eax, eax
je 0x1000b150
lea edi, [ebp - 0x3e]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebx + 0x14]
mov dword [esp + 0xc], esi
mov dword [esp], edi
mov dword [esp + 8], 0x10023630
mov dword [esp + 4], 3
mov dword [ebp - 0x50], ebx
mov ebx, ecx
call sym._swprintf
mov eax, dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [esp], edi
mov dword [ebp - 0x4c], eax
call eax
mov dword [ebx], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], edi
call eax
mov edx, dword [ebp - 0x58]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
lea edx, [ebp - 0x30]
mov eax, edx
call sym._get_filesystem
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x38]
mov dword [ebx + 0xc], eax
mov eax, ecx
call sym._get_freespace
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x14], edx
mov dword [esp], edi
lea edi, [ebp - 0x30]
call eax
mov edx, dword [ebp - 0x34]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x1c], eax
mov eax, edi
call sym._get_volumename
lea edx, [ebp - 0x44]
mov dword [ebx + 0x24], eax
mov dword [esp + 0xc], edx
mov dword [esp], edi
lea edi, [ebp - 0x28]
mov dword [ebp - 0x44], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 0x44]
sub esp, 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._08X
mov dword [esp + 4], 9
mov dword [esp], edi
call sym._swprintf
mov dword [esp], edi
mov eax, dword [ebp - 0x4c]
call eax
mov ecx, dword [ebp - 0x64]
mov dword [ebx + 0x28], eax
test ecx, ecx
je 0x1000b0ec
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x44]
mov ebx, 0xffffffff
mov ecx, dword [ebp - 0x54]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x1000b130
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x28]
je 0x1000b128
mov eax, dword [ebp - 0x60]
inc esi
add dword [ebp - 0x5c], 0x2c
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
cmp esi, 0x5b
jne 0x1000af5a
lea esi, [esi]
nop
test byte [0x10021048], 8
jne 0x1000b168
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
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 ebx, 1
lea esi, [esi]
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call sym._free_row_values
jmp 0x1000af50
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 - 0x54]
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_logicaldisk
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10021048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000b111