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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x102e0840], 0
push esi
mov esi, ecx
je 0x1007f61e
mov eax, 0x7c3400
call eax
mov edx, 0x49dfb0
mov ecx, eax
call edx
test eax, eax
je 0x1007f623
push ebx
push edi
push 2
mov edi, 0x861110
mov byte [0x102bf33d], 1
call edi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x1007f61c
push 0x41
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1007f61c
push 0x39
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1007f61c
push 0x48
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1007f61c
call fcn.1007e590
test al, al
jne 0x1007f61c
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 0x1007f3ec
movaps xmm0, xmm1
jmp 0x1007f3f4
movss xmm0, dword [0xe7c3d8]
mov eax, dword [0x11478280]
mulss xmm0, dword [0x10103264]
add eax, 0x140
ucomiss xmm4, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
mulss xmm2, xmm1
subss xmm2, xmm0
test ah, 0x44
jnp 0x1007f423
movaps xmm0, xmm1
jmp 0x1007f42b
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x10103304]
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 0x1007f481
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 0x1007f498
call edi
sub eax, dword [esi + 0x8354]
cmp eax, 0x578
jbe 0x1007f498
call edi
mov dword [esi + 0x8354], eax
movss xmm1, dword [ebp - 4]
xor eax, eax
movss xmm4, dword [0x10102768]
xorps xmm2, xmm2
movss dword [esi + 0x3c78], xmm1
mov dword [esi + 0x3c7c], 0x40000000
movss xmm3, dword [0xe7c3d4]
comiss xmm4, xmm3
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1007f4df
movaps xmm0, xmm3
jmp 0x1007f4e7
movss xmm0, dword [0xe7c3d8]
movss xmm5, dword [0x10102ee4]
xor eax, eax
mulss xmm0, xmm5
mov dword [esi + 0x3c84], 0x41700000
divss xmm0, xmm3
addss xmm0, xmm1
movss dword [esi + 0x3c80], xmm0
movss xmm3, dword [0xe7c3d4]
comiss xmm4, xmm3
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1007f532
movaps xmm0, xmm3
jmp 0x1007f53a
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 [0x102bf328]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1007f61c
comiss xmm0, dword [0x102bf330]
ja 0x1007f61c
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102bf32c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1007f61c
comiss xmm1, dword [0x102bf334]
ja 0x1007f61c
addss xmm0, dword [0x10102f14]
push str.New_Message_s_
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
push 0x102bb6b0
call fcn.10079cf0
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x102bf33d], 0
pop esi
mov esp, ebp
pop ebp
ret