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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10303920], 0
je 0x100114dd
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x11500b70]
cmp eax, 0x3d4
jbe 0x10011006
call esi
mov dword [0x11500b70], eax
mov ecx, 0x114f09d4
cmp dword [ecx - 4], 0
je 0x10010fc5
mov eax, dword [ecx]
cmp eax, 1
jle 0x10010fc5
dec eax
mov dword [ecx], eax
cmp dword [ecx + 8], 0
je 0x10010fd7
mov eax, dword [ecx + 0xc]
cmp eax, 1
jle 0x10010fd7
dec eax
mov dword [ecx + 0xc], eax
cmp dword [ecx + 0x14], 0
je 0x10010fe9
mov eax, dword [ecx + 0x18]
cmp eax, 1
jle 0x10010fe9
dec eax
mov dword [ecx + 0x18], eax
cmp dword [ecx + 0x20], 0
je 0x10010ffb
mov eax, dword [ecx + 0x24]
cmp eax, 1
jle 0x10010ffb
dec eax
mov dword [ecx + 0x24], eax
add ecx, 0x30
cmp ecx, 0x114f0b54
jl 0x10010fb5
push edi
push 0x41
mov edi, 0x861110
call edi
mov esi, 0x85ec20
mov ecx, eax
call esi
test al, al
jne 0x100114db
push 0x39
call edi
mov ecx, eax
call esi
test al, al
jne 0x100114db
push 0x48
call edi
mov ecx, eax
call esi
test al, al
jne 0x100114db
call fcn.1008c150
test al, al
jne 0x100114db
or esi, 0xffffffff
push ebx
mov dword [ebp - 0x24], esi
call edi
xor edx, edx
movsd xmm5, qword [0x1011fb28]
xor esi, esi
mov dword [ebp - 0x30], edx
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 0xc8]
xorps xmm2, xmm2
movss dword [ebp - 0x2c], xmm2
mov edi, 0x114f09d0
mov dword [ebp - 0x1c], edx
movd xmm6, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add eax, 4
cvtdq2ps xmm6, xmm6
movd xmm7, eax
mov eax, dword [0x1030392c]
cvtdq2ps xmm7, xmm7
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movss dword [ebp - 0x3c], xmm6
addsd xmm0, qword [eax*8 + 0x10120c90]
mov eax, dword [0x10303928]
movss dword [ebp - 0x40], xmm7
cvtpd2ps xmm4, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
movaps xmm3, xmm4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm3, dword [0x1011fac4]
addsd xmm0, qword [eax*8 + 0x10120c90]
mulss xmm4, dword [0x1011fabc]
movss dword [ebp - 4], xmm3
divsd xmm0, qword [0x1011fff0]
movss dword [ebp - 8], xmm4
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
jmp 0x10011113
mov esi, dword [ebp - 0x18]
mov ecx, dword [edi]
test ecx, ecx
je 0x1001146c
mov eax, dword [0x10303934]
push 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10120c90]
lea eax, [ecx - 1]
mov ecx, 0x50
cdq
idiv ecx
cvtpd2ps xmm2, xmm0
mov eax, 0x66666667
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm2
addss xmm2, xmm3
addss xmm1, xmm4
mulss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
cvtps2pd xmm1, xmm1
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movd xmm0, esi
mov esi, edx
cvtdq2ps xmm0, xmm0
imul esi
mulss xmm2, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm7
sar edx, 2
mov ecx, edx
cvtps2pd xmm1, xmm2
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
addsd xmm1, xmm0
add eax, eax
sub esi, eax
mov eax, 0x635fd0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1011fe88]
mulsd xmm0, xmm5
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1011feb0]
mulsd xmm0, xmm5
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
call eax
cvttss2si eax, dword [ebp - 4]
push eax
cvttss2si eax, dword [ebp - 8]
push eax
cvttss2si eax, dword [ebp - 0xc]
push eax
cvttss2si eax, dword [ebp - 0x10]
push eax
mov eax, 0x790b10
call eax
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
add esp, 0x14
sub esp, 0x10
test al, al
je 0x1001128f
movss xmm1, dword [ebp - 8]
movss xmm0, dword [ebp - 0x10]
cvtps2pd xmm1, xmm1
mov eax, dword [edi]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
cvtps2pd xmm0, xmm0
mov dword [esp + 4], 0x3f800000
mov dword [ebp - 0x30], eax
mov dword [esp], 0x3f800000
mulsd xmm1, qword [0x1011fd20]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [ebp - 4]
movss dword [ebp - 0x20], xmm0
addss xmm0, dword [0x10120334]
movss dword [ebp - 0x28], xmm0
call esi
jmp 0x100112c2
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [ebp - 4]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x34]
mov eax, 0x66666667
push ecx
mov ecx, dword [edi]
mov dword [esp], 0
dec ecx
push 1
push 1
sub esp, 0x20
imul ecx
mov dword [esp + 0x1c], 0x3de00000
mov dword [esp + 0x18], 0x3da00000
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0xc]
sar edx, 5
mov eax, edx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x10]
add edx, 0x7bed
shr eax, 0x1f
add eax, edx
movss dword [esp], xmm0
push eax
mov eax, 0x637c60
call eax
add esp, 0x30
cmp dword [0x10303924], 1
jne 0x1001142a
cmp dword [edi], 0x1c
je 0x1001142a
mov ecx, dword [edi + 8]
mov esi, 0x64
test ecx, ecx
jle 0x10011378
mov eax, dword [edi + 4]
test eax, eax
jle 0x10011378
imul eax, eax, 0x64
cdq
idiv ecx
mov esi, eax
push 1
mov eax, 0x635fd0
call eax
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [sym.imp.OPENGL32.dll_glColor4f]
movd xmm0, esi
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
push 0
sub esp, 0x14
mulss xmm0, dword [ebp - 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x40000000
divss xmm0, dword [0x10120498]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp], xmm0
call eax
mov eax, 0x635f50
call eax
movss xmm0, dword [ebp - 0x14]
add esp, 8
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
inc ebx
cmp ebx, dword [0x10303930]
jl 0x10011438
xor ebx, ebx
inc dword [ebp - 0x18]
mov eax, 0x635f50
call eax
push 0
mov eax, 0x635fd0
call eax
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm4, dword [ebp - 8]
movsd xmm5, qword [0x1011fb28]
movss xmm6, dword [ebp - 0x3c]
movss xmm7, dword [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
jmp 0x10011472
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
inc edx
add edi, 0xc
mov dword [ebp - 0x1c], edx
cmp edi, 0x114f0b50
jl 0x10011110
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
mov esi, dword [ebp - 0x24]
cmp esi, 0xffffffff
je 0x100114da
push 1
mov ebx, 0x635fd0
call ebx
movss xmm3, dword [ebp - 0x28]
mov ecx, esi
movss xmm2, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.10010a60
lea eax, [ebx - 0x80]
call eax
push 0
call ebx
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret