Function at 0x49d040
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 0x59ff34
push str.glGetIntegerv
push 0x59fd04
push str.glPassThrough
push 0x59fed8
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x59fdf8
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x59fe24
push str.glRenderMode
push 0x59fef8
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x59fcb0
push str.glPopName
push 0x59fe10
not ecx
push str.glPushName
dec ecx
push 0x59fca4
push str.glInitNames
push 0x59fcd0
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x59ff74
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x5793dc]
push 0x59fd48
push str.glEvalMesh2
push 0x59fecc
mov dword [edx + 4], eax
mov eax, dword [0x5793e0]
push str.glMapGrid2d
push 0x59ff38
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x5793e4]
push 0x59fdfc
push str.glMap2d
push 0x59fe9c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x57935c]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x59fec8
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x579360]
push 0x59ff30
push str.glEvalCoord1d
push 0x59fdec
mov dword [ecx + 4], eax
mov al, byte [0x579362]
push str.glMap1d
push 0x59fea0
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x59fdd8
push str.glPointSize
push 0x59ff70
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x59ff20
push str.glPushAttrib
push 0x59fd00
push str.glPopAttrib
push 0x59ff90
push str.wglUseFontOutlinesA
push 0x59fe58
push str.wglDeleteContext
push 0x59fe94
push str.wglMakeCurrent
push 0x59ff44
push str.wglCreateContext
push 0x59fce4
push str.glGetError
push 0x59fcc4
push str.glGetBooleanv
push 0x59ff00
push str.glVertex3dv
push 0x59fe6c
push str.glNormal3dv
push 0x59fe90
push str.glPixelZoom
push 0x59fea8
push str.glPixelStorei
push 0x59fde4
push str.glCopyPixels
push 0x59fcbc
push str.glBitmap
push 0x59fdcc
push str.glRasterPos2d
push 0x59fe98
push str.glCallLists
push 0x59ff10
push str.glListBase
push 0x59fd4c
push str.glDeleteLists
push 0x59fd64
push str.glIsList
push 0x59ff88
push str.glCallList
push 0x59fd6c
push str.glGenLists
push 0x59fda8
push str.glEndList
push 0x59fddc
push str.glNewList
push 0x59fc98
push str.glTexGend
push 0x59fdc0
push str.glTexGendv
push 0x59ff04
push str.glGenTextures
push 0x59fcd4
push str.glTexEnvf
push 0x59fdd0
push str.glTexEnvfv
push 0x59ff3c
push str.glTexCoord1d
push 0x59fe70
push str.glTexCoord2d
push 0x59fe68
push str.glTexImage2D
push 0x59fd58
push str.glTexImage1D
push 0x59fd50
push str.glTexParameterf
push 0x59fcf4
push str.glTexParameterfv
push 0x59ff50
push str.glBindTexture
push 0x59fd74
push str.glShadeModel
push 0x59fe64
push str.glNormal3d
push 0x59fd44
push str.glFogf
push 0x59fce8
push str.glFogfv
push 0x59ff08
push str.glColorMaterial
push 0x59fcac
push str.glMaterialf
push 0x59ff28
push str.glMaterialfv
push 0x59fef4
push str.glLightModelf
push 0x59fe80
push str.glLightModelfv
push 0x59fcc8
push str.glLightf
push 0x59fcf0
push str.glLightfv
push 0x59ff7c
push str.glDisable
push 0x59fcc0
push str.glEnable
push 0x59fe2c
push str.glIndexf
push 0x59fd08
push str.glColor4d
push 0x59fe40
push str.glClearIndex
push 0x59fd60
push str.glClearStencil
push 0x59fde0
push str.glClearDepth
push 0x59fcfc
push str.glClearColor
push 0x59fe14
push str.glClearAccum
push 0x59fc9c
push str.glClear
push 0x59fedc
push str.glAccum
push 0x59fea4
push str.glFlush
push 0x59ff48
push str.glFinish
push 0x59fd54
push str.glStencilOp
push 0x59ff78
push str.glStencilFunc
push 0x59fcec
push str.glDepthFunc
push 0x59fce0
push str.glBlendFunc
push 0x59ff0c
push str.glAlphaFunc
push 0x59ff2c
push str.glHint
push 0x59fd10
push str.glScissor
push 0x59fed4
push str.glEdgeFlag
push 0x59ff4c
push str.glPolygonStipple
push 0x59fca8
push str.glLineStipple
push 0x59fcb4
push str.glPolygonMode
push 0x59fd0c
push str.glClipPlane
push 0x59fd78
push str.glFrontFace
push 0x59fd70
push str.glRectd
push 0x59fd7c
push str.glVertex3d
push 0x59ff40
push str.glEnd
push 0x59fe1c
push str.glBegin
push 0x59fcb8
push str.glMultMatrixd
push 0x59fd5c
push str.glLoadMatrixd
push 0x59ff84
push str.glPopMatrix
push 0x59fee0
push str.glPushMatrix
push 0x59fcf8
push str.glViewport
push 0x59feec
push str.glOrtho
push 0x59fe78
push str.glFrustum
push 0x59fdc8
push str.glScaled
push 0x59ff68
push str.glRotated
push 0x59fde8
push str.glTranslated
push 0x59fee4
push str.glMatrixMode
push 0x59fe08
push str.glLoadIdentity
push 0x59fe34
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x59ffa8
call fcn.0049cfd0
add esp, 0x384
test al, al
je 0x49d60a
push str.gluUnProject
push 0x59fdac
push str.gluProject
push 0x59feb0
push str.gluPickMatrix
push 0x59fee8
push str.gluDeleteQuadric
push 0x59ff8c
push str.gluPartialDisk
push 0x59feac
push str.gluDisk
push 0x59fe44
push str.gluCylinder
push 0x59fe5c
push str.gluSphere
push 0x59ff14
push str.gluNewQuadric
push 0x59fefc
push str.gluQuadricTexture
push 0x59fe60
push str.gluQuadricOrientation
push 0x59fe0c
push str.gluQuadricNormals
push 0x59ff80
push str.gluQuadricDrawStyle
push 0x59ff6c
push str.gluLookAt
push 0x59fdc4
push str.gluBuild2DMipmaps
push 0x59fda4
push str.gluPerspective
push 0x59fd20
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x59ffac
call fcn.0049cfd0
add esp, 0x8c
test al, al
je 0x49d60a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x578d48
xor esi, esi
call fcn.0049d670
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret