Function at 0x573307
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032023
mov eax, dword fs:[0]
push eax
sub esp, 0xec
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 dword [ebp - 0x10], esp
push 0x10036790
lea ecx, [ebp - 0x20]
call fcn.0056aa07
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0056ac97
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edi, reloc.WINMM.dll_midiStreamStop
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57337a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
wait
push 0x100123e0
call fcn.00586527
add esp, 4
push 0xbb8
mov ebx, 1
push ebx
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x48]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00567bb7
lea ecx, [ebp - 0xf8]
call fcn.0057a377
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00568987
mov byte [ebp - 4], 6
lea edx, [esi + 8]
push edx
lea ecx, [ebp - 0x4c]
call fcn.005686b7
mov byte [ebp - 4], 7
fild dword [esi + 0xd8]
fidiv dword [esi + 0xd4]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fcomp qword [0x10036788]
fnstsw ax
test ah, 0x41
jne 0x573418
cmp byte [esi + 0xe0], 0
jne 0x573418
lea ecx, [esi + 0x3c]
call fcn.00567c47
push eax
lea ecx, [esi + 0x38]
call fcn.00567c47
push eax
mov ecx, esi
call fcn.0056d097
mov byte [esi + 0xe0], bl
fld dword [ebp + 8]
fcomp qword [0x10036780]
fnstsw ax
test ah, 0x41
jne 0x57347a
mov eax, dword [ebp + 0x10]
mov dword [eax], reloc.WINMM.dll_midiStreamStop
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.005686e7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00568707
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.0057a3f7
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x2c]
call fcn.0056ad77
xor eax, eax
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x20]
cmp dword [ecx - 0xc], 0
jne 0x5734bd
push 0x10036758
lea ecx, [ebp + 8]
call fcn.0056aa07
mov byte [ebp - 4], 8
push ebx
lea edx, [ebp + 8]
push edx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 7
lea ecx, [ebp + 8]
call fcn.00568707
mov eax, dword [ebp + 0x10]
mov dword [eax], reloc.WINMM.dll_midiStreamStop
jmp 0x573431
mov ecx, dword [esi + 0x40]
cmp dword [ecx - 0xc], 0
jne 0x5734d9
push 0x10036758
lea ecx, [ebp + 8]
call fcn.0056aa07
mov byte [ebp - 4], 9
jmp 0x573494
add dword [esi + 0xd8], ebx
lea ecx, [esi + 0x28]
push ecx
lea ecx, [ebp - 0x18]
call fcn.005696e7
lea edx, [esi + 0x54]
push edx
lea ecx, [ebp - 0xe8]
call fcn.0056ab17
mov eax, dword [esi + 0x44]
push 0
push eax
push 0x1003590c
lea ecx, [ebp - 0xf8]
call fcn.0057b6b7
lea edi, [esi + 0x2c]
mov eax, dword [edi]
push 0
push eax
push 0x1003591c
lea ecx, [ebp - 0xf8]
call fcn.0057b6b7
lea eax, [ebp - 0x3c]
push eax
call fcn.00578747
add esp, 4
mov byte [ebp - 4], 0xa
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x10036750
lea ecx, [ebp - 0xf8]
call fcn.0057b6b7
push ecx
mov dword [ebp + 8], esp
mov dword [ebp - 0x80], esp
push ebx
lea edx, [ebp - 0x3c]
push edx
push 0x10036730
lea edx, [esi + 0x30]
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
call fcn.005690b7
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xa
call fcn.00569d27
mov byte [ebp - 4], 0xc
push eax
push edi
lea ecx, [ebp - 0x44]
push ecx
call fcn.00569f47
add esp, 0x14
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.0056a007
add esp, 0xc
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00569f47
add esp, 0xc
mov bl, 0xf
mov byte [ebp - 4], bl
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x100435dc
call fcn.0057d5a7
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x38]
push ecx
mov byte [ebp - 4], bl
call fcn.00569d27
add esp, 8
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x34]
call fcn.00568707
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00568707
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x44]
call fcn.00568707
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.00568707
lea ecx, [ebp - 0x1c]
call fcn.00568987
mov byte [ebp - 4], 0x16
mov edx, dword [ebp + 0xc]
push edx
push 0x100354e0
lea eax, [ebp - 0x1c]
push eax
call fcn.00569d07
push 0x10035bb0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.0056a007
mov byte [ebp - 4], 0x17
lea ecx, [esi + 0x4c]
push ecx
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.00569f47
mov byte [ebp - 4], 0x18
push 0x10035bb0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0056a007
mov byte [ebp - 4], 0x19
lea ecx, [esi + 0xcc]
push ecx
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00569f47
mov byte [ebp - 4], 0x1a
push 0x10035bb0
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0056a007
add esp, 0x48
mov byte [ebp - 4], 0x1b
lea ecx, [esi + 0xd0]
push ecx
push eax
lea edx, [ebp + 8]
push edx
call fcn.00569f47
mov byte [ebp - 4], 0x1c
push 0x10036728
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0056a007
add esp, 0x18
mov byte [ebp - 4], 0x1e
lea ecx, [ebp + 8]
call fcn.00568707
mov byte [ebp - 4], 0x1f
lea ecx, [ebp + 0xc]
call fcn.00568707
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x28]
call fcn.00568707
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x44]
call fcn.00568707
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x40]
call fcn.00568707
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x34]
call fcn.00568707
lea ecx, [ebp - 0x30]
call fcn.00568987
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x11]
call fcn.0057f2a7
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x11]
call fcn.0057e8a7
xor edi, edi
push edi
mov ecx, dword [ebp - 0x30]
push ecx
push 0x10035b90
lea ecx, [ebp - 0xf8]
call fcn.0057b6b7
lea ecx, [ebp - 0x4c]
call fcn.005686e7
lea ecx, [ebp - 0x18]
cmp dword [reloc.WINMM.dll_midiStreamStop], edi
jle 0x573a0e
push 0x3a
call fcn.00567cb7
lea ecx, [ebp - 0x18]
cmp eax, 4
jg 0x573774
push 0x100357dc
call fcn.0056aac7
jmp 0x5737a2
push 0x3a
call fcn.00567cb7
inc eax
push eax
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.00569617
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x18]
call fcn.005696e7
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0xc]
call fcn.00568707
lea ecx, [ebp + 8]
call fcn.00568987
mov bl, 0x27
mov byte [ebp - 4], bl
mov eax, dword [reloc.WINMM.dll_midiStreamStop]
push eax
push 0x100354e0
lea ecx, [ebp + 8]
push ecx
call fcn.00569d07
push 0x100366fc
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.0056a007
add esp, 0x18
mov byte [ebp - 4], 0x28
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00569987
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00568707
push 0x10035688
lea ecx, [ebp - 0x28]
call fcn.0056aa07
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x18]
push ecx
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.00569f47
add esp, 0xc
mov byte [ebp - 4], 0x2a
push 1
push eax
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0xc]
call fcn.00568707
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00568707
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0xf8]
call fcn.0057be27
mov edi, eax
test edi, edi
je 0x57392e
lea ecx, [ebp + 0xc]
call fcn.00568987
mov byte [ebp - 4], 0x2b
push edi
push 0x100366dc
lea eax, [ebp + 0xc]
push eax
call fcn.00569d07
add esp, 0xc
push 1
lea ecx, [ebp + 0xc]
push ecx
mov ecx, 0x100436dc
call fcn.0057ce27
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00568707
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 8]
call fcn.00568707
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x11]
call fcn.0057f2b7
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x30]
call fcn.00568707
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x20]
call fcn.00568707
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1c]
call fcn.00568707
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
call fcn.00568707
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00568707
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.005686e7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00568707
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.0057a3f7
mov dword [ebp - 4], reloc.WINMM.dll_midiStreamStop
jmp 0x57345b
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 8]
call fcn.00568707
mov eax, dword [ebp - 0x24]
push eax
call fcn.00584edb
add esp, 4
test eax, eax
js 0x573cea
lea ecx, [ebp + 8]
call fcn.00568987
mov bl, 0x38
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0056aa07
mov byte [ebp - 4], 0x39
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x11]
call fcn.0057edc7
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00568707
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x10035070]
neg eax
sbb eax, eax
and eax, 0xfffffc13
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jne 0x573cb5
lea ecx, [ebp - 0x4c]
call fcn.00567c07
lea ecx, [esi + 0xcc]
lea edx, [ebp - 0x1c]
push edx
call fcn.005696e7
lea eax, [ebp + 0xc]
push eax
call fcn.00578747
add esp, 4
mov byte [ebp - 4], 0x3a
push eax
lea ecx, [esi + 0xd0]
call fcn.005696e7
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00568707
lea ecx, [ebp - 0x4c]
call fcn.005686e7
push 0x100366c8
lea ecx, [ebp + 0xc]
call fcn.0056aa07
mov byte [ebp - 4], 0x3b
push 1
lea ecx, [ebp + 0xc]
push ecx
jmp 0x573ccc
cmp byte [esi + 0x64], 0
je 0x573c03
push 0x3a
call fcn.00567cb7
lea ecx, [ebp - 0x18]
cmp eax, 4
jg 0x573a33
push 0x100357dc
call fcn.0056aac7
jmp 0x573a61
push 0x3a
call fcn.00567cb7
inc eax
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00569617
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0x18]
call fcn.005696e7
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 8]
call fcn.00568707
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, esi
call fcn.0056fdf7
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x34], edx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
cmp ebx, dword [ebp - 0x34]
jge 0x573b45
push ebx
lea ecx, [ebp - 0x5c]
call fcn.005674a7
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00569f47
mov byte [ebp - 4], 0x2e
push 0x100366fc
push eax
lea edx, [ebp + 8]
push edx
call fcn.0056a007
add esp, 0x18
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x28]
call fcn.00568707
push 0x10035688
lea ecx, [ebp - 0x40]
call fcn.0056aa07
mov byte [ebp - 4], 0x31
lea ecx, [ebp + 8]
push ecx
push eax
lea edx, [ebp - 0x44]
push edx
call fcn.00569f47
add esp, 0xc
mov byte [ebp - 4], 0x32
push 1
push eax
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x44]
call fcn.00568707
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x40]
call fcn.00568707
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xf8]
call fcn.0057be27
mov edi, eax
test edi, edi
jne 0x573b56
mov byte [ebp - 4], 0x2d
lea ecx, [ebp + 8]
call fcn.00568707
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x5c]
call fcn.0056a427
jmp 0x57393a
mov eax, dword [ebp - 0x34]
dec eax
lea ecx, [ebp + 0xc]
cmp ebx, eax
je 0x573baa
call fcn.00568987
mov byte [ebp - 4], 0x33
push edi
push 0x10036250
lea ecx, [ebp + 0xc]
push ecx
call fcn.00569d07
add esp, 0xc
push 1
lea edx, [ebp + 0xc]
push edx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], 0x30
lea ecx, [ebp + 0xc]
call fcn.00568707
mov byte [ebp - 4], 0x2d
lea ecx, [ebp + 8]
call fcn.00568707
inc ebx
jmp 0x573a84
call fcn.00568987
mov byte [ebp - 4], 0x34
push edi
push 0x100366dc
lea eax, [ebp + 0xc]
push eax
call fcn.00569d07
add esp, 0xc
push 1
lea ecx, [ebp + 0xc]
push ecx
mov ecx, 0x100436dc
call fcn.0057ce27
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
mov byte [ebp - 4], 0x30
lea ecx, [ebp + 0xc]
call fcn.00568707
mov byte [ebp - 4], 0x2d
lea ecx, [ebp + 8]
call fcn.00568707
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x5c]
call fcn.0056a427
jmp 0x5738b3
push 0x100366fc
call fcn.0056aac7
push 0x10035688
lea ecx, [ebp + 0xc]
call fcn.0056aa07
mov bl, 0x35
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
push ecx
push eax
lea edx, [ebp + 8]
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], bl
lea ecx, [ebp + 8]
call fcn.00568707
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0xc]
call fcn.00568707
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push edi
push edi
push edi
push edi
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0xf8]
call fcn.0057be27
mov edi, eax
test edi, edi
je 0x57393a
lea ecx, [ebp + 8]
call fcn.00568987
mov byte [ebp - 4], 0x37
push edi
push 0x100366dc
lea eax, [ebp + 8]
push eax
call fcn.00569d07
add esp, 0xc
push 1
lea ecx, [ebp + 8]
push ecx
mov ecx, 0x100436dc
call fcn.0057ce27
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
jmp 0x5738a7
push 0x100366bc
lea ecx, [ebp + 0xc]
call fcn.0056aa07
mov byte [ebp - 4], 0x3c
push 1
lea edx, [ebp + 0xc]
push edx
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00568707
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 8]
jmp 0x573d41
mov eax, dword [ebp - 0x24]
push eax
call fcn.00584edb
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 0x100366a4
lea ecx, [ebp + 0xc]
call fcn.0056aa07
mov bl, 0x3d
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x24]
push edx
push eax
lea eax, [ebp + 8]
push eax
call fcn.0056a007
add esp, 0xc
mov byte [ebp - 4], 0x3e
push 1
push eax
mov ecx, 0x100436dc
call fcn.0057ce27
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00568707
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0xc]
call fcn.00568707
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x10035210]
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x11]
call fcn.0057f2b7
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x30]
call fcn.00568707
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x20]
call fcn.00568707
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1c]
call fcn.00568707
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
call fcn.00568707
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00568707
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.005686e7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00568707
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.0057a3f7
wait
mov dword [ebp - 4], 2
mov dword [ebp - 4], reloc.WINMM.dll_midiStreamStop
lea ecx, [ebp - 0x2c]
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 0xc