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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.1007e060
test al, al
jne 0x1001ff46
cmp byte [0x102bf2dd], al
je 0x1001ff46
movss xmm1, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x10102768]
xorps xmm3, xmm3
comiss xmm0, xmm1
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1001fc3f
movaps xmm2, xmm1
jmp 0x1001fc47
movss xmm2, dword [0xe7c3d8]
movd xmm0, dword [0x1010bba8]
mulss xmm2, dword [0x10102f24]
cvtdq2ps xmm0, xmm0
ucomiss xmm4, xmm3
mulss xmm0, xmm1
lahf
subss xmm0, xmm2
movss dword [ebp - 4], xmm0
test ah, 0x44
jnp 0x1001fc75
movaps xmm0, xmm1
jmp 0x1001fc7d
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x10102f14]
mov eax, 0x635fd0
push esi
push edi
push 1
divss xmm0, xmm1
movss dword [ebp - 8], xmm0
call eax
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
add esp, 4
cmp dword [0x114d8a98], 1
jne 0x1001fcd1
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call esi
jmp 0x1001fd22
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x114d8ac0]
cmp eax, 0x2bc
jae 0x1001fd0c
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f53d07d
mov dword [esp + 4], 0x3f53d07d
mov dword [esp], 0x3f53d07d
call esi
jmp 0x1001fd22
call edi
sub eax, dword [0x114d8ac0]
cmp eax, 0x578
jbe 0x1001fd22
call edi
mov dword [0x114d8ac0], eax
movss xmm0, dword [ebp - 8]
mov edi, 0x637c60
push 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41e00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [0xe7c3d4]
mov dword [esp + 4], 0x431d0000
movss dword [esp], xmm0
push 0xf06f
call edi
movss xmm0, dword [ebp - 4]
add esp, 0x30
divss xmm0, dword [0xe7c3d4]
mov dword [0x102bf2cc], 0x431d0000
mov dword [0x102bf2d4], 0x43390000
movaps xmm1, xmm0
movss dword [0x102bf2c8], xmm0
addss xmm1, dword [0x10102f14]
movss dword [0x102bf2d0], xmm1
movd xmm2, dword [0x879340c]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1001ff20
comiss xmm2, xmm1
ja 0x1001ff20
movd xmm1, dword [0x8793410]
movss xmm2, dword [0x101030d8]
cvtdq2ps xmm1, xmm1
comiss xmm2, xmm1
ja 0x1001ff20
comiss xmm1, dword [0x10103128]
ja 0x1001ff20
subss xmm0, dword [0x10102f1c]
push str.Open
push 0xaf
cvttss2si eax, xmm0
push eax
push 0x102bb6b0
call fcn.10079cf0
add esp, 0x10
cmp byte [0x102bf2dc], 0
je 0x1001fe9c
movss xmm0, dword [ebp - 8]
push 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41e00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [0xe7c3d4]
mov dword [esp + 4], 0x431d0000
movss dword [esp], xmm0
push 0xf06f
call edi
add esp, 0x30
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call esi
movss xmm0, dword [ebp - 8]
push 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41e00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [0xe7c3d4]
mov dword [esp + 4], 0x431d0000
movss dword [esp], xmm0
push 0xf06f
call edi
add esp, 0x30
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret