Function at 0x10078610
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 0x1038d1dc
push str.glGetIntegerv
push 0x1038cfac
push str.glPassThrough
push 0x1038d180
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x1038d0a0
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x1038d0cc
push str.glRenderMode
push 0x1038d1a0
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x1038cf58
push str.glPopName
push 0x1038d0b8
not ecx
push str.glPushName
dec ecx
push 0x1038cf4c
push str.glInitNames
push 0x1038cf78
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x1038d21c
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x10362d64]
push 0x1038cff0
push str.glEvalMesh2
push 0x1038d174
mov dword [edx + 4], eax
mov eax, dword [0x10362d68]
push str.glMapGrid2d
push 0x1038d1e0
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x10362d6c]
push 0x1038d0a4
push str.glMap2d
push 0x1038d144
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x10362ce4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x1038d170
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x10362ce8]
push 0x1038d1d8
push str.glEvalCoord1d
push 0x1038d094
mov dword [ecx + 4], eax
mov al, byte [0x10362cea]
push str.glMap1d
push 0x1038d148
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x1038d080
push str.glPointSize
push 0x1038d218
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x1038d1c8
push str.glPushAttrib
push 0x1038cfa8
push str.glPopAttrib
push 0x1038d238
push str.wglUseFontOutlinesA
push 0x1038d100
push str.wglDeleteContext
push 0x1038d13c
push str.wglMakeCurrent
push 0x1038d1ec
push str.wglCreateContext
push 0x1038cf8c
push str.glGetError
push 0x1038cf6c
push str.glGetBooleanv
push 0x1038d1a8
push str.glVertex3dv
push 0x1038d114
push str.glNormal3dv
push 0x1038d138
push str.glPixelZoom
push 0x1038d150
push str.glPixelStorei
push 0x1038d08c
push str.glCopyPixels
push 0x1038cf64
push str.glBitmap
push 0x1038d074
push str.glRasterPos2d
push 0x1038d140
push str.glCallLists
push 0x1038d1b8
push str.glListBase
push 0x1038cff4
push str.glDeleteLists
push 0x1038d00c
push str.glIsList
push 0x1038d230
push str.glCallList
push 0x1038d014
push str.glGenLists
push 0x1038d050
push str.glEndList
push 0x1038d084
push str.glNewList
push 0x1038cf40
push str.glTexGend
push 0x1038d068
push str.glTexGendv
push 0x1038d1ac
push str.glGenTextures
push 0x1038cf7c
push str.glTexEnvf
push 0x1038d078
push str.glTexEnvfv
push 0x1038d1e4
push str.glTexCoord1d
push 0x1038d118
push str.glTexCoord2d
push 0x1038d110
push str.glTexImage2D
push 0x1038d000
push str.glTexImage1D
push 0x1038cff8
push str.glTexParameterf
push 0x1038cf9c
push str.glTexParameterfv
push 0x1038d1f8
push str.glBindTexture
push 0x1038d01c
push str.glShadeModel
push 0x1038d10c
push str.glNormal3d
push 0x1038cfec
push str.glFogf
push 0x1038cf90
push str.glFogfv
push 0x1038d1b0
push str.glColorMaterial
push 0x1038cf54
push str.glMaterialf
push 0x1038d1d0
push str.glMaterialfv
push 0x1038d19c
push str.glLightModelf
push 0x1038d128
push str.glLightModelfv
push 0x1038cf70
push str.glLightf
push 0x1038cf98
push str.glLightfv
push 0x1038d224
push str.glDisable
push 0x1038cf68
push str.glEnable
push 0x1038d0d4
push str.glIndexf
push 0x1038cfb0
push str.glColor4d
push 0x1038d0e8
push str.glClearIndex
push 0x1038d008
push str.glClearStencil
push 0x1038d088
push str.glClearDepth
push 0x1038cfa4
push str.glClearColor
push 0x1038d0bc
push str.glClearAccum
push 0x1038cf44
push str.glClear
push 0x1038d184
push str.glAccum
push 0x1038d14c
push str.glFlush
push 0x1038d1f0
push str.glFinish
push 0x1038cffc
push str.glStencilOp
push 0x1038d220
push str.glStencilFunc
push 0x1038cf94
push str.glDepthFunc
push 0x1038cf88
push str.glBlendFunc
push 0x1038d1b4
push str.glAlphaFunc
push 0x1038d1d4
push str.glHint
push 0x1038cfb8
push str.glScissor
push 0x1038d17c
push str.glEdgeFlag
push 0x1038d1f4
push str.glPolygonStipple
push 0x1038cf50
push str.glLineStipple
push 0x1038cf5c
push str.glPolygonMode
push 0x1038cfb4
push str.glClipPlane
push 0x1038d020
push str.glFrontFace
push 0x1038d018
push str.glRectd
push 0x1038d024
push str.glVertex3d
push 0x1038d1e8
push str.glEnd
push 0x1038d0c4
push str.glBegin
push 0x1038cf60
push str.glMultMatrixd
push 0x1038d004
push str.glLoadMatrixd
push 0x1038d22c
push str.glPopMatrix
push 0x1038d188
push str.glPushMatrix
push 0x1038cfa0
push str.glViewport
push 0x1038d194
push str.glOrtho
push 0x1038d120
push str.glFrustum
push 0x1038d070
push str.glScaled
push 0x1038d210
push str.glRotated
push 0x1038d090
push str.glTranslated
push 0x1038d18c
push str.glMatrixMode
push 0x1038d0b0
push str.glLoadIdentity
push 0x1038d0dc
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x1038d250
call fcn.100785a0
add esp, 0x384
test al, al
je 0x10078bda
push str.gluUnProject
push 0x1038d054
push str.gluProject
push 0x1038d158
push str.gluPickMatrix
push 0x1038d190
push str.gluDeleteQuadric
push 0x1038d234
push str.gluPartialDisk
push 0x1038d154
push str.gluDisk
push 0x1038d0ec
push str.gluCylinder
push 0x1038d104
push str.gluSphere
push 0x1038d1bc
push str.gluNewQuadric
push 0x1038d1a4
push str.gluQuadricTexture
push 0x1038d108
push str.gluQuadricOrientation
push 0x1038d0b4
push str.gluQuadricNormals
push 0x1038d228
push str.gluQuadricDrawStyle
push 0x1038d214
push str.gluLookAt
push 0x1038d06c
push str.gluBuild2DMipmaps
push 0x1038d04c
push str.gluPerspective
push 0x1038cfc8
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x1038d254
call fcn.100785a0
add esp, 0x8c
test al, al
je 0x10078bda
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x103626d0
xor esi, esi
call fcn.10078c40
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret