Function at 0x4da040
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 0x709a4c
push str.glGetIntegerv
push 0x70981c
push str.glPassThrough
push 0x7099f0
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x709910
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x70993c
push str.glRenderMode
push 0x709a10
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x7097c8
push str.glPopName
push 0x709928
not ecx
push str.glPushName
dec ecx
push 0x7097bc
push str.glInitNames
push 0x7097e8
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x709a8c
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x6bba14]
push 0x709860
push str.glEvalMesh2
push 0x7099e4
mov dword [edx + 4], eax
mov eax, dword [0x6bba18]
push str.glMapGrid2d
push 0x709a50
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x6bba1c]
push 0x709914
push str.glMap2d
push 0x7099b4
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x6bb994]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x7099e0
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x6bb998]
push 0x709a48
push str.glEvalCoord1d
push 0x709904
mov dword [ecx + 4], eax
mov al, byte [0x6bb99a]
push str.glMap1d
push 0x7099b8
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x7098f0
push str.glPointSize
push 0x709a88
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x709a38
push str.glPushAttrib
push 0x709818
push str.glPopAttrib
push 0x709aa8
push str.wglUseFontOutlinesA
push 0x709970
push str.wglDeleteContext
push 0x7099ac
push str.wglMakeCurrent
push 0x709a5c
push str.wglCreateContext
push 0x7097fc
push str.glGetError
push 0x7097dc
push str.glGetBooleanv
push 0x709a18
push str.glVertex3dv
push 0x709984
push str.glNormal3dv
push 0x7099a8
push str.glPixelZoom
push 0x7099c0
push str.glPixelStorei
push 0x7098fc
push str.glCopyPixels
push 0x7097d4
push str.glBitmap
push 0x7098e4
push str.glRasterPos2d
push 0x7099b0
push str.glCallLists
push 0x709a28
push str.glListBase
push 0x709864
push str.glDeleteLists
push 0x70987c
push str.glIsList
push 0x709aa0
push str.glCallList
push 0x709884
push str.glGenLists
push 0x7098c0
push str.glEndList
push 0x7098f4
push str.glNewList
push 0x7097b0
push str.glTexGend
push 0x7098d8
push str.glTexGendv
push 0x709a1c
push str.glGenTextures
push 0x7097ec
push str.glTexEnvf
push 0x7098e8
push str.glTexEnvfv
push 0x709a54
push str.glTexCoord1d
push 0x709988
push str.glTexCoord2d
push 0x709980
push str.glTexImage2D
push 0x709870
push str.glTexImage1D
push 0x709868
push str.glTexParameterf
push 0x70980c
push str.glTexParameterfv
push 0x709a68
push str.glBindTexture
push 0x70988c
push str.glShadeModel
push 0x70997c
push str.glNormal3d
push 0x70985c
push str.glFogf
push 0x709800
push str.glFogfv
push 0x709a20
push str.glColorMaterial
push 0x7097c4
push str.glMaterialf
push 0x709a40
push str.glMaterialfv
push 0x709a0c
push str.glLightModelf
push 0x709998
push str.glLightModelfv
push 0x7097e0
push str.glLightf
push 0x709808
push str.glLightfv
push 0x709a94
push str.glDisable
push 0x7097d8
push str.glEnable
push 0x709944
push str.glIndexf
push 0x709820
push str.glColor4d
push 0x709958
push str.glClearIndex
push 0x709878
push str.glClearStencil
push 0x7098f8
push str.glClearDepth
push 0x709814
push str.glClearColor
push 0x70992c
push str.glClearAccum
push 0x7097b4
push str.glClear
push 0x7099f4
push str.glAccum
push 0x7099bc
push str.glFlush
push 0x709a60
push str.glFinish
push 0x70986c
push str.glStencilOp
push 0x709a90
push str.glStencilFunc
push 0x709804
push str.glDepthFunc
push 0x7097f8
push str.glBlendFunc
push 0x709a24
push str.glAlphaFunc
push 0x709a44
push str.glHint
push 0x709828
push str.glScissor
push 0x7099ec
push str.glEdgeFlag
push 0x709a64
push str.glPolygonStipple
push 0x7097c0
push str.glLineStipple
push 0x7097cc
push str.glPolygonMode
push 0x709824
push str.glClipPlane
push 0x709890
push str.glFrontFace
push 0x709888
push str.glRectd
push 0x709894
push str.glVertex3d
push 0x709a58
push str.glEnd
push 0x709934
push str.glBegin
push 0x7097d0
push str.glMultMatrixd
push 0x709874
push str.glLoadMatrixd
push 0x709a9c
push str.glPopMatrix
push 0x7099f8
push str.glPushMatrix
push 0x709810
push str.glViewport
push 0x709a04
push str.glOrtho
push 0x709990
push str.glFrustum
push 0x7098e0
push str.glScaled
push 0x709a80
push str.glRotated
push 0x709900
push str.glTranslated
push 0x7099fc
push str.glMatrixMode
push 0x709920
push str.glLoadIdentity
push 0x70994c
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x709ac0
call fcn.004d9fd0
add esp, 0x384
test al, al
je 0x4da60a
push str.gluUnProject
push 0x7098c4
push str.gluProject
push 0x7099c8
push str.gluPickMatrix
push 0x709a00
push str.gluDeleteQuadric
push 0x709aa4
push str.gluPartialDisk
push 0x7099c4
push str.gluDisk
push 0x70995c
push str.gluCylinder
push 0x709974
push str.gluSphere
push 0x709a2c
push str.gluNewQuadric
push 0x709a14
push str.gluQuadricTexture
push 0x709978
push str.gluQuadricOrientation
push 0x709924
push str.gluQuadricNormals
push 0x709a98
push str.gluQuadricDrawStyle
push 0x709a84
push str.gluLookAt
push 0x7098dc
push str.gluBuild2DMipmaps
push 0x7098bc
push str.gluPerspective
push 0x709838
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x709ac4
call fcn.004d9fd0
add esp, 0x8c
test al, al
je 0x4da60a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x6bb380
xor esi, esi
call fcn.004da670
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret