Function at 0x413570
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x8c]
sub esp, 0xbc
mov dword [ebp - 0x9c], edx
mov dword [esp + 8], 0x34
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.winmm.dll_midiOutGetDevCapsA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x11b
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.midiOutGetDevCaps_dev_d__rc_s_n
mov dword [esp], eax
call fcn.0042d100
test esi, esi
je 0x4146e0
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x414830
mov dword [esp + 0x10], 0x10000
mov dword [esp + 0xc], 0x4cafe5a8
mov dword [esp + 8], eax
lea eax, [ebp - 0x98]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0xa4], eax
call sub.winmm.dll_midiOutOpen
mov esi, eax
lea eax, [eax - 6]
sub esp, 0x14
and eax, 0xfffffffd
je 0x4146b0
mov dword [esp + 4], 0x130
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.midiOutOpen_dev_d__rc_s_n
mov dword [esp], eax
call fcn.0042d100
test esi, esi
je 0x413680
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x9c]
mov ecx, 0x3c7
mov edx, str.midiOutOpen
mov dword [esp + 4], 0x133
mov dword [esp], 0
lea edi, [ebp - 0x94]
call fcn.00412760
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.winmm.dll_midiOutGetVolume
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x136
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
test byte [ebp - 0x5c], 1
jne 0x414850
xor edx, edx
cmp esi, 8
sete dl
mov dword [esp + 8], eax
mov dword [esp + 4], str.midiOutGetVolume_rc_s_n
mov dword [esp], edx
call fcn.0042d100
test esi, esi
je 0x414870
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.winmm.dll_midiOutGetVolume
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x13e
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov edi, eax
test byte [ebp - 0x5c], 1
je 0x414860
mov eax, 1
test esi, esi
jne 0x414a00
mov dword [esp], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.midiOutGetVolume_dev_d__rc_s_n
call fcn.0042d100
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.winmm.dll_midiOutGetVolume
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x141
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutGetVolume_NULL_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xb
sete al
mov dword [esp], eax
call fcn.0042d100
mov esi, dword [0x43ed64]
lea eax, [ebp - 0x58]
mov dword [ebp - 0xa0], eax
test esi, esi
je 0x413844
test byte [ebp - 0x5c], 1
je 0x413844
mov eax, dword [ebp - 0x94]
sar eax, 0x1f
and eax, 0x7fff8000
sub eax, 0x3fff4000
mov dword [ebp - 0xa8], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiOutSetVolume
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x14b
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutSetVolume_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
test esi, esi
je 0x414a20
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x34
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiOutGetDevCapsA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x158
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.midiOutGetDevCaps_dev_d__by_handle_rc_s_n
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiInGetDevCapsA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x15a
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 2
sete al
mov dword [esp + 4], str.midiInGetDevCaps_dev_d__by_out_handle_rc_s_n
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x15d
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp + 4], 0x93
mov dword [esp], str.ShortMsg_type__x_n
call fcn.0042d130
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], 0x6f4893
mov dword [esp], eax
call sub.winmm.dll_midiOutShortMsg
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x15f
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutShortMsg_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
test esi, esi
je 0x4148a3
mov edi, dword [ebp - 0xa0]
xor eax, eax
mov ecx, 0x10
mov esi, dword fs:[0x18]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x4c], 0x56fa552c
mov dword [ebp - 0x3c], 0xdeadbeef
mov dword [ebp - 0x54], 0x11170
mov dword [esp + 8], 0x11170
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x58], eax
mov dword [esp + 4], 0x169
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
mov dword [esp + 4], str.No__d_bytes_of_memory__n
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.0042d100
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x413e8d
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x40
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.winmm.dll_midiOutLongMsg
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x16c
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], edi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutLongMsg_unprepared_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp edi, 0x40
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x16d
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.dwFlags_x_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x16e
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
mov dword [esp], 0xfeedf00d
mov edx, str.midiOutLong_unprepared
call fcn.00412760
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x171
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], edi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutPrepare_tiny_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp edi, 0xb
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x172
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.dwFlags_x_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x177
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], edi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutPrepare_old_size_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x178
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.dwFlags_x_n
mov dword [esp + 8], eax
sub eax, 2
cmp eax, 1
setbe al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x17a
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp], str.MIDIHDR_flags_x_when_unsent_n
mov dword [esp + 4], eax
call fcn.0042d130
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x40
or dword [ebp - 0x48], 5
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x17f
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], edi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutPrepare_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x180
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.dwFlags_x_n
cmp eax, 7
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x40
or dword [ebp - 0x48], 4
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x184
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], edi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutUnprepare_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp edi, 0x41
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x185
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.dwFlags_x_n
cmp eax, 7
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x40
and dword [ebp - 0x48], 0xfffffffb
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x189
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], edi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutUnprepare_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x18a
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.dwFlags_x_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x40
or dword [ebp - 0x48], 4
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x18e
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], edi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutUnprepare_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x18f
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.dwFlags_x_n
cmp eax, 5
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov dword [esp + 4], 0x193
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], str.MIDIHDR.dwUser_changed_to__lx_n
cmp eax, 0x56fa552c
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x194
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], str.MIDIHDR.dwOffset_changed_to__x_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiOutGetID
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x197
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutGetID_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
test esi, esi
je 0x414950
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiOutReset
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x19b
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutReset_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiOutClose
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x19e
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutClose_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
mov edi, dword [ebp - 0x9c]
mov ecx, 0x3c8
mov dword [esp + 4], 0x19f
mov dword [esp], 0
mov edx, str.midiOutClose
mov eax, edi
call fcn.00412760
mov eax, dword [ebp - 0xa4]
mov dword [esp + 0x10], 0x10000
mov dword [esp + 0xc], 0x4cafe5a8
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.winmm.dll_midiOutOpen
sub esp, 0x14
mov esi, eax
mov dword [esp + 4], 0x1a3
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.midiOutOpen_dev_d__0_CALLBACK_WINDOW_rc_s_n
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x1a6
xor ecx, ecx
mov edx, str.midiOutOpen_WINDOW__THREAD
mov dword [esp], 0xfeedf00d
mov eax, 0xffffffff
call fcn.00412760
mov dword [esp], 0xfeedf00d
xor ecx, ecx
mov eax, edi
mov dword [esp + 4], 0x1a7
mov edx, str.midiOutOpen_WINDOW
call fcn.00412760
test esi, esi
je 0x4148c0
mov dword [esp + 4], 0x1ae
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
mov edx, str.midiOut_over
mov dword [esp], 0xfeedf00d
call fcn.00412760
lea eax, [ebp - 0x84]
mov dword [esp + 8], 0x11
mov dword [esp + 4], str.Synth_input_port
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strncmp]
test eax, eax
je 0x41499d
cmp ebx, 0xffffffff
je 0x414990
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x4149e1
mov dword [esp + 0x10], 0x10000
mov dword [esp + 0xc], 0x4cafe5a8
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.winmm.dll_midiOutOpen
sub esp, 0x14
mov esi, eax
mov dword [esp + 4], 0x1ba
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.midiOutOpen_dev_d__rc_s_n
mov dword [esp], eax
call fcn.0042d100
mov esi, dword [ebp - 0x9c]
mov ecx, 0x3c7
mov dword [esp + 4], 0x1bb
mov dword [esp], 0
mov edx, str.midiOutOpen
mov eax, esi
call fcn.00412760
lea edx, [ebp - 0x50]
xor eax, eax
mov ecx, 0xe
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x40
mov dword [ebp - 0x58], 0x42f094
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [ebp - 0x54], 6
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1c1
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutPrepareHeader_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], edi
mov dword [esp + 8], 0x40
mov dword [esp], eax
call sub.winmm.dll_midiOutLongMsg
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1c3
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutLongMsg_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], edi
mov dword [esp + 8], 0x40
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1c5
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutUnprepare_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp], edi
mov ecx, 0x3c9
mov eax, esi
mov dword [esp + 4], 0x1c6
mov edx, str.midiOutLongMsg
mov dword [ebp - 0x9c], esi
call fcn.00412760
mov dword [esp], 0x3c
mov esi, dword [sym.imp.kernel32.dll_Sleep]
call esi
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x58], 0x42f08c
sub esp, 4
mov dword [ebp - 0x54], 8
mov dword [esp + 8], 0x40
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1cc
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutPrepareHeader_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], edi
mov dword [esp + 8], 0x40
mov dword [esp], eax
call sub.winmm.dll_midiOutLongMsg
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1ce
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutLongMsg_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], edi
mov dword [esp + 8], 0x40
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1d0
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutUnprepare_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp], edi
mov eax, dword [ebp - 0x9c]
mov ecx, 0x3c9
mov dword [esp + 4], 0x1d1
mov edx, str.midiOutLongMsg
call fcn.00412760
mov dword [esp + 4], 0x1d5
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp + 4], 0x93
mov dword [esp], str.ShortMsg_type__x__muted__n
call fcn.0042d130
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], 0x6f4593
mov dword [esp], eax
call sub.winmm.dll_midiOutShortMsg
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1d7
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutShortMsg_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
test ebx, ebx
je 0x4149d0
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], 0x4593
mov dword [esp], eax
call sub.winmm.dll_midiOutShortMsg
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x1dc
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutShortMsg_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0x40
mov dword [ebp - 0x58], 0x42f084
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [ebp - 0x54], 8
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1e2
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutPrepareHeader_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], edi
mov dword [esp + 8], 0x40
mov dword [esp], eax
call sub.winmm.dll_midiOutLongMsg
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1e4
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutLongMsg_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], edi
mov dword [esp + 8], 0x40
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x1e6
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutUnprepare_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp], edi
mov edi, dword [ebp - 0x9c]
mov ecx, 0x3c9
mov dword [esp + 4], 0x1e7
mov edx, str.midiOutLongMsg
mov eax, edi
call fcn.00412760
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiOutClose
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x1ea
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiOutClose_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x1eb
mov eax, edi
mov ecx, 0x3c8
mov dword [esp], 0
mov edx, str.midiOuClose
call fcn.00412760
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x12d
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], str.MIDI_out_not_supported_n
call fcn.0042d1f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x11d
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
movzx eax, word [ebp - 0x60]
mov dword [esp], str.__s:_manufacturer_d__product_d__tech_d__support_X:__d_voices___d_notes_n
mov dword [esp + 0x1c], eax
movzx eax, word [ebp - 0x62]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x64]
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0x8a]
mov dword [esp + 0xc], eax
movzx eax, word [ebp - 0x8c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
call fcn.0042d130
mov dword [esp + 4], 0x11f
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
movzx eax, word [ebp - 0x64]
cmp ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str.technology__d_on_device__d_n
mov edx, eax
mov dword [esp + 8], eax
setne al
cmp dx, 5
sete dl
xor eax, edx
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
cmp word [ebp - 0x64], 1
jne 0x4135e6
mov dword [esp + 4], 0x121
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
movzx eax, word [ebp - 0x62]
or ax, word [ebp - 0x60]
mov dword [esp + 4], str.external_device_with_notes_or_voices_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x122
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
movzx edx, word [ebp - 0x5e]
mov dword [esp + 4], str.external_device_channel_mask__x_n
cmp dx, 0xffff
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x123
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], str.external_device_support_X_n
test al, 7
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
jmp 0x4135e6
mov dword [esp + 0x10], 0x30000
mov dword [esp + 0xc], 0x4cafe5a8
mov dword [esp + 8], 0x412290
jmp 0x413608
xor edx, edx
test esi, esi
sete dl
jmp 0x4136ef
xor eax, eax
cmp esi, 8
sete al
jmp 0x413751
mov dword [esp + 4], 0x139
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x94]
mov dword [esp + 8], ebx
mov dword [esp], str.Current_volume__x_on_device__d_n
mov dword [esp + 4], eax
call fcn.0042d130
jmp 0x41370b
mov dword [esp], 0x190
call dword [sym.imp.kernel32.dll_Sleep]
sub esp, 4
jmp 0x413987
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiOutClose
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x1aa
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutClose_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x1ab
xor ecx, ecx
mov edx, str.midiOutClose_WINDOW__THREAD
mov dword [esp], 0xfeedf00d
mov eax, 0xffffffff
call fcn.00412760
mov dword [esp + 4], 0x1ac
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
mov dword [esp], 0xfeedf00d
mov edx, str.midiOutClose
call fcn.00412760
jmp 0x4140be
mov dword [esp + 4], 0x198
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x90]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str.midiOutGetID_gives__d__expect__d_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
jmp 0x413f55
mov eax, dword [0x43d87c]
test eax, eax
je 0x41410f
mov dword [esp + 4], 0x1b2
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov dword [0x43d87c], 1
call fcn.0042ce90
mov dword [esp], str.FluidSynth__at_least_1.1.6__doesnt_support_desired_System_Exclusive_message._n
call fcn.0042d1f0
jmp 0x413670
mov dword [esp], 0xc8
call esi
sub esp, 4
jmp 0x4144b3
mov dword [esp + 0x10], 0x30000
mov dword [esp + 0xc], 0x4cafe5a8
mov dword [esp + 8], 0x412290
jmp 0x414131
xor eax, eax
cmp esi, 3
sete al
mov dword [esp], eax
call fcn.0042cf70
test eax, eax
setne al
movzx eax, al
jmp 0x413751
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiOutGetVolume
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x14f
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutGetVolume_new_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
test esi, esi
je 0x414b4e
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x436a99
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d270
mov esi, dword [ebp - 0xa8]
jmp 0x414aec
mov dword [esp + 4], 0x151
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], esi
mov dword [esp + 4], str.volume_Set__x__Get__x_n
cmp eax, esi
mov dword [esp + 0xc], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
call fcn.0042d2c0
call fcn.0042d2a0
test eax, eax
jne 0x414ab0
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.winmm.dll_midiOutSetVolume
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x154
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiOutSetVolume_restore_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
jmp 0x413844
mov dword [esp + 4], 0x150
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], ebx
mov dword [esp], str.New_volume__x_on_device__d_n
mov dword [esp + 4], eax
call fcn.0042d130
jmp 0x414a7c