Function at 0x4c6cf0
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 0x6d587c
push str.glGetIntegerv
push 0x6d564c
push str.glPassThrough
push 0x6d5820
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x6d5740
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x6d576c
push str.glRenderMode
push 0x6d5840
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x6d55f8
push str.glPopName
push 0x6d5758
not ecx
push str.glPushName
dec ecx
push 0x6d55ec
push str.glInitNames
push 0x6d5618
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x6d58bc
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x5bba94]
push 0x6d5690
push str.glEvalMesh2
push 0x6d5814
mov dword [edx + 4], eax
mov eax, dword [0x5bba98]
push str.glMapGrid2d
push 0x6d5880
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x5bba9c]
push 0x6d5744
push str.glMap2d
push 0x6d57e4
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x5bba14]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x6d5810
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x5bba18]
push 0x6d5878
push str.glEvalCoord1d
push 0x6d5734
mov dword [ecx + 4], eax
mov al, byte [0x5bba1a]
push str.glMap1d
push 0x6d57e8
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x6d5720
push str.glPointSize
push 0x6d58b8
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x6d5868
push str.glPushAttrib
push 0x6d5648
push str.glPopAttrib
push 0x6d58d8
push str.wglUseFontOutlinesA
push 0x6d57a0
push str.wglDeleteContext
push 0x6d57dc
push str.wglMakeCurrent
push 0x6d588c
push str.wglCreateContext
push 0x6d562c
push str.glGetError
push 0x6d560c
push str.glGetBooleanv
push 0x6d5848
push str.glVertex3dv
push 0x6d57b4
push str.glNormal3dv
push 0x6d57d8
push str.glPixelZoom
push 0x6d57f0
push str.glPixelStorei
push 0x6d572c
push str.glCopyPixels
push 0x6d5604
push str.glBitmap
push 0x6d5714
push str.glRasterPos2d
push 0x6d57e0
push str.glCallLists
push 0x6d5858
push str.glListBase
push 0x6d5694
push str.glDeleteLists
push 0x6d56ac
push str.glIsList
push 0x6d58d0
push str.glCallList
push 0x6d56b4
push str.glGenLists
push 0x6d56f0
push str.glEndList
push 0x6d5724
push str.glNewList
push 0x6d55e0
push str.glTexGend
push 0x6d5708
push str.glTexGendv
push 0x6d584c
push str.glGenTextures
push 0x6d561c
push str.glTexEnvf
push 0x6d5718
push str.glTexEnvfv
push 0x6d5884
push str.glTexCoord1d
push 0x6d57b8
push str.glTexCoord2d
push 0x6d57b0
push str.glTexImage2D
push 0x6d56a0
push str.glTexImage1D
push 0x6d5698
push str.glTexParameterf
push 0x6d563c
push str.glTexParameterfv
push 0x6d5898
push str.glBindTexture
push 0x6d56bc
push str.glShadeModel
push 0x6d57ac
push str.glNormal3d
push 0x6d568c
push str.glFogf
push 0x6d5630
push str.glFogfv
push 0x6d5850
push str.glColorMaterial
push 0x6d55f4
push str.glMaterialf
push 0x6d5870
push str.glMaterialfv
push 0x6d583c
push str.glLightModelf
push 0x6d57c8
push str.glLightModelfv
push 0x6d5610
push str.glLightf
push 0x6d5638
push str.glLightfv
push 0x6d58c4
push str.glDisable
push 0x6d5608
push str.glEnable
push 0x6d5774
push str.glIndexf
push 0x6d5650
push str.glColor4d
push 0x6d5788
push str.glClearIndex
push 0x6d56a8
push str.glClearStencil
push 0x6d5728
push str.glClearDepth
push 0x6d5644
push str.glClearColor
push 0x6d575c
push str.glClearAccum
push 0x6d55e4
push str.glClear
push 0x6d5824
push str.glAccum
push 0x6d57ec
push str.glFlush
push 0x6d5890
push str.glFinish
push 0x6d569c
push str.glStencilOp
push 0x6d58c0
push str.glStencilFunc
push 0x6d5634
push str.glDepthFunc
push 0x6d5628
push str.glBlendFunc
push 0x6d5854
push str.glAlphaFunc
push 0x6d5874
push str.glHint
push 0x6d5658
push str.glScissor
push 0x6d581c
push str.glEdgeFlag
push 0x6d5894
push str.glPolygonStipple
push 0x6d55f0
push str.glLineStipple
push 0x6d55fc
push str.glPolygonMode
push 0x6d5654
push str.glClipPlane
push 0x6d56c0
push str.glFrontFace
push 0x6d56b8
push str.glRectd
push 0x6d56c4
push str.glVertex3d
push 0x6d5888
push str.glEnd
push 0x6d5764
push str.glBegin
push 0x6d5600
push str.glMultMatrixd
push 0x6d56a4
push str.glLoadMatrixd
push 0x6d58cc
push str.glPopMatrix
push 0x6d5828
push str.glPushMatrix
push 0x6d5640
push str.glViewport
push 0x6d5834
push str.glOrtho
push 0x6d57c0
push str.glFrustum
push 0x6d5710
push str.glScaled
push 0x6d58b0
push str.glRotated
push 0x6d5730
push str.glTranslated
push 0x6d582c
push str.glMatrixMode
push 0x6d5750
push str.glLoadIdentity
push 0x6d577c
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x6d58f0
call fcn.004c6c80
add esp, 0x384
test al, al
je 0x4c72ba
push str.gluUnProject
push 0x6d56f4
push str.gluProject
push 0x6d57f8
push str.gluPickMatrix
push 0x6d5830
push str.gluDeleteQuadric
push 0x6d58d4
push str.gluPartialDisk
push 0x6d57f4
push str.gluDisk
push 0x6d578c
push str.gluCylinder
push 0x6d57a4
push str.gluSphere
push 0x6d585c
push str.gluNewQuadric
push 0x6d5844
push str.gluQuadricTexture
push 0x6d57a8
push str.gluQuadricOrientation
push 0x6d5754
push str.gluQuadricNormals
push 0x6d58c8
push str.gluQuadricDrawStyle
push 0x6d58b4
push str.gluLookAt
push 0x6d570c
push str.gluBuild2DMipmaps
push 0x6d56ec
push str.gluPerspective
push 0x6d5668
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x6d58f4
call fcn.004c6c80
add esp, 0x8c
test al, al
je 0x4c72ba
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x5bb400
xor esi, esi
call fcn.004c7320
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret