Function at 0x4597a0
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 0x4ca0e4
push str.glGetIntegerv
push 0x4c9eb4
push str.glPassThrough
push 0x4ca088
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x4c9fa8
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x4c9fd4
push str.glRenderMode
push 0x4ca0a8
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x4c9e60
push str.glPopName
push 0x4c9fc0
not ecx
push str.glPushName
dec ecx
push 0x4c9e54
push str.glInitNames
push 0x4c9e80
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x4ca124
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x4a3b6c]
push 0x4c9ef8
push str.glEvalMesh2
push 0x4ca07c
mov dword [edx + 4], eax
mov eax, dword [0x4a3b70]
push str.glMapGrid2d
push 0x4ca0e8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x4a3b74]
push 0x4c9fac
push str.glMap2d
push 0x4ca04c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x4a3aec]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x4ca078
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x4a3af0]
push 0x4ca0e0
push str.glEvalCoord1d
push 0x4c9f9c
mov dword [ecx + 4], eax
mov al, byte [0x4a3af2]
push str.glMap1d
push 0x4ca050
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x4c9f88
push str.glPointSize
push 0x4ca120
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x4ca0d0
push str.glPushAttrib
push 0x4c9eb0
push str.glPopAttrib
push 0x4ca140
push str.wglUseFontOutlinesA
push 0x4ca008
push str.wglDeleteContext
push 0x4ca044
push str.wglMakeCurrent
push 0x4ca0f4
push str.wglCreateContext
push 0x4c9e94
push str.glGetError
push 0x4c9e74
push str.glGetBooleanv
push 0x4ca0b0
push str.glVertex3dv
push 0x4ca01c
push str.glNormal3dv
push 0x4ca040
push str.glPixelZoom
push 0x4ca058
push str.glPixelStorei
push 0x4c9f94
push str.glCopyPixels
push 0x4c9e6c
push str.glBitmap
push 0x4c9f7c
push str.glRasterPos2d
push 0x4ca048
push str.glCallLists
push 0x4ca0c0
push str.glListBase
push 0x4c9efc
push str.glDeleteLists
push 0x4c9f14
push str.glIsList
push 0x4ca138
push str.glCallList
push 0x4c9f1c
push str.glGenLists
push 0x4c9f58
push str.glEndList
push 0x4c9f8c
push str.glNewList
push 0x4c9e48
push str.glTexGend
push 0x4c9f70
push str.glTexGendv
push 0x4ca0b4
push str.glGenTextures
push 0x4c9e84
push str.glTexEnvf
push 0x4c9f80
push str.glTexEnvfv
push 0x4ca0ec
push str.glTexCoord1d
push 0x4ca020
push str.glTexCoord2d
push 0x4ca018
push str.glTexImage2D
push 0x4c9f08
push str.glTexImage1D
push 0x4c9f00
push str.glTexParameterf
push 0x4c9ea4
push str.glTexParameterfv
push 0x4ca100
push str.glBindTexture
push 0x4c9f24
push str.glShadeModel
push 0x4ca014
push str.glNormal3d
push 0x4c9ef4
push str.glFogf
push 0x4c9e98
push str.glFogfv
push 0x4ca0b8
push str.glColorMaterial
push 0x4c9e5c
push str.glMaterialf
push 0x4ca0d8
push str.glMaterialfv
push 0x4ca0a4
push str.glLightModelf
push 0x4ca030
push str.glLightModelfv
push 0x4c9e78
push str.glLightf
push 0x4c9ea0
push str.glLightfv
push 0x4ca12c
push str.glDisable
push 0x4c9e70
push str.glEnable
push 0x4c9fdc
push str.glIndexf
push 0x4c9eb8
push str.glColor4d
push 0x4c9ff0
push str.glClearIndex
push 0x4c9f10
push str.glClearStencil
push 0x4c9f90
push str.glClearDepth
push 0x4c9eac
push str.glClearColor
push 0x4c9fc4
push str.glClearAccum
push 0x4c9e4c
push str.glClear
push 0x4ca08c
push str.glAccum
push 0x4ca054
push str.glFlush
push 0x4ca0f8
push str.glFinish
push 0x4c9f04
push str.glStencilOp
push 0x4ca128
push str.glStencilFunc
push 0x4c9e9c
push str.glDepthFunc
push 0x4c9e90
push str.glBlendFunc
push 0x4ca0bc
push str.glAlphaFunc
push 0x4ca0dc
push str.glHint
push 0x4c9ec0
push str.glScissor
push 0x4ca084
push str.glEdgeFlag
push 0x4ca0fc
push str.glPolygonStipple
push 0x4c9e58
push str.glLineStipple
push 0x4c9e64
push str.glPolygonMode
push 0x4c9ebc
push str.glClipPlane
push 0x4c9f28
push str.glFrontFace
push 0x4c9f20
push str.glRectd
push 0x4c9f2c
push str.glVertex3d
push 0x4ca0f0
push str.glEnd
push 0x4c9fcc
push str.glBegin
push 0x4c9e68
push str.glMultMatrixd
push 0x4c9f0c
push str.glLoadMatrixd
push 0x4ca134
push str.glPopMatrix
push 0x4ca090
push str.glPushMatrix
push 0x4c9ea8
push str.glViewport
push 0x4ca09c
push str.glOrtho
push 0x4ca028
push str.glFrustum
push 0x4c9f78
push str.glScaled
push 0x4ca118
push str.glRotated
push 0x4c9f98
push str.glTranslated
push 0x4ca094
push str.glMatrixMode
push 0x4c9fb8
push str.glLoadIdentity
push 0x4c9fe4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x4ca158
call fcn.00459730
add esp, 0x384
test al, al
je 0x459d6a
push str.gluUnProject
push 0x4c9f5c
push str.gluProject
push 0x4ca060
push str.gluPickMatrix
push 0x4ca098
push str.gluDeleteQuadric
push 0x4ca13c
push str.gluPartialDisk
push 0x4ca05c
push str.gluDisk
push 0x4c9ff4
push str.gluCylinder
push 0x4ca00c
push str.gluSphere
push 0x4ca0c4
push str.gluNewQuadric
push 0x4ca0ac
push str.gluQuadricTexture
push 0x4ca010
push str.gluQuadricOrientation
push 0x4c9fbc
push str.gluQuadricNormals
push 0x4ca130
push str.gluQuadricDrawStyle
push 0x4ca11c
push str.gluLookAt
push 0x4c9f74
push str.gluBuild2DMipmaps
push 0x4c9f54
push str.gluPerspective
push 0x4c9ed0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x4ca15c
call fcn.00459730
add esp, 0x8c
test al, al
je 0x459d6a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x4a34d8
xor esi, esi
call fcn.00459dd0
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret