Function at 0x4d7010
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 0x6075dc
push str.glGetIntegerv
push 0x6073ac
push str.glPassThrough
push 0x607580
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x6074a0
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x6074cc
push str.glRenderMode
push 0x6075a0
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x607358
push str.glPopName
push 0x6074b8
not ecx
push str.glPushName
dec ecx
push 0x60734c
push str.glInitNames
push 0x607378
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x60761c
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x5bbe44]
push 0x6073f0
push str.glEvalMesh2
push 0x607574
mov dword [edx + 4], eax
mov eax, dword [0x5bbe48]
push str.glMapGrid2d
push 0x6075e0
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x5bbe4c]
push 0x6074a4
push str.glMap2d
push 0x607544
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x5bbdc4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x607570
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x5bbdc8]
push 0x6075d8
push str.glEvalCoord1d
push 0x607494
mov dword [ecx + 4], eax
mov al, byte [0x5bbdca]
push str.glMap1d
push 0x607548
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x607480
push str.glPointSize
push 0x607618
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x6075c8
push str.glPushAttrib
push 0x6073a8
push str.glPopAttrib
push 0x607638
push str.wglUseFontOutlinesA
push 0x607500
push str.wglDeleteContext
push 0x60753c
push str.wglMakeCurrent
push 0x6075ec
push str.wglCreateContext
push 0x60738c
push str.glGetError
push 0x60736c
push str.glGetBooleanv
push 0x6075a8
push str.glVertex3dv
push 0x607514
push str.glNormal3dv
push 0x607538
push str.glPixelZoom
push 0x607550
push str.glPixelStorei
push 0x60748c
push str.glCopyPixels
push 0x607364
push str.glBitmap
push 0x607474
push str.glRasterPos2d
push 0x607540
push str.glCallLists
push 0x6075b8
push str.glListBase
push 0x6073f4
push str.glDeleteLists
push 0x60740c
push str.glIsList
push 0x607630
push str.glCallList
push 0x607414
push str.glGenLists
push 0x607450
push str.glEndList
push 0x607484
push str.glNewList
push 0x607340
push str.glTexGend
push 0x607468
push str.glTexGendv
push 0x6075ac
push str.glGenTextures
push 0x60737c
push str.glTexEnvf
push 0x607478
push str.glTexEnvfv
push 0x6075e4
push str.glTexCoord1d
push 0x607518
push str.glTexCoord2d
push 0x607510
push str.glTexImage2D
push 0x607400
push str.glTexImage1D
push 0x6073f8
push str.glTexParameterf
push 0x60739c
push str.glTexParameterfv
push 0x6075f8
push str.glBindTexture
push 0x60741c
push str.glShadeModel
push 0x60750c
push str.glNormal3d
push 0x6073ec
push str.glFogf
push 0x607390
push str.glFogfv
push 0x6075b0
push str.glColorMaterial
push 0x607354
push str.glMaterialf
push 0x6075d0
push str.glMaterialfv
push 0x60759c
push str.glLightModelf
push 0x607528
push str.glLightModelfv
push 0x607370
push str.glLightf
push 0x607398
push str.glLightfv
push 0x607624
push str.glDisable
push 0x607368
push str.glEnable
push 0x6074d4
push str.glIndexf
push 0x6073b0
push str.glColor4d
push 0x6074e8
push str.glClearIndex
push 0x607408
push str.glClearStencil
push 0x607488
push str.glClearDepth
push 0x6073a4
push str.glClearColor
push 0x6074bc
push str.glClearAccum
push 0x607344
push str.glClear
push 0x607584
push str.glAccum
push 0x60754c
push str.glFlush
push 0x6075f0
push str.glFinish
push 0x6073fc
push str.glStencilOp
push 0x607620
push str.glStencilFunc
push 0x607394
push str.glDepthFunc
push 0x607388
push str.glBlendFunc
push 0x6075b4
push str.glAlphaFunc
push 0x6075d4
push str.glHint
push 0x6073b8
push str.glScissor
push 0x60757c
push str.glEdgeFlag
push 0x6075f4
push str.glPolygonStipple
push 0x607350
push str.glLineStipple
push 0x60735c
push str.glPolygonMode
push 0x6073b4
push str.glClipPlane
push 0x607420
push str.glFrontFace
push 0x607418
push str.glRectd
push 0x607424
push str.glVertex3d
push 0x6075e8
push str.glEnd
push 0x6074c4
push str.glBegin
push 0x607360
push str.glMultMatrixd
push 0x607404
push str.glLoadMatrixd
push 0x60762c
push str.glPopMatrix
push 0x607588
push str.glPushMatrix
push 0x6073a0
push str.glViewport
push 0x607594
push str.glOrtho
push 0x607520
push str.glFrustum
push 0x607470
push str.glScaled
push 0x607610
push str.glRotated
push 0x607490
push str.glTranslated
push 0x60758c
push str.glMatrixMode
push 0x6074b0
push str.glLoadIdentity
push 0x6074dc
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x607650
call fcn.004d6fa0
add esp, 0x384
test al, al
je 0x4d75da
push str.gluUnProject
push 0x607454
push str.gluProject
push 0x607558
push str.gluPickMatrix
push 0x607590
push str.gluDeleteQuadric
push 0x607634
push str.gluPartialDisk
push 0x607554
push str.gluDisk
push 0x6074ec
push str.gluCylinder
push 0x607504
push str.gluSphere
push 0x6075bc
push str.gluNewQuadric
push 0x6075a4
push str.gluQuadricTexture
push 0x607508
push str.gluQuadricOrientation
push 0x6074b4
push str.gluQuadricNormals
push 0x607628
push str.gluQuadricDrawStyle
push 0x607614
push str.gluLookAt
push 0x60746c
push str.gluBuild2DMipmaps
push 0x60744c
push str.gluPerspective
push 0x6073c8
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x607654
call fcn.004d6fa0
add esp, 0x8c
test al, al
je 0x4d75da
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x5bb7b0
xor esi, esi
call fcn.004d7640
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret