Function at 0x490a00
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 0x917d74
push str.glGetIntegerv
push 0x917b44
push str.glPassThrough
push 0x917d18
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x917c38
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x917c64
push str.glRenderMode
push 0x917d38
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x917af0
push str.glPopName
push 0x917c50
not ecx
push str.glPushName
dec ecx
push 0x917ae4
push str.glInitNames
push 0x917b10
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x917db4
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x8b311c]
push 0x917b88
push str.glEvalMesh2
push 0x917d0c
mov dword [edx + 4], eax
mov eax, dword [0x8b3120]
push str.glMapGrid2d
push 0x917d78
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x8b3124]
push 0x917c3c
push str.glMap2d
push 0x917cdc
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x8b309c]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x917d08
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x8b30a0]
push 0x917d70
push str.glEvalCoord1d
push 0x917c2c
mov dword [ecx + 4], eax
mov al, byte [0x8b30a2]
push str.glMap1d
push 0x917ce0
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x917c18
push str.glPointSize
push 0x917db0
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x917d60
push str.glPushAttrib
push 0x917b40
push str.glPopAttrib
push 0x917dd0
push str.wglUseFontOutlinesA
push 0x917c98
push str.wglDeleteContext
push 0x917cd4
push str.wglMakeCurrent
push 0x917d84
push str.wglCreateContext
push 0x917b24
push str.glGetError
push 0x917b04
push str.glGetBooleanv
push 0x917d40
push str.glVertex3dv
push 0x917cac
push str.glNormal3dv
push 0x917cd0
push str.glPixelZoom
push 0x917ce8
push str.glPixelStorei
push 0x917c24
push str.glCopyPixels
push 0x917afc
push str.glBitmap
push 0x917c0c
push str.glRasterPos2d
push 0x917cd8
push str.glCallLists
push 0x917d50
push str.glListBase
push 0x917b8c
push str.glDeleteLists
push 0x917ba4
push str.glIsList
push 0x917dc8
push str.glCallList
push 0x917bac
push str.glGenLists
push 0x917be8
push str.glEndList
push 0x917c1c
push str.glNewList
push 0x917ad8
push str.glTexGend
push 0x917c00
push str.glTexGendv
push 0x917d44
push str.glGenTextures
push 0x917b14
push str.glTexEnvf
push 0x917c10
push str.glTexEnvfv
push 0x917d7c
push str.glTexCoord1d
push 0x917cb0
push str.glTexCoord2d
push 0x917ca8
push str.glTexImage2D
push 0x917b98
push str.glTexImage1D
push 0x917b90
push str.glTexParameterf
push 0x917b34
push str.glTexParameterfv
push 0x917d90
push str.glBindTexture
push 0x917bb4
push str.glShadeModel
push 0x917ca4
push str.glNormal3d
push 0x917b84
push str.glFogf
push 0x917b28
push str.glFogfv
push 0x917d48
push str.glColorMaterial
push 0x917aec
push str.glMaterialf
push 0x917d68
push str.glMaterialfv
push 0x917d34
push str.glLightModelf
push 0x917cc0
push str.glLightModelfv
push 0x917b08
push str.glLightf
push 0x917b30
push str.glLightfv
push 0x917dbc
push str.glDisable
push 0x917b00
push str.glEnable
push 0x917c6c
push str.glIndexf
push 0x917b48
push str.glColor4d
push 0x917c80
push str.glClearIndex
push 0x917ba0
push str.glClearStencil
push 0x917c20
push str.glClearDepth
push 0x917b3c
push str.glClearColor
push 0x917c54
push str.glClearAccum
push 0x917adc
push str.glClear
push 0x917d1c
push str.glAccum
push 0x917ce4
push str.glFlush
push 0x917d88
push str.glFinish
push 0x917b94
push str.glStencilOp
push 0x917db8
push str.glStencilFunc
push 0x917b2c
push str.glDepthFunc
push 0x917b20
push str.glBlendFunc
push 0x917d4c
push str.glAlphaFunc
push 0x917d6c
push str.glHint
push 0x917b50
push str.glScissor
push 0x917d14
push str.glEdgeFlag
push 0x917d8c
push str.glPolygonStipple
push 0x917ae8
push str.glLineStipple
push 0x917af4
push str.glPolygonMode
push 0x917b4c
push str.glClipPlane
push 0x917bb8
push str.glFrontFace
push 0x917bb0
push str.glRectd
push 0x917bbc
push str.glVertex3d
push 0x917d80
push str.glEnd
push 0x917c5c
push str.glBegin
push 0x917af8
push str.glMultMatrixd
push 0x917b9c
push str.glLoadMatrixd
push 0x917dc4
push str.glPopMatrix
push 0x917d20
push str.glPushMatrix
push 0x917b38
push str.glViewport
push 0x917d2c
push str.glOrtho
push 0x917cb8
push str.glFrustum
push 0x917c08
push str.glScaled
push 0x917da8
push str.glRotated
push 0x917c28
push str.glTranslated
push 0x917d24
push str.glMatrixMode
push 0x917c48
push str.glLoadIdentity
push 0x917c74
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x917de8
call fcn.00490990
add esp, 0x384
test al, al
je 0x490fca
push str.gluUnProject
push 0x917bec
push str.gluProject
push 0x917cf0
push str.gluPickMatrix
push 0x917d28
push str.gluDeleteQuadric
push 0x917dcc
push str.gluPartialDisk
push 0x917cec
push str.gluDisk
push 0x917c84
push str.gluCylinder
push 0x917c9c
push str.gluSphere
push 0x917d54
push str.gluNewQuadric
push 0x917d3c
push str.gluQuadricTexture
push 0x917ca0
push str.gluQuadricOrientation
push 0x917c4c
push str.gluQuadricNormals
push 0x917dc0
push str.gluQuadricDrawStyle
push 0x917dac
push str.gluLookAt
push 0x917c04
push str.gluBuild2DMipmaps
push 0x917be4
push str.gluPerspective
push 0x917b60
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x917dec
call fcn.00490990
add esp, 0x8c
test al, al
je 0x490fca
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x8b2a88
xor esi, esi
call fcn.00491030
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret