Function at 0x49ac90
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 0x145bdac
push str.glGetIntegerv
push 0x145bb7c
push str.glPassThrough
push 0x145bd50
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x145bc70
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x145bc9c
push str.glRenderMode
push 0x145bd70
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x145bb28
push str.glPopName
push 0x145bc88
not ecx
push str.glPushName
dec ecx
push 0x145bb1c
push str.glInitNames
push 0x145bb48
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x145bdec
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x14293bc]
push 0x145bbc0
push str.glEvalMesh2
push 0x145bd44
mov dword [edx + 4], eax
mov eax, dword [0x14293c0]
push str.glMapGrid2d
push 0x145bdb0
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x14293c4]
push 0x145bc74
push str.glMap2d
push 0x145bd14
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x142933c]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x145bd40
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x1429340]
push 0x145bda8
push str.glEvalCoord1d
push 0x145bc64
mov dword [ecx + 4], eax
mov al, byte [0x1429342]
push str.glMap1d
push 0x145bd18
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x145bc50
push str.glPointSize
push 0x145bde8
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x145bd98
push str.glPushAttrib
push 0x145bb78
push str.glPopAttrib
push 0x145be08
push str.wglUseFontOutlinesA
push 0x145bcd0
push str.wglDeleteContext
push 0x145bd0c
push str.wglMakeCurrent
push 0x145bdbc
push str.wglCreateContext
push 0x145bb5c
push str.glGetError
push 0x145bb3c
push str.glGetBooleanv
push 0x145bd78
push str.glVertex3dv
push 0x145bce4
push str.glNormal3dv
push 0x145bd08
push str.glPixelZoom
push 0x145bd20
push str.glPixelStorei
push 0x145bc5c
push str.glCopyPixels
push 0x145bb34
push str.glBitmap
push 0x145bc44
push str.glRasterPos2d
push 0x145bd10
push str.glCallLists
push 0x145bd88
push str.glListBase
push 0x145bbc4
push str.glDeleteLists
push 0x145bbdc
push str.glIsList
push 0x145be00
push str.glCallList
push 0x145bbe4
push str.glGenLists
push 0x145bc20
push str.glEndList
push 0x145bc54
push str.glNewList
push 0x145bb10
push str.glTexGend
push 0x145bc38
push str.glTexGendv
push 0x145bd7c
push str.glGenTextures
push 0x145bb4c
push str.glTexEnvf
push 0x145bc48
push str.glTexEnvfv
push 0x145bdb4
push str.glTexCoord1d
push 0x145bce8
push str.glTexCoord2d
push 0x145bce0
push str.glTexImage2D
push 0x145bbd0
push str.glTexImage1D
push 0x145bbc8
push str.glTexParameterf
push 0x145bb6c
push str.glTexParameterfv
push 0x145bdc8
push str.glBindTexture
push 0x145bbec
push str.glShadeModel
push 0x145bcdc
push str.glNormal3d
push 0x145bbbc
push str.glFogf
push 0x145bb60
push str.glFogfv
push 0x145bd80
push str.glColorMaterial
push 0x145bb24
push str.glMaterialf
push 0x145bda0
push str.glMaterialfv
push 0x145bd6c
push str.glLightModelf
push 0x145bcf8
push str.glLightModelfv
push 0x145bb40
push str.glLightf
push 0x145bb68
push str.glLightfv
push 0x145bdf4
push str.glDisable
push 0x145bb38
push str.glEnable
push 0x145bca4
push str.glIndexf
push 0x145bb80
push str.glColor4d
push 0x145bcb8
push str.glClearIndex
push 0x145bbd8
push str.glClearStencil
push 0x145bc58
push str.glClearDepth
push 0x145bb74
push str.glClearColor
push 0x145bc8c
push str.glClearAccum
push 0x145bb14
push str.glClear
push 0x145bd54
push str.glAccum
push 0x145bd1c
push str.glFlush
push 0x145bdc0
push str.glFinish
push 0x145bbcc
push str.glStencilOp
push 0x145bdf0
push str.glStencilFunc
push 0x145bb64
push str.glDepthFunc
push 0x145bb58
push str.glBlendFunc
push 0x145bd84
push str.glAlphaFunc
push 0x145bda4
push str.glHint
push 0x145bb88
push str.glScissor
push 0x145bd4c
push str.glEdgeFlag
push 0x145bdc4
push str.glPolygonStipple
push 0x145bb20
push str.glLineStipple
push 0x145bb2c
push str.glPolygonMode
push 0x145bb84
push str.glClipPlane
push 0x145bbf0
push str.glFrontFace
push 0x145bbe8
push str.glRectd
push 0x145bbf4
push str.glVertex3d
push 0x145bdb8
push str.glEnd
push 0x145bc94
push str.glBegin
push 0x145bb30
push str.glMultMatrixd
push 0x145bbd4
push str.glLoadMatrixd
push 0x145bdfc
push str.glPopMatrix
push 0x145bd58
push str.glPushMatrix
push 0x145bb70
push str.glViewport
push 0x145bd64
push str.glOrtho
push 0x145bcf0
push str.glFrustum
push 0x145bc40
push str.glScaled
push 0x145bde0
push str.glRotated
push 0x145bc60
push str.glTranslated
push 0x145bd5c
push str.glMatrixMode
push 0x145bc80
push str.glLoadIdentity
push 0x145bcac
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x145be20
call fcn.0049ac20
add esp, 0x384
test al, al
je 0x49b25a
push str.gluUnProject
push 0x145bc24
push str.gluProject
push 0x145bd28
push str.gluPickMatrix
push 0x145bd60
push str.gluDeleteQuadric
push 0x145be04
push str.gluPartialDisk
push 0x145bd24
push str.gluDisk
push 0x145bcbc
push str.gluCylinder
push 0x145bcd4
push str.gluSphere
push 0x145bd8c
push str.gluNewQuadric
push 0x145bd74
push str.gluQuadricTexture
push 0x145bcd8
push str.gluQuadricOrientation
push 0x145bc84
push str.gluQuadricNormals
push 0x145bdf8
push str.gluQuadricDrawStyle
push 0x145bde4
push str.gluLookAt
push 0x145bc3c
push str.gluBuild2DMipmaps
push 0x145bc1c
push str.gluPerspective
push 0x145bb98
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x145be24
call fcn.0049ac20
add esp, 0x8c
test al, al
je 0x49b25a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x1428d28
xor esi, esi
call fcn.0049b2c0
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret