Function at 0x45c740
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 0x45c786
call edi
jmp 0x45c788
call esi
sub eax, dword [ebx + 4]
cmp dword [0x592ad4], 1
mov dword [ebp - 0x18], eax
jne 0x45c79b
call edi
jmp 0x45c79d
call esi
mov dword [ebx + 4], eax
cmp dword [0x592ad4], 1
jne 0x45c7ad
call edi
jmp 0x45c7af
call esi
cmp dword [0x592ad4], 1
jne 0x45c7bc
call edi
jmp 0x45c7be
call esi
mov dword [ebx - 0x5c], eax
xor esi, esi
mov eax, dword [ebx - 0x64]
mov edi, dword [ebx - 0x68]
sub eax, edi
sar eax, 2
test eax, eax
je 0x45c817
mov eax, dword [edi + esi*4]
cmp dword [eax + 0x1c], 0
je 0x45c807
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 0x45c7d2
mov eax, dword [ebx - 0x240]
lea ecx, [ebx - 0x240]
call dword [eax + 0x10]
test eax, eax
je 0x45c94a
mov eax, dword [ebx - 0x64]
xor ecx, ecx
mov esi, dword [ebx - 0x68]
sub eax, esi
sar eax, 2
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x45c943
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 - 0x18], xmm0
nop word [eax + eax]
lea edi, [ecx*4]
mov dword [ebp - 0x24], edi
call fcn.00426550
movss xmm1, dword [ebp - 0x18]
mov ecx, dword [edi + esi]
movzx eax, al
push eax
call fcn.004546f0
mov eax, dword [ebx - 0x68]
mov eax, dword [eax + edi]
mov dword [ebp - 0x20], eax
lea esi, [eax + 0x1a0]
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x14], esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 0
cmp dword [ecx + 0x38], 0xffffffff
jne 0x45c8d0
mov dword [ebp - 4], 1
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x45c901
mov ecx, dword [ecx + 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 0x45c929
mov edi, dword [ebp - 0x24]
mov esi, dword [ebx - 0x68]
call fcn.00426550
mov esi, dword [esi + edi]
movzx ecx, al
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
je 0x45c922
push 0
push ecx
push eax
mov ecx, esi
call fcn.00453f10
mov dword [esi + 0x34], 0xffffffff
mov eax, dword [ebx - 0x64]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebx - 0x68]
inc ecx
sub eax, esi
mov dword [ebp - 0x1c], ecx
sar eax, 2
cmp ecx, eax
jb 0x45c870
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