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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 1
mov eax, 0x635fd0
movss dword [ebp - 4], xmm3
mov dword [ebp - 8], ecx
call eax
mov ebx, dword [sym.imp.OPENGL32.dll_glMatrixMode]
add esp, 4
push 0x1701
call ebx
mov edi, dword [sym.imp.OPENGL32.dll_glPushMatrix]
call edi
mov esi, dword [sym.imp.OPENGL32.dll_glLoadIdentity]
call esi
push dword [0xe61e5c]
mov eax, 0x6363d0
push dword [0xe61e58]
push 0
push 0
call eax
movss xmm0, dword [0xe61e3c]
mov eax, 0x6358a0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0xe61e38]
movss dword [esp + 8], xmm0
movss xmm0, dword [0xe61e58]
divss xmm0, dword [0xe61e5c]
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
call eax
add esp, 0x10
push 0x1700
call ebx
call edi
call esi
push 0x87933a0
mov eax, 0x635830
call eax
add esp, 4
mov eax, 0x635de0
call eax
mov eax, 0x635e40
call eax
mov edi, dword [ebp + 0xc]
cmp edi, 0x180f
je 0x1002306e
cmp edi, 0x1c1f
je 0x1002306e
movss xmm0, dword [ebp + 0x18]
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push edi
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp + 0x10]
jmp 0x100230a3
movss xmm0, dword [ebp + 0x18]
push 0
push ecx
mov dword [esp], 0
push 0
push 0
push edi
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp + 0x10]
addss xmm0, dword [0x1017e990]
movss dword [esp + 4], xmm0
mov eax, 0x5cf310
movss xmm0, dword [ebp - 4]
movss dword [esp], xmm0
call eax
add esp, 0x24
push 0x1700
call ebx
mov esi, dword [sym.imp.OPENGL32.dll_glPopMatrix]
call esi
push 0x1701
call ebx
call esi
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
push 0
mov eax, 0x635fd0
call eax
imul esi, edi, 0x54
add esp, 4
mov ebx, 0x41fe10
add esi, dword [0x8128ac0]
call ebx
movss xmm0, dword [ebp + 0x10]
mov edx, eax
addss xmm0, dword [0x1017e9a8]
cvttss2si eax, dword [ebp - 4]
push 0
push 1
push 0
push 0
push esi
mov esi, 0x420150
cvttss2si ecx, xmm0
movss dword [ebp + 0x18], xmm0
push ecx
push eax
mov ecx, edx
call esi
movss xmm0, dword [ebp + 0x10]
addss xmm0, dword [0x1017ea04]
push 0
push 1
push 0
push 0
push dword [ebp + 0x1c]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [ebp + 0x14]
push eax
addss xmm0, dword [0x1017e980]
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, eax
call esi
mov edi, 0x635f50
call edi
movss xmm0, dword [ebp + 0x10]
xor ebx, ebx
addss xmm0, dword [0x1017ea08]
mov ecx, 0x790b50
cvttss2si esi, xmm0
mov dword [ebp + 0xc], esi
nop
movss xmm1, dword [ebp + 0x18]
lea eax, [ebx + ebx*8]
add eax, eax
sub esp, 0x10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x42000000
mov dword [esp + 8], 0x41800000
movss dword [esp + 4], xmm1
addss xmm0, dword [ebp - 4]
addss xmm0, dword [0x1017eb40]
movss dword [esp], xmm0
push 0x7bff
movss dword [ebp + 0x14], xmm0
call ecx
call edi
cvttss2si edi, dword [ebp + 0x14]
push 0x10
push 0x10
push esi
mov eax, 0x790b10
push edi
call eax
add esp, 0x24
test al, al
je 0x10023263
cmp byte [0x8793386], 0
je 0x10023263
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 8]
mov ecx, dword [esi + 0x7c]
add ecx, 0x190
cmp eax, ecx
jb 0x10023263
mov edx, dword [esi + 0x78]
mov eax, dword [ebp + 8]
lea ecx, [edx + 3]
lea eax, [eax + ecx*4]
add eax, ecx
cmp dword [esi + eax*4], 0
jle 0x10023263
mov al, dl
mov dword [ebp - 0x10], 0xf1f306c1
shl dl, 2
lea ecx, [ebp - 0x10]
add al, dl
mov byte [ebp - 0xb], bl
add al, byte [ebp + 8]
mov edx, 6
mov byte [ebp - 0xc], al
call fcn.100acac0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x7c], eax
test ebx, ebx
jne 0x1002329a
push 0x49
mov ecx, 0x1019e5b0
call fcn.10039680
mov esi, eax
mov eax, 0x41fe10
call eax
movss xmm0, dword [ebp + 0x10]
addss xmm0, dword [0x1017e9c8]
push 0
push 3
push 0
push 0x11
cvttss2si ecx, xmm0
push esi
push ecx
push edi
jmp 0x100232e1
cmp ebx, 1
jne 0x100232a3
push 0x4a
jmp 0x10023269
cmp ebx, 2
jne 0x100232ac
push 0x4b
jmp 0x10023269
cmp ebx, 3
jne 0x100232b5
push 0x4c
jmp 0x10023269
cmp ebx, 4
jne 0x100232ea
movss xmm0, dword [ebp + 0x10]
addss xmm0, dword [0x1017e9c8]
push 0
push 3
push 0
push 0x11
cvttss2si eax, xmm0
push 0x10179270
push eax
push edi
mov eax, 0x41fe10
call eax
mov ecx, eax
mov eax, 0x420150
call eax
mov esi, dword [ebp + 0xc]
inc ebx
mov edi, 0x635f50
mov ecx, 0x790b50
cmp ebx, 4
jl 0x100231a0
push 0
mov eax, 0x635fd0
call eax
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18