Function at 0x575457
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003256b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [reloc.WINMM.dll_midiStreamStop]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x10036a6c
lea ecx, [ebp - 0x28]
call fcn.0056aa07
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.0056ac97
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.WINMM.dll_midiStreamStop
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5754c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x14], edi
jne 0x5754fb
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], reloc.WINMM.dll_midiStreamStop
mov dword [ebp - 4], reloc.WINMM.dll_midiStreamStop
lea ecx, [ebp - 0x30]
call fcn.0056ad77
mov eax, 0xfffffc00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0xdc]
mov dword [edx], edi
call fcn.0057a377
mov byte [ebp - 4], 4
mov eax, dword [reloc.WINMM.dll_midiStreamStop]
mov edx, dword [eax + 0xc]
mov ecx, 0x1004213c
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
lea ebx, [esi + 8]
push ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], ebx
call dword [0x10035138]
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x2c]
cmp dword [eax - 0xc], edi
je 0x576312
mov ecx, dword [esi + 0x30]
cmp dword [ecx - 0xc], edi
je 0x576312
mov edx, dword [esi + 0x40]
cmp dword [edx - 0xc], 0
lea edi, [esi + 0x40]
je 0x576310
push ebx
call dword [0x10035134]
push 1
mov ecx, esi
mov dword [ebp - 0x44], 0
call fcn.0056b7c7
mov dword [ebp - 0x24], eax
test eax, eax
je 0x575623
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
jne 0x575623
lea ecx, [ebp + 0x1c]
call fcn.00568987
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x24]
push esi
lea ecx, [ebp + 0x1c]
push 0x10036a4c
push ecx
call fcn.00569d07
add esp, 0xc
push 1
lea edx, [ebp + 0x1c]
push edx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x1c]
call fcn.00568707
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005686e7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00568707
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.0057a3f7
mov dword [ebp - 4], reloc.WINMM.dll_midiStreamStop
lea ecx, [ebp - 0x30]
call fcn.0056ad77
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push ebx
call dword [0x10035138]
mov ebx, 1
add dword [esi + 0xd4], ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x44], ebx
call fcn.00568987
mov byte [ebp - 4], 0xc
mov eax, dword [reloc.WINMM.dll_midiStreamStop]
push eax
lea ecx, [ebp - 0x3c]
push 0x100354e0
push ecx
call fcn.00569d07
mov edx, dword [ebp - 0x3c]
add esp, 0xc
push 0
push edx
push 0x1003695c
lea ecx, [ebp - 0xdc]
call fcn.0057b6b7
mov eax, dword [esi + 0x44]
push 0
push eax
push 0x1003590c
lea ecx, [ebp - 0xdc]
call fcn.0057b6b7
mov eax, dword [esi + 0x2c]
push 0
push eax
push 0x1003591c
lea ecx, [ebp - 0xdc]
call fcn.0057b6b7
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x100435dc
call fcn.0057d2e7
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2c]
push 0
push eax
push 0x10036940
lea ecx, [ebp - 0xdc]
call fcn.0057b6b7
lea ecx, [ebp - 0x20]
call fcn.00568987
mov bl, 0xe
mov byte [ebp - 4], bl
mov eax, dword [reloc.WINMM.dll_midiStreamStop]
test eax, eax
jg 0x5756e7
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x18]
push 0x100354e0
push ecx
call fcn.00569d07
push 0x10035bb0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0056a007
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x4c]
push ecx
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.00569f47
mov byte [ebp - 4], 0x10
push 0x10035bb0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0056a007
mov byte [ebp - 4], 0x11
push edi
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00569f47
mov byte [ebp - 4], 0x12
push 0x10035bb0
push eax
lea edx, [ebp + 0x14]
push edx
call fcn.0056a007
add esp, 0x48
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x20]
call fcn.005696e7
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x24]
call fcn.00568707
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.00568707
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.00568707
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00568707
mov eax, dword [esi + 0x48]
push eax
lea ecx, [ebp - 0x18]
push 0x100354e0
push ecx
call fcn.00569d07
push 0x10035bb0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0056a007
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0x30]
push ecx
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00569f47
mov byte [ebp - 4], 0x15
push 0x10035bb0
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.0056a007
mov byte [ebp - 4], 0x16
push 0x10035998
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0056a007
mov byte [ebp - 4], 0x17
push 0x10035bb0
push eax
lea ecx, [ebp + 0x14]
push ecx
call fcn.0056a007
add esp, 0x48
mov byte [ebp - 4], 0x18
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00569987
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1c]
call fcn.00568707
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x24]
call fcn.00568707
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
call fcn.00568707
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.00568707
lea edx, [ebp - 0x18]
push edx
call fcn.00580517
push 0x10035bb0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0x14]
push ecx
call fcn.0056a007
add esp, 0x10
mov byte [ebp - 4], 0x19
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00569987
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x14]
call fcn.00568707
mov edx, dword [esi + 0xd4]
push edx
lea eax, [ebp - 0x18]
push 0x100354e0
push eax
call fcn.00569d07
push 0x10035bb0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x14]
push edx
call fcn.0056a007
add esp, 0x18
mov byte [ebp - 4], 0x1a
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00569987
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x14]
call fcn.00568707
mov eax, dword [esi + 0xd8]
push eax
lea ecx, [ebp - 0x18]
push 0x100354e0
push ecx
call fcn.00569d07
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00569987
push ecx
mov edi, esp
mov dword [ebp - 0x50], esp
push 1
push ecx
mov edx, esp
mov dword [ebp - 0x64], esp
push 4
push edx
lea ecx, [ebp - 0x2c]
call fcn.00569537
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], bl
call fcn.00569d27
add esp, 8
mov byte [ebp - 4], 0x1c
push eax
push ecx
lea eax, [esi + 0x30]
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.005690b7
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 0x1c
call fcn.00569d27
mov byte [ebp - 4], 0x1e
push eax
lea eax, [esi + 0x2c]
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.00569f47
add esp, 0x14
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00569f47
add esp, 0xc
mov byte [ebp - 4], 0x20
mov eax, dword [eax]
push eax
push edi
mov ecx, 0x100435dc
call fcn.0057d5a7
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x38]
push ecx
mov byte [ebp - 4], 0x20
call fcn.00569d27
add esp, 8
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x1c]
call fcn.00568707
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x24]
call fcn.00568707
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x28]
call fcn.00568707
lea ecx, [ebp - 0xd]
call fcn.0057f2a7
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x34]
call fcn.00568987
mov byte [ebp - 4], 0x28
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xd]
call fcn.0057e8a7
mov edx, dword [ebp - 0x34]
xor edi, edi
push edi
push edx
push 0x10035b90
lea ecx, [ebp - 0xdc]
call fcn.0057b6b7
lea eax, [esi + 0x54]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0056ab17
lea ecx, [esi + 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.005690b7
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x48]
push edx
call dword [0x10035134]
mov dword [ebp - 0x44], edi
lea ecx, [ebp - 0x14]
cmp dword [reloc.WINMM.dll_midiStreamStop], edi
jle 0x575ce0
push 0x3a
call fcn.00567cb7
lea ecx, [ebp - 0x14]
cmp eax, 4
jg 0x575a6c
push 0x100357dc
call fcn.0056aac7
jmp 0x575a9a
push 0x3a
call fcn.00567cb7
inc eax
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00569617
mov byte [ebp - 4], 0x2a
push eax
lea ecx, [ebp - 0x14]
call fcn.005696e7
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x1c]
call fcn.00568707
lea ecx, [ebp + 0x14]
call fcn.00568987
mov byte [ebp - 4], 0x2b
mov ecx, dword [reloc.WINMM.dll_midiStreamStop]
push ecx
lea edx, [ebp + 0x14]
push 0x100354e0
push edx
call fcn.00569d07
push 0x10035bb4
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0056a007
add esp, 0x18
mov byte [ebp - 4], 0x2c
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00569987
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x1c]
call fcn.00568707
push 0x10035688
lea ecx, [ebp - 0x24]
call fcn.0056aa07
mov byte [ebp - 4], 0x2d
lea edx, [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00569f47
add esp, 0xc
mov byte [ebp - 4], 0x2e
push 1
push eax
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x1c]
call fcn.00568707
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x24]
call fcn.00568707
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push edx
push 0x10035b40
push eax
lea ecx, [ebp - 0xdc]
call fcn.0057be27
mov edi, eax
test edi, edi
je 0x575c51
lea ecx, [ebp + 0x1c]
call fcn.00568987
mov byte [ebp - 4], 0x2f
push edi
lea ecx, [ebp + 0x1c]
push 0x10036a2c
push ecx
call fcn.00569d07
add esp, 0xc
push 1
lea edx, [ebp + 0x1c]
push edx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x1c]
call fcn.00568707
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x34]
call fcn.00568707
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xd]
call fcn.0057f2b7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.00568707
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call fcn.00568707
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.00568707
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00568707
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005686e7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00568707
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.0057a3f7
mov dword [ebp - 4], reloc.WINMM.dll_midiStreamStop
lea ecx, [ebp - 0x30]
call fcn.0056ad77
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0x14]
call fcn.00568707
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00584edb
mov edi, dword [ebp + 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x4c]
add esp, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0056a9b7
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [0x10035210]
mov edi, dword [edi]
test edi, edi
js 0x5762b8
lea ecx, [ebp + 0x10]
call fcn.00568987
mov byte [ebp - 4], 0x3c
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xd]
call fcn.0057edc7
mov edx, dword [ebp + 0x10]
push edx
call fcn.00584edb
mov edi, dword [ebp + 0x1c]
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x5761d7
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
jge 0x575fe7
mov dword [ebp + 0xc], reloc.WINMM.dll_midiStreamStop
jmp 0x57600a
cmp byte [esi + 0x64], 0
je 0x575f26
push 0x3a
call fcn.00567cb7
lea ecx, [ebp - 0x14]
cmp eax, 4
jg 0x575d05
push 0x100357dc
call fcn.0056aac7
jmp 0x575d33
push 0x3a
call fcn.00567cb7
inc eax
push eax
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x14]
call fcn.00569617
mov byte [ebp - 4], 0x30
push eax
lea ecx, [ebp - 0x14]
call fcn.005696e7
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0x14]
call fcn.00568707
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x60]
push ecx
mov ecx, esi
call fcn.0056fdf7
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x40], eax
cmp ecx, edi
jle 0x575e8d
jmp 0x575d6d
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x40]
cmp eax, ecx
jae 0x575eb7
mov edx, dword [ebp - 0x60]
lea eax, [edx + eax*4]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00569f47
mov byte [ebp - 4], 0x32
push 0x10035bb4
push eax
lea edx, [ebp + 0x14]
push edx
call fcn.0056a007
add esp, 0x18
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x1c]
call fcn.00568707
push 0x1003626c
lea ecx, [ebp - 0x50]
call fcn.0056aa07
mov byte [ebp - 4], 0x35
lea ecx, [ebp + 0x14]
push ecx
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.00569f47
add esp, 0xc
mov byte [ebp - 4], 0x36
push 1
push eax
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x64]
call fcn.00568707
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x50]
call fcn.00568707
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
push 0x10035b40
push edx
lea ecx, [ebp - 0xdc]
call fcn.0057be27
mov edi, eax
test edi, edi
je 0x575ec1
mov eax, dword [ebp - 0x24]
dec eax
cmp dword [ebp - 0x40], eax
je 0x575ecf
lea ecx, [ebp - 0x28]
call fcn.00568987
mov byte [ebp - 4], 0x37
push edi
lea ecx, [ebp - 0x28]
push 0x10036250
push ecx
call fcn.00569d07
add esp, 0xc
push 1
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x28]
call fcn.00568707
mov byte [ebp - 4], 0x31
lea ecx, [ebp + 0x14]
call fcn.00568707
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x24]
jl 0x575d67
xor edi, edi
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x60]
cmp eax, edi
je 0x575c5d
mov edx, dword [ebp - 0x5c]
push edx
push eax
call fcn.00569c37
mov eax, dword [ebp - 0x60]
push eax
call fcn.00585839
add esp, 0xc
jmp 0x575c5d
push 0x80070057
call fcn.00567147
mov byte [ebp - 4], 0x31
lea ecx, [ebp + 0x14]
call fcn.00568707
jmp 0x575e8b
lea ecx, [ebp + 0x1c]
call fcn.00568987
mov byte [ebp - 4], 0x38
push edi
lea eax, [ebp + 0x1c]
push 0x10036a2c
push eax
call fcn.00569d07
add esp, 0xc
push 1
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x34
lea ecx, [ebp + 0x1c]
call fcn.00568707
mov byte [ebp - 4], 0x31
lea ecx, [ebp + 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x60]
call fcn.0056a427
jmp 0x575bb2
push 0x10035bb4
call fcn.0056aac7
push 0x10035688
lea ecx, [ebp - 0x50]
call fcn.0056aa07
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x14]
push ecx
push eax
lea edx, [ebp + 0x14]
push edx
call fcn.00569f47
add esp, 0xc
mov byte [ebp - 4], 0x3a
push 1
push eax
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x39
lea ecx, [ebp + 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x50]
call fcn.00568707
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp - 0x14]
push eax
push ecx
push 0x10035b40
push edx
lea ecx, [ebp - 0xdc]
call fcn.0057be27
mov edi, eax
test edi, edi
je 0x575c5d
lea ecx, [ebp + 0x1c]
call fcn.00568987
mov byte [ebp - 4], 0x3b
push edi
lea eax, [ebp + 0x1c]
push 0x10036a2c
push eax
call fcn.00569d07
add esp, 0xc
push 1
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0x1c]
jmp 0x575bad
push 0x10035bb0
push eax
call fcn.005851ec
add esp, 8
test eax, eax
jne 0x576002
mov dword [ebp + 0xc], reloc.WINMM.dll_midiStreamStop
jmp 0x57600a
sub eax, dword [ebp + 0x10]
sar eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
inc eax
push eax
push 0x10035bb0
lea ecx, [ebp + 0x10]
mov dword [ebp + 8], eax
call fcn.005687a7
mov ecx, dword [ebp + 8]
mov edi, eax
sub eax, dword [ebp + 0xc]
lea edx, [ebp + 0x18]
dec eax
push eax
push ecx
push edx
lea ecx, [ebp + 0x10]
call fcn.00569437
mov byte [ebp - 4], 0x3d
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0
jle 0x5760b9
lea ecx, [ebp - 0x5c]
call fcn.00568d87
mov byte [ebp - 4], 0x3e
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x58]
call fcn.005696e7
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x5c]
call fcn.005696e7
lea eax, [ebp + 0xc]
push eax
call fcn.00578747
add esp, 4
mov byte [ebp - 4], 0x3f
push eax
lea ecx, [ebp - 0x54]
call fcn.005696e7
mov byte [ebp - 4], 0x3e
lea ecx, [ebp + 0xc]
call fcn.00568707
lea ecx, [ebp - 0x48]
call fcn.00567c07
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea ecx, [esi + 0x78]
call fcn.0056f987
lea ecx, [ebp - 0x48]
call fcn.005686e7
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x5c]
call fcn.00568cc7
lea esi, [edi + 1]
push esi
push 0x10035bb0
lea ecx, [ebp + 0x10]
call fcn.005687a7
sub eax, edi
dec eax
push eax
push esi
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [ebp + 0x10]
call fcn.00569437
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp + 0x20]
push eax
call fcn.005696e7
mov byte [ebp - 4], 0x3d
lea ecx, [ebp + 0x1c]
call fcn.00568707
push 0x7c
lea ecx, [ebp + 0x10]
call fcn.00567cb7
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0x10]
call fcn.00569537
mov byte [ebp - 4], 0x3d
lea ecx, [ebp + 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x3c
lea ecx, [ebp + 0x18]
call fcn.00568707
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0x10]
call fcn.00568707
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x34]
call fcn.00568707
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xd]
call fcn.0057f2b7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.00568707
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call fcn.00568707
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.00568707
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00568707
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005686e7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00568707
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.0057a3f7
mov dword [ebp - 4], reloc.WINMM.dll_midiStreamStop
lea ecx, [ebp - 0x30]
call fcn.0056ad77
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 0x100369e8
lea ecx, [ebp + 0x1c]
call fcn.0056aa07
mov byte [ebp - 4], 0x42
push 1
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x3c
lea ecx, [ebp + 0x1c]
call fcn.00568707
mov dword [edi], reloc.WINMM.dll_midiStreamStop
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0x10]
call fcn.00568707
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x34]
call fcn.00568707
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xd]
call fcn.0057f2b7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.00568707
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call fcn.00568707
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.00568707
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00568707
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005686e7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00568707
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.0057a3f7
mov dword [ebp - 4], reloc.WINMM.dll_midiStreamStop
lea ecx, [ebp - 0x30]
call fcn.0056ad77
mov eax, 0xfffffc01
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x14]
call fcn.00568707
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x34]
call fcn.00568707
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xd]
call fcn.0057f2b7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.00568707
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call fcn.00568707
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.00568707
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00568707
jmp 0x575c11
xor edi, edi
push 0x100369a0
lea ecx, [ebp + 0x1c]
call fcn.0056aa07
mov byte [ebp - 4], 8
push 1
lea edx, [ebp + 0x1c]
push edx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.WINMM.dll_midiStreamStop
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x576356
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
push ebx
call dword [0x10035134]
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.WINMM.dll_midiStreamStop
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x576387
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.0057a3f7
mov dword [ebp - 4], reloc.WINMM.dll_midiStreamStop
lea ecx, [ebp - 0x30]
call fcn.0056ad77
mov eax, 0xfffffc0f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c