Function at 0x405a6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa20
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x98], eax
mov eax, 0x481fec
call fcn.004614cc
mov dword [ebp - 0x78], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.0046c538
inc dword [ebp - 0x78]
lea eax, [ebp - 4]
mov word [ebp - 0x84], 8
push 0x481499
call fcn.00404c18
push eax
call fcn.00462f7c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x405b19
mov word [ebp - 0x84], 0x14
mov edx, str.failed1
lea eax, [ebp - 8]
call fcn.0046c500
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334b0
dec dword [ebp - 0x78]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046c5b8
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046c5b8
mov ecx, dword [ebp - 0x94]
mov dword fs:[0], ecx
jmp 0x4077a9
mov eax, dword [ebp + 8]
sub eax, 0x2c
mov dword [ebp - 0x9c], eax
push 0
mov edx, dword [ebp - 0x9c]
push edx
push ebx
call fcn.0046325c
add esp, 0xc
push ebx
push 1
push 0x2c
mov ecx, dword [ebp - 0x98]
add ecx, 0x1404
push ecx
call fcn.004631bc
add esp, 0x10
mov eax, dword [ebp - 0x9c]
sub eax, 0xb4
mov dword [ebp - 0x9c], eax
push 0
mov edx, dword [ebp - 0x9c]
push edx
push ebx
call fcn.0046325c
add esp, 0xc
push ebx
push 1
push 0xb4
mov ecx, dword [ebp - 0x98]
add ecx, 0x1350
push ecx
call fcn.004631bc
add esp, 0x10
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x1378], 0
jne 0x405bce
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1364], 0
jne 0x405bce
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x1354], 1
jne 0x405bce
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x1378], 1
mov edx, dword [ebp - 0x9c]
sub edx, 4
mov dword [ebp - 0x9c], edx
push 0
mov ecx, dword [ebp - 0x9c]
push ecx
push ebx
call fcn.0046325c
add esp, 0xc
push ebx
push 1
push 4
lea eax, [ebp - 0xa0]
push eax
call fcn.004631bc
add esp, 0x10
mov edx, dword [ebp - 0xa0]
sub dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0xa0]
inc ecx
push ecx
call fcn.00460974
pop ecx
mov esi, eax
mov dl, 1
mov eax, dword [0x44cba4]
call fcn.00404c7c
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x1430], eax
push 0
mov eax, dword [ebp - 0x9c]
push eax
push ebx
call fcn.0046325c
add esp, 0xc
push ebx
push 1
mov edx, dword [ebp - 0xa0]
push edx
push esi
call fcn.004631bc
mov ecx, dword [ebp - 0xa0]
add esp, 0x10
lea eax, [ebp - 0xc]
mov edx, esi
mov byte [esi + ecx], 0
mov word [ebp - 0x84], 0x20
call fcn.0046c500
inc dword [ebp - 0x78]
mov edx, dword [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1430]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x78]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0046c5b8
push esi
call fcn.0046079c
pop ecx
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x13ac], 1
jne 0x405d91
mov eax, dword [ebp - 0x9c]
sub eax, 4
mov dword [ebp - 0x9c], eax
push 0
mov edx, dword [ebp - 0x9c]
push edx
push ebx
call fcn.0046325c
add esp, 0xc
push ebx
push 1
push 4
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004631bc
add esp, 0x10
mov eax, dword [ebp - 0xa0]
sub dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0xa0]
inc edx
push edx
call fcn.00460974
pop ecx
mov esi, eax
mov dl, 1
mov eax, dword [0x44cba4]
call fcn.00404c7c
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x1434], eax
push 0
mov eax, dword [ebp - 0x9c]
push eax
push ebx
call fcn.0046325c
add esp, 0xc
push ebx
push 1
mov edx, dword [ebp - 0xa0]
push edx
push esi
call fcn.004631bc
mov ecx, dword [ebp - 0xa0]
add esp, 0x10
lea eax, [ebp - 0x10]
mov edx, esi
mov byte [esi + ecx], 0
mov word [ebp - 0x84], 0x2c
call fcn.0046c500
inc dword [ebp - 0x78]
mov edx, dword [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1434]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x78]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0046c5b8
push esi
call fcn.0046079c
pop ecx
push 0
push edi
push ebx
call fcn.0046325c
add esp, 0xc
push ebx
push 1
push 4
lea ecx, [ebp - 0x9c]
push ecx
call fcn.004631bc
add esp, 0x10
cmp dword [ebp - 0x9c], 0
je 0x405f85
mov eax, 0x489c40
mov edx, str.nowav
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x405de8
test cl, cl
je 0x405f5e
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x405de8
add eax, 2
add edx, 2
test cl, cl
jne 0x405dc8
je 0x405f5e
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x4cc]
mov byte [eax + 0x1486], 1
push edx
push 0x3e8
call sub.KERNEL32.DLL_GetTempPathA
push str.plzj
lea ecx, [ebp - 0x4cc]
push ecx
call fcn.0046121c
mov eax, dword [ebp - 0x98]
add esp, 8
lea ecx, [ebp - 0x5a8]
mov edx, dword [eax + 0x35c]
push edx
push 0x4814af
push ecx
call fcn.00463cf0
add esp, 0xc
lea eax, [ebp - 0x5a8]
push eax
lea edx, [ebp - 0x4cc]
push edx
call fcn.0046121c
add esp, 8
push str..wav
lea ecx, [ebp - 0x4cc]
push ecx
call fcn.0046121c
mov eax, dword [ebp - 0x98]
add esp, 8
lea ecx, [ebp - 0x4cc]
mov edx, dword [eax + 0x13a4]
push edx
push ebx
push ecx
mov eax, dword [ebp - 0x98]
push eax
call fcn.004077b4
add esp, 0x10
inc eax
jne 0x405ecf
mov word [ebp - 0x84], 0x38
mov edx, 0x4814b7
lea eax, [ebp - 0x14]
call fcn.0046c500
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334b0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0046c5b8
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x1486], 0
mov dword [ebp - 0xc4], str.waveaudio
lea eax, [ebp - 0x4cc]
lea edx, [ebp - 0xcc]
mov dword [ebp - 0xc0], eax
push edx
push 0x2200
push 0x803
push 0
call sub.WINMM.DLL_mciSendCommandA
mov esi, eax
test eax, eax
je 0x405f42
mov word [ebp - 0x84], 0x44
mov edx, 0x4814ce
lea eax, [ebp - 0x18]
call fcn.0046c500
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334b0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0046c5b8
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x1486], 0
jmp 0x405f6b
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xc8]
mov dword [eax + 0x1488], edx
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
jmp 0x405f6b
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x1486], 0
add edi, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x98]
sub edi, dword [edx + 0x1420]
mov dword [ebp - 0x9c], edi
jmp 0x405f9b
add edi, 4
mov dword [ebp - 0x9c], edi
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x1486], 0
push ebx
call fcn.00462c10
pop ecx
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
mov dword [edx + 0x134c], ecx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00432194
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041d574
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00432194
mov eax, dword [eax + 0xc]
mov edx, 0xa
call fcn.0041cf28
lea eax, [ebp - 0xa2]
call fcn.00401c68
xor edx, edx
call fcn.00408dd8
mov cl, byte [eax]
push ecx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00432194
mov eax, dword [eax + 0xc]
pop edx
call fcn.0041cf54
mov word [ebp - 0x84], 0x50
mov edx, 0x4814df
lea eax, [ebp - 0x1c]
call fcn.0046c500
inc dword [ebp - 0x78]
mov ecx, dword [eax]
push ecx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00432194
mov eax, dword [eax + 0xc]
pop edx
call fcn.0041ceb0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0046c5b8
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00432194
mov eax, dword [eax + 0xc]
mov edx, 0xff
call fcn.0041cc88
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
call fcn.0042202c
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041d574
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14a4]
xor ecx, ecx
mov edx, dword [ebp - 0x9c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
add edx, 0x14ac
mov ecx, 0x28
mov eax, dword [eax + 0x14a4]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x4e0]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x4cd], 0
mov word [ebp - 0x84], 0x5c
lea edx, [ebp - 0x4e0]
lea eax, [ebp - 0x20]
call fcn.0046c500
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1474
call fcn.0046c5e8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0046c5b8
lea edx, [ebp - 0x4e0]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x4cd], 0
mov word [ebp - 0x84], 0x68
lea edx, [ebp - 0x4e0]
lea eax, [ebp - 0x24]
call fcn.0046c500
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1478
call fcn.0046c5e8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0046c5b8
mov ecx, dword [ebp - 0x98]
mov edx, 0x4814e4
lea eax, [ebp - 0x28]
mov byte [ecx + 0x1484], 1
mov word [ebp - 0x84], 0x74
call fcn.0046c500
inc dword [ebp - 0x78]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x98]
add eax, 0x1474
call fcn.0046c688
test al, al
jne 0x406216
mov edx, 0x4814e5
lea eax, [ebp - 0x2c]
call fcn.0046c500
inc dword [ebp - 0x78]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x98]
add eax, 0x1478
call fcn.0046c688
test al, al
lea eax, [ebp - 0x2c]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x78]
call fcn.0046c5b8
pop ecx
test ecx, ecx
jne 0x406216
xor eax, eax
jmp 0x40621b
mov eax, 1
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0046c5b8
pop ecx
test cl, cl
je 0x406240
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x1484], 0
jmp 0x40624d
mov edx, dword [ebp - 0x98]
push edx
call fcn.004081c8
pop ecx
lea edx, [ebp - 0x544]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 0x28
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x51c], 0
lea eax, [ebp - 0x544]
push eax
mov edx, dword [ebp - 0x98]
push edx
call fcn.004084d8
mov word [ebp - 0x84], 0x80
add esp, 8
lea edx, [ebp - 0x544]
lea eax, [ebp - 0x30]
call fcn.0046c500
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1460
call fcn.0046c5e8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0046c5b8
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
add edx, 0x1458
mov ecx, 4
mov eax, dword [eax + 0x14a4]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
add edx, 0x145c
mov ecx, 4
mov eax, dword [eax + 0x14a4]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
add edx, 0x1464
mov ecx, 4
mov eax, dword [eax + 0x14a4]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x544]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x530], 0
mov word [ebp - 0x84], 0x8c
lea edx, [ebp - 0x544]
lea eax, [ebp - 0x34]
call fcn.0046c500
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1468
call fcn.0046c5e8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0046c5b8
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
add edx, 0x146c
mov ecx, 4
mov eax, dword [eax + 0x14a4]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0xa1]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0xa1]
dec eax
jne 0x4063e1
mov eax, dword [ebp - 0x98]
add eax, 0x1470
xor edx, edx
call fcn.00408dd8
lea edx, [ebp - 0xa1]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0xa1]
dec eax
jne 0x406419
mov eax, dword [ebp - 0x98]
mov dl, 1
add eax, 0x1470
call fcn.00408dd8
lea edx, [ebp - 0xa1]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0xa1]
dec eax
jne 0x406451
mov eax, dword [ebp - 0x98]
mov dl, 2
add eax, 0x1470
call fcn.00408dd8
lea edx, [ebp - 0xa1]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0xa1]
dec eax
jne 0x406489
mov eax, dword [ebp - 0x98]
mov dl, 3
add eax, 0x1470
call fcn.00408dd8
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14b0]
mov dword [edx + 0x14d8], eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14b4]
xor ecx, ecx
mov dword [edx + 0x14d4], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x1378], 1
jne 0x4064ef
mov edx, dword [0x489864]
mov eax, dword [edx]
call fcn.0042d998
mov esi, eax
mov eax, dword [0x489864]
mov eax, dword [eax]
call fcn.0042d98c
mov ebx, eax
jmp 0x406538
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x1354], 0
jne 0x40651e
mov edx, 0x258
mov eax, dword [ebp - 0x98]
call fcn.004298e8
mov edx, 0x190
mov eax, dword [ebp - 0x98]
call fcn.00429918
mov eax, dword [ebp - 0x98]
call fcn.00437fa4
mov esi, eax
mov eax, dword [ebp - 0x98]
call fcn.00437fe8
mov ebx, eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14d8]
cmp esi, eax
jl 0x4065ab
mov edx, esi
sub edx, eax
sar edx, 1
jns 0x406553
adc edx, 0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00437d34
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
mov edx, dword [edx + 0x14d8]
call fcn.00437d78
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.0041fbac
mov edx, dword [ebp - 0x98]
mov ecx, dword [eax]
mov edx, dword [edx + 0x14d8]
call dword [ecx + 0x40]
jmp 0x4065f9
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x98]
xor edx, edx
mov eax, dword [eax + 0x2d0]
call fcn.00437d34
mov ecx, dword [ebp - 0x98]
mov edx, esi
mov eax, dword [ecx + 0x2d0]
call fcn.00437d78
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
mov eax, dword [eax + 0x128]
call fcn.0041fbac
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14d4]
cmp ebx, eax
jl 0x40666c
mov edx, ebx
sub edx, eax
sar edx, 1
jns 0x406614
adc edx, 0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00437d54
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
mov edx, dword [edx + 0x14d4]
call fcn.00437d98
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.0041fbac
mov edx, dword [ebp - 0x98]
mov ecx, dword [eax]
mov edx, dword [edx + 0x14d4]
call dword [ecx + 0x34]
jmp 0x4066ba
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x98]
xor edx, edx
mov eax, dword [eax + 0x2d0]
call fcn.00437d98
mov ecx, dword [ebp - 0x98]
mov edx, ebx
mov eax, dword [ecx + 0x2d0]
call fcn.00437d98
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
mov eax, dword [eax + 0x128]
call fcn.0041fbac
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [ebp - 0xa0], 1
jne 0x4066e1
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x136c], 1
jne 0x4066e1
mov edx, dword [ebp - 0x98]
mov byte [edx + 0x14f4], 1
jmp 0x4066ee
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x14f4], 0
mov eax, dword [ebp - 0x98]
mov dl, 1
mov eax, dword [eax + 0x2ec]
call fcn.004184d4
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 dl, 1
mov eax, dword [eax + 0x308]
call fcn.004184d4
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2f4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x98]
xor edx, edx
mov eax, dword [eax + 0x2ec]
call fcn.00418480
mov ecx, dword [sym.Project1.exe__ControlForm]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2dc]
call fcn.00447b20
mov ecx, dword [ebp - 0x98]
xor edx, edx
mov eax, dword [ecx + 0x308]
call fcn.00418480
mov ecx, dword [sym.Project1.exe__ControlForm]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2f4]
call fcn.00447b20
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x34c], 0
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x360], 0
jne 0x406a12
mov word [ebp - 0x84], 0x98
lea eax, [ebp - 0x3c]
call fcn.00401b10
push eax
inc dword [ebp - 0x78]
mov edx, 0x489c40
lea eax, [ebp - 0x38]
call fcn.0046c500
inc dword [ebp - 0x78]
pop edx
call fcn.0046c730
lea ecx, [ebp - 0x3c]
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x40]
call fcn.00401b10
mov edx, eax
inc dword [ebp - 0x78]
pop eax
call fcn.00458818
lea eax, [ebp - 0x40]
call fcn.00404c18
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
mov esi, 0x489c40
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 2
and ecx, 3
lea eax, [ebp - 0x40]
rep movsb byte es:[edi], byte [esi]
dec dword [ebp - 0x78]
call fcn.0046c5b8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0046c5b8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0046c5b8
push 0x489c40
call fcn.00461258
pop ecx
mov dword [ebp - 0xa0], eax
cmp eax, 0xf
jl 0x406a12
xor eax, eax
or ecx, 0xffffffff
mov edi, 0x489c40
lea esi, [ebp - 0x544]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, str.playfromto_
and ecx, 3
lea eax, [ebp - 0x544]
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x539], 0
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4068be
test cl, cl
je 0x4068c4
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4068be
add eax, 2
add edx, 2
test cl, cl
jne 0x4068a2
jne 0x406a12
mov ebx, 0xb
lea eax, [ebp - 0x544]
mov edx, 0x489c4b
jmp 0x4068dd
mov cl, byte [edx]
inc ebx
mov byte [eax], cl
inc eax
inc edx
cmp ebx, dword [ebp - 0xa0]
jge 0x4068ed
movsx ecx, byte [edx]
cmp ecx, 0x2c
jne 0x4068d6
mov byte [ebp + ebx - 0x54f], 0
cmp ebx, dword [ebp - 0xa0]
jge 0x406a12
inc ebx
mov edx, ebx
lea eax, [edx + 0x489c40]
jmp 0x40691b
mov esi, edx
mov cl, byte [eax]
sub esi, ebx
inc edx
inc eax
mov byte [ebp + esi - 0x5a8], cl
cmp edx, dword [ebp - 0xa0]
jge 0x40692b
movsx ecx, byte [eax]
cmp ecx, 0x29
jne 0x40690c
sub edx, ebx
lea eax, [ebp - 0x44]
mov byte [ebp + edx - 0x5a8], 0
mov word [ebp - 0x84], 0xa4
mov word [ebp - 0x84], 0xb0
lea edx, [ebp - 0x544]
call fcn.0046c500
inc dword [ebp - 0x78]
call fcn.0046c7b8
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x350], eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0046c5b8
mov word [ebp - 0x84], 0xbc
lea edx, [ebp - 0x5a8]
lea eax, [ebp - 0x48]
call fcn.0046c500
inc dword [ebp - 0x78]
call fcn.0046c7b8
mov ecx, dword [ebp - 0x98]
mov edx, 2
mov dword [ecx + 0x354], eax
lea eax, [ebp - 0x48]
dec dword [ebp - 0x78]
call fcn.0046c5b8
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x350]
test eax, eax
jl 0x4069f9
mov edx, dword [ebp - 0x98]
cmp eax, dword [edx + 0x354]
jge 0x4069f9
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x354]
cmp eax, dword [edx + 0x14b8]
jge 0x4069f9
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x34c], 1
mov word [ebp - 0x84], 8
jmp 0x406a12
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x14b8]
mov dword [ecx + 0x14dc], edx
mov eax, dword [sym.Project1.exe__PlayForm]
mov eax, dword [eax + 0x1430]
mov edx, dword [eax]
call dword [edx + 0x14]
sar eax, 1
jns 0x406a41
adc eax, 0
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x334]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0x34c], 1
jne 0x406c29
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov eax, dword [eax + 0x1490]
mov edx, dword [ecx + 0x14b0]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
mov eax, dword [eax + 0x1490]
mov edx, dword [edx + 0x14b4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1490]
push eax
mov edx, dword [ebp - 0x98]
add edx, 0x1404
push edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1350
push ecx
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x14a4]
push edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1430]
push eax
mov edx, dword [ebp - 0x98]
add edx, 0x14ac
push edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x350]
push eax
mov edx, dword [ebp - 0x98]
push edx
call fcn.004084f8
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
add esp, 0x24
mov eax, dword [ecx + 0x350]
inc eax
mov dword [edx + 0x14e0], eax
xor eax, eax
mov ecx, dword [ebp - 0x98]
xor ebx, ebx
mov dword [ecx + 0x14e4], eax
jmp 0x406bed
mov word [ebp - 0x84], 0xc8
lea eax, [ebp - 0x4c]
call fcn.00401b10
inc dword [ebp - 0x78]
mov ecx, eax
mov eax, dword [ebp - 0x98]
mov esi, ebx
add esi, esi
mov edx, esi
mov eax, dword [eax + 0x1430]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x4c]
call fcn.0046c7b8
mov edx, dword [ebp - 0x98]
cmp eax, dword [edx + 0x14e0]
jg 0x406bcd
lea eax, [ebp - 0x50]
call fcn.00401b10
inc dword [ebp - 0x78]
mov ecx, eax
mov eax, dword [ebp - 0x98]
mov edx, esi
add edx, 2
mov eax, dword [eax + 0x1430]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x50]
call fcn.0046c7b8
mov edx, dword [ebp - 0x98]
cmp eax, dword [edx + 0x14e0]
lea eax, [ebp - 0x50]
setg cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x78]
call fcn.0046c5b8
pop ecx
test ecx, ecx
jne 0x406bd1
xor eax, eax
jmp 0x406bd6
mov eax, 1
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0046c5b8
pop ecx
test cl, cl
jne 0x406c0e
inc ebx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1430]
mov edx, dword [eax]
call dword [edx + 0x14]
sar eax, 1
jns 0x406c05
adc eax, 0
dec eax
cmp ebx, eax
jl 0x406b37
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x334]
mov dword [eax + 0x14], ebx
push eax
call fcn.004017b0
pop ecx
jmp 0x406eb5
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x14d0], 1
jne 0x406d07
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
fstp dword [eax + 0x1444]
lea edx, [ebp - 0xa0]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14a4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
fstp dword [eax + 0x1448]
lea edx, [ebp - 0xa0]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14a4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x14a4]
mov eax, dword [ecx + 0x1440]
mov ecx, dword [ebp - 0xa0]
call fcn.0044fd28
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1440]
xor edx, edx
call fcn.0044fc74
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov eax, dword [eax + 0x1454]
mov edx, dword [ecx + 0x1440]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x13a0], 0
jne 0x406de1
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x14a4]
mov eax, dword [ecx + 0x14a8]
mov ecx, dword [ebp - 0xa0]
call fcn.0044fd28
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x14a8]
push edx
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.00403e48
add esp, 0xc
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x14a8]
mov eax, dword [ecx + 0x148c]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x14a8]
call fcn.0044fff8
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
mov eax, dword [eax + 0x1490]
mov edx, dword [edx + 0x148c]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x406e63
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x13a0], 1
jl 0x406e63
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x14b4]
push edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14b0]
push eax
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x13a0]
push ecx
mov eax, dword [ebp - 0xa0]
push eax
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x14a4]
push ecx
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x1490]
push edx
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.00403f6c
add esp, 0x1c
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x14e0], 1
mov edx, dword [ebp - 0x98]
xor ecx, ecx
mov dword [edx + 0x14e4], ecx
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x334]
xor edx, edx
mov dword [eax + 0x14], edx
push eax
call fcn.004017b0
pop ecx
mov dl, 1
mov eax, dword [0x41b57c]
call fcn.0041cab4
mov ebx, eax
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x149c], ebx
mov edx, dword [ebp - 0x98]
cmp byte [edx + 0x1484], 0
jne 0x40700f
mov eax, ebx
mov edx, 0x14
call fcn.0041cf28
lea eax, [ebp - 0xa3]
call fcn.00401c68
xor edx, edx
call fcn.00408dd8
mov dl, byte [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
call fcn.0041cf54
mov word [ebp - 0x84], 0xd4
mov edx, 0x4814f2
lea eax, [ebp - 0x54]
call fcn.0046c500
inc dword [ebp - 0x78]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x149c]
call fcn.0041ceb0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0046c5b8
mov ecx, dword [ebp - 0x98]
mov edx, 0xff
mov eax, dword [ecx + 0x149c]
call fcn.0041cc88
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
call fcn.0042202c
add eax, 0xc
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x149c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 8]
mov word [ebp - 0x84], 0xe0
mov edx, 0x481436
lea eax, [ebp - 0x58]
call fcn.0046c500
inc dword [ebp - 0x78]
mov ecx, dword [eax]
push ecx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1490]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x406fc0
adc eax, 0
add eax, 0xffffffec
push eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
mov edx, dword [eax]
call dword [edx + 0x2c]
sar eax, 1
jns 0x406fdc
adc eax, 0
add eax, 0xffffff6a
push eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
call fcn.0042202c
pop edx
pop ecx
call fcn.0046c4f0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0046c5b8
jmp 0x40712b
mov word [ebp - 0x84], 0xec
mov edx, 0x4814f7
lea eax, [ebp - 0x5c]
call fcn.0046c500
inc dword [ebp - 0x78]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x98]
add eax, 0x1460
call fcn.0046c6a0
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0046c5b8
pop ecx
test cl, cl
je 0x40712b
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x1464]
mov eax, dword [ecx + 0x149c]
call fcn.0041cf28
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov edx, dword [edx + 0x1468]
call fcn.0041ceb0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov edx, dword [edx + 0x146c]
call fcn.0041cc88
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov dl, byte [edx + 0x1470]
call fcn.0041cf54
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1490]
call fcn.0042202c
add eax, 0xc
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x149c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x1460]
push edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
call fcn.0042202c
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x145c]
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x1458]
call fcn.0046c4f0
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14d0], 1
jne 0x407182
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1454]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1498]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1454]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1498]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 0x98]
cmp byte [edx + 0x14f4], 0
jne 0x407310
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x1490]
push edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00432194
xor ecx, ecx
xor edx, edx
call fcn.0041d750
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14d0], 1
jne 0x40735b
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1498]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x5dc], eax
fild dword [ebp - 0x5dc]
mov ecx, dword [ebp - 0x98]
fadd dword [ecx + 0x1448]
call fcn.00465650
push eax
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1498]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x5e0], eax
fild dword [ebp - 0x5e0]
mov ecx, dword [ebp - 0x98]
fadd dword [ecx + 0x1444]
call fcn.00465650
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1448]
call fcn.00465650
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1444]
call fcn.00465650
push eax
lea edx, [ebp - 0x5c8]
push edx
call fcn.004024f8
add esp, 0x14
push eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1498]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1498]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
lea ecx, [ebp - 0x5b8]
push ecx
call fcn.004024f8
add esp, 0x14
push eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00432194
push eax
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1498]
call fcn.0042202c
pop ecx
pop edx
call fcn.0041d6c8
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x1454]
push edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00432194
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1448]
call fcn.00465650
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1444]
call fcn.00465650
mov edx, eax
pop ecx
pop eax
call fcn.0041d750
jmp 0x40735b
mov edx, dword [ebp - 0x98]
mov ebx, dword [edx + 0x2d0]
mov eax, dword [ebx + 0x3c]
push eax
mov edx, dword [ebx + 0x38]
push edx
push 0
push 0
lea ecx, [ebp - 0x5d8]
push ecx
call fcn.004024f8
add esp, 0x14
push eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.00432194
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x1490]
pop edx
call fcn.0041d98c
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14d0], 1
jne 0x4073c6
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14a4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
fstp dword [eax + 0x144c]
lea edx, [ebp - 0xa0]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14a4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
fstp dword [eax + 0x1450]
push str.LXPLAYFF
push 0
push 0x1f0003
call sub.KERNEL32.DLL_OpenEventA
mov ebx, eax
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x340], ebx
test ebx, ebx
je 0x4073ef
push ebx
call sub.KERNEL32.DLL_SetEvent
push 8
lea edx, [ebp - 0xac]
push edx
call sub.WINMM.DLL_timeGetDevCaps
test eax, eax
jne 0x407564
push 1
call sub.WINMM.DLL_timeBeginPeriod
cmp eax, 0x61
jne 0x407446
mov word [ebp - 0x84], 0xf8
mov edx, 0x481501
lea eax, [ebp - 0x60]
call fcn.0046c500
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334b0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0046c5b8
jmp 0x407594
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x14c0]
mov ecx, 0x28
cdq
idiv ecx
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x14e8], eax
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14e8], 0
jne 0x407485
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x14e8], 1
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x14e8]
mov dword [ecx + 0x14ec], edx
push 1
mov eax, dword [ebp - 0x98]
push eax
push 0x40151c
push 1
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x14c0]
push ecx
call sub.WINMM.DLL_timeSetEvent
mov dword [0x489c38], eax
test eax, eax
jne 0x4074f8
mov word [ebp - 0x84], 0x104
mov edx, 0x481510
lea eax, [ebp - 0x64]
call fcn.0046c500
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334b0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0046c5b8
push 1
mov ecx, dword [ebp - 0x98]
push ecx
push 0x401598
push 1
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x14e8]
mov eax, dword [eax + 0x14c0]
cdq
idiv ecx
push eax
call sub.WINMM.DLL_timeSetEvent
mov dword [0x489c3c], eax
test eax, eax
jne 0x407594
mov word [ebp - 0x84], 0x110
mov edx, 0x481520
lea eax, [ebp - 0x68]
call fcn.0046c500
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334b0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0046c5b8
jmp 0x407594
mov word [ebp - 0x84], 0x11c
mov edx, 0x481530
lea eax, [ebp - 0x6c]
call fcn.0046c500
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334b0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0046c5b8
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x1485], 1
mov eax, dword [ebp - 0x98]
xor edx, edx
mov dword [eax + 0x1438], edx
mov ecx, dword [ebp - 0x98]
cmp byte [ecx + 0x1486], 1
jne 0x40766e
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0x34c], 1
jne 0x4075f0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov ecx, dword [edx + 0x14c0]
imul ecx, dword [eax + 0x350]
mov dword [ebp - 0xb4], ecx
lea edx, [ebp - 0xb8]
push edx
push 4
push 0x806
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1488]
push eax
call sub.WINMM.DLL_mciSendCommandA
mov esi, eax
test eax, eax
je 0x40766e
mov word [ebp - 0x84], 0x128
mov edx, 0x48153f
lea eax, [ebp - 0x70]
call fcn.0046c500
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334b0
dec dword [ebp - 0x78]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0046c5b8
push 0
push 2
push 0x804
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1488]
push eax
call sub.WINMM.DLL_mciSendCommandA
mov edx, dword [ebp - 0x98]
mov byte [edx + 0x1486], 0
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x1349], 0
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x137c], 0
jne 0x4076ac
xor edx, edx
mov eax, dword [ebp - 0x98]
call fcn.004384f8
mov edx, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2e8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x1380], 0
jne 0x4076ce
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x300]
xor edx, edx
call fcn.004184d4
mov ecx, dword [0x489864]
mov eax, dword [ecx]
call fcn.0042d998
mov ecx, dword [sym.Project1.exe__ControlForm]
mov edx, eax
mov eax, dword [ecx]
mov ecx, dword [sym.Project1.exe__ControlForm]
sub edx, dword [eax + 0x38]
mov eax, dword [ecx]
add edx, 0xffffffce
call fcn.00437d34
mov edx, dword [0x489864]
mov eax, dword [edx]
call fcn.0042d98c
mov ecx, dword [sym.Project1.exe__ControlForm]
mov edx, eax
mov eax, dword [ecx]
mov ecx, dword [sym.Project1.exe__ControlForm]
sub edx, dword [eax + 0x3c]
mov eax, dword [ecx]
add edx, 0xffffff9c
call fcn.00437d54
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1380], 1
jne 0x407762
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x1384], 1
jne 0x407762
mov eax, dword [ebp - 0x98]
mov dl, 1
mov eax, dword [eax + 0x300]
call fcn.00418480
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
call fcn.0042cb18
jmp 0x40778c
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1380], 0
jne 0x40778c
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
cmp byte [eax + 0x47], 1
jne 0x40778c
mov edx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [edx]
call fcn.0042c960
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046c5b8
mov ecx, dword [ebp - 0x94]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4