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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10303940], 0
push esi
mov esi, ecx
je 0x1008d1de
mov eax, 0x7c3400
call eax
mov edx, 0x49dfb0
mov ecx, eax
call edx
test eax, eax
je 0x1008d1e3
push ebx
push edi
push 2
mov edi, 0x861110
mov byte [0x102e242d], 1
call edi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x1008d1dc
push 0x41
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1008d1dc
push 0x39
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1008d1dc
push 0x48
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1008d1dc
call fcn.1008c150
test al, al
jne 0x1008d1dc
mov eax, dword [0x114a03c0]
xorps xmm3, xmm3
movss xmm1, dword [0xe7c3d4]
add eax, 0x140
movss xmm0, dword [0x1011fbd8]
movd xmm2, eax
xor eax, eax
comiss xmm0, xmm1
cvtdq2ps xmm2, xmm2
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mulss xmm2, xmm1
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1008cfc1
movaps xmm0, xmm1
jmp 0x1008cfc9
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x101206f0]
ucomiss xmm4, xmm3
subss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1008cfe3
movaps xmm0, xmm1
jmp 0x1008cfeb
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x1012079c]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
addss xmm0, xmm2
divss xmm0, xmm1
movss dword [ebp - 4], xmm0
call edi
sub eax, dword [esi + 0x8354]
mov ebx, dword [sym.imp.OPENGL32.dll_glColor4f]
cmp eax, 0x2bc
jae 0x1008d041
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f53d07d
mov dword [esp + 4], 0x3f53d07d
mov dword [esp], 0x3f53d07d
call ebx
jmp 0x1008d058
call edi
sub eax, dword [esi + 0x8354]
cmp eax, 0x578
jbe 0x1008d058
call edi
mov dword [esi + 0x8354], eax
movss xmm1, dword [ebp - 4]
xor eax, eax
movss xmm4, dword [0x1011fbd8]
xorps xmm3, xmm3
movss dword [esi + 0x3c78], xmm1
mov dword [esi + 0x3c7c], 0x40000000
movss xmm2, dword [0xe7c3d4]
comiss xmm4, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1008d09f
movaps xmm0, xmm2
jmp 0x1008d0a7
movss xmm0, dword [0xe7c3d8]
movss xmm5, dword [0x10120364]
xor eax, eax
mulss xmm0, xmm5
mov dword [esi + 0x3c84], 0x41700000
divss xmm0, xmm2
addss xmm0, xmm1
movss dword [esi + 0x3c80], xmm0
movss xmm2, dword [0xe7c3d4]
comiss xmm4, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1008d0f2
movaps xmm0, xmm2
jmp 0x1008d0fa
movss xmm0, dword [0xe7c3d8]
mulss xmm0, xmm5
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm2
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f547ae1
mov dword [esp + 0x18], 0x3f147ae1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41500000
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x40000000
movss dword [esp], xmm1
push 0xf089
call eax
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
movd xmm0, dword [0x879340c]
movss xmm2, dword [0x102e2418]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1008d1dc
comiss xmm0, dword [0x102e2420]
ja 0x1008d1dc
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102e241c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1008d1dc
comiss xmm1, dword [0x102e2424]
ja 0x1008d1dc
addss xmm0, dword [0x10120394]
push str.New_Message_s_
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
push 0x102de7a0
call fcn.10087880
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x102e242d], 0
pop esi
mov esp, ebp
pop ebp
ret