Function at 0x7104a8f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov dword [ebp - 0x60], 0x3a0041
mov dword [ebp - 0x5c], 0x5c
mov dword [ebp - 0x70], 0x40000000
mov dword [ebp - 0x6c], 0
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov ecx, 0x2c
mov edx, 4
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
call sym._resize_table
test eax, eax
je 0x7104ab4d
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x80], 0
mov edi, 1
mov dword [ebp - 0x84], 0
sbb eax, eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x88], 0
inc eax
mov dword [ebp - 0x94], eax
jmp 0x7104a97a
inc esi
cmp esi, 0x1a
je 0x7104aae0
mov eax, edi
mov ecx, esi
shl eax, cl
test dword [ebp - 0x7c], eax
je 0x7104a970
lea eax, [esi + 0x41]
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x60]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
sub eax, 2
sub esp, 4
cmp eax, 1
ja 0x7104a970
mov eax, dword [ebp - 0x80]
mov ecx, 0x2c
inc eax
mov dword [ebp - 0x90], eax
mov edx, eax
mov eax, dword [ebp + 8]
call sym._resize_table
test eax, eax
je 0x7104ab4d
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x88]
xor eax, eax
add ebx, dword [ecx + 0x14]
cmp esi, 2
lea ecx, [ebp - 0x58]
sete al
neg eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Disk__u__Partition_0
mov dword [esp + 4], 0x20
call sym._swprintf
mov edx, dword [sym.imp.ucrtbase.dll__wcsdup]
lea ecx, [ebp - 0x58]
mov dword [esp], ecx
mov dword [ebp - 0x8c], edx
call edx
lea ecx, [ebp - 0x58]
mov dword [ebx + 0x10], 0
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x84]
lea edx, [eax + 1]
mov dword [ebx + 0xc], eax
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp], ecx
call edx
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x70]
mov dword [ebx + 0x14], eax
mov eax, ecx
call sym._get_freespace
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
lea edx, [ebp - 0x60]
mov eax, edx
call sym._get_filesystem
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7104aab8
lea eax, [ebp - 0x74]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 8], ebx
mov ebx, 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x7104ab08
mov eax, dword [ebp - 0x64]
or eax, dword [ebp - 0x68]
je 0x7104aafc
mov eax, dword [ebp - 0x90]
inc esi
add dword [ebp - 0x88], 0x2c
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0x80], eax
cmp esi, 0x1a
jne 0x7104a97a
lea esi, [esi]
nop
test byte [0x71060048], 8
jne 0x7104ab20
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x80]
mov dword [eax + 0xc], edi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 1
lea esi, [esi]
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._free_row_values
jmp 0x7104a970
mov eax, dword [ebp - 0x80]
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], 0x71060048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x7104aae9
lea esp, [ebp - 0xc]
mov ebx, 0xffffffff
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret