Function at 0x1000a900
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, 0x94
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x58], 0x3a0041
mov dword [ebp - 0x54], 0x5c
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x68], 0x40000000
mov dword [ebp - 0x64], 0
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov ecx, 0x2c
mov edx, 4
mov dword [ebp - 0x70], eax
mov eax, edi
call sym._resize_table
test eax, eax
je 0x1000ab6d
cmp dword [ebp - 0x8c], 1
mov dword [ebp - 0x7c], 0
mov edi, 1
sbb eax, eax
mov dword [ebp - 0x80], 0
xor ebx, ebx
xor esi, esi
inc eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x90], eax
jmp 0x1000a9a2
inc esi
cmp esi, 0x1a
je 0x1000aaf8
mov eax, edi
mov ecx, esi
shl eax, cl
test dword [ebp - 0x70], eax
je 0x1000a998
lea eax, [esi + 0x41]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
sub eax, 2
sub esp, 4
cmp eax, 1
ja 0x1000a998
mov eax, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x74]
mov ecx, 0x2c
inc eax
mov dword [ebp - 0x88], eax
mov edx, eax
mov eax, ebx
call sym._resize_table
test eax, eax
je 0x1000ab6d
mov eax, ebx
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x80]
lea edx, [ebp - 0x50]
add ebx, dword [eax + 0x14]
xor eax, eax
cmp esi, 2
sete al
neg eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Disk__u__Partition_0
mov dword [esp + 4], 0x20
call sym._swprintf
lea edx, [ebp - 0x50]
mov dword [esp], edx
mov edx, dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0x84], edx
call edx
mov dword [ebx + 0x10], 0
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x7c]
lea edx, [eax + 1]
mov dword [ebx + 0xc], eax
mov dword [ebp - 0x7c], edx
lea edx, [ebp - 0x50]
mov dword [esp], edx
mov edx, dword [ebp - 0x84]
call edx
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x68]
mov dword [ebx + 0x14], eax
mov eax, ecx
call sym._get_freespace
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
lea edx, [ebp - 0x58]
mov eax, edx
call sym._get_filesystem
mov edx, dword [ebp - 0x8c]
mov dword [ebx + 0x28], eax
test edx, edx
je 0x1000aad8
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 0x78]
mov dword [esp + 8], edx
mov ebx, 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x1000ab20
mov eax, dword [ebp - 0x5c]
or eax, dword [ebp - 0x60]
je 0x1000ab18
mov eax, dword [ebp - 0x88]
inc esi
add dword [ebp - 0x80], 0x2c
mov ebx, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
cmp esi, 0x1a
jne 0x1000a9a2
lea esi, [esi]
test byte [0x10021048], 8
jne 0x1000ab40
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp - 0x78]
mov dword [eax + 0xc], edi
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 - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sym._free_row_values
jmp 0x1000a998
mov eax, dword [ebp - 0x78]
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_diskpartition
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10021048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000ab01
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