Function at 0x480430
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 0x6ab6b4
push str.glGetIntegerv
push 0x6ab484
push str.glPassThrough
push 0x6ab658
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x6ab578
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x6ab5a4
push str.glRenderMode
push 0x6ab678
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x6ab430
push str.glPopName
push 0x6ab590
not ecx
push str.glPushName
dec ecx
push 0x6ab424
push str.glInitNames
push 0x6ab450
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x6ab6f4
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x65ca4c]
push 0x6ab4c8
push str.glEvalMesh2
push 0x6ab64c
mov dword [edx + 4], eax
mov eax, dword [0x65ca50]
push str.glMapGrid2d
push 0x6ab6b8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x65ca54]
push 0x6ab57c
push str.glMap2d
push 0x6ab61c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x65c9cc]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x6ab648
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x65c9d0]
push 0x6ab6b0
push str.glEvalCoord1d
push 0x6ab56c
mov dword [ecx + 4], eax
mov al, byte [0x65c9d2]
push str.glMap1d
push 0x6ab620
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x6ab558
push str.glPointSize
push 0x6ab6f0
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x6ab6a0
push str.glPushAttrib
push 0x6ab480
push str.glPopAttrib
push 0x6ab710
push str.wglUseFontOutlinesA
push 0x6ab5d8
push str.wglDeleteContext
push 0x6ab614
push str.wglMakeCurrent
push 0x6ab6c4
push str.wglCreateContext
push 0x6ab464
push str.glGetError
push 0x6ab444
push str.glGetBooleanv
push 0x6ab680
push str.glVertex3dv
push 0x6ab5ec
push str.glNormal3dv
push 0x6ab610
push str.glPixelZoom
push 0x6ab628
push str.glPixelStorei
push 0x6ab564
push str.glCopyPixels
push 0x6ab43c
push str.glBitmap
push 0x6ab54c
push str.glRasterPos2d
push 0x6ab618
push str.glCallLists
push 0x6ab690
push str.glListBase
push 0x6ab4cc
push str.glDeleteLists
push 0x6ab4e4
push str.glIsList
push 0x6ab708
push str.glCallList
push 0x6ab4ec
push str.glGenLists
push 0x6ab528
push str.glEndList
push 0x6ab55c
push str.glNewList
push 0x6ab418
push str.glTexGend
push 0x6ab540
push str.glTexGendv
push 0x6ab684
push str.glGenTextures
push 0x6ab454
push str.glTexEnvf
push 0x6ab550
push str.glTexEnvfv
push 0x6ab6bc
push str.glTexCoord1d
push 0x6ab5f0
push str.glTexCoord2d
push 0x6ab5e8
push str.glTexImage2D
push 0x6ab4d8
push str.glTexImage1D
push 0x6ab4d0
push str.glTexParameterf
push 0x6ab474
push str.glTexParameterfv
push 0x6ab6d0
push str.glBindTexture
push 0x6ab4f4
push str.glShadeModel
push 0x6ab5e4
push str.glNormal3d
push 0x6ab4c4
push str.glFogf
push 0x6ab468
push str.glFogfv
push 0x6ab688
push str.glColorMaterial
push 0x6ab42c
push str.glMaterialf
push 0x6ab6a8
push str.glMaterialfv
push 0x6ab674
push str.glLightModelf
push 0x6ab600
push str.glLightModelfv
push 0x6ab448
push str.glLightf
push 0x6ab470
push str.glLightfv
push 0x6ab6fc
push str.glDisable
push 0x6ab440
push str.glEnable
push 0x6ab5ac
push str.glIndexf
push 0x6ab488
push str.glColor4d
push 0x6ab5c0
push str.glClearIndex
push 0x6ab4e0
push str.glClearStencil
push 0x6ab560
push str.glClearDepth
push 0x6ab47c
push str.glClearColor
push 0x6ab594
push str.glClearAccum
push 0x6ab41c
push str.glClear
push 0x6ab65c
push str.glAccum
push 0x6ab624
push str.glFlush
push 0x6ab6c8
push str.glFinish
push 0x6ab4d4
push str.glStencilOp
push 0x6ab6f8
push str.glStencilFunc
push 0x6ab46c
push str.glDepthFunc
push 0x6ab460
push str.glBlendFunc
push 0x6ab68c
push str.glAlphaFunc
push 0x6ab6ac
push str.glHint
push 0x6ab490
push str.glScissor
push 0x6ab654
push str.glEdgeFlag
push 0x6ab6cc
push str.glPolygonStipple
push 0x6ab428
push str.glLineStipple
push 0x6ab434
push str.glPolygonMode
push 0x6ab48c
push str.glClipPlane
push 0x6ab4f8
push str.glFrontFace
push 0x6ab4f0
push str.glRectd
push 0x6ab4fc
push str.glVertex3d
push 0x6ab6c0
push str.glEnd
push 0x6ab59c
push str.glBegin
push 0x6ab438
push str.glMultMatrixd
push 0x6ab4dc
push str.glLoadMatrixd
push 0x6ab704
push str.glPopMatrix
push 0x6ab660
push str.glPushMatrix
push 0x6ab478
push str.glViewport
push 0x6ab66c
push str.glOrtho
push 0x6ab5f8
push str.glFrustum
push 0x6ab548
push str.glScaled
push 0x6ab6e8
push str.glRotated
push 0x6ab568
push str.glTranslated
push 0x6ab664
push str.glMatrixMode
push 0x6ab588
push str.glLoadIdentity
push 0x6ab5b4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x6ab728
call fcn.004803c0
add esp, 0x384
test al, al
je 0x4809fa
push str.gluUnProject
push 0x6ab52c
push str.gluProject
push 0x6ab630
push str.gluPickMatrix
push 0x6ab668
push str.gluDeleteQuadric
push 0x6ab70c
push str.gluPartialDisk
push 0x6ab62c
push str.gluDisk
push 0x6ab5c4
push str.gluCylinder
push 0x6ab5dc
push str.gluSphere
push 0x6ab694
push str.gluNewQuadric
push 0x6ab67c
push str.gluQuadricTexture
push 0x6ab5e0
push str.gluQuadricOrientation
push 0x6ab58c
push str.gluQuadricNormals
push 0x6ab700
push str.gluQuadricDrawStyle
push 0x6ab6ec
push str.gluLookAt
push 0x6ab544
push str.gluBuild2DMipmaps
push 0x6ab524
push str.gluPerspective
push 0x6ab4a0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x6ab72c
call fcn.004803c0
add esp, 0x8c
test al, al
je 0x4809fa
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x65c3b8
xor esi, esi
call fcn.00480a60
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret