Function at 0x405aa8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa48
push ebx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x7c], eax
mov eax, 0x47fefc
call fcn.0045f050
mov dword [ebp - 0x5c], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.0046a010
inc dword [ebp - 0x5c]
mov word [ebp - 0x68], 8
push 0x47f48c
lea eax, [ebp - 4]
call fcn.00404af8
push eax
call fcn.00460af8
add esp, 8
mov dword [ebp - 0xa0], eax
test eax, eax
jne 0x405b4c
mov word [ebp - 0x68], 0x14
mov edx, str.failed1
lea eax, [ebp - 8]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov eax, dword [eax]
call fcn.00431170
dec dword [ebp - 0x5c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046a090
dec dword [ebp - 0x5c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046a090
mov ecx, dword [ebp - 0x78]
mov dword fs:[0], ecx
jmp 0x407107
mov eax, dword [ebp + 8]
sub eax, 0x2c
mov dword [ebp - 0x84], eax
push 0
push dword [ebp - 0x84]
push dword [ebp - 0xa0]
call fcn.00460dd8
add esp, 0xc
push dword [ebp - 0xa0]
push 1
push 0x2c
mov edx, dword [ebp - 0x7c]
add edx, 0x13c0
push edx
call fcn.00460d38
add esp, 0x10
mov ecx, dword [ebp - 0x84]
sub ecx, 0xb4
mov dword [ebp - 0x84], ecx
push 0
push dword [ebp - 0x84]
push dword [ebp - 0xa0]
call fcn.00460dd8
add esp, 0xc
push dword [ebp - 0xa0]
push 1
push 0xb4
mov eax, dword [ebp - 0x7c]
add eax, 0x130c
push eax
call fcn.00460d38
add esp, 0x10
mov edx, dword [ebp - 0x84]
sub edx, 4
mov dword [ebp - 0x84], edx
push 0
push dword [ebp - 0x84]
push dword [ebp - 0xa0]
call fcn.00460dd8
add esp, 0xc
push dword [ebp - 0xa0]
push 1
push 4
lea ecx, [ebp - 0x88]
push ecx
call fcn.00460d38
add esp, 0x10
mov eax, dword [ebp - 0x88]
sub dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x88]
inc edx
push edx
call fcn.0045e47c
pop ecx
mov dword [ebp - 0x98], eax
mov dl, 1
mov eax, dword [0x44a7cc]
call fcn.00407110
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x13ec], eax
push 0
push dword [ebp - 0x84]
push dword [ebp - 0xa0]
call fcn.00460dd8
add esp, 0xc
push dword [ebp - 0xa0]
push 1
push dword [ebp - 0x88]
push dword [ebp - 0x98]
call fcn.00460d38
add esp, 0x10
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x88]
mov byte [eax + edx], 0
mov word [ebp - 0x68], 0x20
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x98]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x13ec]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x5c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0046a090
push dword [ebp - 0x98]
call fcn.0045e2a8
pop ecx
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x1368], 1
jne 0x405dd0
mov eax, dword [ebp - 0x84]
sub eax, 4
mov dword [ebp - 0x84], eax
push 0
push dword [ebp - 0x84]
push dword [ebp - 0xa0]
call fcn.00460dd8
add esp, 0xc
push dword [ebp - 0xa0]
push 1
push 4
lea edx, [ebp - 0x88]
push edx
call fcn.00460d38
add esp, 0x10
mov ecx, dword [ebp - 0x88]
sub dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x88]
inc eax
push eax
call fcn.0045e47c
pop ecx
mov dword [ebp - 0x98], eax
mov dl, 1
mov eax, dword [0x44a7cc]
call fcn.00407110
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x13f0], eax
push 0
push dword [ebp - 0x84]
push dword [ebp - 0xa0]
call fcn.00460dd8
add esp, 0xc
push dword [ebp - 0xa0]
push 1
push dword [ebp - 0x88]
push dword [ebp - 0x98]
call fcn.00460d38
add esp, 0x10
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x88]
mov byte [ecx + eax], 0
mov word [ebp - 0x68], 0x2c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x98]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x13f0]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0046a090
push dword [ebp - 0x98]
call fcn.0045e2a8
pop ecx
push 0
push dword [ebp - 0x80]
push dword [ebp - 0xa0]
call fcn.00460dd8
add esp, 0xc
push dword [ebp - 0xa0]
push 1
push 4
lea ecx, [ebp - 0x84]
push ecx
call fcn.00460d38
add esp, 0x10
cmp dword [ebp - 0x84], 0
je 0x405f35
mov eax, dword [ebp - 0x7c]
mov byte [eax + 0x1442], 1
lea edx, [ebp - 0x4e8]
push edx
push 0x3e8
call sub.KERNEL32.DLL_GetTempPathA
push str.plzj.wav
lea ecx, [ebp - 0x4e8]
push ecx
call fcn.0045ed24
add esp, 8
mov eax, dword [ebp - 0x7c]
push dword [eax + 0x1360]
push dword [ebp - 0xa0]
lea edx, [ebp - 0x4e8]
push edx
push dword [ebp - 0x7c]
call fcn.00407164
add esp, 0x10
inc eax
jne 0x405e93
mov word [ebp - 0x68], 0x38
mov edx, 0x47f4a0
lea eax, [ebp - 0x14]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov eax, dword [eax]
call fcn.00431170
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0046a090
mov ecx, dword [ebp - 0x7c]
mov byte [ecx + 0x1442], 0
mov dword [ebp - 0xe0], str.waveaudio
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe8]
push edx
push 0x2200
push 0x803
push 0
call sub.WINMM.DLL_mciSendCommandA
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x405f04
mov word [ebp - 0x68], 0x44
mov edx, 0x47f4b7
lea eax, [ebp - 0x18]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov eax, dword [eax]
call fcn.00431170
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0046a090
mov ecx, dword [ebp - 0x7c]
mov byte [ecx + 0x1442], 0
jmp 0x405f1b
mov eax, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x1444], eax
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x7c]
sub eax, dword [edx + 0x13dc]
mov dword [ebp - 0x84], eax
jmp 0x405f4b
mov ecx, dword [ebp - 0x80]
add ecx, 4
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x7c]
mov byte [eax + 0x1442], 0
push dword [ebp - 0xa0]
call fcn.00460790
pop ecx
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x1308], edx
mov edx, 0x64
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1458]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0x14
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1458]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0xa
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1460]
call fcn.0041abe8
lea eax, [ebp - 0xa1]
call fcn.00401754
xor edx, edx
call fcn.00407e38
mov dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1460]
call fcn.0041ac14
mov word [ebp - 0x68], 0x50
mov edx, 0x47f4c8
lea eax, [ebp - 0x1c]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x1460]
call fcn.0041ab70
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0046a090
mov edx, 0xff
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1460]
call fcn.0041a948
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x144c]
call fcn.0041fcec
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041b234
xor ecx, ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x7c]
add edx, 0x146c
mov ecx, 0x28
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x4fc]
mov ecx, 0x14
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x4e9], 0
mov word [ebp - 0x68], 0x5c
lea edx, [ebp - 0x4fc]
lea eax, [ebp - 0x20]
call fcn.00469fd8
mov edx, eax
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x7c]
add eax, 0x1430
call fcn.0046a0c0
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0046a090
lea edx, [ebp - 0x4fc]
mov ecx, 0x14
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x4e9], 0
mov word [ebp - 0x68], 0x68
lea edx, [ebp - 0x4fc]
lea eax, [ebp - 0x24]
call fcn.00469fd8
mov edx, eax
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x7c]
add eax, 0x1434
call fcn.0046a0c0
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0046a090
mov ecx, dword [ebp - 0x7c]
mov byte [ecx + 0x1440], 1
mov word [ebp - 0x68], 0x74
mov edx, 0x47f4cd
lea eax, [ebp - 0x28]
call fcn.00469fd8
inc dword [ebp - 0x5c]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x7c]
add eax, 0x1430
call fcn.0046a160
test al, al
jne 0x406176
mov edx, 0x47f4ce
lea eax, [ebp - 0x2c]
call fcn.00469fd8
inc dword [ebp - 0x5c]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x7c]
add eax, 0x1434
call fcn.0046a160
test al, al
setne cl
and ecx, 1
push ecx
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0046a090
pop ecx
test ecx, ecx
jne 0x406176
xor eax, eax
jmp 0x40617b
mov eax, 1
push eax
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0046a090
pop ecx
test cl, cl
je 0x40619d
mov eax, dword [ebp - 0x7c]
mov byte [eax + 0x1440], 0
jmp 0x4061a6
push dword [ebp - 0x7c]
call fcn.00407b58
pop ecx
lea edx, [ebp - 0x560]
mov ecx, 0x28
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x538], 0
mov word [ebp - 0x68], 0x80
lea edx, [ebp - 0x560]
lea eax, [ebp - 0x30]
call fcn.00469fd8
mov edx, eax
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x7c]
add eax, 0x141c
call fcn.0046a0c0
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0046a090
mov edx, dword [ebp - 0x7c]
add edx, 0x1414
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x7c]
add edx, 0x1418
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x7c]
add edx, 0x1420
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x560]
mov ecx, 0x14
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x54c], 0
mov word [ebp - 0x68], 0x8c
lea edx, [ebp - 0x560]
lea eax, [ebp - 0x34]
call fcn.00469fd8
mov edx, eax
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x7c]
add eax, 0x1424
call fcn.0046a0c0
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0046a090
mov edx, dword [ebp - 0x7c]
add edx, 0x1428
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x91]
mov ecx, 1
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0x91]
dec eax
jne 0x4062f4
mov eax, dword [ebp - 0x7c]
add eax, 0x142c
xor edx, edx
call fcn.00407e38
lea edx, [ebp - 0x91]
mov ecx, 1
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0x91]
dec eax
jne 0x406326
mov eax, dword [ebp - 0x7c]
add eax, 0x142c
mov dl, 1
call fcn.00407e38
lea edx, [ebp - 0x91]
mov ecx, 1
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0x91]
dec eax
jne 0x406358
mov eax, dword [ebp - 0x7c]
add eax, 0x142c
mov dl, 2
call fcn.00407e38
lea edx, [ebp - 0x91]
mov ecx, 1
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
movsx eax, byte [ebp - 0x91]
dec eax
jne 0x40638a
mov eax, dword [ebp - 0x7c]
add eax, 0x142c
mov dl, 3
call fcn.00407e38
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x1470]
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x1498], eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x1474]
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x1494], eax
xor ecx, ecx
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x1334], 1
jne 0x4063ea
mov edx, dword [0x486ec4]
mov eax, dword [edx]
call fcn.0042b658
mov dword [ebp - 0x8c], eax
mov edx, dword [0x486ec4]
mov eax, dword [edx]
call fcn.0042b64c
mov dword [ebp - 0x90], eax
jmp 0x406428
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x1498]
mov eax, dword [ebp - 0x7c]
call fcn.004275a8
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x1494]
mov eax, dword [ebp - 0x7c]
call fcn.004275d8
mov eax, dword [ebp - 0x7c]
call fcn.00435bdc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
call fcn.00435c20
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x7c]
cmp edx, dword [ecx + 0x1498]
jl 0x4064a4
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x7c]
sub edx, dword [eax + 0x1498]
sar edx, 1
jns 0x40644f
adc edx, 0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x2d0]
call fcn.0043596c
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x1498]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x2d0]
call fcn.004359b0
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.0041d86c
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x1498]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x4064fd
mov dword [ebp - 0x88], 1
xor edx, edx
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x2d0]
call fcn.0043596c
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x2d0]
call fcn.004359b0
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.0041d86c
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x7c]
cmp edx, dword [eax + 0x1494]
jl 0x406579
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x7c]
sub edx, dword [ecx + 0x1494]
sar edx, 1
jns 0x406524
adc edx, 0
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x2d0]
call fcn.0043598c
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x1494]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x2d0]
call fcn.004359d0
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.0041d86c
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x1494]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4065d2
mov dword [ebp - 0x88], 1
xor edx, edx
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x2d0]
call fcn.004359d0
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x2d0]
call fcn.004359d0
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx + 0x2d0]
mov eax, dword [ecx + 0x128]
call fcn.0041d86c
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [ebp - 0x88], 1
jne 0x4065f3
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0x1328], 1
jne 0x4065f3
mov eax, dword [ebp - 0x7c]
mov byte [eax + 0x14b4], 1
jmp 0x4065fd
mov edx, dword [ebp - 0x7c]
mov byte [edx + 0x14b4], 0
mov dl, 1
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x2ec]
call fcn.00416194
mov edx, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2dc]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov dl, 1
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x308]
call fcn.00416194
mov edx, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2f8]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
xor edx, edx
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x2ec]
call fcn.00416140
mov edx, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2dc]
xor edx, edx
call fcn.00445748
xor edx, edx
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x308]
call fcn.00416140
mov edx, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2f8]
xor edx, edx
call fcn.00445748
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x1490], 1
jne 0x40674e
lea edx, [ebp - 0x88]
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0x88]
mov eax, dword [ebp - 0x7c]
fstp dword [eax + 0x1400]
lea edx, [ebp - 0x88]
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0x88]
mov eax, dword [ebp - 0x7c]
fstp dword [eax + 0x1404]
lea edx, [ebp - 0x88]
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x1464]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x13fc]
call fcn.0044d950
xor edx, edx
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x13fc]
call fcn.0044d89c
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x13fc]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1410]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x1478]
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x149c], eax
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x135c], 0
jne 0x4067f6
lea edx, [ebp - 0x88]
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x1464]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1468]
call fcn.0044d950
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1468]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x1468]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x1448]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x1468]
call fcn.0044dc20
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x1448]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x144c]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x406847
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0x135c], 1
jl 0x406847
lea edx, [ebp - 0x88]
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x7c]
push dword [eax + 0x135c]
push dword [ebp - 0x88]
mov edx, dword [ebp - 0x7c]
push dword [edx + 0x1464]
mov ecx, dword [ebp - 0x7c]
push dword [ecx + 0x144c]
push dword [ebp - 0x7c]
call fcn.00404100
add esp, 0x14
mov dl, 1
mov eax, dword [0x41923c]
call fcn.0041a774
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x145c], eax
mov eax, dword [ebp - 0x7c]
cmp byte [eax + 0x1440], 0
jne 0x40698d
mov edx, 0x14
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x145c]
call fcn.0041abe8
lea eax, [ebp - 0xb5]
call fcn.00401754
xor edx, edx
call fcn.00407e38
mov dl, byte [eax]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x145c]
call fcn.0041ac14
mov word [ebp - 0x68], 0x98
mov edx, 0x47f4cf
lea eax, [ebp - 0x38]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x145c]
call fcn.0041ab70
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0046a090
mov edx, 0xff
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x145c]
call fcn.0041a948
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x144c]
call fcn.0041fcec
add eax, 0xc
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x145c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov word [ebp - 0x68], 0xa4
mov edx, 0x47f4d4
lea eax, [ebp - 0x3c]
call fcn.00469fd8
inc dword [ebp - 0x5c]
push dword [eax]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x144c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x406944
adc eax, 0
add eax, 0xffffffec
push eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x144c]
mov edx, dword [eax]
call dword [edx + 0x2c]
sar eax, 1
jns 0x40695d
adc eax, 0
add eax, 0xffffff6a
push eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x144c]
call fcn.0041fcec
pop edx
pop ecx
call fcn.00469fd0
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0046a090
jmp 0x406a84
mov word [ebp - 0x68], 0xb0
mov edx, 0x47f4e8
lea eax, [ebp - 0x40]
call fcn.00469fd8
inc dword [ebp - 0x5c]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x7c]
add eax, 0x141c
call fcn.0046a178
push eax
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0046a090
pop ecx
test cl, cl
je 0x406a84
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x1420]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x145c]
call fcn.0041abe8
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x1424]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x145c]
call fcn.0041ab70
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x1428]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x145c]
call fcn.0041a948
mov edx, dword [ebp - 0x7c]
mov dl, byte [edx + 0x142c]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x145c]
call fcn.0041ac14
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x144c]
call fcn.0041fcec
add eax, 0xc
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x145c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x7c]
push dword [eax + 0x141c]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x144c]
call fcn.0041fcec
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx + 0x1418]
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx + 0x1414]
call fcn.00469fd0
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x14a0], 1
mov ecx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ecx + 0x14a4], eax
lea edx, [ebp - 0x88]
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1410]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1454]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x1410]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1454]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 0x7c]
cmp byte [edx + 0x14b4], 0
jne 0x406c37
mov eax, dword [ebp - 0x7c]
push dword [eax + 0x144c]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x2d0]
call fcn.0042fe54
xor ecx, ecx
xor edx, edx
call fcn.0041b410
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1454]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x5b4], eax
fild dword [ebp - 0x5b4]
mov ecx, dword [ebp - 0x7c]
fadd dword [ecx + 0x1404]
call fcn.00463118
push eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x1454]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x5b8], eax
fild dword [ebp - 0x5b8]
mov ecx, dword [ebp - 0x7c]
fadd dword [ecx + 0x1400]
call fcn.00463118
push eax
mov edx, dword [ebp - 0x7c]
fld dword [edx + 0x1404]
call fcn.00463118
push eax
mov edx, dword [ebp - 0x7c]
fld dword [edx + 0x1400]
call fcn.00463118
push eax
lea edx, [ebp - 0x580]
push edx
call fcn.00401f94
add esp, 0x14
push eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x1454]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x1454]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
lea ecx, [ebp - 0x570]
push ecx
call fcn.00401f94
add esp, 0x14
push eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x2d0]
call fcn.0042fe54
push eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x1454]
call fcn.0041fcec
pop ecx
pop edx
call fcn.0041b388
mov eax, dword [ebp - 0x7c]
push dword [eax + 0x1410]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x2d0]
call fcn.0042fe54
push eax
mov edx, dword [ebp - 0x7c]
fld dword [edx + 0x1404]
call fcn.00463118
push eax
mov edx, dword [ebp - 0x7c]
fld dword [edx + 0x1400]
call fcn.00463118
mov edx, eax
pop ecx
pop eax
call fcn.0041b410
jmp 0x406c80
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx + 0x2d0]
push dword [ecx + 0x3c]
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x2d0]
push dword [edx + 0x38]
push 0
push 0
lea ecx, [ebp - 0x590]
push ecx
call fcn.00401f94
add esp, 0x14
push eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x2d0]
call fcn.0042fe54
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx + 0x144c]
pop edx
call fcn.0041b64c
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1458]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x144c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x144c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ebx, eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1458]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub ebx, eax
push ebx
lea ecx, [ebp - 0x5b0]
push ecx
call fcn.00401f94
add esp, 0x14
push eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1458]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x1458]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
lea ecx, [ebp - 0x5a0]
push ecx
call fcn.00401f94
add esp, 0x14
push eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x144c]
call fcn.0041fcec
push eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x1458]
call fcn.0041fcec
pop ecx
pop edx
call fcn.0041b388
mov eax, dword [ebp - 0x7c]
xor edx, edx
mov dword [eax + 0x1300], edx
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x1490], 1
jne 0x406d8e
lea edx, [ebp - 0x88]
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0x88]
mov eax, dword [ebp - 0x7c]
fstp dword [eax + 0x1408]
lea edx, [ebp - 0x88]
mov ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1464]
mov ebx, dword [eax]
call dword [ebx + 4]
fild dword [ebp - 0x88]
mov eax, dword [ebp - 0x7c]
fstp dword [eax + 0x140c]
push 8
lea edx, [ebp - 0xc8]
push edx
call sub.WINMM.DLL_timeGetDevCaps
test eax, eax
jne 0x406ed6
push 1
call sub.WINMM.DLL_timeBeginPeriod
cmp eax, 0x61
jne 0x406de2
mov word [ebp - 0x68], 0xbc
mov edx, 0x47f4e9
lea eax, [ebp - 0x44]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov eax, dword [eax]
call fcn.00431170
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0046a090
jmp 0x406f03
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x1480]
mov ecx, 0x28
cdq
idiv ecx
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x14a8], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x14a8], 0
jne 0x406e15
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x14a8], 1
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x14a8]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x14ac], edx
push 1
push dword [ebp - 0x7c]
push 0x4014f8
push 1
mov eax, dword [ebp - 0x7c]
push dword [eax + 0x1480]
call sub.WINMM.DLL_timeSetEvent
mov dword [0x487298], eax
test eax, eax
jne 0x406e77
mov word [ebp - 0x68], 0xc8
mov edx, 0x47f4f8
lea eax, [ebp - 0x48]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov eax, dword [eax]
call fcn.00431170
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0046a090
push 1
push dword [ebp - 0x7c]
push 0x401590
push 1
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x1480]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx + 0x14a8]
cdq
idiv ecx
push eax
call sub.WINMM.DLL_timeSetEvent
mov dword [0x48729c], eax
test eax, eax
jne 0x406f03
mov word [ebp - 0x68], 0xd4
mov edx, 0x47f508
lea eax, [ebp - 0x4c]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov eax, dword [eax]
call fcn.00431170
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0046a090
jmp 0x406f03
mov word [ebp - 0x68], 0xe0
mov edx, 0x47f518
lea eax, [ebp - 0x50]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov eax, dword [eax]
call fcn.00431170
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0046a090
mov ecx, dword [ebp - 0x7c]
mov byte [ecx + 0x1441], 1
mov eax, dword [ebp - 0x7c]
xor edx, edx
mov dword [eax + 0x13f4], edx
mov ecx, dword [ebp - 0x7c]
cmp byte [ecx + 0x1442], 1
jne 0x406f98
lea eax, [ebp - 0xd4]
push eax
push 4
push 0x806
mov edx, dword [ebp - 0x7c]
push dword [edx + 0x1444]
call sub.WINMM.DLL_mciSendCommandA
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x406f98
mov word [ebp - 0x68], 0xec
mov edx, 0x47f527
lea eax, [ebp - 0x54]
call fcn.00469fd8
inc dword [ebp - 0x5c]
mov eax, dword [eax]
call fcn.00431170
dec dword [ebp - 0x5c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0046a090
push 0
push 2
push 0x804
mov ecx, dword [ebp - 0x7c]
push dword [ecx + 0x1444]
call sub.WINMM.DLL_mciSendCommandA
mov eax, dword [ebp - 0x7c]
mov byte [eax + 0x1442], 0
mov edx, dword [ebp - 0x7c]
mov byte [edx + 0x1305], 0
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x1338], 0
jne 0x406fcd
xor edx, edx
mov eax, dword [ebp - 0x7c]
call fcn.00436120
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 - 0x7c]
cmp dword [eax + 0x133c], 0
jne 0x406fe9
xor edx, edx
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x300]
call fcn.00416194
mov edx, dword [0x486ec4]
mov eax, dword [edx]
call fcn.0042b658
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.0043596c
mov edx, dword [0x486ec4]
mov eax, dword [edx]
call fcn.0042b64c
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.0043598c
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0x133c], 1
jne 0x407074
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x1340], 1
jne 0x407074
mov dl, 1
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x300]
call fcn.00416140
mov edx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [edx]
call fcn.0042a7d8
jmp 0x40709b
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0x133c], 0
jne 0x40709b
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
cmp byte [eax + 0x47], 1
jne 0x40709b
mov edx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [edx]
call fcn.0042a620
mov edx, dword [sym.Project1.exe__PlayForm]
mov eax, dword [edx + 0x13ec]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sar edx, 1
jns 0x4070b5
adc edx, 0
dec edx
mov eax, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2e8]
call fcn.00444840
mov edx, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx + 0x31c], eax
mov edx, dword [sym.Project1.exe__ControlForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2e8]
xor edx, edx
call fcn.00444810
dec dword [ebp - 0x5c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046a090
mov ecx, dword [ebp - 0x78]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4