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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x102bc2fc], 0
push esi
mov esi, ecx
je 0x1006fd3e
mov eax, 0x7c3400
call eax
mov edx, 0x49dfb0
mov ecx, eax
call edx
test eax, eax
je 0x1006fd43
push ebx
push edi
push 2
mov edi, 0x861110
mov byte [0x1029ae8d], 1
call edi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x1006fd3c
push 0x41
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1006fd3c
push 0x39
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1006fd3c
push 0x48
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1006fd3c
call fcn.1006ed10
test al, al
jne 0x1006fd3c
movss xmm1, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100e6e30]
xorps xmm3, xmm3
comiss xmm0, xmm1
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1006fb0c
movaps xmm0, xmm1
jmp 0x1006fb14
movss xmm0, dword [0xe7c3d8]
mov eax, dword [0x107dce38]
mulss xmm0, dword [0x100e7750]
add eax, 0x140
ucomiss xmm4, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
mulss xmm2, xmm1
subss xmm2, xmm0
test ah, 0x44
jnp 0x1006fb43
movaps xmm0, xmm1
jmp 0x1006fb4b
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e77f8]
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 0x1006fba1
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 0x1006fbb8
call edi
sub eax, dword [esi + 0x8354]
cmp eax, 0x578
jbe 0x1006fbb8
call edi
mov dword [esi + 0x8354], eax
movss xmm1, dword [ebp - 4]
xor eax, eax
movss xmm4, dword [0x100e6e30]
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 0x1006fbff
movaps xmm0, xmm3
jmp 0x1006fc07
movss xmm0, dword [0xe7c3d8]
movss xmm5, dword [0x100e73f4]
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 0x1006fc52
movaps xmm0, xmm3
jmp 0x1006fc5a
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 [0x1029ae78]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1006fd3c
comiss xmm0, dword [0x1029ae80]
ja 0x1006fd3c
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029ae7c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1006fd3c
comiss xmm1, dword [0x1029ae84]
ja 0x1006fd3c
addss xmm0, dword [0x100e7430]
push str.New_Message_s_
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
push 0x10297260
call fcn.1006a470
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x1029ae8d], 0
pop esi
mov esp, ebp
pop ebp
ret