Function at 0x4570e0
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 0x4dc36c
push str.glGetIntegerv
push 0x4dc13c
push str.glPassThrough
push 0x4dc310
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x4dc230
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x4dc25c
push str.glRenderMode
push 0x4dc330
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x4dc0e8
push str.glPopName
push 0x4dc248
not ecx
push str.glPushName
dec ecx
push 0x4dc0dc
push str.glInitNames
push 0x4dc108
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x4dc3ac
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x4af064]
push 0x4dc180
push str.glEvalMesh2
push 0x4dc304
mov dword [edx + 4], eax
mov eax, dword [0x4af068]
push str.glMapGrid2d
push 0x4dc370
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x4af06c]
push 0x4dc234
push str.glMap2d
push 0x4dc2d4
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x4aefe4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x4dc300
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x4aefe8]
push 0x4dc368
push str.glEvalCoord1d
push 0x4dc224
mov dword [ecx + 4], eax
mov al, byte [0x4aefea]
push str.glMap1d
push 0x4dc2d8
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x4dc210
push str.glPointSize
push 0x4dc3a8
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x4dc358
push str.glPushAttrib
push 0x4dc138
push str.glPopAttrib
push 0x4dc3c8
push str.wglUseFontOutlinesA
push 0x4dc290
push str.wglDeleteContext
push 0x4dc2cc
push str.wglMakeCurrent
push 0x4dc37c
push str.wglCreateContext
push 0x4dc11c
push str.glGetError
push 0x4dc0fc
push str.glGetBooleanv
push 0x4dc338
push str.glVertex3dv
push 0x4dc2a4
push str.glNormal3dv
push 0x4dc2c8
push str.glPixelZoom
push 0x4dc2e0
push str.glPixelStorei
push 0x4dc21c
push str.glCopyPixels
push 0x4dc0f4
push str.glBitmap
push 0x4dc204
push str.glRasterPos2d
push 0x4dc2d0
push str.glCallLists
push 0x4dc348
push str.glListBase
push 0x4dc184
push str.glDeleteLists
push 0x4dc19c
push str.glIsList
push 0x4dc3c0
push str.glCallList
push 0x4dc1a4
push str.glGenLists
push 0x4dc1e0
push str.glEndList
push 0x4dc214
push str.glNewList
push 0x4dc0d0
push str.glTexGend
push 0x4dc1f8
push str.glTexGendv
push 0x4dc33c
push str.glGenTextures
push 0x4dc10c
push str.glTexEnvf
push 0x4dc208
push str.glTexEnvfv
push 0x4dc374
push str.glTexCoord1d
push 0x4dc2a8
push str.glTexCoord2d
push 0x4dc2a0
push str.glTexImage2D
push 0x4dc190
push str.glTexImage1D
push 0x4dc188
push str.glTexParameterf
push 0x4dc12c
push str.glTexParameterfv
push 0x4dc388
push str.glBindTexture
push 0x4dc1ac
push str.glShadeModel
push 0x4dc29c
push str.glNormal3d
push 0x4dc17c
push str.glFogf
push 0x4dc120
push str.glFogfv
push 0x4dc340
push str.glColorMaterial
push 0x4dc0e4
push str.glMaterialf
push 0x4dc360
push str.glMaterialfv
push 0x4dc32c
push str.glLightModelf
push 0x4dc2b8
push str.glLightModelfv
push 0x4dc100
push str.glLightf
push 0x4dc128
push str.glLightfv
push 0x4dc3b4
push str.glDisable
push 0x4dc0f8
push str.glEnable
push 0x4dc264
push str.glIndexf
push 0x4dc140
push str.glColor4d
push 0x4dc278
push str.glClearIndex
push 0x4dc198
push str.glClearStencil
push 0x4dc218
push str.glClearDepth
push 0x4dc134
push str.glClearColor
push 0x4dc24c
push str.glClearAccum
push 0x4dc0d4
push str.glClear
push 0x4dc314
push str.glAccum
push 0x4dc2dc
push str.glFlush
push 0x4dc380
push str.glFinish
push 0x4dc18c
push str.glStencilOp
push 0x4dc3b0
push str.glStencilFunc
push 0x4dc124
push str.glDepthFunc
push 0x4dc118
push str.glBlendFunc
push 0x4dc344
push str.glAlphaFunc
push 0x4dc364
push str.glHint
push 0x4dc148
push str.glScissor
push 0x4dc30c
push str.glEdgeFlag
push 0x4dc384
push str.glPolygonStipple
push 0x4dc0e0
push str.glLineStipple
push 0x4dc0ec
push str.glPolygonMode
push 0x4dc144
push str.glClipPlane
push 0x4dc1b0
push str.glFrontFace
push 0x4dc1a8
push str.glRectd
push 0x4dc1b4
push str.glVertex3d
push 0x4dc378
push str.glEnd
push 0x4dc254
push str.glBegin
push 0x4dc0f0
push str.glMultMatrixd
push 0x4dc194
push str.glLoadMatrixd
push 0x4dc3bc
push str.glPopMatrix
push 0x4dc318
push str.glPushMatrix
push 0x4dc130
push str.glViewport
push 0x4dc324
push str.glOrtho
push 0x4dc2b0
push str.glFrustum
push 0x4dc200
push str.glScaled
push 0x4dc3a0
push str.glRotated
push 0x4dc220
push str.glTranslated
push 0x4dc31c
push str.glMatrixMode
push 0x4dc240
push str.glLoadIdentity
push 0x4dc26c
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x4dc3e0
call fcn.00457070
add esp, 0x384
test al, al
je 0x4576aa
push str.gluUnProject
push 0x4dc1e4
push str.gluProject
push 0x4dc2e8
push str.gluPickMatrix
push 0x4dc320
push str.gluDeleteQuadric
push 0x4dc3c4
push str.gluPartialDisk
push 0x4dc2e4
push str.gluDisk
push 0x4dc27c
push str.gluCylinder
push 0x4dc294
push str.gluSphere
push 0x4dc34c
push str.gluNewQuadric
push 0x4dc334
push str.gluQuadricTexture
push 0x4dc298
push str.gluQuadricOrientation
push 0x4dc244
push str.gluQuadricNormals
push 0x4dc3b8
push str.gluQuadricDrawStyle
push 0x4dc3a4
push str.gluLookAt
push 0x4dc1fc
push str.gluBuild2DMipmaps
push 0x4dc1dc
push str.gluPerspective
push 0x4dc158
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x4dc3e4
call fcn.00457070
add esp, 0x8c
test al, al
je 0x4576aa
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x4ae9d0
xor esi, esi
call fcn.00457710
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret