Function at 0x4a4b80
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 0x569c1c
push str.glGetIntegerv
push 0x5699ec
push str.glPassThrough
push 0x569bc0
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x569ae0
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x569b0c
push str.glRenderMode
push 0x569be0
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x569998
push str.glPopName
push 0x569af8
not ecx
push str.glPushName
dec ecx
push 0x56998c
push str.glInitNames
push 0x5699b8
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x569c5c
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x525504]
push 0x569a30
push str.glEvalMesh2
push 0x569bb4
mov dword [edx + 4], eax
mov eax, dword [0x525508]
push str.glMapGrid2d
push 0x569c20
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x52550c]
push 0x569ae4
push str.glMap2d
push 0x569b84
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x525484]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x569bb0
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x525488]
push 0x569c18
push str.glEvalCoord1d
push 0x569ad4
mov dword [ecx + 4], eax
mov al, byte [0x52548a]
push str.glMap1d
push 0x569b88
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x569ac0
push str.glPointSize
push 0x569c58
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x569c08
push str.glPushAttrib
push 0x5699e8
push str.glPopAttrib
push 0x569c78
push str.wglUseFontOutlinesA
push 0x569b40
push str.wglDeleteContext
push 0x569b7c
push str.wglMakeCurrent
push 0x569c2c
push str.wglCreateContext
push 0x5699cc
push str.glGetError
push 0x5699ac
push str.glGetBooleanv
push 0x569be8
push str.glVertex3dv
push 0x569b54
push str.glNormal3dv
push 0x569b78
push str.glPixelZoom
push 0x569b90
push str.glPixelStorei
push 0x569acc
push str.glCopyPixels
push 0x5699a4
push str.glBitmap
push 0x569ab4
push str.glRasterPos2d
push 0x569b80
push str.glCallLists
push 0x569bf8
push str.glListBase
push 0x569a34
push str.glDeleteLists
push 0x569a4c
push str.glIsList
push 0x569c70
push str.glCallList
push 0x569a54
push str.glGenLists
push 0x569a90
push str.glEndList
push 0x569ac4
push str.glNewList
push 0x569980
push str.glTexGend
push 0x569aa8
push str.glTexGendv
push 0x569bec
push str.glGenTextures
push 0x5699bc
push str.glTexEnvf
push 0x569ab8
push str.glTexEnvfv
push 0x569c24
push str.glTexCoord1d
push 0x569b58
push str.glTexCoord2d
push 0x569b50
push str.glTexImage2D
push 0x569a40
push str.glTexImage1D
push 0x569a38
push str.glTexParameterf
push 0x5699dc
push str.glTexParameterfv
push 0x569c38
push str.glBindTexture
push 0x569a5c
push str.glShadeModel
push 0x569b4c
push str.glNormal3d
push 0x569a2c
push str.glFogf
push 0x5699d0
push str.glFogfv
push 0x569bf0
push str.glColorMaterial
push 0x569994
push str.glMaterialf
push 0x569c10
push str.glMaterialfv
push 0x569bdc
push str.glLightModelf
push 0x569b68
push str.glLightModelfv
push 0x5699b0
push str.glLightf
push 0x5699d8
push str.glLightfv
push 0x569c64
push str.glDisable
push 0x5699a8
push str.glEnable
push 0x569b14
push str.glIndexf
push 0x5699f0
push str.glColor4d
push 0x569b28
push str.glClearIndex
push 0x569a48
push str.glClearStencil
push 0x569ac8
push str.glClearDepth
push 0x5699e4
push str.glClearColor
push 0x569afc
push str.glClearAccum
push 0x569984
push str.glClear
push 0x569bc4
push str.glAccum
push 0x569b8c
push str.glFlush
push 0x569c30
push str.glFinish
push 0x569a3c
push str.glStencilOp
push 0x569c60
push str.glStencilFunc
push 0x5699d4
push str.glDepthFunc
push 0x5699c8
push str.glBlendFunc
push 0x569bf4
push str.glAlphaFunc
push 0x569c14
push str.glHint
push 0x5699f8
push str.glScissor
push 0x569bbc
push str.glEdgeFlag
push 0x569c34
push str.glPolygonStipple
push 0x569990
push str.glLineStipple
push 0x56999c
push str.glPolygonMode
push 0x5699f4
push str.glClipPlane
push 0x569a60
push str.glFrontFace
push 0x569a58
push str.glRectd
push 0x569a64
push str.glVertex3d
push 0x569c28
push str.glEnd
push 0x569b04
push str.glBegin
push 0x5699a0
push str.glMultMatrixd
push 0x569a44
push str.glLoadMatrixd
push 0x569c6c
push str.glPopMatrix
push 0x569bc8
push str.glPushMatrix
push 0x5699e0
push str.glViewport
push 0x569bd4
push str.glOrtho
push 0x569b60
push str.glFrustum
push 0x569ab0
push str.glScaled
push 0x569c50
push str.glRotated
push 0x569ad0
push str.glTranslated
push 0x569bcc
push str.glMatrixMode
push 0x569af0
push str.glLoadIdentity
push 0x569b1c
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x569c90
call fcn.004a4b10
add esp, 0x384
test al, al
je 0x4a514a
push str.gluUnProject
push 0x569a94
push str.gluProject
push 0x569b98
push str.gluPickMatrix
push 0x569bd0
push str.gluDeleteQuadric
push 0x569c74
push str.gluPartialDisk
push 0x569b94
push str.gluDisk
push 0x569b2c
push str.gluCylinder
push 0x569b44
push str.gluSphere
push 0x569bfc
push str.gluNewQuadric
push 0x569be4
push str.gluQuadricTexture
push 0x569b48
push str.gluQuadricOrientation
push 0x569af4
push str.gluQuadricNormals
push 0x569c68
push str.gluQuadricDrawStyle
push 0x569c54
push str.gluLookAt
push 0x569aac
push str.gluBuild2DMipmaps
push 0x569a8c
push str.gluPerspective
push 0x569a08
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x569c94
call fcn.004a4b10
add esp, 0x8c
test al, al
je 0x4a514a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x524e70
xor esi, esi
call fcn.004a51b0
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret