Function at 0x7b326bb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x13c
mov dword [ebp - 0x114], 0
test byte [0x7b33c120], 8
jne 0x7b326ce0
test esi, esi
je 0x7b326d24
test ebx, 0xc8fc
je 0x7b326bf4
test byte [0x7b33c120], 1
jne 0x7b326de2
xor ecx, ecx
mov word [ebp - 0x110], cx
test bh, 0x20
je 0x7b326c40
mov eax, dword [esi + 8]
test bh, 0x10
je 0x7b326d33
lea edx, [eax - 0x201]
cmp dx, 0xa
jbe 0x7b326e31
mov edi, 0x10e
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x7b326cd6
call sym._MCI_UnLoadMciDriver
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
test bh, 2
je 0x7b326e90
test byte [0x7b33c120], 8
jne 0x7b326ee0
test bh, 8
jne 0x7b326f34
mov eax, dword [esi + 0xc]
test eax, eax
je 0x7b326f50
cmp word [ebp - 0x110], 0
je 0x7b327011
test bh, 4
je 0x7b326c95
mov eax, dword [esi + 0x10]
test byte [0x7b33c120], 8
jne 0x7b326f60
test eax, eax
je 0x7b326f50
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x110]
call sym._MCI_LoadMciDriver
mov edi, eax
test eax, eax
jne 0x7b326c23
mov eax, dword [ebp - 0x114]
mov ecx, ebx
mov edx, esi
call sym._MCI_FinishOpen
mov edi, eax
test eax, eax
jne 0x7b327060
test byte [0x7b33c120], 8
jne 0x7b327161
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.__08lX___p__n
mov dword [esp + 0x10], 0x6aa
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
test esi, esi
jne 0x7b326bdf
lea esp, [ebp - 0xc]
mov edi, 0x129
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
test eax, eax
je 0x7b326f50
lea edi, [ebp - 0x110]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._lstrcpyW_8
sub esp, 8
mov dword [esp + 4], 0x21
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_wcschr]
mov edx, ebx
and edx, 0x200
test eax, eax
je 0x7b326e6a
test edx, edx
jne 0x7b3270b0
xor edx, edx
add eax, 2
or bh, 2
mov word [eax - 2], dx
mov dword [esi + 0xc], eax
test byte [0x7b33c120], 8
je 0x7b326c56
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.devType_s___n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x6db
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7b326c49
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], str.Unsupported_yet_dwFlags_08lX_n
mov dword [esp + 0x10], 0x6b2
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 0
call sym._ros_dbg_log
xor ecx, ecx
mov word [ebp - 0x110], cx
test bh, 0x20
je 0x7b326c40
jmp 0x7b326c02
movzx eax, ax
lea edi, [ebp - 0x110]
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 4], eax
mov eax, dword [0x7b342a1c]
mov dword [esp + 8], edi
mov dword [esp], eax
call sym._LoadStringW_16
mov edx, ebx
sub esp, 0x10
and edx, 0x200
test eax, eax
je 0x7b326c1e
test byte [0x7b33c120], 8
jne 0x7b326fb0
test edx, edx
jne 0x7b326c56
cmp word [ebp - 0x110], 0
jne 0x7b326c78
lea esi, [esi]
mov edi, 0x107
test byte [0x7b33c120], 1
je 0x7b326c23
mov dword [esp + 0x14], str.Couldnt_load_driver_n
mov dword [esp + 0x10], 0x6fa
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 0
call sym._ros_dbg_log
jmp 0x7b326c23
mov eax, dword [esi + 0xc]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.lpstrElementName_s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x6df
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
test bh, 8
je 0x7b326c5f
test byte [0x7b33c120], 1
jne 0x7b327123
mov edi, 0x103
jmp 0x7b326c23
mov edi, 0x129
jmp 0x7b326c23
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.Alias_s___n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x700
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
mov eax, dword [esi + 0x10]
jmp 0x7b326c8d
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
mov dword [ebp - 0x11c], edx
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.devType_s___n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x6db
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
mov edx, dword [ebp - 0x11c]
test edx, edx
je 0x7b326e7f
jmp 0x7b326c49
lea edx, [ebp - 0x110]
call sym._MCI_GetDevTypeFromFileName.constprop.9
test eax, eax
je 0x7b326e7f
mov eax, dword [esi + 0xc]
mov edi, 0x119
mov dword [esp], eax
call sym._GetDriveTypeW_4
sub esp, 4
cmp eax, 5
jne 0x7b326c23
lea eax, [ebp - 0x110]
mov dword [esp + 4], str.CDAUDIO
mov dword [esp], eax
call sym._lstrcpyW_8
sub esp, 8
jmp 0x7b326e7f
test byte [0x7b33c120], 8
je 0x7b326c23
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.Failed_to_open_driver__MCI_OPEN_DRIVER____08lx___closing_n
mov dword [esp + 0x10], 0x70c
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7b326c23
test byte [0x7b33c120], 2
je 0x7b326f41
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call sym._wine_dbgstr_wn
mov dword [esp + 4], 0xffffffff
mov ebx, eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.Both_MCI_OPEN_ELEMENT__s__and__s_are_used_n
mov dword [esp + 0x10], 0x6ce
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x7b326f41
mov dword [esp + 0x14], str.Unsupported_yet_flag_MCI_OPEN_ELEMENT_ID_n
mov edi, 0x103
mov dword [esp + 0x10], 0x6e2
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 0
call sym._ros_dbg_log
jmp 0x7b326c23
mov eax, dword [esi + 4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
mov dword [esp + 0x14], str.wDevID_04X_wDeviceID_d_dwRet_ld_n
mov dword [esp + 0x10], 0x712
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.MCI_Open
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7b326cd6