Function at 0x4f8650
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 0x5f5584
push str.glGetIntegerv
push 0x5f5354
push str.glPassThrough
push 0x5f5528
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x5f5448
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x5f5474
push str.glRenderMode
push 0x5f5548
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x5f5300
push str.glPopName
push 0x5f5460
not ecx
push str.glPushName
dec ecx
push 0x5f52f4
push str.glInitNames
push 0x5f5320
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x5f55c4
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x5ce864]
push 0x5f5398
push str.glEvalMesh2
push 0x5f551c
mov dword [edx + 4], eax
mov eax, dword [0x5ce868]
push str.glMapGrid2d
push 0x5f5588
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x5ce86c]
push 0x5f544c
push str.glMap2d
push 0x5f54ec
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x5ce7e4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x5f5518
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x5ce7e8]
push 0x5f5580
push str.glEvalCoord1d
push 0x5f543c
mov dword [ecx + 4], eax
mov al, byte [0x5ce7ea]
push str.glMap1d
push 0x5f54f0
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x5f5428
push str.glPointSize
push 0x5f55c0
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x5f5570
push str.glPushAttrib
push 0x5f5350
push str.glPopAttrib
push 0x5f55e0
push str.wglUseFontOutlinesA
push 0x5f54a8
push str.wglDeleteContext
push 0x5f54e4
push str.wglMakeCurrent
push 0x5f5594
push str.wglCreateContext
push 0x5f5334
push str.glGetError
push 0x5f5314
push str.glGetBooleanv
push 0x5f5550
push str.glVertex3dv
push 0x5f54bc
push str.glNormal3dv
push 0x5f54e0
push str.glPixelZoom
push 0x5f54f8
push str.glPixelStorei
push 0x5f5434
push str.glCopyPixels
push 0x5f530c
push str.glBitmap
push 0x5f541c
push str.glRasterPos2d
push 0x5f54e8
push str.glCallLists
push 0x5f5560
push str.glListBase
push 0x5f539c
push str.glDeleteLists
push 0x5f53b4
push str.glIsList
push 0x5f55d8
push str.glCallList
push 0x5f53bc
push str.glGenLists
push 0x5f53f8
push str.glEndList
push 0x5f542c
push str.glNewList
push 0x5f52e8
push str.glTexGend
push 0x5f5410
push str.glTexGendv
push 0x5f5554
push str.glGenTextures
push 0x5f5324
push str.glTexEnvf
push 0x5f5420
push str.glTexEnvfv
push 0x5f558c
push str.glTexCoord1d
push 0x5f54c0
push str.glTexCoord2d
push 0x5f54b8
push str.glTexImage2D
push 0x5f53a8
push str.glTexImage1D
push 0x5f53a0
push str.glTexParameterf
push 0x5f5344
push str.glTexParameterfv
push 0x5f55a0
push str.glBindTexture
push 0x5f53c4
push str.glShadeModel
push 0x5f54b4
push str.glNormal3d
push 0x5f5394
push str.glFogf
push 0x5f5338
push str.glFogfv
push 0x5f5558
push str.glColorMaterial
push 0x5f52fc
push str.glMaterialf
push 0x5f5578
push str.glMaterialfv
push 0x5f5544
push str.glLightModelf
push 0x5f54d0
push str.glLightModelfv
push 0x5f5318
push str.glLightf
push 0x5f5340
push str.glLightfv
push 0x5f55cc
push str.glDisable
push 0x5f5310
push str.glEnable
push 0x5f547c
push str.glIndexf
push 0x5f5358
push str.glColor4d
push 0x5f5490
push str.glClearIndex
push 0x5f53b0
push str.glClearStencil
push 0x5f5430
push str.glClearDepth
push 0x5f534c
push str.glClearColor
push 0x5f5464
push str.glClearAccum
push 0x5f52ec
push str.glClear
push 0x5f552c
push str.glAccum
push 0x5f54f4
push str.glFlush
push 0x5f5598
push str.glFinish
push 0x5f53a4
push str.glStencilOp
push 0x5f55c8
push str.glStencilFunc
push 0x5f533c
push str.glDepthFunc
push 0x5f5330
push str.glBlendFunc
push 0x5f555c
push str.glAlphaFunc
push 0x5f557c
push str.glHint
push 0x5f5360
push str.glScissor
push 0x5f5524
push str.glEdgeFlag
push 0x5f559c
push str.glPolygonStipple
push 0x5f52f8
push str.glLineStipple
push 0x5f5304
push str.glPolygonMode
push 0x5f535c
push str.glClipPlane
push 0x5f53c8
push str.glFrontFace
push 0x5f53c0
push str.glRectd
push 0x5f53cc
push str.glVertex3d
push 0x5f5590
push str.glEnd
push 0x5f546c
push str.glBegin
push 0x5f5308
push str.glMultMatrixd
push 0x5f53ac
push str.glLoadMatrixd
push 0x5f55d4
push str.glPopMatrix
push 0x5f5530
push str.glPushMatrix
push 0x5f5348
push str.glViewport
push 0x5f553c
push str.glOrtho
push 0x5f54c8
push str.glFrustum
push 0x5f5418
push str.glScaled
push 0x5f55b8
push str.glRotated
push 0x5f5438
push str.glTranslated
push 0x5f5534
push str.glMatrixMode
push 0x5f5458
push str.glLoadIdentity
push 0x5f5484
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x5f55f8
call fcn.004f85e0
add esp, 0x384
test al, al
je 0x4f8c1a
push str.gluUnProject
push 0x5f53fc
push str.gluProject
push 0x5f5500
push str.gluPickMatrix
push 0x5f5538
push str.gluDeleteQuadric
push 0x5f55dc
push str.gluPartialDisk
push 0x5f54fc
push str.gluDisk
push 0x5f5494
push str.gluCylinder
push 0x5f54ac
push str.gluSphere
push 0x5f5564
push str.gluNewQuadric
push 0x5f554c
push str.gluQuadricTexture
push 0x5f54b0
push str.gluQuadricOrientation
push 0x5f545c
push str.gluQuadricNormals
push 0x5f55d0
push str.gluQuadricDrawStyle
push 0x5f55bc
push str.gluLookAt
push 0x5f5414
push str.gluBuild2DMipmaps
push 0x5f53f4
push str.gluPerspective
push 0x5f5370
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x5f55fc
call fcn.004f85e0
add esp, 0x8c
test al, al
je 0x4f8c1a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x5ce1d0
xor esi, esi
call fcn.004f8c80
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret