Function at 0x495520
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 0x6df404
push str.glGetIntegerv
push 0x6df1d4
push str.glPassThrough
push 0x6df3a8
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x6df2c8
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x6df2f4
push str.glRenderMode
push 0x6df3c8
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x6df180
push str.glPopName
push 0x6df2e0
not ecx
push str.glPushName
dec ecx
push 0x6df174
push str.glInitNames
push 0x6df1a0
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x6df444
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x695584]
push 0x6df218
push str.glEvalMesh2
push 0x6df39c
mov dword [edx + 4], eax
mov eax, dword [0x695588]
push str.glMapGrid2d
push 0x6df408
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x69558c]
push 0x6df2cc
push str.glMap2d
push 0x6df36c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x695504]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x6df398
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x695508]
push 0x6df400
push str.glEvalCoord1d
push 0x6df2bc
mov dword [ecx + 4], eax
mov al, byte [0x69550a]
push str.glMap1d
push 0x6df370
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x6df2a8
push str.glPointSize
push 0x6df440
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x6df3f0
push str.glPushAttrib
push 0x6df1d0
push str.glPopAttrib
push 0x6df460
push str.wglUseFontOutlinesA
push 0x6df328
push str.wglDeleteContext
push 0x6df364
push str.wglMakeCurrent
push 0x6df414
push str.wglCreateContext
push 0x6df1b4
push str.glGetError
push 0x6df194
push str.glGetBooleanv
push 0x6df3d0
push str.glVertex3dv
push 0x6df33c
push str.glNormal3dv
push 0x6df360
push str.glPixelZoom
push 0x6df378
push str.glPixelStorei
push 0x6df2b4
push str.glCopyPixels
push 0x6df18c
push str.glBitmap
push 0x6df29c
push str.glRasterPos2d
push 0x6df368
push str.glCallLists
push 0x6df3e0
push str.glListBase
push 0x6df21c
push str.glDeleteLists
push 0x6df234
push str.glIsList
push 0x6df458
push str.glCallList
push 0x6df23c
push str.glGenLists
push 0x6df278
push str.glEndList
push 0x6df2ac
push str.glNewList
push 0x6df168
push str.glTexGend
push 0x6df290
push str.glTexGendv
push 0x6df3d4
push str.glGenTextures
push 0x6df1a4
push str.glTexEnvf
push 0x6df2a0
push str.glTexEnvfv
push 0x6df40c
push str.glTexCoord1d
push 0x6df340
push str.glTexCoord2d
push 0x6df338
push str.glTexImage2D
push 0x6df228
push str.glTexImage1D
push 0x6df220
push str.glTexParameterf
push 0x6df1c4
push str.glTexParameterfv
push 0x6df420
push str.glBindTexture
push 0x6df244
push str.glShadeModel
push 0x6df334
push str.glNormal3d
push 0x6df214
push str.glFogf
push 0x6df1b8
push str.glFogfv
push 0x6df3d8
push str.glColorMaterial
push 0x6df17c
push str.glMaterialf
push 0x6df3f8
push str.glMaterialfv
push 0x6df3c4
push str.glLightModelf
push 0x6df350
push str.glLightModelfv
push 0x6df198
push str.glLightf
push 0x6df1c0
push str.glLightfv
push 0x6df44c
push str.glDisable
push 0x6df190
push str.glEnable
push 0x6df2fc
push str.glIndexf
push 0x6df1d8
push str.glColor4d
push 0x6df310
push str.glClearIndex
push 0x6df230
push str.glClearStencil
push 0x6df2b0
push str.glClearDepth
push 0x6df1cc
push str.glClearColor
push 0x6df2e4
push str.glClearAccum
push 0x6df16c
push str.glClear
push 0x6df3ac
push str.glAccum
push 0x6df374
push str.glFlush
push 0x6df418
push str.glFinish
push 0x6df224
push str.glStencilOp
push 0x6df448
push str.glStencilFunc
push 0x6df1bc
push str.glDepthFunc
push 0x6df1b0
push str.glBlendFunc
push 0x6df3dc
push str.glAlphaFunc
push 0x6df3fc
push str.glHint
push 0x6df1e0
push str.glScissor
push 0x6df3a4
push str.glEdgeFlag
push 0x6df41c
push str.glPolygonStipple
push 0x6df178
push str.glLineStipple
push 0x6df184
push str.glPolygonMode
push 0x6df1dc
push str.glClipPlane
push 0x6df248
push str.glFrontFace
push 0x6df240
push str.glRectd
push 0x6df24c
push str.glVertex3d
push 0x6df410
push str.glEnd
push 0x6df2ec
push str.glBegin
push 0x6df188
push str.glMultMatrixd
push 0x6df22c
push str.glLoadMatrixd
push 0x6df454
push str.glPopMatrix
push 0x6df3b0
push str.glPushMatrix
push 0x6df1c8
push str.glViewport
push 0x6df3bc
push str.glOrtho
push 0x6df348
push str.glFrustum
push 0x6df298
push str.glScaled
push 0x6df438
push str.glRotated
push 0x6df2b8
push str.glTranslated
push 0x6df3b4
push str.glMatrixMode
push 0x6df2d8
push str.glLoadIdentity
push 0x6df304
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x6df478
call fcn.004954b0
add esp, 0x384
test al, al
je 0x495aea
push str.gluUnProject
push 0x6df27c
push str.gluProject
push 0x6df380
push str.gluPickMatrix
push 0x6df3b8
push str.gluDeleteQuadric
push 0x6df45c
push str.gluPartialDisk
push 0x6df37c
push str.gluDisk
push 0x6df314
push str.gluCylinder
push 0x6df32c
push str.gluSphere
push 0x6df3e4
push str.gluNewQuadric
push 0x6df3cc
push str.gluQuadricTexture
push 0x6df330
push str.gluQuadricOrientation
push 0x6df2dc
push str.gluQuadricNormals
push 0x6df450
push str.gluQuadricDrawStyle
push 0x6df43c
push str.gluLookAt
push 0x6df294
push str.gluBuild2DMipmaps
push 0x6df274
push str.gluPerspective
push 0x6df1f0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x6df47c
call fcn.004954b0
add esp, 0x8c
test al, al
je 0x495aea
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x694ef0
xor esi, esi
call fcn.00495b50
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret