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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x102c738c], 0
push esi
mov esi, ecx
je 0x1007242e
mov eax, 0x7c3400
call eax
mov edx, 0x49dfb0
mov ecx, eax
call edx
test eax, eax
je 0x10072433
push ebx
push edi
push 2
mov edi, 0x861110
mov byte [0x102a5edd], 1
call edi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x1007242c
push 0x41
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1007242c
push 0x39
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1007242c
push 0x48
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1007242c
call fcn.100713e0
test al, al
jne 0x1007242c
movss xmm1, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
xorps xmm3, xmm3
comiss xmm0, xmm1
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x100721fc
movaps xmm0, xmm1
jmp 0x10072204
movss xmm0, dword [0xe7c3d8]
mov eax, dword [0x107e7b70]
mulss xmm0, dword [0x100f2054]
add eax, 0x140
ucomiss xmm4, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
mulss xmm2, xmm1
subss xmm2, xmm0
test ah, 0x44
jnp 0x10072233
movaps xmm0, xmm1
jmp 0x1007223b
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f20ec]
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 0x10072291
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 0x100722a8
call edi
sub eax, dword [esi + 0x8354]
cmp eax, 0x578
jbe 0x100722a8
call edi
mov dword [esi + 0x8354], eax
movss xmm1, dword [ebp - 4]
xor eax, eax
movss xmm4, dword [0x100f1590]
xorps xmm2, xmm2
movss dword [esi + 0x3c18], xmm1
mov dword [esi + 0x3c1c], 0x40000000
movss xmm3, dword [0xe7c3d4]
comiss xmm4, xmm3
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x100722ef
movaps xmm0, xmm3
jmp 0x100722f7
movss xmm0, dword [0xe7c3d8]
movss xmm5, dword [0x100f1cdc]
xor eax, eax
mulss xmm0, xmm5
mov dword [esi + 0x3c24], 0x41700000
divss xmm0, xmm3
addss xmm0, xmm1
movss dword [esi + 0x3c20], xmm0
movss xmm3, dword [0xe7c3d4]
comiss xmm4, xmm3
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10072342
movaps xmm0, xmm3
jmp 0x1007234a
movss xmm0, dword [0xe7c3d8]
mulss xmm0, xmm5
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm3
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 [0x102a5ec8]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1007242c
comiss xmm0, dword [0x102a5ed0]
ja 0x1007242c
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a5ecc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1007242c
comiss xmm1, dword [0x102a5ed4]
ja 0x1007242c
addss xmm0, dword [0x100f1d18]
push str.New_Message_s_
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
push 0x102a22b0
call fcn.1006ce50
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x102a5edd], 0
pop esi
mov esp, ebp
pop ebp
ret