Function at 0x411fa4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [0x434b24], 1
mov dword [ebp - 4], 0x3d0793de
mov esi, esp
push 0x4100
call dword [sym.imp.OPENGL32.dll_glClear]
cmp esi, esp
call fcn.004143c6
mov esi, esp
call dword [sym.imp.OPENGL32.dll_glLoadIdentity]
cmp esi, esp
call fcn.004143c6
fld dword [0x4584c4]
fchs
mov esi, esp
push ecx
fstp dword [esp]
push 0
push 0
call dword [sym.imp.OPENGL32.dll_glTranslatef]
cmp esi, esp
call fcn.004143c6
push 0
push 0
push 0x3ff00000
push 0
push 0
push 0
push 0x40000000
push 0
push 0
push 0
push 0
push 0
push 0x3ff7d70a
push 0x3d70a3d7
push 0
push 0
push 0
push 0
call sub.GLU32.dll_gluLookAt
call fcn.004123fb
cmp dword [0x434b48], 0x42
jne 0x41210b
mov dword [0x434b48], 0
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.004143c6
mov esi, esp
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
call dword [sym.imp.OPENGL32.dll_glViewport]
cmp esi, esp
call fcn.004143c6
mov esi, esp
push 0x1701
call dword [sym.imp.OPENGL32.dll_glMatrixMode]
cmp esi, esp
call fcn.004143c6
mov esi, esp
call dword [sym.imp.OPENGL32.dll_glLoadIdentity]
cmp esi, esp
call fcn.004143c6
fild dword [ebp - 0x14]
fidiv dword [ebp - 0x10]
fstp dword [ebp - 0xc]
mov ecx, dword [0x501468]
imul ecx, ecx, 0xa
mov dword [ebp - 0x44], ecx
fild dword [ebp - 0x44]
fadd qword [0x41c420]
sub esp, 8
fstp qword [esp]
push 0x3f747ae1
push 0x47ae147b
fld dword [ebp - 0xc]
sub esp, 8
fstp qword [esp]
push 0x40240000
push 0
call sub.GLU32.dll_gluPerspective
mov esi, esp
push 0x1700
call dword [sym.imp.OPENGL32.dll_glMatrixMode]
cmp esi, esp
call fcn.004143c6
cmp dword [0x434b4c], 0x42
jne 0x412199
mov esi, esp
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp esi, esp
call fcn.004143c6
mov dword [0x434b4c], 0
mov esi, esp
push 0x40
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
sub edx, 1
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, esp
call fcn.004143c6
mov esi, esp
push 0x40
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, esp
call fcn.004143c6
mov dword [ebp - 0x30], 0
mov esi, esp
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
cmp esi, esp
call fcn.004143c6
mov esi, esp
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp esi, esp
call fcn.004143c6
mov ecx, dword [ebp - 0x40]
or ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x41225a
mov edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x34]
test edx, edx
je 0x41225a
mov eax, dword [ebp - 0x40]
sub eax, dword [0x4390a8]
mov ecx, dword [ebp - 0x3c]
sbb ecx, dword [0x4390ac]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
push 0
push 0x3e8
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00414a90
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004149e0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x21
jae 0x412246
mov edx, 0x21
sub edx, dword [ebp - 0x30]
mov esi, esp
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.004143c6
mov esi, esp
push 0x4390a8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp esi, esp
call fcn.004143c6
mov esi, esp
call dword [sym.imp.OPENGL32.dll_wglGetCurrentDC]
cmp esi, esp
call fcn.004143c6
mov dword [ebp - 8], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_SwapBuffers]
cmp esi, esp
call fcn.004143c6
mov dword [0x434b24], 0
mov ecx, dword [0x434d10]
add ecx, 1
mov dword [0x434d10], ecx
cmp dword [0x434d10], 0x98
jle 0x4122b8
mov dword [0x434b7c], 0
mov dword [0x434d10], 0
pop edi
pop esi
add esp, 0x44
cmp ebp, esp
call fcn.004143c6
mov esp, ebp
pop ebp
ret