Function at 0x405ab0
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, 0x482000
call fcn.00461510
mov dword [ebp - 0x78], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.0046c57c
inc dword [ebp - 0x78]
lea eax, [ebp - 4]
mov word [ebp - 0x84], 8
push 0x4814ad
call fcn.00404c18
push eax
call fcn.00462fc0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x405b5d
mov word [ebp - 0x84], 0x14
mov edx, str.failed1
lea eax, [ebp - 8]
call fcn.0046c544
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334f4
dec dword [ebp - 0x78]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046c5fc
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046c5fc
mov ecx, dword [ebp - 0x94]
mov dword fs:[0], ecx
jmp 0x4077ed
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.004632a0
add esp, 0xc
push ebx
push 1
push 0x2c
mov ecx, dword [ebp - 0x98]
add ecx, 0x1404
push ecx
call fcn.00463200
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.004632a0
add esp, 0xc
push ebx
push 1
push 0xb4
mov ecx, dword [ebp - 0x98]
add ecx, 0x1350
push ecx
call fcn.00463200
add esp, 0x10
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x1378], 0
jne 0x405c12
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1364], 0
jne 0x405c12
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x1354], 1
jne 0x405c12
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.004632a0
add esp, 0xc
push ebx
push 1
push 4
lea eax, [ebp - 0xa0]
push eax
call fcn.00463200
add esp, 0x10
mov edx, dword [ebp - 0xa0]
sub dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0xa0]
inc ecx
push ecx
call fcn.004609b8
pop ecx
mov esi, eax
mov dl, 1
mov eax, dword [0x44cbe8]
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.004632a0
add esp, 0xc
push ebx
push 1
mov edx, dword [ebp - 0xa0]
push edx
push esi
call fcn.00463200
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.0046c544
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.0046c5fc
push esi
call fcn.004607e0
pop ecx
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x13ac], 1
jne 0x405dd5
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.004632a0
add esp, 0xc
push ebx
push 1
push 4
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00463200
add esp, 0x10
mov eax, dword [ebp - 0xa0]
sub dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0xa0]
inc edx
push edx
call fcn.004609b8
pop ecx
mov esi, eax
mov dl, 1
mov eax, dword [0x44cbe8]
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.004632a0
add esp, 0xc
push ebx
push 1
mov edx, dword [ebp - 0xa0]
push edx
push esi
call fcn.00463200
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.0046c544
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.0046c5fc
push esi
call fcn.004607e0
pop ecx
push 0
push edi
push ebx
call fcn.004632a0
add esp, 0xc
push ebx
push 1
push 4
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00463200
add esp, 0x10
cmp dword [ebp - 0x9c], 0
je 0x405fc9
mov eax, 0x489c54
mov edx, str.nowav
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x405e2c
test cl, cl
je 0x405fa2
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x405e2c
add eax, 2
add edx, 2
test cl, cl
jne 0x405e0c
je 0x405fa2
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.00461260
mov eax, dword [ebp - 0x98]
add esp, 8
lea ecx, [ebp - 0x5a8]
mov edx, dword [eax + 0x35c]
push edx
push 0x4814c3
push ecx
call fcn.00463d34
add esp, 0xc
lea eax, [ebp - 0x5a8]
push eax
lea edx, [ebp - 0x4cc]
push edx
call fcn.00461260
add esp, 8
push str..wav
lea ecx, [ebp - 0x4cc]
push ecx
call fcn.00461260
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.004077f8
add esp, 0x10
inc eax
jne 0x405f13
mov word [ebp - 0x84], 0x38
mov edx, 0x4814cb
lea eax, [ebp - 0x14]
call fcn.0046c544
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334f4
dec dword [ebp - 0x78]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0046c5fc
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 0x405f86
mov word [ebp - 0x84], 0x44
mov edx, 0x4814e2
lea eax, [ebp - 0x18]
call fcn.0046c544
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334f4
dec dword [ebp - 0x78]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0046c5fc
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x1486], 0
jmp 0x405faf
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xc8]
mov dword [eax + 0x1488], edx
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
jmp 0x405faf
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 0x405fdf
add edi, 4
mov dword [ebp - 0x9c], edi
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x1486], 0
push ebx
call fcn.00462c54
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.004321d8
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041d5b8
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.004321d8
mov eax, dword [eax + 0xc]
mov edx, 0xa
call fcn.0041cf6c
lea eax, [ebp - 0xa2]
call fcn.00401c68
xor edx, edx
call fcn.00408e1c
mov cl, byte [eax]
push ecx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.004321d8
mov eax, dword [eax + 0xc]
pop edx
call fcn.0041cf98
mov word [ebp - 0x84], 0x50
mov edx, 0x4814f3
lea eax, [ebp - 0x1c]
call fcn.0046c544
inc dword [ebp - 0x78]
mov ecx, dword [eax]
push ecx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
call fcn.004321d8
mov eax, dword [eax + 0xc]
pop edx
call fcn.0041cef4
dec dword [ebp - 0x78]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0046c5fc
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.004321d8
mov eax, dword [eax + 0xc]
mov edx, 0xff
call fcn.0041cccc
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
call fcn.00422070
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041d5b8
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.0046c544
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1474
call fcn.0046c62c
dec dword [ebp - 0x78]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0046c5fc
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.0046c544
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1478
call fcn.0046c62c
dec dword [ebp - 0x78]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0046c5fc
mov ecx, dword [ebp - 0x98]
mov edx, 0x4814f8
lea eax, [ebp - 0x28]
mov byte [ecx + 0x1484], 1
mov word [ebp - 0x84], 0x74
call fcn.0046c544
inc dword [ebp - 0x78]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x98]
add eax, 0x1474
call fcn.0046c6cc
test al, al
jne 0x40625a
mov edx, 0x4814f9
lea eax, [ebp - 0x2c]
call fcn.0046c544
inc dword [ebp - 0x78]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x98]
add eax, 0x1478
call fcn.0046c6cc
test al, al
lea eax, [ebp - 0x2c]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x78]
call fcn.0046c5fc
pop ecx
test ecx, ecx
jne 0x40625a
xor eax, eax
jmp 0x40625f
mov eax, 1
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0046c5fc
pop ecx
test cl, cl
je 0x406284
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x1484], 0
jmp 0x406291
mov edx, dword [ebp - 0x98]
push edx
call fcn.0040820c
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.0040851c
mov word [ebp - 0x84], 0x80
add esp, 8
lea edx, [ebp - 0x544]
lea eax, [ebp - 0x30]
call fcn.0046c544
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1460
call fcn.0046c62c
dec dword [ebp - 0x78]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0046c5fc
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.0046c544
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x98]
add eax, 0x1468
call fcn.0046c62c
dec dword [ebp - 0x78]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0046c5fc
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 0x406425
mov eax, dword [ebp - 0x98]
add eax, 0x1470
xor edx, edx
call fcn.00408e1c
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 0x40645d
mov eax, dword [ebp - 0x98]
mov dl, 1
add eax, 0x1470
call fcn.00408e1c
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 0x406495
mov eax, dword [ebp - 0x98]
mov dl, 2
add eax, 0x1470
call fcn.00408e1c
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 0x4064cd
mov eax, dword [ebp - 0x98]
mov dl, 3
add eax, 0x1470
call fcn.00408e1c
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 0x406533
mov edx, dword [0x489878]
mov eax, dword [edx]
call fcn.0042d9dc
mov esi, eax
mov eax, dword [0x489878]
mov eax, dword [eax]
call fcn.0042d9d0
mov ebx, eax
jmp 0x40657c
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x1354], 0
jne 0x406562
mov edx, 0x258
mov eax, dword [ebp - 0x98]
call fcn.0042992c
mov edx, 0x190
mov eax, dword [ebp - 0x98]
call fcn.0042995c
mov eax, dword [ebp - 0x98]
call fcn.00437fe8
mov esi, eax
mov eax, dword [ebp - 0x98]
call fcn.0043802c
mov ebx, eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14d8]
cmp esi, eax
jl 0x4065ef
mov edx, esi
sub edx, eax
sar edx, 1
jns 0x406597
adc edx, 0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00437d78
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
mov edx, dword [edx + 0x14d8]
call fcn.00437dbc
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.0041fbf0
mov edx, dword [ebp - 0x98]
mov ecx, dword [eax]
mov edx, dword [edx + 0x14d8]
call dword [ecx + 0x40]
jmp 0x40663d
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x98]
xor edx, edx
mov eax, dword [eax + 0x2d0]
call fcn.00437d78
mov ecx, dword [ebp - 0x98]
mov edx, esi
mov eax, dword [ecx + 0x2d0]
call fcn.00437dbc
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
mov eax, dword [eax + 0x128]
call fcn.0041fbf0
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 0x4066b0
mov edx, ebx
sub edx, eax
sar edx, 1
jns 0x406658
adc edx, 0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.00437d98
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x2d0]
mov edx, dword [edx + 0x14d4]
call fcn.00437ddc
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.0041fbf0
mov edx, dword [ebp - 0x98]
mov ecx, dword [eax]
mov edx, dword [edx + 0x14d4]
call dword [ecx + 0x34]
jmp 0x4066fe
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x98]
xor edx, edx
mov eax, dword [eax + 0x2d0]
call fcn.00437ddc
mov ecx, dword [ebp - 0x98]
mov edx, ebx
mov eax, dword [ecx + 0x2d0]
call fcn.00437ddc
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
mov eax, dword [eax + 0x128]
call fcn.0041fbf0
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [ebp - 0xa0], 1
jne 0x406725
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x136c], 1
jne 0x406725
mov edx, dword [ebp - 0x98]
mov byte [edx + 0x14f4], 1
jmp 0x406732
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.00418518
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.00418518
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.004184c4
mov ecx, dword [sym.Project1.exe__ControlForm]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2dc]
call fcn.00447b64
mov ecx, dword [ebp - 0x98]
xor edx, edx
mov eax, dword [ecx + 0x308]
call fcn.004184c4
mov ecx, dword [sym.Project1.exe__ControlForm]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2f4]
call fcn.00447b64
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x34c], 0
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x360], 0
jne 0x406a56
mov word [ebp - 0x84], 0x98
lea eax, [ebp - 0x3c]
call fcn.00401b10
push eax
inc dword [ebp - 0x78]
mov edx, 0x489c54
lea eax, [ebp - 0x38]
call fcn.0046c544
inc dword [ebp - 0x78]
pop edx
call fcn.0046c774
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.0045885c
lea eax, [ebp - 0x40]
call fcn.00404c18
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
mov esi, 0x489c54
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.0046c5fc
dec dword [ebp - 0x78]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0046c5fc
dec dword [ebp - 0x78]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0046c5fc
push 0x489c54
call fcn.0046129c
pop ecx
mov dword [ebp - 0xa0], eax
cmp eax, 0xf
jl 0x406a56
xor eax, eax
or ecx, 0xffffffff
mov edi, 0x489c54
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 0x406902
test cl, cl
je 0x406908
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x406902
add eax, 2
add edx, 2
test cl, cl
jne 0x4068e6
jne 0x406a56
mov ebx, 0xb
lea eax, [ebp - 0x544]
mov edx, 0x489c5f
jmp 0x406921
mov cl, byte [edx]
inc ebx
mov byte [eax], cl
inc eax
inc edx
cmp ebx, dword [ebp - 0xa0]
jge 0x406931
movsx ecx, byte [edx]
cmp ecx, 0x2c
jne 0x40691a
mov byte [ebp + ebx - 0x54f], 0
cmp ebx, dword [ebp - 0xa0]
jge 0x406a56
inc ebx
mov edx, ebx
lea eax, [edx + 0x489c54]
jmp 0x40695f
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 0x40696f
movsx ecx, byte [eax]
cmp ecx, 0x29
jne 0x406950
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.0046c544
inc dword [ebp - 0x78]
call fcn.0046c7fc
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x350], eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0046c5fc
mov word [ebp - 0x84], 0xbc
lea edx, [ebp - 0x5a8]
lea eax, [ebp - 0x48]
call fcn.0046c544
inc dword [ebp - 0x78]
call fcn.0046c7fc
mov ecx, dword [ebp - 0x98]
mov edx, 2
mov dword [ecx + 0x354], eax
lea eax, [ebp - 0x48]
dec dword [ebp - 0x78]
call fcn.0046c5fc
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x350]
test eax, eax
jl 0x406a3d
mov edx, dword [ebp - 0x98]
cmp eax, dword [edx + 0x354]
jge 0x406a3d
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x354]
cmp eax, dword [edx + 0x14b8]
jge 0x406a3d
mov ecx, dword [ebp - 0x98]
mov byte [ecx + 0x34c], 1
mov word [ebp - 0x84], 8
jmp 0x406a56
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 0x406a85
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 0x406c6d
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.0040853c
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 0x406c31
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.0046c7fc
mov edx, dword [ebp - 0x98]
cmp eax, dword [edx + 0x14e0]
jg 0x406c11
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.0046c7fc
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.0046c5fc
pop ecx
test ecx, ecx
jne 0x406c15
xor eax, eax
jmp 0x406c1a
mov eax, 1
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0046c5fc
pop ecx
test cl, cl
jne 0x406c52
inc ebx
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1430]
mov edx, dword [eax]
call dword [edx + 0x14]
sar eax, 1
jns 0x406c49
adc eax, 0
dec eax
cmp ebx, eax
jl 0x406b7b
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x334]
mov dword [eax + 0x14], ebx
push eax
call fcn.004017b0
pop ecx
jmp 0x406ef9
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x14d0], 1
jne 0x406d4b
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.0044fd6c
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1440]
xor edx, edx
call fcn.0044fcb8
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 0x406e25
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.0044fd6c
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.0045003c
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 0x406ea7
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x13a0], 1
jl 0x406ea7
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 [0x41b5c0]
call fcn.0041caf8
mov ebx, eax
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x149c], ebx
mov edx, dword [ebp - 0x98]
cmp byte [edx + 0x1484], 0
jne 0x407053
mov eax, ebx
mov edx, 0x14
call fcn.0041cf6c
lea eax, [ebp - 0xa3]
call fcn.00401c68
xor edx, edx
call fcn.00408e1c
mov dl, byte [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
call fcn.0041cf98
mov word [ebp - 0x84], 0xd4
mov edx, 0x481506
lea eax, [ebp - 0x54]
call fcn.0046c544
inc dword [ebp - 0x78]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x149c]
call fcn.0041cef4
dec dword [ebp - 0x78]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0046c5fc
mov ecx, dword [ebp - 0x98]
mov edx, 0xff
mov eax, dword [ecx + 0x149c]
call fcn.0041cccc
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
call fcn.00422070
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.0046c544
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 0x407004
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 0x407020
adc eax, 0
add eax, 0xffffff6a
push eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x1490]
call fcn.00422070
pop edx
pop ecx
call fcn.0046c534
dec dword [ebp - 0x78]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0046c5fc
jmp 0x40716f
mov word [ebp - 0x84], 0xec
mov edx, 0x48150b
lea eax, [ebp - 0x5c]
call fcn.0046c544
inc dword [ebp - 0x78]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x98]
add eax, 0x1460
call fcn.0046c6e4
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0046c5fc
pop ecx
test cl, cl
je 0x40716f
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x1464]
mov eax, dword [ecx + 0x149c]
call fcn.0041cf6c
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov edx, dword [edx + 0x1468]
call fcn.0041cef4
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov edx, dword [edx + 0x146c]
call fcn.0041cccc
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x149c]
mov dl, byte [edx + 0x1470]
call fcn.0041cf98
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1490]
call fcn.00422070
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.00422070
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x145c]
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x1458]
call fcn.0046c534
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14d0], 1
jne 0x4071c6
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 0x407354
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x1490]
push edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.004321d8
xor ecx, ecx
xor edx, edx
call fcn.0041d794
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14d0], 1
jne 0x40739f
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.00465694
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.00465694
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1448]
call fcn.00465694
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1444]
call fcn.00465694
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.004321d8
push eax
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1498]
call fcn.00422070
pop ecx
pop edx
call fcn.0041d70c
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x1454]
push edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x2d0]
call fcn.004321d8
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1448]
call fcn.00465694
push eax
mov edx, dword [ebp - 0x98]
fld dword [edx + 0x1444]
call fcn.00465694
mov edx, eax
pop ecx
pop eax
call fcn.0041d794
jmp 0x40739f
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.004321d8
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x1490]
pop edx
call fcn.0041d9d0
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14d0], 1
jne 0x40740a
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 0x407433
push ebx
call sub.KERNEL32.DLL_SetEvent
push 8
lea edx, [ebp - 0xac]
push edx
call sub.WINMM.DLL_timeGetDevCaps
test eax, eax
jne 0x4075a8
push 1
call sub.WINMM.DLL_timeBeginPeriod
cmp eax, 0x61
jne 0x40748a
mov word [ebp - 0x84], 0xf8
mov edx, 0x481515
lea eax, [ebp - 0x60]
call fcn.0046c544
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334f4
dec dword [ebp - 0x78]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0046c5fc
jmp 0x4075d8
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 0x4074c9
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 [0x489c4c], eax
test eax, eax
jne 0x40753c
mov word [ebp - 0x84], 0x104
mov edx, 0x481524
lea eax, [ebp - 0x64]
call fcn.0046c544
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334f4
dec dword [ebp - 0x78]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0046c5fc
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 [0x489c50], eax
test eax, eax
jne 0x4075d8
mov word [ebp - 0x84], 0x110
mov edx, 0x481533
lea eax, [ebp - 0x68]
call fcn.0046c544
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334f4
dec dword [ebp - 0x78]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0046c5fc
jmp 0x4075d8
mov word [ebp - 0x84], 0x11c
mov edx, 0x481542
lea eax, [ebp - 0x6c]
call fcn.0046c544
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334f4
dec dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0046c5fc
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 0x4076b2
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0x34c], 1
jne 0x407634
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 0x4076b2
mov word [ebp - 0x84], 0x128
mov edx, 0x481551
lea eax, [ebp - 0x70]
call fcn.0046c544
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004334f4
dec dword [ebp - 0x78]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0046c5fc
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 0x4076f0
xor edx, edx
mov eax, dword [ebp - 0x98]
call fcn.0043853c
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 0x407712
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x300]
xor edx, edx
call fcn.00418518
mov ecx, dword [0x489878]
mov eax, dword [ecx]
call fcn.0042d9dc
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.00437d78
mov edx, dword [0x489878]
mov eax, dword [edx]
call fcn.0042d9d0
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.00437d98
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1380], 1
jne 0x4077a6
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x1384], 1
jne 0x4077a6
mov eax, dword [ebp - 0x98]
mov dl, 1
mov eax, dword [eax + 0x300]
call fcn.004184c4
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
call fcn.0042cb5c
jmp 0x4077d0
mov edx, dword [ebp - 0x98]
cmp dword [edx + 0x1380], 0
jne 0x4077d0
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
cmp byte [eax + 0x47], 1
jne 0x4077d0
mov edx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [edx]
call fcn.0042c9a4
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046c5fc
mov ecx, dword [ebp - 0x94]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4