Function at 0x48a010
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 0x654e4c
push str.glGetIntegerv
push 0x654c1c
push str.glPassThrough
push 0x654df0
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x654d10
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x654d3c
push str.glRenderMode
push 0x654e10
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x654bc8
push str.glPopName
push 0x654d28
not ecx
push str.glPushName
dec ecx
push 0x654bbc
push str.glInitNames
push 0x654be8
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x654e8c
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x61947c]
push 0x654c60
push str.glEvalMesh2
push 0x654de4
mov dword [edx + 4], eax
mov eax, dword [0x619480]
push str.glMapGrid2d
push 0x654e50
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x619484]
push 0x654d14
push str.glMap2d
push 0x654db4
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x6193fc]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x654de0
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x619400]
push 0x654e48
push str.glEvalCoord1d
push 0x654d04
mov dword [ecx + 4], eax
mov al, byte [0x619402]
push str.glMap1d
push 0x654db8
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x654cf0
push str.glPointSize
push 0x654e88
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x654e38
push str.glPushAttrib
push 0x654c18
push str.glPopAttrib
push 0x654ea8
push str.wglUseFontOutlinesA
push 0x654d70
push str.wglDeleteContext
push 0x654dac
push str.wglMakeCurrent
push 0x654e5c
push str.wglCreateContext
push 0x654bfc
push str.glGetError
push 0x654bdc
push str.glGetBooleanv
push 0x654e18
push str.glVertex3dv
push 0x654d84
push str.glNormal3dv
push 0x654da8
push str.glPixelZoom
push 0x654dc0
push str.glPixelStorei
push 0x654cfc
push str.glCopyPixels
push 0x654bd4
push str.glBitmap
push 0x654ce4
push str.glRasterPos2d
push 0x654db0
push str.glCallLists
push 0x654e28
push str.glListBase
push 0x654c64
push str.glDeleteLists
push 0x654c7c
push str.glIsList
push 0x654ea0
push str.glCallList
push 0x654c84
push str.glGenLists
push 0x654cc0
push str.glEndList
push 0x654cf4
push str.glNewList
push 0x654bb0
push str.glTexGend
push 0x654cd8
push str.glTexGendv
push 0x654e1c
push str.glGenTextures
push 0x654bec
push str.glTexEnvf
push 0x654ce8
push str.glTexEnvfv
push 0x654e54
push str.glTexCoord1d
push 0x654d88
push str.glTexCoord2d
push 0x654d80
push str.glTexImage2D
push 0x654c70
push str.glTexImage1D
push 0x654c68
push str.glTexParameterf
push 0x654c0c
push str.glTexParameterfv
push 0x654e68
push str.glBindTexture
push 0x654c8c
push str.glShadeModel
push 0x654d7c
push str.glNormal3d
push 0x654c5c
push str.glFogf
push 0x654c00
push str.glFogfv
push 0x654e20
push str.glColorMaterial
push 0x654bc4
push str.glMaterialf
push 0x654e40
push str.glMaterialfv
push 0x654e0c
push str.glLightModelf
push 0x654d98
push str.glLightModelfv
push 0x654be0
push str.glLightf
push 0x654c08
push str.glLightfv
push 0x654e94
push str.glDisable
push 0x654bd8
push str.glEnable
push 0x654d44
push str.glIndexf
push 0x654c20
push str.glColor4d
push 0x654d58
push str.glClearIndex
push 0x654c78
push str.glClearStencil
push 0x654cf8
push str.glClearDepth
push 0x654c14
push str.glClearColor
push 0x654d2c
push str.glClearAccum
push 0x654bb4
push str.glClear
push 0x654df4
push str.glAccum
push 0x654dbc
push str.glFlush
push 0x654e60
push str.glFinish
push 0x654c6c
push str.glStencilOp
push 0x654e90
push str.glStencilFunc
push 0x654c04
push str.glDepthFunc
push 0x654bf8
push str.glBlendFunc
push 0x654e24
push str.glAlphaFunc
push 0x654e44
push str.glHint
push 0x654c28
push str.glScissor
push 0x654dec
push str.glEdgeFlag
push 0x654e64
push str.glPolygonStipple
push 0x654bc0
push str.glLineStipple
push 0x654bcc
push str.glPolygonMode
push 0x654c24
push str.glClipPlane
push 0x654c90
push str.glFrontFace
push 0x654c88
push str.glRectd
push 0x654c94
push str.glVertex3d
push 0x654e58
push str.glEnd
push 0x654d34
push str.glBegin
push 0x654bd0
push str.glMultMatrixd
push 0x654c74
push str.glLoadMatrixd
push 0x654e9c
push str.glPopMatrix
push 0x654df8
push str.glPushMatrix
push 0x654c10
push str.glViewport
push 0x654e04
push str.glOrtho
push 0x654d90
push str.glFrustum
push 0x654ce0
push str.glScaled
push 0x654e80
push str.glRotated
push 0x654d00
push str.glTranslated
push 0x654dfc
push str.glMatrixMode
push 0x654d20
push str.glLoadIdentity
push 0x654d4c
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x654ec0
call fcn.00489fa0
add esp, 0x384
test al, al
je 0x48a5da
push str.gluUnProject
push 0x654cc4
push str.gluProject
push 0x654dc8
push str.gluPickMatrix
push 0x654e00
push str.gluDeleteQuadric
push 0x654ea4
push str.gluPartialDisk
push 0x654dc4
push str.gluDisk
push 0x654d5c
push str.gluCylinder
push 0x654d74
push str.gluSphere
push 0x654e2c
push str.gluNewQuadric
push 0x654e14
push str.gluQuadricTexture
push 0x654d78
push str.gluQuadricOrientation
push 0x654d24
push str.gluQuadricNormals
push 0x654e98
push str.gluQuadricDrawStyle
push 0x654e84
push str.gluLookAt
push 0x654cdc
push str.gluBuild2DMipmaps
push 0x654cbc
push str.gluPerspective
push 0x654c38
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x654ec4
call fcn.00489fa0
add esp, 0x8c
test al, al
je 0x48a5da
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x618de8
xor esi, esi
call fcn.0048a640
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret