Function at 0x520e00
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 0x7e6564
push str.glGetIntegerv
push 0x7e6334
push str.glPassThrough
push 0x7e6508
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x7e6428
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x7e6454
push str.glRenderMode
push 0x7e6528
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x7e62e0
push str.glPopName
push 0x7e6440
not ecx
push str.glPushName
dec ecx
push 0x7e62d4
push str.glInitNames
push 0x7e6300
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x7e65a4
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x78046c]
push 0x7e6378
push str.glEvalMesh2
push 0x7e64fc
mov dword [edx + 4], eax
mov eax, dword [0x780470]
push str.glMapGrid2d
push 0x7e6568
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x780474]
push 0x7e642c
push str.glMap2d
push 0x7e64cc
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x7803ec]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x7e64f8
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x7803f0]
push 0x7e6560
push str.glEvalCoord1d
push 0x7e641c
mov dword [ecx + 4], eax
mov al, byte [0x7803f2]
push str.glMap1d
push 0x7e64d0
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x7e6408
push str.glPointSize
push 0x7e65a0
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x7e6550
push str.glPushAttrib
push 0x7e6330
push str.glPopAttrib
push 0x7e65c0
push str.wglUseFontOutlinesA
push 0x7e6488
push str.wglDeleteContext
push 0x7e64c4
push str.wglMakeCurrent
push 0x7e6574
push str.wglCreateContext
push 0x7e6314
push str.glGetError
push 0x7e62f4
push str.glGetBooleanv
push 0x7e6530
push str.glVertex3dv
push 0x7e649c
push str.glNormal3dv
push 0x7e64c0
push str.glPixelZoom
push 0x7e64d8
push str.glPixelStorei
push 0x7e6414
push str.glCopyPixels
push 0x7e62ec
push str.glBitmap
push 0x7e63fc
push str.glRasterPos2d
push 0x7e64c8
push str.glCallLists
push 0x7e6540
push str.glListBase
push 0x7e637c
push str.glDeleteLists
push 0x7e6394
push str.glIsList
push 0x7e65b8
push str.glCallList
push 0x7e639c
push str.glGenLists
push 0x7e63d8
push str.glEndList
push 0x7e640c
push str.glNewList
push 0x7e62c8
push str.glTexGend
push 0x7e63f0
push str.glTexGendv
push 0x7e6534
push str.glGenTextures
push 0x7e6304
push str.glTexEnvf
push 0x7e6400
push str.glTexEnvfv
push 0x7e656c
push str.glTexCoord1d
push 0x7e64a0
push str.glTexCoord2d
push 0x7e6498
push str.glTexImage2D
push 0x7e6388
push str.glTexImage1D
push 0x7e6380
push str.glTexParameterf
push 0x7e6324
push str.glTexParameterfv
push 0x7e6580
push str.glBindTexture
push 0x7e63a4
push str.glShadeModel
push 0x7e6494
push str.glNormal3d
push 0x7e6374
push str.glFogf
push 0x7e6318
push str.glFogfv
push 0x7e6538
push str.glColorMaterial
push 0x7e62dc
push str.glMaterialf
push 0x7e6558
push str.glMaterialfv
push 0x7e6524
push str.glLightModelf
push 0x7e64b0
push str.glLightModelfv
push 0x7e62f8
push str.glLightf
push 0x7e6320
push str.glLightfv
push 0x7e65ac
push str.glDisable
push 0x7e62f0
push str.glEnable
push 0x7e645c
push str.glIndexf
push 0x7e6338
push str.glColor4d
push 0x7e6470
push str.glClearIndex
push 0x7e6390
push str.glClearStencil
push 0x7e6410
push str.glClearDepth
push 0x7e632c
push str.glClearColor
push 0x7e6444
push str.glClearAccum
push 0x7e62cc
push str.glClear
push 0x7e650c
push str.glAccum
push 0x7e64d4
push str.glFlush
push 0x7e6578
push str.glFinish
push 0x7e6384
push str.glStencilOp
push 0x7e65a8
push str.glStencilFunc
push 0x7e631c
push str.glDepthFunc
push 0x7e6310
push str.glBlendFunc
push 0x7e653c
push str.glAlphaFunc
push 0x7e655c
push str.glHint
push 0x7e6340
push str.glScissor
push 0x7e6504
push str.glEdgeFlag
push 0x7e657c
push str.glPolygonStipple
push 0x7e62d8
push str.glLineStipple
push 0x7e62e4
push str.glPolygonMode
push 0x7e633c
push str.glClipPlane
push 0x7e63a8
push str.glFrontFace
push 0x7e63a0
push str.glRectd
push 0x7e63ac
push str.glVertex3d
push 0x7e6570
push str.glEnd
push 0x7e644c
push str.glBegin
push 0x7e62e8
push str.glMultMatrixd
push 0x7e638c
push str.glLoadMatrixd
push 0x7e65b4
push str.glPopMatrix
push 0x7e6510
push str.glPushMatrix
push 0x7e6328
push str.glViewport
push 0x7e651c
push str.glOrtho
push 0x7e64a8
push str.glFrustum
push 0x7e63f8
push str.glScaled
push 0x7e6598
push str.glRotated
push 0x7e6418
push str.glTranslated
push 0x7e6514
push str.glMatrixMode
push 0x7e6438
push str.glLoadIdentity
push 0x7e6464
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x7e65d8
call fcn.00520d90
add esp, 0x384
test al, al
je 0x5213ca
push str.gluUnProject
push 0x7e63dc
push str.gluProject
push 0x7e64e0
push str.gluPickMatrix
push 0x7e6518
push str.gluDeleteQuadric
push 0x7e65bc
push str.gluPartialDisk
push 0x7e64dc
push str.gluDisk
push 0x7e6474
push str.gluCylinder
push 0x7e648c
push str.gluSphere
push 0x7e6544
push str.gluNewQuadric
push 0x7e652c
push str.gluQuadricTexture
push 0x7e6490
push str.gluQuadricOrientation
push 0x7e643c
push str.gluQuadricNormals
push 0x7e65b0
push str.gluQuadricDrawStyle
push 0x7e659c
push str.gluLookAt
push 0x7e63f4
push str.gluBuild2DMipmaps
push 0x7e63d4
push str.gluPerspective
push 0x7e6350
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x7e65dc
call fcn.00520d90
add esp, 0x8c
test al, al
je 0x5213ca
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x77fdd8
xor esi, esi
call fcn.00521430
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret