Function at 0x506130
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 0x723cac
push str.glGetIntegerv
push 0x723a7c
push str.glPassThrough
push 0x723c50
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x723b70
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x723b9c
push str.glRenderMode
push 0x723c70
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x723a28
push str.glPopName
push 0x723b88
not ecx
push str.glPushName
dec ecx
push 0x723a1c
push str.glInitNames
push 0x723a48
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x723cec
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x6dd8fc]
push 0x723ac0
push str.glEvalMesh2
push 0x723c44
mov dword [edx + 4], eax
mov eax, dword [0x6dd900]
push str.glMapGrid2d
push 0x723cb0
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x6dd904]
push 0x723b74
push str.glMap2d
push 0x723c14
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x6dd87c]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x723c40
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x6dd880]
push 0x723ca8
push str.glEvalCoord1d
push 0x723b64
mov dword [ecx + 4], eax
mov al, byte [0x6dd882]
push str.glMap1d
push 0x723c18
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x723b50
push str.glPointSize
push 0x723ce8
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x723c98
push str.glPushAttrib
push 0x723a78
push str.glPopAttrib
push 0x723d08
push str.wglUseFontOutlinesA
push 0x723bd0
push str.wglDeleteContext
push 0x723c0c
push str.wglMakeCurrent
push 0x723cbc
push str.wglCreateContext
push 0x723a5c
push str.glGetError
push 0x723a3c
push str.glGetBooleanv
push 0x723c78
push str.glVertex3dv
push 0x723be4
push str.glNormal3dv
push 0x723c08
push str.glPixelZoom
push 0x723c20
push str.glPixelStorei
push 0x723b5c
push str.glCopyPixels
push 0x723a34
push str.glBitmap
push 0x723b44
push str.glRasterPos2d
push 0x723c10
push str.glCallLists
push 0x723c88
push str.glListBase
push 0x723ac4
push str.glDeleteLists
push 0x723adc
push str.glIsList
push 0x723d00
push str.glCallList
push 0x723ae4
push str.glGenLists
push 0x723b20
push str.glEndList
push 0x723b54
push str.glNewList
push 0x723a10
push str.glTexGend
push 0x723b38
push str.glTexGendv
push 0x723c7c
push str.glGenTextures
push 0x723a4c
push str.glTexEnvf
push 0x723b48
push str.glTexEnvfv
push 0x723cb4
push str.glTexCoord1d
push 0x723be8
push str.glTexCoord2d
push 0x723be0
push str.glTexImage2D
push 0x723ad0
push str.glTexImage1D
push 0x723ac8
push str.glTexParameterf
push 0x723a6c
push str.glTexParameterfv
push 0x723cc8
push str.glBindTexture
push 0x723aec
push str.glShadeModel
push 0x723bdc
push str.glNormal3d
push 0x723abc
push str.glFogf
push 0x723a60
push str.glFogfv
push 0x723c80
push str.glColorMaterial
push 0x723a24
push str.glMaterialf
push 0x723ca0
push str.glMaterialfv
push 0x723c6c
push str.glLightModelf
push 0x723bf8
push str.glLightModelfv
push 0x723a40
push str.glLightf
push 0x723a68
push str.glLightfv
push 0x723cf4
push str.glDisable
push 0x723a38
push str.glEnable
push 0x723ba4
push str.glIndexf
push 0x723a80
push str.glColor4d
push 0x723bb8
push str.glClearIndex
push 0x723ad8
push str.glClearStencil
push 0x723b58
push str.glClearDepth
push 0x723a74
push str.glClearColor
push 0x723b8c
push str.glClearAccum
push 0x723a14
push str.glClear
push 0x723c54
push str.glAccum
push 0x723c1c
push str.glFlush
push 0x723cc0
push str.glFinish
push 0x723acc
push str.glStencilOp
push 0x723cf0
push str.glStencilFunc
push 0x723a64
push str.glDepthFunc
push 0x723a58
push str.glBlendFunc
push 0x723c84
push str.glAlphaFunc
push 0x723ca4
push str.glHint
push 0x723a88
push str.glScissor
push 0x723c4c
push str.glEdgeFlag
push 0x723cc4
push str.glPolygonStipple
push 0x723a20
push str.glLineStipple
push 0x723a2c
push str.glPolygonMode
push 0x723a84
push str.glClipPlane
push 0x723af0
push str.glFrontFace
push 0x723ae8
push str.glRectd
push 0x723af4
push str.glVertex3d
push 0x723cb8
push str.glEnd
push 0x723b94
push str.glBegin
push 0x723a30
push str.glMultMatrixd
push 0x723ad4
push str.glLoadMatrixd
push 0x723cfc
push str.glPopMatrix
push 0x723c58
push str.glPushMatrix
push 0x723a70
push str.glViewport
push 0x723c64
push str.glOrtho
push 0x723bf0
push str.glFrustum
push 0x723b40
push str.glScaled
push 0x723ce0
push str.glRotated
push 0x723b60
push str.glTranslated
push 0x723c5c
push str.glMatrixMode
push 0x723b80
push str.glLoadIdentity
push 0x723bac
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x723d20
call fcn.005060c0
add esp, 0x384
test al, al
je 0x5066fa
push str.gluUnProject
push 0x723b24
push str.gluProject
push 0x723c28
push str.gluPickMatrix
push 0x723c60
push str.gluDeleteQuadric
push 0x723d04
push str.gluPartialDisk
push 0x723c24
push str.gluDisk
push 0x723bbc
push str.gluCylinder
push 0x723bd4
push str.gluSphere
push 0x723c8c
push str.gluNewQuadric
push 0x723c74
push str.gluQuadricTexture
push 0x723bd8
push str.gluQuadricOrientation
push 0x723b84
push str.gluQuadricNormals
push 0x723cf8
push str.gluQuadricDrawStyle
push 0x723ce4
push str.gluLookAt
push 0x723b3c
push str.gluBuild2DMipmaps
push 0x723b1c
push str.gluPerspective
push 0x723a98
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x723d24
call fcn.005060c0
add esp, 0x8c
test al, al
je 0x5066fa
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x6dd268
xor esi, esi
call fcn.00506760
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret