Function at 0x515f50
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 0xa118f4
push str.glGetIntegerv
push 0xa116c4
push str.glPassThrough
push 0xa11898
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0xa117b8
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0xa117e4
push str.glRenderMode
push 0xa118b8
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0xa11670
push str.glPopName
push 0xa117d0
not ecx
push str.glPushName
dec ecx
push 0xa11664
push str.glInitNames
push 0xa11690
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0xa11934
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x9d2744]
push 0xa11708
push str.glEvalMesh2
push 0xa1188c
mov dword [edx + 4], eax
mov eax, dword [0x9d2748]
push str.glMapGrid2d
push 0xa118f8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x9d274c]
push 0xa117bc
push str.glMap2d
push 0xa1185c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x9d26c4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0xa11888
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x9d26c8]
push 0xa118f0
push str.glEvalCoord1d
push 0xa117ac
mov dword [ecx + 4], eax
mov al, byte [0x9d26ca]
push str.glMap1d
push 0xa11860
push str.glGetFloatv
mov word [ecx + 8], dx
push 0xa11798
push str.glPointSize
push 0xa11930
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0xa118e0
push str.glPushAttrib
push 0xa116c0
push str.glPopAttrib
push 0xa11950
push str.wglUseFontOutlinesA
push 0xa11818
push str.wglDeleteContext
push 0xa11854
push str.wglMakeCurrent
push 0xa11904
push str.wglCreateContext
push 0xa116a4
push str.glGetError
push 0xa11684
push str.glGetBooleanv
push 0xa118c0
push str.glVertex3dv
push 0xa1182c
push str.glNormal3dv
push 0xa11850
push str.glPixelZoom
push 0xa11868
push str.glPixelStorei
push 0xa117a4
push str.glCopyPixels
push 0xa1167c
push str.glBitmap
push 0xa1178c
push str.glRasterPos2d
push 0xa11858
push str.glCallLists
push 0xa118d0
push str.glListBase
push 0xa1170c
push str.glDeleteLists
push 0xa11724
push str.glIsList
push 0xa11948
push str.glCallList
push 0xa1172c
push str.glGenLists
push 0xa11768
push str.glEndList
push 0xa1179c
push str.glNewList
push 0xa11658
push str.glTexGend
push 0xa11780
push str.glTexGendv
push 0xa118c4
push str.glGenTextures
push 0xa11694
push str.glTexEnvf
push 0xa11790
push str.glTexEnvfv
push 0xa118fc
push str.glTexCoord1d
push 0xa11830
push str.glTexCoord2d
push 0xa11828
push str.glTexImage2D
push 0xa11718
push str.glTexImage1D
push 0xa11710
push str.glTexParameterf
push 0xa116b4
push str.glTexParameterfv
push 0xa11910
push str.glBindTexture
push 0xa11734
push str.glShadeModel
push 0xa11824
push str.glNormal3d
push 0xa11704
push str.glFogf
push 0xa116a8
push str.glFogfv
push 0xa118c8
push str.glColorMaterial
push 0xa1166c
push str.glMaterialf
push 0xa118e8
push str.glMaterialfv
push 0xa118b4
push str.glLightModelf
push 0xa11840
push str.glLightModelfv
push 0xa11688
push str.glLightf
push 0xa116b0
push str.glLightfv
push 0xa1193c
push str.glDisable
push 0xa11680
push str.glEnable
push 0xa117ec
push str.glIndexf
push 0xa116c8
push str.glColor4d
push 0xa11800
push str.glClearIndex
push 0xa11720
push str.glClearStencil
push 0xa117a0
push str.glClearDepth
push 0xa116bc
push str.glClearColor
push 0xa117d4
push str.glClearAccum
push 0xa1165c
push str.glClear
push 0xa1189c
push str.glAccum
push 0xa11864
push str.glFlush
push 0xa11908
push str.glFinish
push 0xa11714
push str.glStencilOp
push 0xa11938
push str.glStencilFunc
push 0xa116ac
push str.glDepthFunc
push 0xa116a0
push str.glBlendFunc
push 0xa118cc
push str.glAlphaFunc
push 0xa118ec
push str.glHint
push 0xa116d0
push str.glScissor
push 0xa11894
push str.glEdgeFlag
push 0xa1190c
push str.glPolygonStipple
push 0xa11668
push str.glLineStipple
push 0xa11674
push str.glPolygonMode
push 0xa116cc
push str.glClipPlane
push 0xa11738
push str.glFrontFace
push 0xa11730
push str.glRectd
push 0xa1173c
push str.glVertex3d
push 0xa11900
push str.glEnd
push 0xa117dc
push str.glBegin
push 0xa11678
push str.glMultMatrixd
push 0xa1171c
push str.glLoadMatrixd
push 0xa11944
push str.glPopMatrix
push 0xa118a0
push str.glPushMatrix
push 0xa116b8
push str.glViewport
push 0xa118ac
push str.glOrtho
push 0xa11838
push str.glFrustum
push 0xa11788
push str.glScaled
push 0xa11928
push str.glRotated
push 0xa117a8
push str.glTranslated
push 0xa118a4
push str.glMatrixMode
push 0xa117c8
push str.glLoadIdentity
push 0xa117f4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0xa11968
call fcn.00515ee0
add esp, 0x384
test al, al
je 0x51651a
push str.gluUnProject
push 0xa1176c
push str.gluProject
push 0xa11870
push str.gluPickMatrix
push 0xa118a8
push str.gluDeleteQuadric
push 0xa1194c
push str.gluPartialDisk
push 0xa1186c
push str.gluDisk
push 0xa11804
push str.gluCylinder
push 0xa1181c
push str.gluSphere
push 0xa118d4
push str.gluNewQuadric
push 0xa118bc
push str.gluQuadricTexture
push 0xa11820
push str.gluQuadricOrientation
push 0xa117cc
push str.gluQuadricNormals
push 0xa11940
push str.gluQuadricDrawStyle
push 0xa1192c
push str.gluLookAt
push 0xa11784
push str.gluBuild2DMipmaps
push 0xa11764
push str.gluPerspective
push 0xa116e0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0xa1196c
call fcn.00515ee0
add esp, 0x8c
test al, al
je 0x51651a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x9d20b0
xor esi, esi
call fcn.00516580
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret