Function at 0x47cfbb
Capabilities:
Check for software breakpoints
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x14
call fcn.00482b1f
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x4c
call fcn.00482b1f
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
add ebx, 0x38
push ebx
push 0x10
call fcn.00482b1f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100720d0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0x1c
call fcn.00482b1f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100720d8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 0x14
call fcn.00482b1f
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x1c
call fcn.00482b1f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x7c
call fcn.00482b1f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
add ebx, 0x78
push ebx
push 0x80
call fcn.00482b1f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
pop ebx
pop ebx
add ebx, 4
push ebx
push 0x208
call fcn.00482b1f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100720e0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 0x80
push ecx
push ebx
push 0x28
call fcn.00482b1f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 0x10
call fcn.00482b1f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100720a8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x47d112
pop ebx
add ebx, 4
push ebx
push 0x208
call fcn.00482b1f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100720e0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
push 0x14
call fcn.00482b1f
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x1c
call fcn.00482b1f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x7c
call fcn.00482b1f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
add ebx, 0x78
push ebx
push 0x80
call fcn.00482b1f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
pop ebx
pop ebx
add ebx, 4
push ebx
push 0x208
call fcn.00482b1f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100720e0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 0x80
push ecx
push ebx
push 0x28
call fcn.00482b1f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 0x10
call fcn.00482b1f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100720a8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x47d230
pop ebx
add ebx, 4
push ebx
push 0x208
call fcn.00482b1f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100720e0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0x2c
call fcn.00482b1f
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
push 8
call fcn.00482b1f
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x10071f33
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.00482b1f
add esp, 4
mov dword [ebp - 0x38], eax
mov edi, eax
mov esi, 0x10071f33
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.00482b1f
add esp, 4
mov dword [ebp - 0x3c], eax
mov edi, eax
mov esi, 0x10071f33
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
call fcn.00479722
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x481442
xor ecx, ecx
lea eax, [ebp - 4]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 3
jg 0x48143f
cmp dword [ebp - 4], 1
jne 0x47d3b1
mov eax, 0x10071f92
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0047afa9
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x47d394
push ebx
call fcn.00482b19
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47d3a8
push ebx
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x47d44c
cmp dword [ebp - 4], 2
jne 0x47d3fc
mov eax, 0x10071fd2
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0047afa9
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x47d3df
push ebx
call fcn.00482b19
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47d3f3
push ebx
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x47d44c
cmp dword [ebp - 4], 3
jne 0x47d447
mov eax, 0x10071fe4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0047afa9
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x47d42a
push ebx
call fcn.00482b19
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47d43e
push ebx
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x47d44c
jmp 0x481442
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push 1
mov ebx, 0x1000b830
call fcn.00482b31
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x47d489
push ebx
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
call fcn.0048163e
mov dword [ebp - 0x4c], eax
push dword [ebp - 8]
push 0x10072090
push dword [ebp - 0x4c]
mov ecx, 3
call fcn.0047bad7
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x47d4c0
push ebx
call fcn.00482b19
add esp, 4
mov dword [ebp - 0x54], esp
push 1
push dword [ebp - 0x10]
push dword [ebp - 0x50]
mov eax, 0x15
call fcn.00482b2b
cmp dword [ebp - 0x54], esp
je 0x47d4ea
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x47d4fa
push ebx
call fcn.00482b19
add esp, 4
mov dword [ebp - 0x4c], esp
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [ebp - 0x10]
mov eax, 0x17
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47d53a
push 6
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4813f4
mov dword [ebp - 0x4c], esp
push 0
push 0
push 0
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47d578
push 6
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x4c], esp
push 0
mov eax, 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 0x40
mov eax, dword [ebp - 0x18]
push eax
push 0x40
call fcn.00482b1f
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp - 0x14]
mov eax, 0x19
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47d6b5
push 6
call fcn.00482b25
add esp, 4
push eax
mov ebx, dword [ebp - 0x54]
push ebx
mov edi, dword [ebp - 0x58]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.00482b13
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x47d786
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x47d784
imul eax, dword [edi]
jmp 0x47d779
mov ecx, eax
cmp ecx, 4
jle 0x47d790
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.00482b13
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x47d7e3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x47d7e1
imul eax, dword [edi]
jmp 0x47d7d6
mov ecx, eax
cmp ecx, 0xa
jle 0x47d7ed
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x14
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00482b19
add esp, 4
pop eax
test eax, eax
je 0x47d831
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x60]
cmp word [ebx], 0x5a4d
jne 0x47d831
mov eax, 1
jmp 0x47d833
xor eax, eax
test eax, eax
je 0x4813f4
mov ebx, dword [ebp - 0x18]
add ebx, 0x48
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], esp
push 0
push 0
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x50], esp
je 0x47d875
push 6
call fcn.00482b25
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
push eax
push 0x1c
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
push eax
push 0x7c
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
lodsd eax, dword [esi]
push esi
push edi
push eax
push 0x80
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
push eax
mov ebx, eax
call fcn.0047973b
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x47d956
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
push eax
push 0x28
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
push eax
push eax
mov ebx, eax
call fcn.0047973b
pop eax
sub ebx, eax
add ecx, ebx
push ecx
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop eax
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x47d90c
pop eax
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
push eax
push eax
mov ebx, eax
call fcn.0047973b
pop eax
sub ebx, eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x78
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x47d9d3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x47d9cf
imul eax, dword [ebx]
jmp 0x47d9c4
mov ecx, eax
test ecx, ecx
je 0x47d9fb
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x47d9d9
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], esp
push 0
mov eax, 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 0xf8
mov eax, dword [ebp - 0x1c]
push eax
push 0x16f8
call fcn.00482b1f
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop ebx
add ebx, 4
push ebx
mov ecx, 0x80
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x47dd3c
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x80
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push dword [ebp - 0x14]
mov eax, 0x1a
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47ddf7
push 6
call fcn.00482b25
add esp, 4
push eax
mov ebx, dword [ebp - 0x54]
push ebx
mov edi, dword [ebp - 0x58]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x14
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x80
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 0x80
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
push ebx
push edi
push 1
mov eax, 2
call fcn.00482b13
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x47e133
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x47e131
imul eax, dword [edi]
jmp 0x47e126
mov ecx, eax
cmp ecx, 8
jle 0x47e13d
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 0x28
dec ecx
jne 0x47e0ff
pop edi
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.00482b13
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x47e1eb
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x47e1e9
imul eax, dword [edi]
jmp 0x47e1de
mov ecx, eax
cmp ecx, 0x80
jle 0x47e1f8
mov ecx, 0x80
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x200
call fcn.00482b19
add esp, 4
pop eax
test eax, eax
je 0x47e234
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x60]
cmp dword [ebx], reloc.WINMM.dll_midiStreamOut
jne 0x47e234
mov eax, 1
jmp 0x47e236
xor eax, eax
test eax, eax
je 0x4813f4
mov ebx, dword [ebp - 0x1c]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], 1
mov ebx, dword [ebp - 0x50]
mov ax, word [ebx]
cwde
cmp eax, 0
jge 0x47e273
push 0xa
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x54], eax
lea ebx, [ebp - 0x58]
call fcn.0047973b
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00482b1f
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x54]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
call fcn.0047973b
pop edx
test ecx, ecx
je 0x47e2da
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x47e2b6
pop edx
pop edi
test edx, edx
je 0x47e32c
mov ebx, edi
push edx
push ebx
push 0x28
call fcn.00482b1f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 0x10
call fcn.00482b1f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100720a8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x47e2e4
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
call fcn.00482b19
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 0x10
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], 1
mov ebx, dword [ebp - 0x50]
mov ax, word [ebx]
cwde
cmp eax, 0
jge 0x47e374
push 0xa
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x54], eax
lea ebx, [ebp - 0x58]
call fcn.0047973b
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00482b1f
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x54]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
call fcn.0047973b
pop edx
test edx, edx
je 0x47e3bb
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
call fcn.00482b19
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [0x100720b0]
fstp qword [ebp - 0x5c]
mov dword [ebp - 0x60], esp
push 1
push 0
fld qword [ebp - 0x5c]
call fcn.00479e78
push eax
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x60], esp
je 0x47e42b
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x1c]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fmul qword [0x100720b8]
fstp qword [ebp - 0x60]
mov dword [ebp - 0x64], esp
push 0
mov eax, 0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
fld qword [ebp - 0x60]
call fcn.00479e78
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
call fcn.0047973b
push ebx
mov dword [ebp - 0x6c], ecx
test ecx, ecx
jne 0x47e48f
xor eax, eax
jmp 0x47e49b
imul ecx, ecx, 0x28
push ecx
call fcn.00482b1f
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x47e53e
push ecx
push edi
push ebx
mov ebx, dword [ebx]
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
pop edi
pop ecx
dec ecx
je 0x47e53e
add ebx, 4
add edi, 0x28
jmp 0x47e4b0
push dword [ebp - 0x14]
mov eax, 0x1b
call fcn.00482b2b
cmp dword [ebp - 0x64], esp
je 0x47e55d
push 6
call fcn.00482b25
add esp, 4
push eax
mov ebx, dword [ebp - 0x70]
push ebx
mov edi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x47e62d
push ecx
push edi
push ebx
mov edi, dword [edi]
push ebx
push edi
push 1
mov eax, 2
call fcn.00482b13
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x47e5a4
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x47e5a2
imul eax, dword [edi]
jmp 0x47e597
mov ecx, eax
cmp ecx, 8
jle 0x47e5ae
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
pop edi
pop ecx
dec ecx
je 0x47e62d
add ebx, 0x28
add edi, 4
jmp 0x47e570
call fcn.00482b19
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov ax, word [ebx]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x24]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x47e749
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0x10]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47e680
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47e693
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0xc]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47e6bb
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47e6ce
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0xc]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47e6fb
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47e70e
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x50]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x64]
fsub qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x47e652
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov ax, word [ebx]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x24]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x47e90f
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0xc]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47e7aa
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47e7bd
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx]
cmp dword [ebp - 0x28], eax
jl 0x47e895
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0xc]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47e7f8
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47e80b
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0xc]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47e838
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47e84b
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x68]
fadd qword [ebp - 0x68]
fstp qword [ebp - 0x70]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fsub qword [ebp - 0x70]
fcomp qword [0x100720c0]
fnstsw ax
test ah, 0x41
je 0x47e895
mov eax, 1
jmp 0x47e897
xor eax, eax
test eax, eax
je 0x47e907
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0x10]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47e8bf
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47e8d2
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x58]
fsub qword [ebp - 0x58]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
call fcn.00479e78
mov dword [ebp - 0x28], eax
jmp 0x47e90f
pop eax
pop ebx
pop ecx
jmp 0x47e77c
add esp, 0xc
cmp dword [ebp - 0x28], 0
jle 0x4813f4
mov dword [ebp - 0x4c], esp
push 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47e94b
push 6
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x4c], esp
push 0
mov eax, 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 0x28
mov eax, dword [ebp - 0x30]
push eax
push 0x28
call fcn.00482b1f
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp - 0x14]
mov eax, 0x1c
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47ea0e
push 6
call fcn.00482b25
add esp, 4
push eax
mov ebx, dword [ebp - 0x54]
push ebx
mov edi, dword [ebp - 0x58]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00482b19
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
add ebx, 0x20
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 0x20
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
fild dword [ebx]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x30]
add ebx, 0x18
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], 1
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx]
cmp eax, 0
jge 0x47eaec
push 0xa
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x50], eax
lea ebx, [ebp - 0x54]
call fcn.0047973b
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00482b1f
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x50]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x34]
call fcn.0047973b
pop edx
test edx, edx
je 0x47eb31
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x34]
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
add ebx, 0x20
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], esp
push 0
push 0
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x50], esp
je 0x47eb7a
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0x18
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
fild dword [ebx]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fmul qword [0x10072059]
fstp qword [ebp - 0x5c]
mov dword [ebp - 0x60], esp
push 0
mov eax, 0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
fld qword [ebp - 0x5c]
call fcn.00479e78
push eax
mov ebx, dword [ebp - 0x34]
call fcn.0047973b
push ebx
push dword [ebp - 0x14]
mov eax, 0x1d
call fcn.00482b2b
cmp dword [ebp - 0x60], esp
je 0x47ebdc
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0x28
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 0x28
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
fild dword [ebx]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x30]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], 1
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx]
cmp eax, 0
jge 0x47ec39
push 0xa
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x50], eax
lea ebx, [ebp - 0x54]
call fcn.0047973b
push ecx
shl ecx, 1
add ecx, 8
push ecx
call fcn.00482b1f
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x50]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x38]
call fcn.0047973b
pop edx
test edx, edx
je 0x47ec7f
mov ecx, edx
xor eax, eax
shl ecx, 1
rep stosb byte es:[edi], al
push dword [ebp - 0x38]
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
add ebx, 0x28
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], esp
push 0
push 0
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x50], esp
je 0x47ecc8
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
fild dword [ebx]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fmul qword [0x10072051]
fstp qword [ebp - 0x5c]
mov dword [ebp - 0x60], esp
push 0
mov eax, 0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
fld qword [ebp - 0x5c]
call fcn.00479e78
push eax
mov ebx, dword [ebp - 0x38]
call fcn.0047973b
push ebx
push dword [ebp - 0x14]
mov eax, 0x1e
call fcn.00482b2b
cmp dword [ebp - 0x60], esp
je 0x47ed2a
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0x24
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 0x24
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
fild dword [ebx]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x30]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], 1
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx]
cmp eax, 0
jge 0x47ed87
push 0xa
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x50], eax
lea ebx, [ebp - 0x54]
call fcn.0047973b
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00482b1f
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x50]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x3c]
call fcn.0047973b
pop edx
test edx, edx
je 0x47edcc
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x3c]
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
add ebx, 0x24
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], esp
push 0
push 0
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x50], esp
je 0x47ee15
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
fild dword [ebx]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fmul qword [0x10072059]
fstp qword [ebp - 0x5c]
mov dword [ebp - 0x60], esp
push 0
mov eax, 0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
fld qword [ebp - 0x5c]
call fcn.00479e78
push eax
mov ebx, dword [ebp - 0x3c]
call fcn.0047973b
push ebx
push dword [ebp - 0x14]
mov eax, 0x1d
call fcn.00482b2b
cmp dword [ebp - 0x60], esp
je 0x47ee77
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx]
xor ecx, ecx
push eax
lea eax, [ebp - 0x24]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4813f1
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x1000b620
call fcn.00482b31
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x47eed1
push ebx
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47eef2
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47ef05
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x3c]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47ef2a
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47ef3d
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
fild dword [ebx]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47ef86
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47ef99
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], esp
push 0
push 0
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x50], esp
je 0x47efd2
push 6
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x4c], esp
push 0
mov eax, 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 0x80
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47eff5
add eax, 8
push eax
push dword [ebp - 0x14]
mov eax, 0x1f
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47f015
push 6
call fcn.00482b25
add esp, 4
cmp dword [ebp - 4], 1
jne 0x47f093
mov ebx, dword [ebp - 0x40]
call fcn.0047973b
mov eax, 0
cmp eax, ecx
jl 0x47f03d
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x5a
jne 0x47f081
mov ebx, dword [ebp - 0x40]
call fcn.0047973b
mov eax, 1
cmp eax, ecx
jl 0x47f06c
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0x77
jne 0x47f081
xor eax, eax
jmp 0x47f086
mov eax, 1
test eax, eax
je 0x47f093
jmp 0x4813e9
mov ebx, dword [ebp - 0x34]
call fcn.0047973b
push ebx
push ecx
mov ebx, dword [ebp - 0x38]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47f0ba
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47f0cd
push 1
call fcn.00482b25
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fadd qword [0x10072061]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.00479e78
dec eax
jns 0x47f108
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47f11b
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebx]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x47f13a
jmp 0x4813e9
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov ax, word [ebx]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x24]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x47f2e3
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0xc]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47f184
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47f197
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx]
cmp dword [ebp - 0x44], eax
jl 0x47f26f
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0xc]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47f1d2
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47f1e5
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0xc]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47f212
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47f225
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x68]
fadd qword [ebp - 0x68]
fstp qword [ebp - 0x70]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fsub qword [ebp - 0x70]
fcomp qword [0x100720c0]
fnstsw ax
test ah, 0x41
je 0x47f26f
mov eax, 1
jmp 0x47f271
xor eax, eax
test eax, eax
je 0x47f2db
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0x10]
call fcn.0047973b
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x47f299
push 4
call fcn.00482b25
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47f2ac
push 1
call fcn.00482b25
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
fild dword [ebp - 0x44]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
mov ebx, dword [ebp - 0x4c]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.00479e78
mov dword [ebp - 0x44], eax
jmp 0x47f2e3
pop eax
pop ebx
pop ecx
jmp 0x47f156
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov ax, word [ebx]
cwde
cmp dword [ebp - 0x24], eax
jle 0x47f307
jmp 0x4813e9
push 0x80000301
push 0
push 0x20
push 1
mov ebx, 0x1000b620
call fcn.00482b31
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x47f33c
push ebx
call fcn.00482b19
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esp
push 0
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47f36f
push 6
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x4c], esp
push 0
mov eax, 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 0x20
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x47f392
add eax, 8
push eax
push dword [ebp - 0x14]
mov eax, 0x1f
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47f3b2
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0
cmp eax, ecx
jl 0x47f3d0
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xb8
je 0x47f3e6
jmp 0x4813e9
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x4c], ebx
push 0x80000005
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x47f402
mov eax, 0x10071f33
push eax
push 1
mov ebx, 0x1000b720
call fcn.00482b31
add esp, 0x10
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47f42e
push ebx
call fcn.00482b19
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
add ebx, 4
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx], 5
jne 0x47f46b
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp dword [ebx], 0
jne 0x47f46b
mov eax, 1
jmp 0x47f46d
xor eax, eax
test eax, eax
je 0x47fc79
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 9
cmp eax, ecx
jl 0x47f493
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xcd
jne 0x47f4da
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xa
cmp eax, ecx
jl 0x47f4c2
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0x2e
jne 0x47f4da
mov eax, 1
jmp 0x47f4dc
xor eax, eax
test eax, eax
je 0x47fc74
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x47f518
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x47f54c
and eax, 0xff
jmp 0x47f597
cmp ecx, 0x80000201
jne 0x47f557
cwde
jmp 0x47f597
cmp ecx, 0x80000301
je 0x47f597
cmp ecx, 0x80000401
je 0x47f597
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x47f587
cmp ecx, 0x80000601
je 0x47f58c
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x47f592
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xb
cmp eax, ecx
jl 0x47f5ba
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc2
jne 0x47f73e
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x47f5ff
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x47f633
and eax, 0xff
jmp 0x47f67e
cmp ecx, 0x80000201
jne 0x47f63e
cwde
jmp 0x47f67e
cmp ecx, 0x80000301
je 0x47f67e
cmp ecx, 0x80000401
je 0x47f67e
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x47f66e
cmp ecx, 0x80000601
je 0x47f673
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x47f679
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x47f6ca
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x47f726
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xb
cmp eax, ecx
jl 0x47f75c
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc3
jne 0x47f83a
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x47f7c6
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x47f822
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xb
cmp eax, ecx
jl 0x47f858
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xe9
jne 0x47fc74
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x47f894
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
cmp ecx, 0x80000101
jne 0x47f8d1
and eax, 0xff
jmp 0x47f8f7
cmp ecx, 0x80000201
jne 0x47f8dc
cwde
jmp 0x47f8f7
mov dword [ebp - 0x64], eax
cmp ecx, 0x80000301
je 0x47f8fa
cmp ecx, 0x80000401
jne 0x47f8ff
mov dword [ebp - 0x60], edx
fild qword [ebp - 0x64]
jmp 0x47f921
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
jmp 0x47f921
cmp ecx, 0x80000501
jne 0x47f90c
fld dword [ebp - 0x64]
jmp 0x47f921
cmp ecx, 0x80000601
je 0x47f92a
push 2
call fcn.00482b25
add esp, 4
fstp qword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
fadd qword [ebp - 0x64]
fadd qword [0x100720c8]
fstp qword [ebp - 0x6c]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x80000004
je 0x47f953
cmp ecx, 0x80000005
jne 0x47f963
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x47f963
push ebx
call fcn.00482b19
add esp, 4
mov dword [ebp - 0x70], esp
push 0
push 0
fld qword [ebp - 0x6c]
call fcn.00479e78
push eax
push dword [ebp - 0x14]
mov eax, 0x18
call fcn.00482b2b
cmp dword [ebp - 0x70], esp
je 0x47f998
push 6
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x4c], esp
push 0
mov eax, 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 3
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x47f9bb
add eax, 8
push eax
push dword [ebp - 0x14]
mov eax, 0x1f
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x47f9db
push 6
call fcn.00482b25
add esp, 4
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0
cmp eax, ecx
jl 0x47f9f9
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc2
jne 0x47fb7d
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x47fa3e
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x47fa72
and eax, 0xff
jmp 0x47fabd
cmp ecx, 0x80000201
jne 0x47fa7d
cwde
jmp 0x47fabd
cmp ecx, 0x80000301
je 0x47fabd
cmp ecx, 0x80000401
je 0x47fabd
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x47faad
cmp ecx, 0x80000601
je 0x47fab2
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x47fab8
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x47fb09
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x47fb65
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0
cmp eax, ecx
jl 0x47fb9b
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc3
jne 0x47fc74
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x47fc05
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x47fc61
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
jmp 0x4813e9
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx], 0
je 0x480fba
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x47fcc5
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x47fcf9
and eax, 0xff
jmp 0x47fd44
cmp ecx, 0x80000201
jne 0x47fd04
cwde
jmp 0x47fd44
cmp ecx, 0x80000301
je 0x47fd44
cmp ecx, 0x80000401
je 0x47fd44
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x47fd34
cmp ecx, 0x80000601
je 0x47fd39
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x47fd3f
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 5
cmp eax, ecx
jl 0x47fd8b
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x8d
jne 0x47fe01
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 9
cmp eax, ecx
jl 0x47fdba
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0xb9
jne 0x47fe01
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xe
cmp eax, ecx
jl 0x47fde9
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
cmp byte [ebx], 0x64
jne 0x47fe01
mov eax, 1
jmp 0x47fe03
xor eax, eax
test eax, eax
je 0x480161
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 0xb
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x47fe3f
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x47fe73
and eax, 0xff
jmp 0x47febe
cmp ecx, 0x80000201
jne 0x47fe7e
cwde
jmp 0x47febe
cmp ecx, 0x80000301
je 0x47febe
cmp ecx, 0x80000401
je 0x47febe
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x47feae
cmp ecx, 0x80000601
je 0x47feb3
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x47feb9
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x15
cmp eax, ecx
jl 0x47fee1
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc2
jne 0x480065
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 0x17
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x47ff26
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x47ff5a
and eax, 0xff
jmp 0x47ffa5
cmp ecx, 0x80000201
jne 0x47ff65
cwde
jmp 0x47ffa5
cmp ecx, 0x80000301
je 0x47ffa5
cmp ecx, 0x80000401
je 0x47ffa5
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x47ff95
cmp ecx, 0x80000601
je 0x47ff9a
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x47ffa0
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x47fff1
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x48004d
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x15
cmp eax, ecx
jl 0x480083
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc3
jne 0x48014f
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4800db
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x480137
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 5
cmp eax, ecx
jl 0x48017f
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x8d
jne 0x4801f5
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 9
cmp eax, ecx
jl 0x4801ae
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0x33
jne 0x4801f5
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xe
cmp eax, ecx
jl 0x4801dd
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
cmp byte [ebx], 0x64
jne 0x4801f5
mov eax, 1
jmp 0x4801f7
xor eax, eax
test eax, eax
je 0x4804c6
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x12
cmp eax, ecx
jl 0x48021d
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc2
jne 0x4803a1
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 0x14
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x480262
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x480296
and eax, 0xff
jmp 0x4802e1
cmp ecx, 0x80000201
jne 0x4802a1
cwde
jmp 0x4802e1
cmp ecx, 0x80000301
je 0x4802e1
cmp ecx, 0x80000401
je 0x4802e1
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x4802d1
cmp ecx, 0x80000601
je 0x4802d6
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x4802dc
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x48032d
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x480389
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x15
cmp eax, ecx
jl 0x4803bf
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc3
je 0x480403
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x12
cmp eax, ecx
jl 0x4803ee
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0xc3
je 0x480403
xor eax, eax
jmp 0x480408
mov eax, 1
test eax, eax
je 0x4804c6
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x480457
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4804b3
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 5
cmp eax, ecx
jl 0x4804e4
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xb9
jne 0x48055a
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xa
cmp eax, ecx
jl 0x480513
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0x8d
jne 0x48055a
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xe
cmp eax, ecx
jl 0x480542
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
cmp byte [ebx], 0x64
jne 0x48055a
mov eax, 1
jmp 0x48055c
xor eax, eax
test eax, eax
je 0x480a9c
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 7
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x480598
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x4805cc
and eax, 0xff
jmp 0x480617
cmp ecx, 0x80000201
jne 0x4805d7
cwde
jmp 0x480617
cmp ecx, 0x80000301
je 0x480617
cmp ecx, 0x80000401
je 0x480617
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x480607
cmp ecx, 0x80000601
je 0x48060c
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x480612
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x18
cmp eax, ecx
jl 0x48063a
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc2
jne 0x4807be
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 0x1a
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x48067f
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x4806b3
and eax, 0xff
jmp 0x4806fe
cmp ecx, 0x80000201
jne 0x4806be
cwde
jmp 0x4806fe
cmp ecx, 0x80000301
je 0x4806fe
cmp ecx, 0x80000401
je 0x4806fe
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x4806ee
cmp ecx, 0x80000601
je 0x4806f3
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x4806f9
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x48074a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4807a6
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x15
cmp eax, ecx
jl 0x4807dc
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc2
jne 0x480960
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 0x17
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x480821
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x480855
and eax, 0xff
jmp 0x4808a0
cmp ecx, 0x80000201
jne 0x480860
cwde
jmp 0x4808a0
cmp ecx, 0x80000301
je 0x4808a0
cmp ecx, 0x80000401
je 0x4808a0
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x480890
cmp ecx, 0x80000601
je 0x480895
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x48089b
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4808ec
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x480948
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x18
cmp eax, ecx
jl 0x48097e
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc3
je 0x4809c2
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x15
cmp eax, ecx
jl 0x4809ad
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0xc3
je 0x4809c2
xor eax, eax
jmp 0x4809c7
mov eax, 1
test eax, eax
je 0x480a8a
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x480a16
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x480a72
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 5
cmp eax, ecx
jl 0x480aba
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x33
jne 0x480b30
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 7
cmp eax, ecx
jl 0x480ae9
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0x8d
jne 0x480b30
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xb
cmp eax, ecx
jl 0x480b18
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
cmp byte [ebx], 0x64
jne 0x480b30
mov eax, 1
jmp 0x480b32
xor eax, eax
test eax, eax
je 0x480fb5
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x15
cmp eax, ecx
jl 0x480b6a
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc2
jne 0x480cee
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 0x17
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x480baf
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x480be3
and eax, 0xff
jmp 0x480c2e
cmp ecx, 0x80000201
jne 0x480bee
cwde
jmp 0x480c2e
cmp ecx, 0x80000301
je 0x480c2e
cmp ecx, 0x80000401
je 0x480c2e
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x480c1e
cmp ecx, 0x80000601
je 0x480c23
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x480c29
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x480c7a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x480cd6
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x12
cmp eax, ecx
jl 0x480d0c
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc2
jne 0x480e90
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 0x14
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x480d51
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x480d85
and eax, 0xff
jmp 0x480dd0
cmp ecx, 0x80000201
jne 0x480d90
cwde
jmp 0x480dd0
cmp ecx, 0x80000301
je 0x480dd0
cmp ecx, 0x80000401
je 0x480dd0
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x480dc0
cmp ecx, 0x80000601
je 0x480dc5
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x480dcb
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x480e1c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x480e78
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x15
cmp eax, ecx
jl 0x480eae
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc3
je 0x480ef2
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0x12
cmp eax, ecx
jl 0x480edd
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0xc3
je 0x480ef2
xor eax, eax
jmp 0x480ef7
mov eax, 1
test eax, eax
je 0x480fb5
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x480f46
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x480fa2
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 5
cmp eax, ecx
jl 0x480fd8
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xba
jne 0x48101f
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xa
cmp eax, ecx
jl 0x481007
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0xff
jne 0x48101f
mov eax, 1
jmp 0x481021
xor eax, eax
test eax, eax
je 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xb
cmp eax, ecx
jl 0x481047
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0x12
je 0x48108b
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xb
cmp eax, ecx
jl 0x481076
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp byte [ebx], 0xd2
je 0x48108b
xor eax, eax
jmp 0x481090
mov eax, 1
test eax, eax
je 0x4813e9
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4810cc
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x481100
and eax, 0xff
jmp 0x48114b
cmp ecx, 0x80000201
jne 0x48110b
cwde
jmp 0x48114b
cmp ecx, 0x80000301
je 0x48114b
cmp ecx, 0x80000401
je 0x48114b
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x48113b
cmp ecx, 0x80000601
je 0x481140
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x481146
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xc
cmp eax, ecx
jl 0x48116e
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc2
jne 0x4812f2
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push 0xe
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4811b3
mov eax, 0x10071f33
push eax
push 3
mov ebx, 0x1000b460
call fcn.00482b31
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x4811e7
and eax, 0xff
jmp 0x481232
cmp ecx, 0x80000201
jne 0x4811f2
cwde
jmp 0x481232
cmp ecx, 0x80000301
je 0x481232
cmp ecx, 0x80000401
je 0x481232
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x481222
cmp ecx, 0x80000601
je 0x481227
push 2
call fcn.00482b25
add esp, 4
fld dword [ebp - 0x60]
jmp 0x48122d
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00479e78
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x48127e
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4812da
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
mov ebx, dword [ebp - 0x48]
call fcn.0047973b
mov eax, 0xc
cmp eax, ecx
jl 0x481310
push 1
call fcn.00482b25
add esp, 4
add ebx, eax
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp byte [ebx], 0xc3
jne 0x4813e9
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0
push 0x10092740
push 4
mov eax, 2
call fcn.00482b13
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ebx, dword [reloc.WINMM.dll_midiStreamOut]
mov dword [ebp - 0x50], ebx
call fcn.0047973b
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x50]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x48137a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x50]
call fcn.00482b37
add esp, 8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x54]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x4c]
push edi
push eax
push 0x14
call fcn.00482b1f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4813d6
push eax
mov ebx, eax
call fcn.0047b67c
inc eax
push eax
call fcn.00482b1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
jmp 0x4813e9
pop eax
pop ebx
pop ecx
jmp 0x47ee8e
add esp, 0xc
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x14]
mov eax, 0x20
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x481416
push 6
call fcn.00482b25
add esp, 4
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x10]
mov eax, 0x21
call fcn.00482b2b
cmp dword [ebp - 0x4c], esp
je 0x481438
push 6
call fcn.00482b25
add esp, 4
pop ebx
pop ecx
jmp 0x47d358
add esp, 8
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x481452
push ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x481469
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x481482
push ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x78
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x481503
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4814ff
imul eax, dword [ebx]
jmp 0x4814f4
mov ecx, eax
test ecx, ecx
je 0x48152b
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x481509
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x78
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4815a1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x48159d
imul eax, dword [ebx]
jmp 0x481592
mov ecx, eax
test ecx, ecx
je 0x4815c9
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4815a7
call fcn.00482b19
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00482b19
add esp, 4
pop ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x3c]
push ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x48162a
push ebx
call fcn.00482b19
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x48163a
push ebx
call fcn.00482b19
add esp, 4
mov esp, ebp
pop ebp
ret