Function at 0x10008920
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, 0x4c
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], 0x3a0041
mov dword [ebp - 0x14], 0x5c
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x44], eax
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov ecx, 0x14
mov edx, 1
mov esi, eax
mov eax, edi
call sym._resize_table
test eax, eax
je 0x10008b1d
cmp dword [ebp - 0x44], 1
mov dword [ebp - 0x3c], 0
mov ebx, 0x41
mov edi, 1
sbb eax, eax
mov dword [ebp - 0x38], 0
inc eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], eax
jmp 0x100089aa
inc ebx
cmp ebx, 0x5b
je 0x10008aa0
lea ecx, [ebx - 0x41]
mov eax, edi
shl eax, cl
test eax, esi
je 0x100089a0
lea eax, [ebp - 0x18]
mov word [ebp - 0x18], bx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
sub esp, 4
cmp eax, 5
jne 0x100089a0
mov eax, dword [ebp - 0x34]
mov ecx, 0x14
inc eax
mov dword [ebp - 0x40], eax
mov edx, eax
mov eax, dword [ebp - 0x30]
call sym._resize_table
test eax, eax
je 0x10008b1d
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x26]
mov edx, dword [ebp - 0x38]
add edx, dword [eax + 0x14]
mov dword [edx], str.IDECDROMWINE_CD_ROM_____________________________1.0_____53A2A585401.0.0
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x10023630
mov dword [esp + 4], 3
mov dword [ebp - 0x3c], edx
call sym._swprintf
lea ecx, [ebp - 0x26]
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov dword [edx + 4], eax
mov dword [edx + 8], str.CR_ROM
mov dword [edx + 0xc], str.Wine_CD_ROM_ATA_Device
mov dword [edx + 0x10], str.IDECDROMWINE_CD_ROM_____________________________1.0_____53A2A585401.0.0
test ecx, ecx
je 0x10008a7e
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x10008ac8
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
je 0x10008b33
mov eax, dword [ebp - 0x48]
inc ebx
add dword [ebp - 0x38], 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
cmp ebx, 0x5b
jne 0x100089aa
lea esi, cs:[esi]
test byte [0x10021048], 8
jne 0x10008af0
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._free_row_values
jmp 0x100089a0
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_cdromdrive
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10021048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10008aa9
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x3c], 1
jmp 0x10008acf