Function at 0x655880
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x726ede
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov eax, dword [0x7ff41c]
test al, 1
jne 0x6558fb
or eax, 1
mov dword [0x7ff41c], eax
mov ecx, 0x7ff414
mov dword [ebp - 4], ebx
mov dword [0x7ff414], ebx
mov dword [0x7ff418], ebx
call fcn.00655360
push 0x737f20
mov dword [0x7ff414], eax
call fcn.006b31e3
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x44], 0
jne 0x655908
xor eax, eax
jmp 0x656041
lea eax, [esi + 0x20]
mov dword [ebp - 0x8c], 0
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x64], 0
call fcn.00428690
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 1
call fcn.00429100
push eax
call fcn.005b76c0
add esp, 4
test eax, eax
je 0x655a22
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 1
lea ecx, [ebp - 0x60]
movsd qword [esi + 0x28], xmm0
call fcn.00429100
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.005b4a50
add esp, 8
push eax
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.004289a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00428810
cmp dword [ebp + 0xc], 0
je 0x655a9f
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x84], 0
call fcn.00429100
push eax
lea ecx, [ebp - 0x28]
call fcn.00424600
mov ecx, dword [edi + 0x44]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.005c7d30
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x6559d1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x60]
call fcn.00428a30
cmp dword [ebp - 0x34], 8
jb 0x6559eb
push dword [ebp - 0x48]
call fcn.00428680
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 1
jb 0x655a14
push dword [ebp - 0x28]
call fcn.00428680
add esp, 4
xor eax, eax
cmp dword [ebp - 0x84], eax
sete al
mov dword [ebp - 0x64], eax
cmp dword [edi + 0x48], 0
je 0x65602e
lea eax, [ebp - 0x84]
mov dword [ebp - 0x88], 0
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x84], 0
push eax
lea ecx, [ebp - 0x60]
call fcn.00429100
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00424600
mov ecx, dword [edi + 0x44]
lea eax, [ebp - 0x30]
push eax
call fcn.005310b0
lea eax, [ebp - 0x64]
push eax
push esi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x5c]
call fcn.006525c0
cmp dword [esi + 0x70], 6
jne 0x655aa9
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
lea ecx, [ebp - 0x5c]
call fcn.006529e0
mov esi, 1
jmp 0x656030
lea ecx, [ebp - 0x60]
call fcn.00429100
push eax
call fcn.005b4d00
mov dword [esi + 0xc], eax
mov ecx, esp
lea eax, [ebp - 0x60]
mov dword [esi], 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x74], 0xfffffffd
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c410
mov ecx, eax
mov dword [ebp - 0x80], ecx
test ecx, ecx
je 0x655fec
cmp ecx, 3
je 0x655b16
lea ecx, [ebp - 0x60]
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
test eax, eax
je 0x655fec
mov ecx, dword [ebp - 0x80]
movss xmm0, dword [ebp - 0x84]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x655fec
cvttss2si eax, dword [ebp - 0x88]
cvtps2pd xmm0, xmm0
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 8], eax
movsd qword [esi + 0x28], xmm0
cmp ecx, 3
jne 0x655b8e
lea eax, [ebp - 0x80]
mov dword [ebp - 0x74], 0
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x80], 0
push eax
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
call fcn.0053d300
add esp, 0xc
test eax, eax
je 0x655b8e
push dword [ebp - 0x80]
push dword [ebp - 0x74]
call sub.BASSCD.dll_BASS_CD_GetTrackLength
cmp eax, 0xffffffff
je 0x655b8e
mov dword [esi + 0xc], eax
mov dword [ebp - 0x74], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x78], eax
mov edi, edi
cmp dword [ebp - 0x8c], 0
je 0x655bc1
lea ecx, [esi + 0x38]
push ecx
lea ecx, [ebp - 0x90]
call fcn.00428690
mov byte [ebp - 4], 5
or ebx, 1
jmp 0x655bd8
push 0x790eb0
lea ecx, [ebp - 0x80]
call fcn.00428840
mov dword [ebp - 4], 6
or ebx, 2
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
mov dword [ebp - 0x6c], ebx
call fcn.00428690
push 1
push ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 7
mov ecx, esp
push eax
call fcn.00428690
mov byte [ebp - 4], 6
mov ecx, dword [edi + 0x48]
call fcn.0056d600
mov byte [ebp - 0x79], al
test al, al
jne 0x655c24
mov eax, dword [ebp - 0x74]
mov ecx, eax
inc eax
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x74], eax
cmp ecx, 3
jl 0x655c28
mov byte [ebp - 0x6d], 0
mov dword [ebp - 4], 5
test bl, 2
je 0x655c42
and ebx, 0xfffffffd
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], ebx
call fcn.00428810
mov dword [ebp - 4], 1
test bl, 1
je 0x655c5f
and ebx, 0xfffffffe
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x6c], ebx
call fcn.00428810
cmp byte [ebp - 0x6d], 0
je 0x655c82
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x78]
cmp eax, 0x3e8
ja 0x655c82
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x655ba0
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
lea ecx, [ebp - 0x5c]
call fcn.006529e0
lea ecx, [ebp - 0x64]
call fcn.00429050
push 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 8
push eax
push 0
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
mov dword [ebp - 0x74], eax
lea ecx, [esi + 0x38]
lea eax, [ebp - 0x64]
push eax
call fcn.004289a0
lea ecx, [esi + 0x38]
call fcn.004290e0
test eax, eax
jne 0x655d07
lea ecx, [esi + 0x20]
call fcn.00429100
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.005b4a50
add esp, 8
push eax
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 9
call fcn.004289a0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.00428810
cmp byte [ebp - 0x79], 0
je 0x655fe0
push 0
lea eax, [ebp - 0x64]
push eax
push 1
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x3c]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 2
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x40]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 3
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x34]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 4
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x48]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 5
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x44]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 6
push ecx
mov ecx, esp
lea eax, [ebp - 0x60]
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x4c]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 9
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x64]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 0xa
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x68]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 0x15
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x50]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 0x16
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x54]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 0x17
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x58]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 0x18
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x5c]
call fcn.004289a0
push 0
lea eax, [ebp - 0x64]
push eax
push 0x19
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056c7f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x60]
call fcn.004289a0
push 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
push 0
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056bb00
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x655f46
mov dword [esi + 0xc], eax
push 0
lea eax, [ebp - 0x6c]
push eax
push 2
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056bb00
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x655f6b
mov dword [esi], eax
push 0
lea eax, [ebp - 0x6c]
push eax
push 3
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056bb00
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x655f91
mov dword [esi + 4], eax
push 0
lea eax, [ebp - 0x6c]
push eax
push 4
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, dword [edi + 0x48]
call fcn.0056bb00
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x655fb7
mov dword [esi + 8], eax
push esi
lea eax, [ebp - 0x60]
mov ecx, 0x7ff414
push eax
call fcn.006528a0
mov ecx, eax
call fcn.00541cb0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00428810
mov esi, 1
jmp 0x656030
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00428810
push ecx
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00428690
lea ecx, [ebp - 0x5c]
call fcn.006529e0
cmp dword [ebp - 0x74], 0xffffffff
jne 0x65605f
lea eax, [ebp - 0x60]
mov ecx, 0x7ff414
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0062cdc0
mov eax, dword [ebp - 0x78]
cmp eax, dword [0x7ff414]
je 0x65605f
add eax, 0x18
mov ecx, esi
push eax
call fcn.00541cb0
xor esi, esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 8
push 0x790eb0
lea ecx, [esi + 0x3c]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x40]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x34]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x48]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x44]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x4c]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x64]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x68]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x50]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x54]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x58]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x5c]
call fcn.00428a30
push 0x790eb0
lea ecx, [esi + 0x60]
call fcn.00428a30
mov esi, 1
jmp 0x656030