Function at 0x4a5790
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 0x5dca14
push str.glGetIntegerv
push 0x5dc7e4
push str.glPassThrough
push 0x5dc9b8
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x5dc8d8
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x5dc904
push str.glRenderMode
push 0x5dc9d8
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x5dc790
push str.glPopName
push 0x5dc8f0
not ecx
push str.glPushName
dec ecx
push 0x5dc784
push str.glInitNames
push 0x5dc7b0
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x5dca54
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x580ddc]
push 0x5dc828
push str.glEvalMesh2
push 0x5dc9ac
mov dword [edx + 4], eax
mov eax, dword [0x580de0]
push str.glMapGrid2d
push 0x5dca18
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x580de4]
push 0x5dc8dc
push str.glMap2d
push 0x5dc97c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x580d5c]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x5dc9a8
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x580d60]
push 0x5dca10
push str.glEvalCoord1d
push 0x5dc8cc
mov dword [ecx + 4], eax
mov al, byte [0x580d62]
push str.glMap1d
push 0x5dc980
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x5dc8b8
push str.glPointSize
push 0x5dca50
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x5dca00
push str.glPushAttrib
push 0x5dc7e0
push str.glPopAttrib
push 0x5dca70
push str.wglUseFontOutlinesA
push 0x5dc938
push str.wglDeleteContext
push 0x5dc974
push str.wglMakeCurrent
push 0x5dca24
push str.wglCreateContext
push 0x5dc7c4
push str.glGetError
push 0x5dc7a4
push str.glGetBooleanv
push 0x5dc9e0
push str.glVertex3dv
push 0x5dc94c
push str.glNormal3dv
push 0x5dc970
push str.glPixelZoom
push 0x5dc988
push str.glPixelStorei
push 0x5dc8c4
push str.glCopyPixels
push 0x5dc79c
push str.glBitmap
push 0x5dc8ac
push str.glRasterPos2d
push 0x5dc978
push str.glCallLists
push 0x5dc9f0
push str.glListBase
push 0x5dc82c
push str.glDeleteLists
push 0x5dc844
push str.glIsList
push 0x5dca68
push str.glCallList
push 0x5dc84c
push str.glGenLists
push 0x5dc888
push str.glEndList
push 0x5dc8bc
push str.glNewList
push 0x5dc778
push str.glTexGend
push 0x5dc8a0
push str.glTexGendv
push 0x5dc9e4
push str.glGenTextures
push 0x5dc7b4
push str.glTexEnvf
push 0x5dc8b0
push str.glTexEnvfv
push 0x5dca1c
push str.glTexCoord1d
push 0x5dc950
push str.glTexCoord2d
push 0x5dc948
push str.glTexImage2D
push 0x5dc838
push str.glTexImage1D
push 0x5dc830
push str.glTexParameterf
push 0x5dc7d4
push str.glTexParameterfv
push 0x5dca30
push str.glBindTexture
push 0x5dc854
push str.glShadeModel
push 0x5dc944
push str.glNormal3d
push 0x5dc824
push str.glFogf
push 0x5dc7c8
push str.glFogfv
push 0x5dc9e8
push str.glColorMaterial
push 0x5dc78c
push str.glMaterialf
push 0x5dca08
push str.glMaterialfv
push 0x5dc9d4
push str.glLightModelf
push 0x5dc960
push str.glLightModelfv
push 0x5dc7a8
push str.glLightf
push 0x5dc7d0
push str.glLightfv
push 0x5dca5c
push str.glDisable
push 0x5dc7a0
push str.glEnable
push 0x5dc90c
push str.glIndexf
push 0x5dc7e8
push str.glColor4d
push 0x5dc920
push str.glClearIndex
push 0x5dc840
push str.glClearStencil
push 0x5dc8c0
push str.glClearDepth
push 0x5dc7dc
push str.glClearColor
push 0x5dc8f4
push str.glClearAccum
push 0x5dc77c
push str.glClear
push 0x5dc9bc
push str.glAccum
push 0x5dc984
push str.glFlush
push 0x5dca28
push str.glFinish
push 0x5dc834
push str.glStencilOp
push 0x5dca58
push str.glStencilFunc
push 0x5dc7cc
push str.glDepthFunc
push 0x5dc7c0
push str.glBlendFunc
push 0x5dc9ec
push str.glAlphaFunc
push 0x5dca0c
push str.glHint
push 0x5dc7f0
push str.glScissor
push 0x5dc9b4
push str.glEdgeFlag
push 0x5dca2c
push str.glPolygonStipple
push 0x5dc788
push str.glLineStipple
push 0x5dc794
push str.glPolygonMode
push 0x5dc7ec
push str.glClipPlane
push 0x5dc858
push str.glFrontFace
push 0x5dc850
push str.glRectd
push 0x5dc85c
push str.glVertex3d
push 0x5dca20
push str.glEnd
push 0x5dc8fc
push str.glBegin
push 0x5dc798
push str.glMultMatrixd
push 0x5dc83c
push str.glLoadMatrixd
push 0x5dca64
push str.glPopMatrix
push 0x5dc9c0
push str.glPushMatrix
push 0x5dc7d8
push str.glViewport
push 0x5dc9cc
push str.glOrtho
push 0x5dc958
push str.glFrustum
push 0x5dc8a8
push str.glScaled
push 0x5dca48
push str.glRotated
push 0x5dc8c8
push str.glTranslated
push 0x5dc9c4
push str.glMatrixMode
push 0x5dc8e8
push str.glLoadIdentity
push 0x5dc914
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x5dca88
call fcn.004a5720
add esp, 0x384
test al, al
je 0x4a5d5a
push str.gluUnProject
push 0x5dc88c
push str.gluProject
push 0x5dc990
push str.gluPickMatrix
push 0x5dc9c8
push str.gluDeleteQuadric
push 0x5dca6c
push str.gluPartialDisk
push 0x5dc98c
push str.gluDisk
push 0x5dc924
push str.gluCylinder
push 0x5dc93c
push str.gluSphere
push 0x5dc9f4
push str.gluNewQuadric
push 0x5dc9dc
push str.gluQuadricTexture
push 0x5dc940
push str.gluQuadricOrientation
push 0x5dc8ec
push str.gluQuadricNormals
push 0x5dca60
push str.gluQuadricDrawStyle
push 0x5dca4c
push str.gluLookAt
push 0x5dc8a4
push str.gluBuild2DMipmaps
push 0x5dc884
push str.gluPerspective
push 0x5dc800
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x5dca8c
call fcn.004a5720
add esp, 0x8c
test al, al
je 0x4a5d5a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x580748
xor esi, esi
call fcn.004a5dc0
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret