Function at 0x6f245bf0
Capabilities:
Get disk information
Query or enumerate registry key
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
lea eax, [edx - 0x803]
cmp ax, 0xf
ja case.0x6f245c14.2
movzx eax, ax
jmp dword [eax*4 + str.P_o__o__o__o__o__o__o__o__o__o__o__o__ox_o]
cmp di, 0xffff
jne 0x6f245d90
mov edx, 0x117
test byte [0x6f2665a8], 1
jne 0x6f245e40
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov edx, esi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp sym._MCI_Open
lea esp, [ebp - 0xc]
mov ecx, esi
mov edx, ebx
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
jmp sym._MCI_Close
lea esp, [ebp - 0xc]
mov ecx, esi
mov edx, ebx
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
jmp sym._MCI_SysInfo
test esi, esi
je 0x6f245e70
test byte [0x6f2665a8], 8
jne 0x6f245e00
mov dword [esp], esi
mov edx, 0x811
mov ecx, ebx
mov eax, edi
call sym._MCI_SendCommandFrom32
mov edx, eax
test eax, eax
jne 0x6f245c3c
and ebx, 1
jne 0x6f245dc0
xor edx, edx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
test bh, 1
je 0x6f245d50
test esi, esi
je 0x6f245e70
xor eax, eax
test bl, 2
mov dword [esp + 4], 0
sete al
add eax, 0x10000
mov dword [esp + 8], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym.winmm.dll_PlaySoundW
sub esp, 0xc
test eax, eax
je 0x6f245d7c
and ebx, 1
je 0x6f245cc5
mov ebx, dword [esi]
test byte [0x6f2665a8], 8
jne 0x6f245e7a
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x3b9
mov dword [esp], ebx
call dword [sym.imp.user32.dll_PostMessageW]
xor edx, edx
sub esp, 0x10
jmp 0x6f245cc7
xor eax, eax
test bl, 2
mov dword [esp + 4], 0
sete al
mov dword [esp], 0x4453
add eax, 0x110000
mov dword [esp + 8], eax
call sym.winmm.dll_PlaySoundW
sub esp, 0xc
test eax, eax
jne 0x6f245db0
mov edx, 0x106
jmp 0x6f245c3c
mov dword [ebp + 8], esi
lea esp, [ebp - 0xc]
mov ecx, ebx
mov eax, edi
pop ebx
movzx edx, dx
pop esi
pop edi
pop ebp
jmp sym._MCI_SendCommandFrom32
test esi, esi
jne 0x6f245d10
jmp 0x6f245cc5
mov ebx, dword [esi]
test byte [0x6f2665a8], 8
jne 0x6f245eb3
mov dword [ebp - 0x1c], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x3b9
mov dword [esp], ebx
call dword [sym.imp.user32.dll_PostMessageW]
mov edx, dword [ebp - 0x1c]
sub esp, 0x10
jmp 0x6f245c3c
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__08x___08lX__vkey__04X__hwnd__p__n
mov dword [esp + 8], str.MCI_Break
mov dword [esp + 4], 0x6f2665a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6f245ca5
mov dword [esp + 0xc], str.unhandled_MCI_ALL_DEVICE_ID_n
mov dword [esp + 8], str.MCI_SendCommand
mov dword [esp + 4], 0x6f2665a8
mov dword [esp], 0
mov dword [ebp - 0x1c], edx
call sym._wine_dbg_log.constprop.0_3
mov edx, dword [ebp - 0x1c]
jmp 0x6f245c3c
mov edx, 0x129
jmp 0x6f245c3c
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___04x___04X__n
mov dword [esp + 8], str.mciDriverNotify
mov dword [esp + 4], 0x6f2665a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6f245d24
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___04x___04X__n
mov dword [esp + 8], str.mciDriverNotify
mov dword [esp + 4], 0x6f2665a8
mov dword [esp], 3
mov dword [ebp - 0x1c], eax
call sym._wine_dbg_log.constprop.0_3
mov edx, dword [ebp - 0x1c]
jmp 0x6f245dcf