Function at 0x465a20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
push 0x104
push eax
call esi
lea ecx, [esp + 0x10c]
push 0x104
push ecx
call esi
push str.glGetDoublev
push 0x16e0d5c
push str.glGetIntegerv
push 0x16e0b2c
push str.glPassThrough
push 0x16e0d00
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x16e0c20
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x16e0c4c
push str.glRenderMode
push 0x16e0d20
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x16e0ad8
push str.glPopName
push 0x16e0c38
not ecx
push str.glPushName
dec ecx
push 0x16e0acc
push str.glInitNames
push 0x16e0af8
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x16e0d9c
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x1678c24]
push 0x16e0b70
push str.glEvalMesh2
push 0x16e0cf4
mov dword [edx + 4], eax
mov eax, dword [0x1678c28]
push str.glMapGrid2d
push 0x16e0d60
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x1678c2c]
push 0x16e0c24
push str.glMap2d
push 0x16e0cc4
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x1678ba4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x16e0cf0
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x1678ba8]
push 0x16e0d58
push str.glEvalCoord1d
push 0x16e0c14
mov dword [ecx + 4], eax
mov al, byte [0x1678baa]
push str.glMap1d
push 0x16e0cc8
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x16e0c00
push str.glPointSize
push 0x16e0d98
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x16e0d48
push str.glPushAttrib
push 0x16e0b28
push str.glPopAttrib
push 0x16e0db8
push str.wglUseFontOutlinesA
push 0x16e0c80
push str.wglDeleteContext
push 0x16e0cbc
push str.wglMakeCurrent
push 0x16e0d6c
push str.wglCreateContext
push 0x16e0b0c
push str.glGetError
push 0x16e0aec
push str.glGetBooleanv
push 0x16e0d28
push str.glVertex3dv
push 0x16e0c94
push str.glNormal3dv
push 0x16e0cb8
push str.glPixelZoom
push 0x16e0cd0
push str.glPixelStorei
push 0x16e0c0c
push str.glCopyPixels
push 0x16e0ae4
push str.glBitmap
push 0x16e0bf4
push str.glRasterPos2d
push 0x16e0cc0
push str.glCallLists
push 0x16e0d38
push str.glListBase
push 0x16e0b74
push str.glDeleteLists
push 0x16e0b8c
push str.glIsList
push 0x16e0db0
push str.glCallList
push 0x16e0b94
push str.glGenLists
push 0x16e0bd0
push str.glEndList
push 0x16e0c04
push str.glNewList
push 0x16e0ac0
push str.glTexGend
push 0x16e0be8
push str.glTexGendv
push 0x16e0d2c
push str.glGenTextures
push 0x16e0afc
push str.glTexEnvf
push 0x16e0bf8
push str.glTexEnvfv
push 0x16e0d64
push str.glTexCoord1d
push 0x16e0c98
push str.glTexCoord2d
push 0x16e0c90
push str.glTexImage2D
push 0x16e0b80
push str.glTexImage1D
push 0x16e0b78
push str.glTexParameterf
push 0x16e0b1c
push str.glTexParameterfv
push 0x16e0d78
push str.glBindTexture
push 0x16e0b9c
push str.glShadeModel
push 0x16e0c8c
push str.glNormal3d
push 0x16e0b6c
push str.glFogf
push 0x16e0b10
push str.glFogfv
push 0x16e0d30
push str.glColorMaterial
push 0x16e0ad4
push str.glMaterialf
push 0x16e0d50
push str.glMaterialfv
push 0x16e0d1c
push str.glLightModelf
push 0x16e0ca8
push str.glLightModelfv
push 0x16e0af0
push str.glLightf
push 0x16e0b18
push str.glLightfv
push 0x16e0da4
push str.glDisable
push 0x16e0ae8
push str.glEnable
push 0x16e0c54
push str.glIndexf
push 0x16e0b30
push str.glColor4d
push 0x16e0c68
push str.glClearIndex
push 0x16e0b88
push str.glClearStencil
push 0x16e0c08
push str.glClearDepth
push 0x16e0b24
push str.glClearColor
push 0x16e0c3c
push str.glClearAccum
push 0x16e0ac4
push str.glClear
push 0x16e0d04
push str.glAccum
push 0x16e0ccc
push str.glFlush
push 0x16e0d70
push str.glFinish
push 0x16e0b7c
push str.glStencilOp
push 0x16e0da0
push str.glStencilFunc
push 0x16e0b14
push str.glDepthFunc
push 0x16e0b08
push str.glBlendFunc
push 0x16e0d34
push str.glAlphaFunc
push 0x16e0d54
push str.glHint
push 0x16e0b38
push str.glScissor
push 0x16e0cfc
push str.glEdgeFlag
push 0x16e0d74
push str.glPolygonStipple
push 0x16e0ad0
push str.glLineStipple
push 0x16e0adc
push str.glPolygonMode
push 0x16e0b34
push str.glClipPlane
push 0x16e0ba0
push str.glFrontFace
push 0x16e0b98
push str.glRectd
push 0x16e0ba4
push str.glVertex3d
push 0x16e0d68
push str.glEnd
push 0x16e0c44
push str.glBegin
push 0x16e0ae0
push str.glMultMatrixd
push 0x16e0b84
push str.glLoadMatrixd
push 0x16e0dac
push str.glPopMatrix
push 0x16e0d08
push str.glPushMatrix
push 0x16e0b20
push str.glViewport
push 0x16e0d14
push str.glOrtho
push 0x16e0ca0
push str.glFrustum
push 0x16e0bf0
push str.glScaled
push 0x16e0d90
push str.glRotated
push 0x16e0c10
push str.glTranslated
push 0x16e0d0c
push str.glMatrixMode
push 0x16e0c30
push str.glLoadIdentity
push 0x16e0c5c
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x16e0dd0
call fcn.004659b0
add esp, 0x384
test al, al
je 0x465fea
push str.gluUnProject
push 0x16e0bd4
push str.gluProject
push 0x16e0cd8
push str.gluPickMatrix
push 0x16e0d10
push str.gluDeleteQuadric
push 0x16e0db4
push str.gluPartialDisk
push 0x16e0cd4
push str.gluDisk
push 0x16e0c6c
push str.gluCylinder
push 0x16e0c84
push str.gluSphere
push 0x16e0d3c
push str.gluNewQuadric
push 0x16e0d24
push str.gluQuadricTexture
push 0x16e0c88
push str.gluQuadricOrientation
push 0x16e0c34
push str.gluQuadricNormals
push 0x16e0da8
push str.gluQuadricDrawStyle
push 0x16e0d94
push str.gluLookAt
push 0x16e0bec
push str.gluBuild2DMipmaps
push 0x16e0bcc
push str.gluPerspective
push 0x16e0b48
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x16e0dd4
call fcn.004659b0
add esp, 0x8c
test al, al
je 0x465fea
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x1678590
xor esi, esi
call fcn.00466050
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret