Function at 0x414bf0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], edx
test edx, edx
je 0x416f70
mov dword [esp + 0x14], 0x10000
mov dword [esp + 0x10], 0x4cafe5a8
mov dword [esp + 0xc], edx
lea eax, [ebp - 0xac]
mov dword [esp + 8], 1
mov dword [ebp - 0xb4], eax
mov dword [esp + 4], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
mov dword [ebp - 0xb8], eax
call sub.winmm.dll_midiStreamOpen
mov ebx, eax
lea eax, [eax - 6]
sub esp, 0x18
and eax, 0xfffffffd
je 0x416f40
mov dword [esp + 4], 0x26c
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.midiStreamOpen_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
test ebx, ebx
je 0x414cb0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0xb0]
mov ecx, 0x3c7
mov edx, str.midiStreamOpen
mov dword [esp + 4], 0x26f
mov dword [esp], 0
call fcn.00412760
lea eax, [ebp - 0xa4]
mov dword [esp + 8], 0x40000002
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], 8
mov dword [esp], eax
call sub.winmm.dll_midiStreamProperty
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x273
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.midiStreamProperty_TEMPO_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], 0x274
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], str.default_stream_tempo__u_microsec_per_quarter_note_n
cmp eax, 0x7a120
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0xa4]
mov dword [esp + 8], 0x40000001
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], 8
mov dword [esp], eax
call sub.winmm.dll_midiStreamProperty
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x278
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.midiStreamProperty_TIMEDIV_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], 0x279
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], str.default_stream_time_division__u_n
cmp ax, 0x18
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
lea edx, [ebp - 0x48]
mov eax, ebx
mov ecx, 0xc
mov edi, edx
mov dword [ebp - 0x4c], 0x56fa552c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], 0x499602d2
mov dword [esp], eax
mov dword [ebp - 0x54], 0x24
mov dword [ebp - 0x50], 0x24
mov dword [ebp - 0x58], 0x42f060
call sub.winmm.dll_midiOutLongMsg
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x283
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_unprepared_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0x40
sete al
mov dword [esp], eax
call fcn.0042d100
mov esi, dword [ebp - 0xb0]
mov dword [esp], 0xfeedf00d
xor ecx, ecx
mov dword [esp + 4], 0x284
mov edx, str.midiOutLong_unprepared
mov eax, esi
call fcn.00412760
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x287
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.midiOutPrepare_tiny_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xb
sete al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x289
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.midiOutPrepare_size_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], 0x28a
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.MHDR.dwFlags_when_prepared__x_n
mov dword [esp + 8], eax
and eax, 2
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamOut
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x28e
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.midiStreamOut_old_size_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], 0x290
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_submitted_n
mov dword [esp + 4], eax
call fcn.0042d130
mov edi, dword [sym.imp.kernel32.dll_Sleep]
mov dword [esp], 0x5a
mov dword [ebp - 0xbc], edi
call edi
xor ecx, ecx
mov edx, str.midiStream_still_paused
mov eax, esi
sub esp, 4
mov dword [esp + 4], 0x296
mov dword [esp], 0xfeedf00d
call fcn.00412760
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamRestart
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x29e
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.midiStreamRestart_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
test ebx, ebx
je 0x416f90
mov dword [esp + 4], 0x2a6
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.MHDR.dwFlags__x_no_ISSTRM_when_out_of_queue_n
mov dword [esp + 8], eax
and eax, 8
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x2ac
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.MHDR.dwFlags__x_not_DONE_when_out_of_queue_n
mov dword [esp + 8], eax
and eax, 1
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0xb0]
mov dword [esp + 4], 0x2ad
mov dword [esp], eax
mov ecx, 0x3ca
mov edx, str.midiStream_callback
mov eax, esi
call fcn.00412760
lea eax, [ebp - 0x58]
mov ecx, 0x3c9
mov dword [esp + 4], 0x2ae
mov dword [esp], eax
mov edx, str.midiStreamOut
mov eax, esi
call fcn.00412760
mov dword [esp + 4], 0x2b1
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], str.play_left_MIDIHDR.dwOffset_at__u_n
cmp eax, 0x499602d2
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2b4
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
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2b6
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_2_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], 0x2b8
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp], str.MIDIHDR_stream_flags_x_when_finished_n
mov dword [esp + 4], eax
call fcn.0042d130
mov dword [esp + 4], 0x2b9
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.MHDR.dwFlags_when_done__x_n
mov dword [esp + 8], eax
and eax, 1
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov ecx, 1
mov edx, 1
call fcn.004125e0
mov eax, dword [ebp - 0xa8]
mov ecx, 0x20
mov edx, 0x20
call fcn.004125e0
mov eax, dword [ebp - 0xa8]
mov ecx, 0x10
mov edx, 0x10
call fcn.004125e0
mov eax, dword [ebp - 0xa8]
mov ecx, 1
mov edx, 8
call fcn.004125e0
mov eax, dword [ebp - 0xa8]
mov ecx, 1
mov edx, 2
call fcn.004125e0
mov eax, dword [ebp - 0xa8]
mov ecx, 1
mov edx, 4
call fcn.004125e0
mov eax, dword [ebp - 0xbc]
mov dword [esp], 0x190
call eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 8
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 8], 0x40000002
mov dword [esp], eax
call sub.winmm.dll_midiStreamProperty
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2c6
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.midiStreamProperty_TEMPO_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], 0x2c7
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], str.stream_set_tempo__u_n
cmp eax, 0x493e0
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamRestart
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x2ca
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.midiStreamRestart_2_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
or dword [ebp - 0x48], 8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 8], 0x40
mov dword [esp], eax
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2cf
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.midiOutPrepare_used_flags__x_rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2d1
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_used_flags__x_rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamRestart
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x2d4
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.midiStreamRestart_3_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], 0x2d6
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], 0x2d7
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [0x42f064]
mov dword [esp + 4], str.dwStreamID_set_to__x_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x2dd
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov dword [ebp - 0x3c], 0x498f3973
mov dword [ebp - 0x54], 0x18
call fcn.0042ce90
mov eax, dword [ebp - 0x54]
mov dword [esp], str.buffer:__u_n
mov dword [esp + 4], eax
call fcn.0042d130
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
or dword [0x42f040], 0x40000000
mov dword [esp], eax
or dword [0x42f04c], 0x40000000
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0x42f038
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x2e4
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.midiOutPrepare_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 - 0xa8]
lea edx, [ebp - 0x58]
call fcn.00414b80
mov dword [esp + 4], 0x2e7
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiStreamOut_0_bytes_recorded_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov ecx, 0x3c9
mov dword [esp + 4], 0x2e9
mov dword [esp], eax
mov edx, str.midiStreamOut
mov eax, esi
call fcn.00412760
mov dword [esp], 0xfeedf00d
mov eax, esi
xor ecx, ecx
mov dword [esp + 4], 0x2ea
mov edx, str.0_bytes_recorded
call fcn.00412760
mov dword [esp + 4], 0x2ee
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov ebx, dword [ebp - 0x3c]
mov eax, 1
cmp ebx, 0x498f3973
je 0x4156e4
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042cf70
test eax, eax
setne al
movzx eax, al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.play_0_set_MIDIHDR.dwOffset_to__u_n
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x3c], 0x498f3973
mov dword [ebp - 0x50], 0xc
call fcn.00414b80
mov dword [esp + 4], 0x2f7
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiStreamOut_1_event_out_of_2_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov edi, dword [ebp - 0xb0]
mov dword [esp + 4], 0x2f9
mov dword [esp], eax
mov ecx, 0x3ca
mov edx, str.1_of_2_events
mov eax, edi
call fcn.00412760
lea eax, [ebp - 0x58]
mov ecx, 0x3c9
mov dword [esp + 4], 0x2fa
mov dword [esp], eax
mov edx, str.1_of_2_events
mov eax, edi
call fcn.00412760
mov dword [esp], 0xfeedf00d
xor ecx, ecx
mov eax, edi
mov dword [esp + 4], 0x2fb
mov edx, str.1_of_2_events
call fcn.00412760
mov dword [esp + 4], 0x2fc
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_1_2_changed_to__u_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x3c], 0x498f3973
mov dword [ebp - 0x50], 0x18
call fcn.00414b80
mov dword [esp + 4], 0x302
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiStreamOut_1_event_out_of_2_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov ecx, 0x3ca
mov dword [esp + 4], 0x304
mov dword [esp], eax
mov edx, str.2_of_2_events
mov eax, edi
call fcn.00412760
lea eax, [ebp - 0x58]
mov ecx, 0x3ca
mov dword [esp + 4], 0x305
mov dword [esp], eax
mov edx, str.2_of_2_events
mov eax, edi
call fcn.00412760
lea eax, [ebp - 0x58]
mov ecx, 0x3c9
mov dword [esp + 4], 0x306
mov dword [esp], eax
mov edx, str.2_of_2_events
mov eax, edi
call fcn.00412760
mov dword [esp], 0xfeedf00d
xor ecx, ecx
mov eax, edi
mov dword [esp + 4], 0x307
mov edx, str.2_of_2_events
call fcn.00412760
mov dword [esp + 4], 0x308
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_2_2_changed_to__u_n
cmp eax, 0xc
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x309
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.dwBytesRecorded_changed_to__u_n
cmp eax, 0x18
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0x58]
and dword [0x42f040], 0xbfffffff
and dword [0x42f04c], 0xbfffffff
mov dword [ebp - 0x3c], 0x498f3973
call fcn.00414b80
mov dword [esp + 4], 0x30f
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiStreamOut_1_event_out_of_2_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov ecx, 0x3c9
mov dword [esp + 4], 0x311
mov dword [esp], eax
mov edx, str.0_CB_in_2_events
mov eax, edi
call fcn.00412760
mov dword [esp], 0xfeedf00d
mov eax, edi
xor ecx, ecx
mov dword [esp + 4], 0x312
mov edx, str.0_CB_in_2_events
call fcn.00412760
mov dword [esp + 4], 0x314
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov ebx, dword [ebp - 0x3c]
mov eax, 1
cmp ebx, 0x498f3973
je 0x4159f2
xor eax, eax
cmp ebx, 0xc
sete al
mov dword [esp], eax
call fcn.0042cf70
test eax, eax
setne al
movzx eax, al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.MIDIHDR.dwOffset_nocb_changed_to__u_n
call fcn.0042d100
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x58]
sub eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa8]
call fcn.00414b80
mov dword [esp + 4], 0x318
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiStreamOut_dwBytesRecorded_modulo_MIDIEVENT_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xb
sete al
mov dword [esp], eax
call fcn.0042d100
test ebx, ebx
je 0x417050
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa8]
call fcn.00414b80
mov dword [esp + 4], 0x31f
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
mov dword [esp + 4], str.midiStreamOut_dwBufferLength_dwBytesRecorded_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xb
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x320
mov eax, dword [ebp - 0xb0]
xor ecx, ecx
mov dword [esp], 0xfeedf00d
mov edx, str.past_MIDIHDR_tests
call fcn.00412760
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamStop
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x323
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.midiStreamStop_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], 0x324
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
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x327
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 + 4], 0x328
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [0x42f03c]
mov dword [esp + 4], str.dwStreamID_0__set_to__x_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x329
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [0x42f048]
mov dword [esp + 4], str.dwStreamID_1__set_to__x_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 8], 0x11170
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x54], 0x11170
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xc0], eax
call eax
sub esp, 0xc
mov dword [ebp - 0x58], eax
mov dword [esp + 4], 0x32d
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
mov dword [esp + 4], str.No__d_bytes_of_memory__n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x415da6
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov edi, 0x436a99
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x48], 0
mov dword [esp], eax
call sub.winmm.dll_midiOutPrepareHeader
mov esi, dword [str.windows]
mov ecx, 5
sub esp, 0xc
mov ebx, eax
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
jmp 0x415d1d
mov dword [esp + 4], 0x332
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.midiOutPrepare_stream_too_large_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xb
sete al
mov dword [esp], eax
call fcn.0042d100
call fcn.0042d2c0
call fcn.0042d2a0
test eax, eax
jne 0x415ce0
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x335
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 edx, dword [ebp - 0x58]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamClose
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x33b
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.midiStreamClose_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov esi, dword [ebp - 0xb0]
mov ecx, 0x3c8
mov dword [esp + 4], 0x33c
mov dword [esp], 0
mov edx, str.midiStreamClose
mov eax, esi
call fcn.00412760
mov dword [esp], 0xfeedf00d
xor ecx, ecx
mov eax, esi
mov dword [esp + 4], 0x33d
mov edx, str.midiStream_over
call fcn.00412760
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0x14], 0x30000
mov dword [esp + 0x10], 0x4cafe5a8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp], eax
call sub.winmm.dll_midiStreamOpen
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x340
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], ebx
call fcn.00424ff0
test ebx, ebx
mov dword [esp + 4], str.midiStreamOpen_NULL_function_rc_s_n
mov dword [esp + 8], eax
sete al
cmp ebx, 0xb
sete dl
or eax, edx
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
test ebx, ebx
je 0x4170d0
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0x14], 0x10000
mov dword [esp + 0x10], 0x4cafe5a8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], 0xdeadbeef
mov dword [esp + 8], 1
mov dword [esp], eax
call sub.winmm.dll_midiStreamOpen
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x348
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.midiStreamOpen_bad_window_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xb
sete al
mov dword [esp], eax
call fcn.0042d100
test ebx, ebx
je 0x417080
mov dword [ebp - 0x9c], 0
lea ebx, [ebp - 0x9c]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventA]
sub esp, 0x10
mov dword [ebp - 0x90], eax
mov dword [esp + 4], 0x351
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0xac]
mov esi, dword [ebp - 0x90]
mov dword [esp + 4], str.CreateEvent_failed__dev_d__n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x30000
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], 0x412510
mov dword [esp + 8], 1
mov dword [esp], eax
call sub.winmm.dll_midiStreamOpen
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x354
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.midiStreamOpen_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov edx, 1
call fcn.00412580
mov dword [esp + 4], 0x358
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
xor eax, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 4], str.expected__u__got__u_n
call fcn.0042d100
lea edx, [ebp - 0x4c]
xor eax, eax
mov ecx, 0xd
mov edi, edx
mov dword [ebp - 0x58], 0x42f020
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x54], 0x18
mov dword [esp], eax
mov dword [ebp - 0x50], 0x18
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x35e
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_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamOut
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x361
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.midiStreamOut_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov edx, 1
call fcn.00412580
mov dword [esp + 4], 0x364
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
xor eax, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 4], str.expected__u__got__u_n
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamRestart
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x367
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.midiStreamRestart_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov edi, dword [ebp - 0xbc]
mov dword [esp], 0x32
call edi
mov eax, dword [ebp - 0xa8]
sub esp, 4
mov dword [esp], eax
call sub.winmm.dll_midiStreamPause
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x36b
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.midiStreamPause_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov edx, 1
call fcn.00412580
mov dword [esp + 4], 0x36f
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
lea eax, [ebx - 0x32]
mov dword [esp + 0xc], ebx
cmp eax, 0x31
mov dword [esp + 8], 0x32
setbe al
mov dword [esp + 4], str.expected__ums_or_greater__got__ums_n
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp], 0x64
call edi
mov eax, dword [ebp - 0xa8]
mov edx, 1
sub esp, 4
call fcn.00412580
mov dword [esp + 4], 0x375
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov esi, eax
call fcn.0042ce90
xor eax, eax
cmp ebx, esi
mov dword [esp + 0xc], esi
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.expected__ums__got__ums_n
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamRestart
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x378
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.midiStreamRestart_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp], 1
call edi
mov eax, dword [ebp - 0xa8]
mov edx, 1
sub esp, 4
call fcn.00412580
mov dword [esp + 4], 0x37c
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov esi, eax
call fcn.0042ce90
xor eax, eax
cmp ebx, esi
jae 0x4163b1
lea eax, [ebx + 0x32]
cmp eax, esi
seta al
movzx eax, al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov dword [esp + 4], str.expected_greater_than__ums__got__ums_n
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov edx, 0x20
call fcn.00412580
mov dword [esp + 4], 0x380
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
xor eax, eax
cmp dword [0x42f020], ebx
jae 0x416404
xor eax, eax
cmp dword [0x42f02c], ebx
seta al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.TIME_TICKS_position_is_continuous__got__u_n
call fcn.0042d100
lea eax, [ebp - 0xa4]
mov dword [esp + 8], 0x80000001
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], 8
mov dword [esp], eax
mov dword [ebp - 0xa0], 0x18
call sub.winmm.dll_midiStreamProperty
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x387
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.midiStreamProperty_SETTIMEDIV__dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xb
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x38a
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.WaitForSingleObject_failed__got__d_n
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamPause
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x38d
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.midiStreamPause_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov edx, 1
call fcn.00412580
mov dword [esp + 4], 0x391
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
lea eax, [ebx - 0xc8]
mov dword [esp + 0xc], ebx
cmp eax, 0x64
mov dword [esp + 8], 0xfa
setbe al
mov dword [esp + 4], str.expected_greater_than__ums__got__ums_n
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x393
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp + 4], ebx
mov dword [esp], str.after_playing__got__ums_n
call fcn.0042d130
lea eax, [ebp - 0xa4]
mov dword [esp + 8], 0x80000002
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], 8
mov dword [esp], eax
mov dword [ebp - 0xa0], 0x3d090
call sub.winmm.dll_midiStreamProperty
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x399
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.midiStreamProperty_SETTEMPO__dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov edx, 0x20
call fcn.00412580
mov dword [esp + 4], 0x39d
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
mov eax, dword [0x42f02c]
xor edx, edx
cmp eax, ebx
ja 0x41665d
lea edx, [eax + 3]
cmp edx, ebx
seta dl
movzx edx, dl
mov dword [esp], edx
mov edi, 0x436a99
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.expected__u_ticks__got__u_n
call fcn.0042d100
lea eax, [ebp - 0xa4]
mov dword [esp + 8], 0x40000001
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], 8
mov dword [esp], eax
call sub.winmm.dll_midiStreamProperty
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x3a2
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.midiStreamProperty_GETTIMEDIV__dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x3a3
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], str.expected_24__got__u_n
cmp eax, 0x18
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov ecx, dword [ebp - 0xa0]
xor edx, edx
mov eax, ecx
shr ecx, 2
shr eax, 3
add eax, ebx
div ecx
mov edx, 0x10
mov ebx, eax
mov eax, dword [ebp - 0xa8]
call fcn.00412580
mov dword [esp + 4], 0x3a8
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov esi, eax
call fcn.0042ce90
xor eax, eax
cmp ebx, esi
mov dword [esp + 0xc], esi
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.expected_song_pointer__u__got__u_n
call fcn.0042d100
mov dword [esp + 4], 0x3aa
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x9c]
mov dword [esp + 4], str.expected_2_MM_MOM_DONE_messages__got__d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x3b0
mov ebx, dword [ebp - 0x94]
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
sub ebx, dword [ebp - 0x98]
call fcn.0042ce90
mov eax, dword [ebp - 0xac]
mov dword [esp + 0x10], ebx
sub ebx, 0x12c
mov dword [esp + 0xc], 0x190
mov dword [esp + 0x14], eax
xor eax, eax
cmp ebx, 0x64
setbe al
mov dword [esp + 8], 0x12c
mov dword [esp], eax
mov dword [esp + 4], str.expected__u___ums__got__ums__dev_d__n
call fcn.0042d100
lea eax, [ebp - 0x58]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x3b4
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.midiOutUnprepareHeader_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamStop
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x3b7
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.midiStreamStop_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov edx, 1
call fcn.00412580
mov dword [esp + 4], 0x3ba
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov ebx, eax
call fcn.0042ce90
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.expected_0ms__got__ums_n
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0xa4]
mov dword [esp + 8], 0x80000001
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], 8
mov dword [esp], eax
mov dword [ebp - 0xa0], 0xe204
call sub.winmm.dll_midiStreamProperty
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x3bf
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.midiStreamProperty_SETTIMEDIV__dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xa8]
mov ecx, 1
mov edx, 1
call fcn.004125e0
mov eax, dword [ebp - 0xa8]
mov ecx, 0x20
mov edx, 0x20
call fcn.004125e0
mov eax, dword [ebp - 0xa8]
mov ecx, 1
mov edx, 0x10
call fcn.004125e0
mov esi, dword [str.windows]
mov ecx, 5
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
jmp 0x4169fe
mov eax, dword [ebp - 0xa8]
mov ecx, 8
mov edx, 8
call fcn.004125e0
call fcn.0042d2c0
call fcn.0042d2a0
test eax, eax
jne 0x4169e4
mov eax, dword [ebp - 0xa8]
mov ecx, 1
mov edx, 2
call fcn.004125e0
mov eax, dword [ebp - 0xa8]
mov ecx, 1
mov edx, 4
call fcn.004125e0
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamClose
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x3c9
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.midiStreamClose_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x8c]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], 0x34
mov dword [esp], eax
call sub.winmm.dll_midiOutGetDevCapsA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x3cd
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.midiOutGetDevCaps_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
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 0x41715e
cmp dword [ebp - 0xac], 0xffffffff
je 0x417150
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x417190
mov dword [esp + 0x14], 0x10000
mov dword [esp + 0x10], 0x4cafe5a8
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 8], 1
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamOpen
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x3db
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.midiOutOpen_dev_d__rc_s_n
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
mov eax, dword [ebp - 0xb0]
mov edx, str.midiStreamOpen
mov dword [esp + 4], 0x3dc
mov dword [esp], 0
mov ecx, 0x3c7
call fcn.00412760
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x80000001
mov dword [esp], eax
mov dword [ebp - 0xa4], 8
mov dword [ebp - 0xa0], 0x1e0
call sub.winmm.dll_midiStreamProperty
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x3e1
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.midiStreamProperty_TimeDiv__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 - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamRestart
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x3e4
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.midiStreamRestart_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
mov ebx, dword fs:[0x18]
call fcn.0042d100
xor eax, eax
mov ecx, 0x10
mov esi, dword [ebp - 0xc0]
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x54
mov dword [esp + 4], 8
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], 0x54
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [ebp - 0x58], eax
mov dword [esp + 4], 0x3ea
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 0x416ec9
mov eax, dword [0x42f094]
mov dword [ecx + 8], 0x80000006
lea esi, [ebp - 0x58]
mov edx, dword [0x42f090]
mov dword [ecx + 0x14], 0x60
mov dword [ecx + 0xc], eax
movzx eax, word [0x42f098]
mov dword [ecx + 0x24], edx
mov edx, dword [0x42f088]
mov word [ecx + 0x10], ax
mov eax, dword [0x42f08c]
mov dword [ecx + 0x50], edx
mov dword [ecx + 0x20], eax
mov eax, dword [0x42f084]
mov dword [ecx + 0x1c], 0x80000008
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ecx + 0x30], 0x6f4593
mov dword [ecx + 0x34], 0xf0
mov dword [ecx + 0x3c], 0x4593
mov dword [ecx + 0x48], 0x80000008
mov dword [esp + 4], esi
mov dword [esp + 8], 0x40
mov dword [esp], eax
mov dword [ebp - 0x50], 0x54
call sub.winmm.dll_midiOutPrepareHeader
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x40b
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.midiOutPrepareHeader_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 - 0xa8]
lea edx, [ebp - 0x58]
call fcn.00414b80
mov dword [esp + 4], 0x40e
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
mov esi, eax
call fcn.0042ce90
mov dword [esp], esi
call fcn.00424ff0
mov dword [esp + 4], str.midiStreamOut_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
lea esi, [ebp - 0x58]
sete al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp], esi
mov eax, dword [ebp - 0xb0]
mov ecx, 0x3c9
mov dword [esp + 4], 0x40f
mov edx, str.midiStreamOut
call fcn.00412760
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x40
mov dword [esp], eax
call sub.winmm.dll_midiOutUnprepareHeader
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x412
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.midiOutUnprepare_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 - 0x58]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamClose
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x417
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 eax, dword [ebp - 0xb0]
mov ecx, 0x3c8
mov dword [esp + 4], 0x418
mov dword [esp], 0
mov edx, str.midiStreamClose
call fcn.00412760
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x269
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], str.MIDI_stream_not_supported_n
call fcn.0042d1f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x14], 0x30000
mov dword [esp + 0x10], 0x4cafe5a8
mov dword [esp + 0xc], 0x412290
jmp 0x414c24
test byte [ebp - 0x48], 4
je 0x416fd2
mov ebx, edi
lea esi, [esi]
nop
mov dword [esp + 4], 0x2a1
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], str.async_MIDI_still_queued_n
call fcn.0042d130
mov dword [esp], 0x64
call ebx
sub esp, 4
test byte [ebp - 0x48], 4
jne 0x416fa0
mov dword [esp + 4], 0x2a6
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], str.MHDR.dwFlags__x_no_ISSTRM_when_out_of_queue_n
mov dword [esp + 8], eax
and eax, 8
mov dword [esp], eax
call fcn.0042d100
mov ebx, dword [ebp - 0xbc]
test byte [ebp - 0x48], 1
jne 0x4150d5
mov dword [esp + 4], 0x2a9
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov dword [esp], str.async_MIDI_still_not_done_n
call fcn.0042d130
mov dword [esp], 0x64
call ebx
sub esp, 4
test byte [ebp - 0x48], 1
je 0x417010
jmp 0x4150d5
lea eax, [ebp - 0x58]
mov ecx, 0x3c9
mov edx, str.2_of_2_events
mov dword [esp + 4], 0x31a
mov dword [esp], eax
mov eax, dword [ebp - 0xb0]
call fcn.00412760
jmp 0x415a5f
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamClose
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x34b
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.midiStreamClose_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
jmp 0x415f35
mov dword [esp + 4], 0x342
mov dword [esp], str..._wine_dlls_winmm_tests_midi.c
call fcn.0042ce90
mov eax, dword [ebp - 0xac]
mov dword [esp], str.Device__d_accepts_NULL_CALLBACK_FUNCTION_n
mov dword [esp + 4], eax
call fcn.0042d130
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.winmm.dll_midiStreamClose
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x344
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.midiStreamClose_rc_s_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.0042d100
jmp 0x415eb8
mov ecx, dword [0x43d87c]
test ecx, ecx
je 0x416b31
mov dword [esp + 4], 0x3d1
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 0x414ca6
mov dword [esp + 0x14], 0x30000
mov dword [esp + 0x10], 0x4cafe5a8
mov dword [esp + 0xc], 0x412290
jmp 0x416b5d