Function at 0x4a12f0
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 0x5d5724
push str.glGetIntegerv
push 0x5d54f4
push str.glPassThrough
push 0x5d56c8
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x5d55e8
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x5d5614
push str.glRenderMode
push 0x5d56e8
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x5d54a0
push str.glPopName
push 0x5d5600
not ecx
push str.glPushName
dec ecx
push 0x5d5494
push str.glInitNames
push 0x5d54c0
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x5d5764
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x5a99a4]
push 0x5d5538
push str.glEvalMesh2
push 0x5d56bc
mov dword [edx + 4], eax
mov eax, dword [0x5a99a8]
push str.glMapGrid2d
push 0x5d5728
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x5a99ac]
push 0x5d55ec
push str.glMap2d
push 0x5d568c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x5a9924]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x5d56b8
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x5a9928]
push 0x5d5720
push str.glEvalCoord1d
push 0x5d55dc
mov dword [ecx + 4], eax
mov al, byte [0x5a992a]
push str.glMap1d
push 0x5d5690
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x5d55c8
push str.glPointSize
push 0x5d5760
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x5d5710
push str.glPushAttrib
push 0x5d54f0
push str.glPopAttrib
push 0x5d5780
push str.wglUseFontOutlinesA
push 0x5d5648
push str.wglDeleteContext
push 0x5d5684
push str.wglMakeCurrent
push 0x5d5734
push str.wglCreateContext
push 0x5d54d4
push str.glGetError
push 0x5d54b4
push str.glGetBooleanv
push 0x5d56f0
push str.glVertex3dv
push 0x5d565c
push str.glNormal3dv
push 0x5d5680
push str.glPixelZoom
push 0x5d5698
push str.glPixelStorei
push 0x5d55d4
push str.glCopyPixels
push 0x5d54ac
push str.glBitmap
push 0x5d55bc
push str.glRasterPos2d
push 0x5d5688
push str.glCallLists
push 0x5d5700
push str.glListBase
push 0x5d553c
push str.glDeleteLists
push 0x5d5554
push str.glIsList
push 0x5d5778
push str.glCallList
push 0x5d555c
push str.glGenLists
push 0x5d5598
push str.glEndList
push 0x5d55cc
push str.glNewList
push 0x5d5488
push str.glTexGend
push 0x5d55b0
push str.glTexGendv
push 0x5d56f4
push str.glGenTextures
push 0x5d54c4
push str.glTexEnvf
push 0x5d55c0
push str.glTexEnvfv
push 0x5d572c
push str.glTexCoord1d
push 0x5d5660
push str.glTexCoord2d
push 0x5d5658
push str.glTexImage2D
push 0x5d5548
push str.glTexImage1D
push 0x5d5540
push str.glTexParameterf
push 0x5d54e4
push str.glTexParameterfv
push 0x5d5740
push str.glBindTexture
push 0x5d5564
push str.glShadeModel
push 0x5d5654
push str.glNormal3d
push 0x5d5534
push str.glFogf
push 0x5d54d8
push str.glFogfv
push 0x5d56f8
push str.glColorMaterial
push 0x5d549c
push str.glMaterialf
push 0x5d5718
push str.glMaterialfv
push 0x5d56e4
push str.glLightModelf
push 0x5d5670
push str.glLightModelfv
push 0x5d54b8
push str.glLightf
push 0x5d54e0
push str.glLightfv
push 0x5d576c
push str.glDisable
push 0x5d54b0
push str.glEnable
push 0x5d561c
push str.glIndexf
push 0x5d54f8
push str.glColor4d
push 0x5d5630
push str.glClearIndex
push 0x5d5550
push str.glClearStencil
push 0x5d55d0
push str.glClearDepth
push 0x5d54ec
push str.glClearColor
push 0x5d5604
push str.glClearAccum
push 0x5d548c
push str.glClear
push 0x5d56cc
push str.glAccum
push 0x5d5694
push str.glFlush
push 0x5d5738
push str.glFinish
push 0x5d5544
push str.glStencilOp
push 0x5d5768
push str.glStencilFunc
push 0x5d54dc
push str.glDepthFunc
push 0x5d54d0
push str.glBlendFunc
push 0x5d56fc
push str.glAlphaFunc
push 0x5d571c
push str.glHint
push 0x5d5500
push str.glScissor
push 0x5d56c4
push str.glEdgeFlag
push 0x5d573c
push str.glPolygonStipple
push 0x5d5498
push str.glLineStipple
push 0x5d54a4
push str.glPolygonMode
push 0x5d54fc
push str.glClipPlane
push 0x5d5568
push str.glFrontFace
push 0x5d5560
push str.glRectd
push 0x5d556c
push str.glVertex3d
push 0x5d5730
push str.glEnd
push 0x5d560c
push str.glBegin
push 0x5d54a8
push str.glMultMatrixd
push 0x5d554c
push str.glLoadMatrixd
push 0x5d5774
push str.glPopMatrix
push 0x5d56d0
push str.glPushMatrix
push 0x5d54e8
push str.glViewport
push 0x5d56dc
push str.glOrtho
push 0x5d5668
push str.glFrustum
push 0x5d55b8
push str.glScaled
push 0x5d5758
push str.glRotated
push 0x5d55d8
push str.glTranslated
push 0x5d56d4
push str.glMatrixMode
push 0x5d55f8
push str.glLoadIdentity
push 0x5d5624
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x5d5798
call fcn.004a1280
add esp, 0x384
test al, al
je 0x4a18ba
push str.gluUnProject
push 0x5d559c
push str.gluProject
push 0x5d56a0
push str.gluPickMatrix
push 0x5d56d8
push str.gluDeleteQuadric
push 0x5d577c
push str.gluPartialDisk
push 0x5d569c
push str.gluDisk
push 0x5d5634
push str.gluCylinder
push 0x5d564c
push str.gluSphere
push 0x5d5704
push str.gluNewQuadric
push 0x5d56ec
push str.gluQuadricTexture
push 0x5d5650
push str.gluQuadricOrientation
push 0x5d55fc
push str.gluQuadricNormals
push 0x5d5770
push str.gluQuadricDrawStyle
push 0x5d575c
push str.gluLookAt
push 0x5d55b4
push str.gluBuild2DMipmaps
push 0x5d5594
push str.gluPerspective
push 0x5d5510
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x5d579c
call fcn.004a1280
add esp, 0x8c
test al, al
je 0x4a18ba
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x5a9310
xor esi, esi
call fcn.004a1920
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret