Function at 0x4061fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9e0
push ebx
push esi
push edi
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x98], eax
mov eax, 0x483f58
call fcn.0046328c
mov dword [ebp - 0x78], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.0046e2f0
inc dword [ebp - 0x78]
mov word [ebp - 0x84], 8
push 0x483499
lea eax, [ebp - 4]
call fcn.00405250
push eax
call fcn.00464d3c
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
jne 0x4062b1
mov word [ebp - 0x84], 0x14
mov edx, str.failed1
lea eax, [ebp - 8]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.00435284
dec dword [ebp - 0x78]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046e370
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046e370
mov ecx, dword [ebp - 0x94]
mov dword fs:[0], ecx
jmp 0x408085
mov eax, dword [ebp + 8]
sub eax, 0x2c
mov dword [ebp - 0xa8], eax
push 0
push dword [ebp - 0xa8]
push dword [ebp - 0xc4]
call fcn.0046501c
add esp, 0xc
push dword [ebp - 0xc4]
push 1
push 0x2c
mov edx, dword [ebp - 0x98]
add edx, 0x13fc
push edx
call fcn.00464f7c
add esp, 0x10
mov ecx, dword [ebp - 0xa8]
sub ecx, 0xb4
mov dword [ebp - 0xa8], ecx
push 0
push dword [ebp - 0xa8]
push dword [ebp - 0xc4]
call fcn.0046501c
add esp, 0xc
push dword [ebp - 0xc4]
push 1
push 0xb4
mov eax, dword [ebp - 0x98]
add eax, 0x1348
push eax
call fcn.00464f7c
add esp, 0x10
mov edx, dword [ebp - 0xa8]
sub edx, 4
mov dword [ebp - 0xa8], edx
push 0
push dword [ebp - 0xa8]
push dword [ebp - 0xc4]
call fcn.0046501c
add esp, 0xc
push dword [ebp - 0xc4]
push 1
push 4
lea ecx, [ebp - 0xac]
push ecx
call fcn.00464f7c
add esp, 0x10
mov eax, dword [ebp - 0xac]
sub dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xac]
inc edx
push edx
call fcn.004626b8
pop ecx
mov dword [ebp - 0xbc], eax
mov dl, 1
mov eax, dword [0x44e978]
call fcn.00408090
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x1428], eax
push 0
push dword [ebp - 0xa8]
push dword [ebp - 0xc4]
call fcn.0046501c
add esp, 0xc
push dword [ebp - 0xc4]
push 1
push dword [ebp - 0xac]
push dword [ebp - 0xbc]
call fcn.00464f7c
add esp, 0x10
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xac]
mov byte [eax + edx], 0
mov word [ebp - 0x84], 0x20
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xbc]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov edx, dword [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1428]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x78]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0046e370
push dword [ebp - 0xbc]
call fcn.004624e0
pop ecx
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x13a4], 1
jne 0x406550
mov eax, dword [ebp - 0xa8]
sub eax, 4
mov dword [ebp - 0xa8], eax
push 0
push dword [ebp - 0xa8]
push dword [ebp - 0xc4]
call fcn.0046501c
add esp, 0xc
push dword [ebp - 0xc4]
push 1
push 4
lea edx, [ebp - 0xac]
push edx
call fcn.00464f7c
add esp, 0x10
mov ecx, dword [ebp - 0xac]
sub dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xac]
inc eax
push eax
call fcn.004626b8
pop ecx
mov dword [ebp - 0xbc], eax
mov dl, 1
mov eax, dword [0x44e978]
call fcn.00408090
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x142c], eax
push 0
push dword [ebp - 0xa8]
push dword [ebp - 0xc4]
call fcn.0046501c
add esp, 0xc
push dword [ebp - 0xc4]
push 1
push dword [ebp - 0xac]
push dword [ebp - 0xbc]
call fcn.00464f7c
add esp, 0x10
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xac]
mov byte [ecx + eax], 0
mov word [ebp - 0x84], 0x2c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xbc]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov edx, dword [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x142c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x78]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0046e370
push dword [ebp - 0xbc]
call fcn.004624e0
pop ecx
push 0
push dword [ebp - 0x9c]
push dword [ebp - 0xc4]
call fcn.0046501c
add esp, 0xc
push dword [ebp - 0xc4]
push 1
push 4
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00464f7c
add esp, 0x10
cmp dword [ebp - 0xa8], 0
je 0x4066ff
push str.nowav
push 0x48bba8
call fcn.00462f9c
add esp, 8
test eax, eax
je 0x4066d2
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x147e], 1
lea edx, [ebp - 0x50c]
push edx
push 0x3e8
call sub.KERNEL32.DLL_GetTempPathA
push str.plzj.wav
lea ecx, [ebp - 0x50c]
push ecx
call fcn.00462f60
add esp, 8
mov eax, dword [ebp - 0x98]
push dword [eax + 0x139c]
push dword [ebp - 0xc4]
lea edx, [ebp - 0x50c]
push edx
push dword [ebp - 0x98]
call fcn.004080e4
add esp, 0x10
inc eax
jne 0x40663f
mov word [ebp - 0x84], 0x38
mov edx, 0x4834b3
lea eax, [ebp - 0x14]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.00435284
dec dword [ebp - 0x78]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0046e370
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x147e], 0
mov dword [ebp - 0x104], str.waveaudio
lea eax, [ebp - 0x50c]
mov dword [ebp - 0x100], eax
lea edx, [ebp - 0x10c]
push edx
push 0x2200
push 0x803
push 0
call sub.WINMM.DLL_mciSendCommandA
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x4066b6
mov word [ebp - 0x84], 0x44
mov edx, 0x4834ca
lea eax, [ebp - 0x18]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.00435284
dec dword [ebp - 0x78]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0046e370
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x147e], 0
jmp 0x4066df
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x108]
mov dword [eax + 0x1480], edx
xor ecx, ecx
mov dword [ebp - 0xf4], ecx
jmp 0x4066df
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x147e], 0
mov edx, dword [ebp - 0x9c]
add edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x98]
sub edx, dword [ecx + 0x1418]
mov dword [ebp - 0xa8], edx
jmp 0x40671b
mov eax, dword [ebp - 0x9c]
add eax, 4
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0x98]
mov byte [edx + 0x147e], 0
push dword [ebp - 0xc4]
call fcn.004649d0
pop ecx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa8]
mov dword [ecx + 0x1344], eax
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x2d0]
call fcn.00433f68
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041f348
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00433f68
mov eax, dword [eax + 0xc]
mov edx, 0xa
call fcn.0041ecfc
lea eax, [ebp - 0xc5]
call fcn.00401764
xor edx, edx
call fcn.0040968c
mov cl, byte [eax]
push ecx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00433f68
mov eax, dword [eax + 0xc]
pop edx
call fcn.0041ed28
mov word [ebp - 0x84], 0x50
mov edx, 0x4834db
lea eax, [ebp - 0x1c]
call fcn.0046e2b8
inc dword [ebp - 0x78]
push dword [eax]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00433f68
mov eax, dword [eax + 0xc]
pop edx
call fcn.0041ec84
dec dword [ebp - 0x78]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0046e370
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00433f68
mov eax, dword [eax + 0xc]
mov edx, 0xff
call fcn.0041ea5c
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1488]
call fcn.00423e00
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041f348
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x149c]
xor ecx, ecx
mov edx, dword [ebp - 0xa8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x98]
add edx, 0x14a4
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 0x28
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x520]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x50d], 0
mov word [ebp - 0x84], 0x5c
lea edx, [ebp - 0x520]
lea eax, [ebp - 0x20]
call fcn.0046e2b8
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x146c
call fcn.0046e3a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0046e370
lea edx, [ebp - 0x520]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x50d], 0
mov word [ebp - 0x84], 0x68
lea edx, [ebp - 0x520]
lea eax, [ebp - 0x24]
call fcn.0046e2b8
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1470
call fcn.0046e3a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0046e370
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x147c], 1
mov word [ebp - 0x84], 0x74
mov edx, 0x4834e0
lea eax, [ebp - 0x28]
call fcn.0046e2b8
inc dword [ebp - 0x78]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x98]
add eax, 0x146c
call fcn.0046e440
test al, al
jne 0x40699a
mov edx, 0x4834e1
lea eax, [ebp - 0x2c]
call fcn.0046e2b8
inc dword [ebp - 0x78]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x98]
add eax, 0x1470
call fcn.0046e440
test al, al
setne cl
and ecx, 1
push ecx
dec dword [ebp - 0x78]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0046e370
pop ecx
test ecx, ecx
jne 0x40699a
xor eax, eax
jmp 0x40699f
mov eax, 1
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0046e370
pop ecx
test cl, cl
je 0x4069c4
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x147c], 0
jmp 0x4069d0
push dword [ebp - 0x98]
call fcn.00408ad8
pop ecx
lea edx, [ebp - 0x584]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x149c]
mov ecx, 0x28
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x55c], 0
lea eax, [ebp - 0x584]
push eax
push dword [ebp - 0x98]
call fcn.00408dd8
add esp, 8
mov word [ebp - 0x84], 0x80
lea edx, [ebp - 0x584]
lea eax, [ebp - 0x30]
call fcn.0046e2b8
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1458
call fcn.0046e3a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0046e370
mov edx, dword [ebp - 0x98]
add edx, 0x1450
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x98]
add edx, 0x1454
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x98]
add edx, 0x145c
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x584]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x570], 0
mov word [ebp - 0x84], 0x8c
lea edx, [ebp - 0x584]
lea eax, [ebp - 0x34]
call fcn.0046e2b8
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1460
call fcn.0046e3a0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0046e370
mov edx, dword [ebp - 0x98]
add edx, 0x1464
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0xb5]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0xb5]
dec eax
jne 0x406b63
mov eax, dword [ebp - 0x98]
add eax, 0x1468
xor edx, edx
call fcn.0040968c
lea edx, [ebp - 0xb5]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0xb5]
dec eax
jne 0x406b9b
mov eax, dword [ebp - 0x98]
add eax, 0x1468
mov dl, 1
call fcn.0040968c
lea edx, [ebp - 0xb5]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0xb5]
dec eax
jne 0x406bd3
mov eax, dword [ebp - 0x98]
add eax, 0x1468
mov dl, 2
call fcn.0040968c
lea edx, [ebp - 0xb5]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0xb5]
dec eax
jne 0x406c0b
mov eax, dword [ebp - 0x98]
add eax, 0x1468
mov dl, 3
call fcn.0040968c
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14a8]
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x14d0], eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14ac]
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x14cc], eax
xor ecx, ecx
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x1370], 1
jne 0x406c7a
mov edx, dword [0x48b7cc]
mov eax, dword [edx]
call fcn.0042f76c
mov dword [ebp - 0xb0], eax
mov edx, dword [0x48b7cc]
mov eax, dword [edx]
call fcn.0042f760
mov dword [ebp - 0xb4], eax
jmp 0x406ccb
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x134c], 0
jne 0x406ca9
mov edx, 0x258
mov eax, dword [ebp - 0x98]
call fcn.0042b6bc
mov edx, 0x190
mov eax, dword [ebp - 0x98]
call fcn.0042b6ec
mov eax, dword [ebp - 0x98]
call fcn.00439d78
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
call fcn.00439dbc
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x14d0]
cmp ecx, dword [ebp - 0xb0]
jg 0x406d5c
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xb0]
sub edx, dword [eax + 0x14d0]
sar edx, 1
jns 0x406cf8
adc edx, 0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00439b08
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x14d0]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00439b4c
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.00421980
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x14d0]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x406dbe
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
xor edx, edx
call fcn.00439b08
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
mov edx, dword [ebp - 0xb0]
call fcn.00439b4c
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
mov eax, dword [eax + 0x128]
call fcn.00421980
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x14cc]
cmp eax, dword [ebp - 0xb4]
jg 0x406e56
mov edx, dword [ebp - 0x98]
push dword [edx + 0x14cc]
mov edx, dword [ebp - 0xb4]
pop eax
sub edx, eax
sar edx, 1
jns 0x406df2
adc edx, 0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00439b28
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x14cc]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00439b6c
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.00421980
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x14cc]
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x406eb8
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
xor edx, edx
call fcn.00439b6c
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
mov edx, dword [ebp - 0xb4]
call fcn.00439b6c
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
mov eax, dword [eax + 0x128]
call fcn.00421980
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [ebp - 0xac], 1
jne 0x406edf
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1364], 1
jne 0x406edf
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x14ec], 1
jmp 0x406eec
mov edx, dword [ebp - 0x98]
mov byte [edx + 0x14ec], 0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2ec]
mov dl, 1
call fcn.0041a2a8
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2dc]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x308]
mov dl, 1
call fcn.0041a2a8
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2f8]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2ec]
xor edx, edx
call fcn.0041a254
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2dc]
xor edx, edx
call fcn.004498f4
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x308]
xor edx, edx
call fcn.0041a254
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.004498f4
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x344], 0
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x358], 0
jne 0x407246
mov word [ebp - 0x84], 0x98
lea eax, [ebp - 0x3c]
call fcn.0040171c
push eax
inc dword [ebp - 0x78]
mov edx, 0x48bba8
lea eax, [ebp - 0x38]
call fcn.0046e2b8
inc dword [ebp - 0x78]
pop edx
call fcn.0046e4e8
lea ecx, [ebp - 0x3c]
push dword [ecx]
lea eax, [ebp - 0x40]
call fcn.0040171c
mov edx, eax
inc dword [ebp - 0x78]
pop eax
call fcn.0045a5ec
lea eax, [ebp - 0x40]
call fcn.00405250
push eax
push 0x48bba8
call fcn.00462fe8
add esp, 8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0046e370
dec dword [ebp - 0x78]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0046e370
dec dword [ebp - 0x78]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0046e370
push 0x48bba8
call fcn.00463018
pop ecx
mov dword [ebp - 0xac], eax
cmp eax, 0xf
jl 0x407246
push 0x48bba8
lea edx, [ebp - 0x584]
push edx
call fcn.00462fe8
add esp, 8
mov byte [ebp - 0x579], 0
push str.playfromto_
lea ecx, [ebp - 0x584]
push ecx
call fcn.00462f9c
add esp, 8
test eax, eax
jne 0x407246
mov dword [ebp - 0xa0], 0xb
jmp 0x4070b1
mov eax, dword [ebp - 0xa0]
mov dl, byte [eax + 0x48bba8]
mov ecx, dword [ebp - 0xa0]
mov byte [ebp + ecx - 0x58f], dl
inc dword [ebp - 0xa0]
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xac]
jge 0x4070d1
mov edx, dword [ebp - 0xa0]
movsx ecx, byte [edx + 0x48bba8]
cmp ecx, 0x2c
jne 0x407092
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x58f], 0
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0xac]
jge 0x407246
inc dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
jmp 0x40712a
mov eax, dword [ebp - 0xa4]
mov dl, byte [eax + 0x48bba8]
mov ecx, dword [ebp - 0xa4]
sub ecx, dword [ebp - 0xa0]
mov byte [ebp + ecx - 0x5e8], dl
inc dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xac]
jge 0x40714a
mov edx, dword [ebp - 0xa4]
movsx ecx, byte [edx + 0x48bba8]
cmp ecx, 0x29
jne 0x407105
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x5e8], 0
mov word [ebp - 0x84], 0xa4
mov word [ebp - 0x84], 0xb0
lea edx, [ebp - 0x584]
lea eax, [ebp - 0x44]
call fcn.0046e2b8
inc dword [ebp - 0x78]
call fcn.0046e570
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x348], eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0046e370
mov word [ebp - 0x84], 0xbc
lea edx, [ebp - 0x5e8]
lea eax, [ebp - 0x48]
call fcn.0046e2b8
inc dword [ebp - 0x78]
call fcn.0046e570
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x34c], eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0046e370
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x348], 0
jl 0x40722d
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x34c]
mov ecx, dword [ebp - 0x98]
cmp edx, dword [ecx + 0x348]
jle 0x40722d
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x34c]
mov ecx, dword [ebp - 0x98]
cmp edx, dword [ecx + 0x14b0]
jge 0x40722d
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x344], 1
mov word [ebp - 0x84], 8
jmp 0x407246
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x14b0]
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x14d4], ecx
mov edx, dword [ebp - 0x98]
cmp byte [edx + 0x344], 1
jne 0x40733d
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x14a8]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1488]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x14ac]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1488]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
mov edx, dword [ebp - 0x98]
push dword [edx + 0x1488]
mov eax, dword [ebp - 0x98]
add eax, 0x13fc
push eax
mov edx, dword [ebp - 0x98]
add edx, 0x1348
push edx
mov ecx, dword [ebp - 0x98]
push dword [ecx + 0x149c]
mov eax, dword [ebp - 0x98]
push dword [eax + 0x1428]
mov edx, dword [ebp - 0x98]
add edx, 0x14a4
push edx
mov ecx, dword [ebp - 0x98]
push dword [ecx + 0x348]
push dword [ebp - 0x98]
call fcn.00408e0c
add esp, 0x24
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x348]
inc edx
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x14d8], edx
mov eax, dword [ebp - 0x98]
xor edx, edx
mov dword [eax + 0x14dc], edx
jmp 0x4075a4
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x14c8], 1
jne 0x40741b
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0xac]
mov eax, dword [ebp - 0x98]
fstp dword [eax + 0x143c]
lea edx, [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0xac]
mov eax, dword [ebp - 0x98]
fstp dword [eax + 0x1440]
lea edx, [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x149c]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1438]
mov ecx, dword [ebp - 0xac]
call fcn.00451afc
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1438]
xor edx, edx
call fcn.00451a48
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x1438]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x144c]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1398], 0
jne 0x4074ef
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x149c]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14a0]
mov ecx, dword [ebp - 0xac]
call fcn.00451afc
push dword [ebp - 0xac]
mov edx, dword [ebp - 0x98]
push dword [edx + 0x14a0]
push dword [ebp - 0x98]
call fcn.004041d0
add esp, 0xc
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a0]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x14a0]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1484]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x14a0]
call fcn.00451dcc
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x1484]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1488]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40756a
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1398], 1
jl 0x40756a
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x98]
push dword [eax + 0x14ac]
mov edx, dword [ebp - 0x98]
push dword [edx + 0x14a8]
mov ecx, dword [ebp - 0x98]
push dword [ecx + 0x1398]
push dword [ebp - 0xac]
mov eax, dword [ebp - 0x98]
push dword [eax + 0x149c]
mov edx, dword [ebp - 0x98]
push dword [edx + 0x1488]
push dword [ebp - 0x98]
call fcn.0040430c
add esp, 0x1c
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x14d8], 1
mov eax, dword [ebp - 0x98]
xor edx, edx
mov dword [eax + 0x14dc], edx
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov dl, 1
mov eax, dword [0x41d350]
call fcn.0041e888
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x1494], eax
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0x147c], 0
jne 0x407711
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1494]
mov edx, 0x14
call fcn.0041ecfc
lea eax, [ebp - 0xd9]
call fcn.00401764
xor edx, edx
call fcn.0040968c
mov dl, byte [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1494]
call fcn.0041ed28
mov word [ebp - 0x84], 0xc8
mov edx, 0x4834ee
lea eax, [ebp - 0x4c]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1494]
call fcn.0041ec84
dec dword [ebp - 0x78]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0046e370
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1494]
mov edx, 0xff
call fcn.0041ea5c
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1488]
call fcn.00423e00
add eax, 0xc
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x1494]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 8]
mov word [ebp - 0x84], 0xd4
mov edx, 0x483436
lea eax, [ebp - 0x50]
call fcn.0046e2b8
inc dword [ebp - 0x78]
push dword [eax]
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1488]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x4076c2
adc eax, 0
add eax, 0xffffffec
push eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1488]
mov edx, dword [eax]
call dword [edx + 0x2c]
sar eax, 1
jns 0x4076de
adc eax, 0
add eax, 0xffffff6a
push eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1488]
call fcn.00423e00
pop edx
pop ecx
call fcn.0046e2b0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0046e370
jmp 0x407838
mov word [ebp - 0x84], 0xe0
mov edx, 0x4834f3
lea eax, [ebp - 0x54]
call fcn.0046e2b8
inc dword [ebp - 0x78]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x98]
add eax, 0x1458
call fcn.0046e458
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0046e370
pop ecx
test cl, cl
je 0x407838
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x145c]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1494]
call fcn.0041ecfc
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x1460]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1494]
call fcn.0041ec84
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x1464]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1494]
call fcn.0041ea5c
mov edx, dword [ebp - 0x98]
mov dl, byte [edx + 0x1468]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1494]
call fcn.0041ed28
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1488]
call fcn.00423e00
add eax, 0xc
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x1494]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 0x98]
push dword [edx + 0x1458]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1488]
call fcn.00423e00
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x1454]
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x1450]
call fcn.0046e2b0
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14c8], 1
jne 0x40788f
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x144c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1490]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x144c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1490]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 0x98]
cmp byte [edx + 0x14ec], 0
jne 0x407a1b
mov eax, dword [ebp - 0x98]
push dword [eax + 0x1488]
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x2d0]
call fcn.00433f68
xor ecx, ecx
xor edx, edx
call fcn.0041f524
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14c8], 1
jne 0x407a70
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1490]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x61c], eax
fild dword [ebp - 0x61c]
mov ecx, dword [ebp - 0x98]
fadd dword [ecx + 0x1440]
call fcn.00467410
push eax
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1490]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x620], eax
fild dword [ebp - 0x620]
mov ecx, dword [ebp - 0x98]
fadd dword [ecx + 0x143c]
call fcn.00467410
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1440]
call fcn.00467410
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x143c]
call fcn.00467410
push eax
lea edx, [ebp - 0x608]
push edx
call fcn.00402030
add esp, 0x14
push eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
lea ecx, [ebp - 0x5f8]
push ecx
call fcn.00402030
add esp, 0x14
push eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00433f68
push eax
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1490]
call fcn.00423e00
pop ecx
pop edx
call fcn.0041f49c
mov eax, dword [ebp - 0x98]
push dword [eax + 0x144c]
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x2d0]
call fcn.00433f68
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1440]
call fcn.00467410
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x143c]
call fcn.00467410
mov edx, eax
pop ecx
pop eax
call fcn.0041f524
jmp 0x407a70
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x2d0]
push dword [ecx + 0x3c]
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x2d0]
push dword [edx + 0x38]
push 0
push 0
lea ecx, [ebp - 0x618]
push ecx
call fcn.00402030
add esp, 0x14
push eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00433f68
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x1488]
pop edx
call fcn.0041f760
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14c8], 1
jne 0x407adb
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0xac]
mov eax, dword [ebp - 0x98]
fstp dword [eax + 0x1444]
lea edx, [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x149c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0xac]
mov eax, dword [ebp - 0x98]
fstp dword [eax + 0x1448]
push str.LXPLAYFF
push 0
push 0x1f0003
call sub.KERNEL32.DLL_OpenEventA
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x338], eax
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x338], 0
je 0x407b18
mov eax, dword [ebp - 0x98]
push dword [eax + 0x338]
call sub.KERNEL32.DLL_SetEvent
push 8
lea edx, [ebp - 0xec]
push edx
call sub.WINMM.DLL_timeGetDevCaps
test eax, eax
jne 0x407c8a
push 1
call sub.WINMM.DLL_timeBeginPeriod
cmp eax, 0x61
jne 0x407b6f
mov word [ebp - 0x84], 0xec
mov edx, 0x4834fd
lea eax, [ebp - 0x58]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.00435284
dec dword [ebp - 0x78]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0046e370
jmp 0x407cba
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14b8]
mov ecx, 0x28
cdq
idiv ecx
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x14e0], eax
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14e0], 0
jne 0x407bae
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x14e0], 1
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x14e0]
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x14e4], edx
push 1
push dword [ebp - 0x98]
push 0x401508
push 1
mov eax, dword [ebp - 0x98]
push dword [eax + 0x14b8]
call sub.WINMM.DLL_timeSetEvent
mov dword [0x48bba0], eax
test eax, eax
jne 0x407c1f
mov word [ebp - 0x84], 0xf8
mov edx, 0x48350c
lea eax, [ebp - 0x5c]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.00435284
dec dword [ebp - 0x78]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0046e370
push 1
push dword [ebp - 0x98]
push 0x4015a0
push 1
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14b8]
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x14e0]
cdq
idiv ecx
push eax
call sub.WINMM.DLL_timeSetEvent
mov dword [0x48bba4], eax
test eax, eax
jne 0x407cba
mov word [ebp - 0x84], 0x104
mov edx, 0x48351c
lea eax, [ebp - 0x60]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.00435284
dec dword [ebp - 0x78]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0046e370
jmp 0x407cba
mov word [ebp - 0x84], 0x110
mov edx, 0x48352c
lea eax, [ebp - 0x64]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.00435284
dec dword [ebp - 0x78]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0046e370
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x147d], 1
mov eax, dword [ebp - 0x98]
xor edx, edx
mov dword [eax + 0x1430], edx
mov ecx, dword [ebp - 0x98]
cmp byte [ecx + 0x147e], 1
jne 0x407d96
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0x344], 1
jne 0x407d16
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x14b8]
mov eax, dword [ebp - 0x98]
imul ecx, dword [eax + 0x348]
mov dword [ebp - 0xf4], ecx
lea edx, [ebp - 0xf8]
push edx
push 4
push 0x806
mov ecx, dword [ebp - 0x98]
push dword [ecx + 0x1480]
call sub.WINMM.DLL_mciSendCommandA
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x407d96
mov word [ebp - 0x84], 0x11c
mov edx, 0x48353b
lea eax, [ebp - 0x68]
call fcn.0046e2b8
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.00435284
dec dword [ebp - 0x78]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0046e370
push 0
push 2
push 0x804
mov ecx, dword [ebp - 0x98]
push dword [ecx + 0x1480]
call sub.WINMM.DLL_mciSendCommandA
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x147e], 0
mov edx, dword [ebp - 0x98]
mov byte [edx + 0x1341], 0
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x1374], 0
jne 0x407dd4
xor edx, edx
mov eax, dword [ebp - 0x98]
call fcn.0043a2cc
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2ec]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x1378], 0
jne 0x407df6
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x300]
xor edx, edx
call fcn.0041a2a8
mov ecx, dword [0x48b7cc]
mov eax, dword [ecx]
call fcn.0042f76c
mov edx, eax
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
sub edx, dword [eax + 0x38]
add edx, 0xffffffce
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
call fcn.00439b08
mov edx, dword [0x48b7cc]
mov eax, dword [edx]
call fcn.0042f760
mov edx, eax
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
sub edx, dword [eax + 0x3c]
add edx, 0xffffff9c
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
call fcn.00439b28
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1378], 1
jne 0x407e8a
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x137c], 1
jne 0x407e8a
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x300]
mov dl, 1
call fcn.0041a254
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
call fcn.0042e8ec
jmp 0x407eb4
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1378], 0
jne 0x407eb4
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
cmp byte [eax + 0x47], 1
jne 0x407eb4
mov edx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [edx]
call fcn.0042e734
mov edx, dword [ebp - 0x98]
cmp byte [edx + 0x344], 1
jne 0x408016
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
jmp 0x407f95
mov word [ebp - 0x84], 0x128
lea eax, [ebp - 0x6c]
call fcn.0040171c
mov ecx, eax
inc dword [ebp - 0x78]
mov edx, dword [ebp - 0xa0]
add edx, edx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1428]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x6c]
call fcn.0046e570
mov edx, dword [ebp - 0x98]
cmp eax, dword [edx + 0x348]
jg 0x407f70
lea eax, [ebp - 0x70]
call fcn.0040171c
mov ecx, eax
inc dword [ebp - 0x78]
mov edx, dword [ebp - 0xa0]
inc edx
add edx, edx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1428]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x70]
call fcn.0046e570
mov edx, dword [ebp - 0x98]
cmp eax, dword [edx + 0x348]
setg cl
and ecx, 1
push ecx
dec dword [ebp - 0x78]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0046e370
pop ecx
test ecx, ecx
jne 0x407f74
xor eax, eax
jmp 0x407f79
mov eax, 1
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0046e370
pop ecx
test cl, cl
jne 0x407fba
inc dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1428]
mov edx, dword [eax]
call dword [edx + 0x14]
sar eax, 1
jns 0x407fad
adc eax, 0
dec eax
cmp eax, dword [ebp - 0xa0]
jg 0x407ed4
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
mov edx, dword [ebp - 0xa0]
mov dword [eax + 0x344], edx
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2e8]
mov edx, dword [ebp - 0xa0]
call fcn.004489bc
mov ecx, dword [sym.Project1.exe__PlayForm]
mov eax, dword [ecx + 0x1428]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sar edx, 1
jns 0x408001
adc edx, 0
dec edx
mov eax, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2e8]
call fcn.004489ec
jmp 0x408068
mov edx, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx + 0x344], eax
mov edx, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2e8]
xor edx, edx
call fcn.004489bc
mov ecx, dword [sym.Project1.exe__PlayForm]
mov eax, dword [ecx + 0x1428]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sar edx, 1
jns 0x408055
adc edx, 0
dec edx
mov eax, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2e8]
call fcn.004489ec
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046e370
mov ecx, dword [ebp - 0x94]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4