Function at 0x487740
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 0x55afc4
push str.glGetIntegerv
push 0x55ad94
push str.glPassThrough
push 0x55af68
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x55ae88
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x55aeb4
push str.glRenderMode
push 0x55af88
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x55ad40
push str.glPopName
push 0x55aea0
not ecx
push str.glPushName
dec ecx
push 0x55ad34
push str.glInitNames
push 0x55ad60
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x55b004
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x4e0f34]
push 0x55add8
push str.glEvalMesh2
push 0x55af5c
mov dword [edx + 4], eax
mov eax, dword [0x4e0f38]
push str.glMapGrid2d
push 0x55afc8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x4e0f3c]
push 0x55ae8c
push str.glMap2d
push 0x55af2c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x4e0eb4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x55af58
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x4e0eb8]
push 0x55afc0
push str.glEvalCoord1d
push 0x55ae7c
mov dword [ecx + 4], eax
mov al, byte [0x4e0eba]
push str.glMap1d
push 0x55af30
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x55ae68
push str.glPointSize
push 0x55b000
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x55afb0
push str.glPushAttrib
push 0x55ad90
push str.glPopAttrib
push 0x55b020
push str.wglUseFontOutlinesA
push 0x55aee8
push str.wglDeleteContext
push 0x55af24
push str.wglMakeCurrent
push 0x55afd4
push str.wglCreateContext
push 0x55ad74
push str.glGetError
push 0x55ad54
push str.glGetBooleanv
push 0x55af90
push str.glVertex3dv
push 0x55aefc
push str.glNormal3dv
push 0x55af20
push str.glPixelZoom
push 0x55af38
push str.glPixelStorei
push 0x55ae74
push str.glCopyPixels
push 0x55ad4c
push str.glBitmap
push 0x55ae5c
push str.glRasterPos2d
push 0x55af28
push str.glCallLists
push 0x55afa0
push str.glListBase
push 0x55addc
push str.glDeleteLists
push 0x55adf4
push str.glIsList
push 0x55b018
push str.glCallList
push 0x55adfc
push str.glGenLists
push 0x55ae38
push str.glEndList
push 0x55ae6c
push str.glNewList
push 0x55ad28
push str.glTexGend
push 0x55ae50
push str.glTexGendv
push 0x55af94
push str.glGenTextures
push 0x55ad64
push str.glTexEnvf
push 0x55ae60
push str.glTexEnvfv
push 0x55afcc
push str.glTexCoord1d
push 0x55af00
push str.glTexCoord2d
push 0x55aef8
push str.glTexImage2D
push 0x55ade8
push str.glTexImage1D
push 0x55ade0
push str.glTexParameterf
push 0x55ad84
push str.glTexParameterfv
push 0x55afe0
push str.glBindTexture
push 0x55ae04
push str.glShadeModel
push 0x55aef4
push str.glNormal3d
push 0x55add4
push str.glFogf
push 0x55ad78
push str.glFogfv
push 0x55af98
push str.glColorMaterial
push 0x55ad3c
push str.glMaterialf
push 0x55afb8
push str.glMaterialfv
push 0x55af84
push str.glLightModelf
push 0x55af10
push str.glLightModelfv
push 0x55ad58
push str.glLightf
push 0x55ad80
push str.glLightfv
push 0x55b00c
push str.glDisable
push 0x55ad50
push str.glEnable
push 0x55aebc
push str.glIndexf
push 0x55ad98
push str.glColor4d
push 0x55aed0
push str.glClearIndex
push 0x55adf0
push str.glClearStencil
push 0x55ae70
push str.glClearDepth
push 0x55ad8c
push str.glClearColor
push 0x55aea4
push str.glClearAccum
push 0x55ad2c
push str.glClear
push 0x55af6c
push str.glAccum
push 0x55af34
push str.glFlush
push 0x55afd8
push str.glFinish
push 0x55ade4
push str.glStencilOp
push 0x55b008
push str.glStencilFunc
push 0x55ad7c
push str.glDepthFunc
push 0x55ad70
push str.glBlendFunc
push 0x55af9c
push str.glAlphaFunc
push 0x55afbc
push str.glHint
push 0x55ada0
push str.glScissor
push 0x55af64
push str.glEdgeFlag
push 0x55afdc
push str.glPolygonStipple
push 0x55ad38
push str.glLineStipple
push 0x55ad44
push str.glPolygonMode
push 0x55ad9c
push str.glClipPlane
push 0x55ae08
push str.glFrontFace
push 0x55ae00
push str.glRectd
push 0x55ae0c
push str.glVertex3d
push 0x55afd0
push str.glEnd
push 0x55aeac
push str.glBegin
push 0x55ad48
push str.glMultMatrixd
push 0x55adec
push str.glLoadMatrixd
push 0x55b014
push str.glPopMatrix
push 0x55af70
push str.glPushMatrix
push 0x55ad88
push str.glViewport
push 0x55af7c
push str.glOrtho
push 0x55af08
push str.glFrustum
push 0x55ae58
push str.glScaled
push 0x55aff8
push str.glRotated
push 0x55ae78
push str.glTranslated
push 0x55af74
push str.glMatrixMode
push 0x55ae98
push str.glLoadIdentity
push 0x55aec4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x55b038
call fcn.004876d0
add esp, 0x384
test al, al
je 0x487d0a
push str.gluUnProject
push 0x55ae3c
push str.gluProject
push 0x55af40
push str.gluPickMatrix
push 0x55af78
push str.gluDeleteQuadric
push 0x55b01c
push str.gluPartialDisk
push 0x55af3c
push str.gluDisk
push 0x55aed4
push str.gluCylinder
push 0x55aeec
push str.gluSphere
push 0x55afa4
push str.gluNewQuadric
push 0x55af8c
push str.gluQuadricTexture
push 0x55aef0
push str.gluQuadricOrientation
push 0x55ae9c
push str.gluQuadricNormals
push 0x55b010
push str.gluQuadricDrawStyle
push 0x55affc
push str.gluLookAt
push 0x55ae54
push str.gluBuild2DMipmaps
push 0x55ae34
push str.gluPerspective
push 0x55adb0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x55b03c
call fcn.004876d0
add esp, 0x8c
test al, al
je 0x487d0a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x4e08a0
xor esi, esi
call fcn.00487d70
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret