Function at 0x4d1c20
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 0x6034a4
push str.glGetIntegerv
push 0x603274
push str.glPassThrough
push 0x603448
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x603368
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x603394
push str.glRenderMode
push 0x603468
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x603220
push str.glPopName
push 0x603380
not ecx
push str.glPushName
dec ecx
push 0x603214
push str.glInitNames
push 0x603240
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x6034e4
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x5b8754]
push 0x6032b8
push str.glEvalMesh2
push 0x60343c
mov dword [edx + 4], eax
mov eax, dword [0x5b8758]
push str.glMapGrid2d
push 0x6034a8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x5b875c]
push 0x60336c
push str.glMap2d
push 0x60340c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x5b86d4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x603438
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x5b86d8]
push 0x6034a0
push str.glEvalCoord1d
push 0x60335c
mov dword [ecx + 4], eax
mov al, byte [0x5b86da]
push str.glMap1d
push 0x603410
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x603348
push str.glPointSize
push 0x6034e0
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x603490
push str.glPushAttrib
push 0x603270
push str.glPopAttrib
push 0x603500
push str.wglUseFontOutlinesA
push 0x6033c8
push str.wglDeleteContext
push 0x603404
push str.wglMakeCurrent
push 0x6034b4
push str.wglCreateContext
push 0x603254
push str.glGetError
push 0x603234
push str.glGetBooleanv
push 0x603470
push str.glVertex3dv
push 0x6033dc
push str.glNormal3dv
push 0x603400
push str.glPixelZoom
push 0x603418
push str.glPixelStorei
push 0x603354
push str.glCopyPixels
push 0x60322c
push str.glBitmap
push 0x60333c
push str.glRasterPos2d
push 0x603408
push str.glCallLists
push 0x603480
push str.glListBase
push 0x6032bc
push str.glDeleteLists
push 0x6032d4
push str.glIsList
push 0x6034f8
push str.glCallList
push 0x6032dc
push str.glGenLists
push 0x603318
push str.glEndList
push 0x60334c
push str.glNewList
push 0x603208
push str.glTexGend
push 0x603330
push str.glTexGendv
push 0x603474
push str.glGenTextures
push 0x603244
push str.glTexEnvf
push 0x603340
push str.glTexEnvfv
push 0x6034ac
push str.glTexCoord1d
push 0x6033e0
push str.glTexCoord2d
push 0x6033d8
push str.glTexImage2D
push 0x6032c8
push str.glTexImage1D
push 0x6032c0
push str.glTexParameterf
push 0x603264
push str.glTexParameterfv
push 0x6034c0
push str.glBindTexture
push 0x6032e4
push str.glShadeModel
push 0x6033d4
push str.glNormal3d
push 0x6032b4
push str.glFogf
push 0x603258
push str.glFogfv
push 0x603478
push str.glColorMaterial
push 0x60321c
push str.glMaterialf
push 0x603498
push str.glMaterialfv
push 0x603464
push str.glLightModelf
push 0x6033f0
push str.glLightModelfv
push 0x603238
push str.glLightf
push 0x603260
push str.glLightfv
push 0x6034ec
push str.glDisable
push 0x603230
push str.glEnable
push 0x60339c
push str.glIndexf
push 0x603278
push str.glColor4d
push 0x6033b0
push str.glClearIndex
push 0x6032d0
push str.glClearStencil
push 0x603350
push str.glClearDepth
push 0x60326c
push str.glClearColor
push 0x603384
push str.glClearAccum
push 0x60320c
push str.glClear
push 0x60344c
push str.glAccum
push 0x603414
push str.glFlush
push 0x6034b8
push str.glFinish
push 0x6032c4
push str.glStencilOp
push 0x6034e8
push str.glStencilFunc
push 0x60325c
push str.glDepthFunc
push 0x603250
push str.glBlendFunc
push 0x60347c
push str.glAlphaFunc
push 0x60349c
push str.glHint
push 0x603280
push str.glScissor
push 0x603444
push str.glEdgeFlag
push 0x6034bc
push str.glPolygonStipple
push 0x603218
push str.glLineStipple
push 0x603224
push str.glPolygonMode
push 0x60327c
push str.glClipPlane
push 0x6032e8
push str.glFrontFace
push 0x6032e0
push str.glRectd
push 0x6032ec
push str.glVertex3d
push 0x6034b0
push str.glEnd
push 0x60338c
push str.glBegin
push 0x603228
push str.glMultMatrixd
push 0x6032cc
push str.glLoadMatrixd
push 0x6034f4
push str.glPopMatrix
push 0x603450
push str.glPushMatrix
push 0x603268
push str.glViewport
push 0x60345c
push str.glOrtho
push 0x6033e8
push str.glFrustum
push 0x603338
push str.glScaled
push 0x6034d8
push str.glRotated
push 0x603358
push str.glTranslated
push 0x603454
push str.glMatrixMode
push 0x603378
push str.glLoadIdentity
push 0x6033a4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x603518
call fcn.004d1bb0
add esp, 0x384
test al, al
je 0x4d21ea
push str.gluUnProject
push 0x60331c
push str.gluProject
push 0x603420
push str.gluPickMatrix
push 0x603458
push str.gluDeleteQuadric
push 0x6034fc
push str.gluPartialDisk
push 0x60341c
push str.gluDisk
push 0x6033b4
push str.gluCylinder
push 0x6033cc
push str.gluSphere
push 0x603484
push str.gluNewQuadric
push 0x60346c
push str.gluQuadricTexture
push 0x6033d0
push str.gluQuadricOrientation
push 0x60337c
push str.gluQuadricNormals
push 0x6034f0
push str.gluQuadricDrawStyle
push 0x6034dc
push str.gluLookAt
push 0x603334
push str.gluBuild2DMipmaps
push 0x603314
push str.gluPerspective
push 0x603290
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x60351c
call fcn.004d1bb0
add esp, 0x8c
test al, al
je 0x4d21ea
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x5b80c0
xor esi, esi
call fcn.004d2250
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret