Function at 0x462920
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 0x4dccb4
push str.glGetIntegerv
push 0x4dca84
push str.glPassThrough
push 0x4dcc58
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x4dcb78
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x4dcba4
push str.glRenderMode
push 0x4dcc78
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x4dca30
push str.glPopName
push 0x4dcb90
not ecx
push str.glPushName
dec ecx
push 0x4dca24
push str.glInitNames
push 0x4dca50
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x4dccf4
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x4b3b04]
push 0x4dcac8
push str.glEvalMesh2
push 0x4dcc4c
mov dword [edx + 4], eax
mov eax, dword [0x4b3b08]
push str.glMapGrid2d
push 0x4dccb8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x4b3b0c]
push 0x4dcb7c
push str.glMap2d
push 0x4dcc1c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x4b3a84]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x4dcc48
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x4b3a88]
push 0x4dccb0
push str.glEvalCoord1d
push 0x4dcb6c
mov dword [ecx + 4], eax
mov al, byte [0x4b3a8a]
push str.glMap1d
push 0x4dcc20
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x4dcb58
push str.glPointSize
push 0x4dccf0
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x4dcca0
push str.glPushAttrib
push 0x4dca80
push str.glPopAttrib
push 0x4dcd10
push str.wglUseFontOutlinesA
push 0x4dcbd8
push str.wglDeleteContext
push 0x4dcc14
push str.wglMakeCurrent
push 0x4dccc4
push str.wglCreateContext
push 0x4dca64
push str.glGetError
push 0x4dca44
push str.glGetBooleanv
push 0x4dcc80
push str.glVertex3dv
push 0x4dcbec
push str.glNormal3dv
push 0x4dcc10
push str.glPixelZoom
push 0x4dcc28
push str.glPixelStorei
push 0x4dcb64
push str.glCopyPixels
push 0x4dca3c
push str.glBitmap
push 0x4dcb4c
push str.glRasterPos2d
push 0x4dcc18
push str.glCallLists
push 0x4dcc90
push str.glListBase
push 0x4dcacc
push str.glDeleteLists
push 0x4dcae4
push str.glIsList
push 0x4dcd08
push str.glCallList
push 0x4dcaec
push str.glGenLists
push 0x4dcb28
push str.glEndList
push 0x4dcb5c
push str.glNewList
push 0x4dca18
push str.glTexGend
push 0x4dcb40
push str.glTexGendv
push 0x4dcc84
push str.glGenTextures
push 0x4dca54
push str.glTexEnvf
push 0x4dcb50
push str.glTexEnvfv
push 0x4dccbc
push str.glTexCoord1d
push 0x4dcbf0
push str.glTexCoord2d
push 0x4dcbe8
push str.glTexImage2D
push 0x4dcad8
push str.glTexImage1D
push 0x4dcad0
push str.glTexParameterf
push 0x4dca74
push str.glTexParameterfv
push 0x4dccd0
push str.glBindTexture
push 0x4dcaf4
push str.glShadeModel
push 0x4dcbe4
push str.glNormal3d
push 0x4dcac4
push str.glFogf
push 0x4dca68
push str.glFogfv
push 0x4dcc88
push str.glColorMaterial
push 0x4dca2c
push str.glMaterialf
push 0x4dcca8
push str.glMaterialfv
push 0x4dcc74
push str.glLightModelf
push 0x4dcc00
push str.glLightModelfv
push 0x4dca48
push str.glLightf
push 0x4dca70
push str.glLightfv
push 0x4dccfc
push str.glDisable
push 0x4dca40
push str.glEnable
push 0x4dcbac
push str.glIndexf
push 0x4dca88
push str.glColor4d
push 0x4dcbc0
push str.glClearIndex
push 0x4dcae0
push str.glClearStencil
push 0x4dcb60
push str.glClearDepth
push 0x4dca7c
push str.glClearColor
push 0x4dcb94
push str.glClearAccum
push 0x4dca1c
push str.glClear
push 0x4dcc5c
push str.glAccum
push 0x4dcc24
push str.glFlush
push 0x4dccc8
push str.glFinish
push 0x4dcad4
push str.glStencilOp
push 0x4dccf8
push str.glStencilFunc
push 0x4dca6c
push str.glDepthFunc
push 0x4dca60
push str.glBlendFunc
push 0x4dcc8c
push str.glAlphaFunc
push 0x4dccac
push str.glHint
push 0x4dca90
push str.glScissor
push 0x4dcc54
push str.glEdgeFlag
push 0x4dcccc
push str.glPolygonStipple
push 0x4dca28
push str.glLineStipple
push 0x4dca34
push str.glPolygonMode
push 0x4dca8c
push str.glClipPlane
push 0x4dcaf8
push str.glFrontFace
push 0x4dcaf0
push str.glRectd
push 0x4dcafc
push str.glVertex3d
push 0x4dccc0
push str.glEnd
push 0x4dcb9c
push str.glBegin
push 0x4dca38
push str.glMultMatrixd
push 0x4dcadc
push str.glLoadMatrixd
push 0x4dcd04
push str.glPopMatrix
push 0x4dcc60
push str.glPushMatrix
push 0x4dca78
push str.glViewport
push 0x4dcc6c
push str.glOrtho
push 0x4dcbf8
push str.glFrustum
push 0x4dcb48
push str.glScaled
push 0x4dcce8
push str.glRotated
push 0x4dcb68
push str.glTranslated
push 0x4dcc64
push str.glMatrixMode
push 0x4dcb88
push str.glLoadIdentity
push 0x4dcbb4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x4dcd28
call fcn.004628b0
add esp, 0x384
test al, al
je 0x462eea
push str.gluUnProject
push 0x4dcb2c
push str.gluProject
push 0x4dcc30
push str.gluPickMatrix
push 0x4dcc68
push str.gluDeleteQuadric
push 0x4dcd0c
push str.gluPartialDisk
push 0x4dcc2c
push str.gluDisk
push 0x4dcbc4
push str.gluCylinder
push 0x4dcbdc
push str.gluSphere
push 0x4dcc94
push str.gluNewQuadric
push 0x4dcc7c
push str.gluQuadricTexture
push 0x4dcbe0
push str.gluQuadricOrientation
push 0x4dcb8c
push str.gluQuadricNormals
push 0x4dcd00
push str.gluQuadricDrawStyle
push 0x4dccec
push str.gluLookAt
push 0x4dcb44
push str.gluBuild2DMipmaps
push 0x4dcb24
push str.gluPerspective
push 0x4dcaa0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x4dcd2c
call fcn.004628b0
add esp, 0x8c
test al, al
je 0x462eea
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x4b3470
xor esi, esi
call fcn.00462f50
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret