Function at 0x480e50
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 0x513a3c
push str.glGetIntegerv
push 0x51380c
push str.glPassThrough
push 0x5139e0
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x513900
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x51392c
push str.glRenderMode
push 0x513a00
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x5137b8
push str.glPopName
push 0x513918
not ecx
push str.glPushName
dec ecx
push 0x5137ac
push str.glInitNames
push 0x5137d8
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x513a7c
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x4f3534]
push 0x513850
push str.glEvalMesh2
push 0x5139d4
mov dword [edx + 4], eax
mov eax, dword [0x4f3538]
push str.glMapGrid2d
push 0x513a40
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x4f353c]
push 0x513904
push str.glMap2d
push 0x5139a4
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x4f34b4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x5139d0
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x4f34b8]
push 0x513a38
push str.glEvalCoord1d
push 0x5138f4
mov dword [ecx + 4], eax
mov al, byte [0x4f34ba]
push str.glMap1d
push 0x5139a8
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x5138e0
push str.glPointSize
push 0x513a78
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x513a28
push str.glPushAttrib
push 0x513808
push str.glPopAttrib
push 0x513a98
push str.wglUseFontOutlinesA
push 0x513960
push str.wglDeleteContext
push 0x51399c
push str.wglMakeCurrent
push 0x513a4c
push str.wglCreateContext
push 0x5137ec
push str.glGetError
push 0x5137cc
push str.glGetBooleanv
push 0x513a08
push str.glVertex3dv
push 0x513974
push str.glNormal3dv
push 0x513998
push str.glPixelZoom
push 0x5139b0
push str.glPixelStorei
push 0x5138ec
push str.glCopyPixels
push 0x5137c4
push str.glBitmap
push 0x5138d4
push str.glRasterPos2d
push 0x5139a0
push str.glCallLists
push 0x513a18
push str.glListBase
push 0x513854
push str.glDeleteLists
push 0x51386c
push str.glIsList
push 0x513a90
push str.glCallList
push 0x513874
push str.glGenLists
push 0x5138b0
push str.glEndList
push 0x5138e4
push str.glNewList
push 0x5137a0
push str.glTexGend
push 0x5138c8
push str.glTexGendv
push 0x513a0c
push str.glGenTextures
push 0x5137dc
push str.glTexEnvf
push 0x5138d8
push str.glTexEnvfv
push 0x513a44
push str.glTexCoord1d
push 0x513978
push str.glTexCoord2d
push 0x513970
push str.glTexImage2D
push 0x513860
push str.glTexImage1D
push 0x513858
push str.glTexParameterf
push 0x5137fc
push str.glTexParameterfv
push 0x513a58
push str.glBindTexture
push 0x51387c
push str.glShadeModel
push 0x51396c
push str.glNormal3d
push 0x51384c
push str.glFogf
push 0x5137f0
push str.glFogfv
push 0x513a10
push str.glColorMaterial
push 0x5137b4
push str.glMaterialf
push 0x513a30
push str.glMaterialfv
push 0x5139fc
push str.glLightModelf
push 0x513988
push str.glLightModelfv
push 0x5137d0
push str.glLightf
push 0x5137f8
push str.glLightfv
push 0x513a84
push str.glDisable
push 0x5137c8
push str.glEnable
push 0x513934
push str.glIndexf
push 0x513810
push str.glColor4d
push 0x513948
push str.glClearIndex
push 0x513868
push str.glClearStencil
push 0x5138e8
push str.glClearDepth
push 0x513804
push str.glClearColor
push 0x51391c
push str.glClearAccum
push 0x5137a4
push str.glClear
push 0x5139e4
push str.glAccum
push 0x5139ac
push str.glFlush
push 0x513a50
push str.glFinish
push 0x51385c
push str.glStencilOp
push 0x513a80
push str.glStencilFunc
push 0x5137f4
push str.glDepthFunc
push 0x5137e8
push str.glBlendFunc
push 0x513a14
push str.glAlphaFunc
push 0x513a34
push str.glHint
push 0x513818
push str.glScissor
push 0x5139dc
push str.glEdgeFlag
push 0x513a54
push str.glPolygonStipple
push 0x5137b0
push str.glLineStipple
push 0x5137bc
push str.glPolygonMode
push 0x513814
push str.glClipPlane
push 0x513880
push str.glFrontFace
push 0x513878
push str.glRectd
push 0x513884
push str.glVertex3d
push 0x513a48
push str.glEnd
push 0x513924
push str.glBegin
push 0x5137c0
push str.glMultMatrixd
push 0x513864
push str.glLoadMatrixd
push 0x513a8c
push str.glPopMatrix
push 0x5139e8
push str.glPushMatrix
push 0x513800
push str.glViewport
push 0x5139f4
push str.glOrtho
push 0x513980
push str.glFrustum
push 0x5138d0
push str.glScaled
push 0x513a70
push str.glRotated
push 0x5138f0
push str.glTranslated
push 0x5139ec
push str.glMatrixMode
push 0x513910
push str.glLoadIdentity
push 0x51393c
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x513ab0
call fcn.00480de0
add esp, 0x384
test al, al
je 0x48141a
push str.gluUnProject
push 0x5138b4
push str.gluProject
push 0x5139b8
push str.gluPickMatrix
push 0x5139f0
push str.gluDeleteQuadric
push 0x513a94
push str.gluPartialDisk
push 0x5139b4
push str.gluDisk
push 0x51394c
push str.gluCylinder
push 0x513964
push str.gluSphere
push 0x513a1c
push str.gluNewQuadric
push 0x513a04
push str.gluQuadricTexture
push 0x513968
push str.gluQuadricOrientation
push 0x513914
push str.gluQuadricNormals
push 0x513a88
push str.gluQuadricDrawStyle
push 0x513a74
push str.gluLookAt
push 0x5138cc
push str.gluBuild2DMipmaps
push 0x5138ac
push str.gluPerspective
push 0x513828
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x513ab4
call fcn.00480de0
add esp, 0x8c
test al, al
je 0x48141a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x4f2ea0
xor esi, esi
call fcn.00481480
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret