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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x102df900], 0
push esi
mov esi, ecx
je 0x1007dc8e
mov eax, 0x7c3400
call eax
mov edx, 0x49dfb0
mov ecx, eax
call edx
test eax, eax
je 0x1007dc93
push ebx
push edi
push 2
mov edi, 0x861110
mov byte [0x102be3fd], 1
call edi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x1007dc8c
push 0x41
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1007dc8c
push 0x39
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1007dc8c
push 0x48
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1007dc8c
call fcn.1007cc30
test al, al
jne 0x1007dc8c
movss xmm1, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x10101738]
xorps xmm3, xmm3
comiss xmm0, xmm1
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1007da5c
movaps xmm0, xmm1
jmp 0x1007da64
movss xmm0, dword [0xe7c3d8]
mov eax, dword [0x10824d6c]
mulss xmm0, dword [0x1010220c]
add eax, 0x140
ucomiss xmm4, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
mulss xmm2, xmm1
subss xmm2, xmm0
test ah, 0x44
jnp 0x1007da93
movaps xmm0, xmm1
jmp 0x1007da9b
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x101022b4]
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 0x1007daf1
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 0x1007db08
call edi
sub eax, dword [esi + 0x8354]
cmp eax, 0x578
jbe 0x1007db08
call edi
mov dword [esi + 0x8354], eax
movss xmm1, dword [ebp - 4]
xor eax, eax
movss xmm4, dword [0x10101738]
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 0x1007db4f
movaps xmm0, xmm3
jmp 0x1007db57
movss xmm0, dword [0xe7c3d8]
movss xmm5, dword [0x10101e94]
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 0x1007dba2
movaps xmm0, xmm3
jmp 0x1007dbaa
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 [0x102be3e8]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1007dc8c
comiss xmm0, dword [0x102be3f0]
ja 0x1007dc8c
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102be3ec]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1007dc8c
comiss xmm1, dword [0x102be3f4]
ja 0x1007dc8c
addss xmm0, dword [0x10101ec4]
push str.New_Message_s_
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
push 0x102ba770
call fcn.10078380
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x102be3fd], 0
pop esi
mov esp, ebp
pop ebp
ret