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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f66d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x56617c]
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 ebx, ecx
cmp dword [0x592ad4], 1
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x458456
call edi
jmp 0x458458
call esi
sub eax, dword [ebx + 4]
cmp dword [0x592ad4], 1
mov dword [ebp - 0x18], eax
jne 0x45846b
call edi
jmp 0x45846d
call esi
cmp dword [0x592ad4], 1
jne 0x45847a
call edi
jmp 0x45847c
call esi
mov dword [ebx + 4], eax
cmp dword [0x592ad4], 1
jne 0x45848c
call edi
jmp 0x45848e
call esi
mov dword [ebx - 0x5c], eax
call fcn.00426620
mov edi, dword [ebx - 0x68]
xor esi, esi
movzx eax, al
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx - 0x64]
sub eax, edi
sar eax, 2
test eax, eax
je 0x4584f5
nop dword [eax]
mov eax, dword [edi + esi*4]
cmp dword [eax + 0x1c], 0
je 0x4584e5
call fcn.00426550
movzx eax, al
mov ecx, dword [edi + esi*4]
push eax
mov eax, dword [ebp - 0x18]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x54d170]
cvtpd2ps xmm1, xmm0
call fcn.004545f0
mov eax, dword [ebx - 0x64]
inc esi
mov edi, dword [ebx - 0x68]
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x4584b0
mov eax, dword [ebx - 0x240]
lea ecx, [ebx - 0x240]
call dword [eax + 0x10]
test eax, eax
je 0x45861f
mov eax, dword [ebx - 0x64]
xor ecx, ecx
mov edx, dword [ebx - 0x68]
sub eax, edx
sar eax, 2
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x458618
mov eax, dword [ebp - 0x18]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x54d170]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
nop dword [eax]
nop dword [eax + eax]
push dword [ebp - 0x1c]
lea esi, [ecx*4]
movaps xmm1, xmm0
mov ecx, dword [esi + edx]
mov dword [ebp - 0x18], esi
call fcn.004546f0
mov eax, dword [ebx - 0x68]
mov edi, dword [eax + esi]
mov eax, dword [edi + 0x1a0]
lea esi, [edi + 0x1a0]
mov ecx, esi
mov dword [ebp - 0x14], esi
call dword [eax + 4]
mov dword [ebp - 4], 0
cmp dword [edi + 0x38], 0xffffffff
jne 0x4585a6
mov dword [ebp - 4], 1
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x4585d4
mov ecx, dword [edi + 0x10]
push 0x53e7d2
mov eax, dword [ecx]
mov eax, dword [eax + 0xf0]
call eax
movzx edi, al
mov dword [ebp - 4], 2
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x4585f9
mov eax, dword [ebx - 0x68]
mov esi, dword [ebp - 0x18]
mov esi, dword [esi + eax]
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
je 0x4585f2
push 0
push dword [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00453f10
mov dword [esi + 0x34], 0xffffffff
mov eax, dword [ebx - 0x64]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx - 0x68]
inc ecx
movss xmm0, dword [ebp - 0x24]
sub eax, edx
sar eax, 2
mov dword [ebp - 0x20], ecx
cmp ecx, eax
jb 0x458550
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
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.004fe27d
mov esp, ebp
pop ebp
ret