Function at 0x45e970
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 0x6882b4
push str.glGetIntegerv
push 0x688084
push str.glPassThrough
push 0x688258
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x688178
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x6881a4
push str.glRenderMode
push 0x688278
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x688030
push str.glPopName
push 0x688190
not ecx
push str.glPushName
dec ecx
push 0x688024
push str.glInitNames
push 0x688050
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x6882f4
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x623fbc]
push 0x6880c8
push str.glEvalMesh2
push 0x68824c
mov dword [edx + 4], eax
mov eax, dword [0x623fc0]
push str.glMapGrid2d
push 0x6882b8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x623fc4]
push 0x68817c
push str.glMap2d
push 0x68821c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x623f3c]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x688248
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x623f40]
push 0x6882b0
push str.glEvalCoord1d
push 0x68816c
mov dword [ecx + 4], eax
mov al, byte [0x623f42]
push str.glMap1d
push 0x688220
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x688158
push str.glPointSize
push 0x6882f0
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x6882a0
push str.glPushAttrib
push 0x688080
push str.glPopAttrib
push 0x688310
push str.wglUseFontOutlinesA
push 0x6881d8
push str.wglDeleteContext
push 0x688214
push str.wglMakeCurrent
push 0x6882c4
push str.wglCreateContext
push 0x688064
push str.glGetError
push 0x688044
push str.glGetBooleanv
push 0x688280
push str.glVertex3dv
push 0x6881ec
push str.glNormal3dv
push 0x688210
push str.glPixelZoom
push 0x688228
push str.glPixelStorei
push 0x688164
push str.glCopyPixels
push 0x68803c
push str.glBitmap
push 0x68814c
push str.glRasterPos2d
push 0x688218
push str.glCallLists
push 0x688290
push str.glListBase
push 0x6880cc
push str.glDeleteLists
push 0x6880e4
push str.glIsList
push 0x688308
push str.glCallList
push 0x6880ec
push str.glGenLists
push 0x688128
push str.glEndList
push 0x68815c
push str.glNewList
push 0x688018
push str.glTexGend
push 0x688140
push str.glTexGendv
push 0x688284
push str.glGenTextures
push 0x688054
push str.glTexEnvf
push 0x688150
push str.glTexEnvfv
push 0x6882bc
push str.glTexCoord1d
push 0x6881f0
push str.glTexCoord2d
push 0x6881e8
push str.glTexImage2D
push 0x6880d8
push str.glTexImage1D
push 0x6880d0
push str.glTexParameterf
push 0x688074
push str.glTexParameterfv
push 0x6882d0
push str.glBindTexture
push 0x6880f4
push str.glShadeModel
push 0x6881e4
push str.glNormal3d
push 0x6880c4
push str.glFogf
push 0x688068
push str.glFogfv
push 0x688288
push str.glColorMaterial
push 0x68802c
push str.glMaterialf
push 0x6882a8
push str.glMaterialfv
push 0x688274
push str.glLightModelf
push 0x688200
push str.glLightModelfv
push 0x688048
push str.glLightf
push 0x688070
push str.glLightfv
push 0x6882fc
push str.glDisable
push 0x688040
push str.glEnable
push 0x6881ac
push str.glIndexf
push 0x688088
push str.glColor4d
push 0x6881c0
push str.glClearIndex
push 0x6880e0
push str.glClearStencil
push 0x688160
push str.glClearDepth
push 0x68807c
push str.glClearColor
push 0x688194
push str.glClearAccum
push 0x68801c
push str.glClear
push 0x68825c
push str.glAccum
push 0x688224
push str.glFlush
push 0x6882c8
push str.glFinish
push 0x6880d4
push str.glStencilOp
push 0x6882f8
push str.glStencilFunc
push 0x68806c
push str.glDepthFunc
push 0x688060
push str.glBlendFunc
push 0x68828c
push str.glAlphaFunc
push 0x6882ac
push str.glHint
push 0x688090
push str.glScissor
push 0x688254
push str.glEdgeFlag
push 0x6882cc
push str.glPolygonStipple
push 0x688028
push str.glLineStipple
push 0x688034
push str.glPolygonMode
push 0x68808c
push str.glClipPlane
push 0x6880f8
push str.glFrontFace
push 0x6880f0
push str.glRectd
push 0x6880fc
push str.glVertex3d
push 0x6882c0
push str.glEnd
push 0x68819c
push str.glBegin
push 0x688038
push str.glMultMatrixd
push 0x6880dc
push str.glLoadMatrixd
push 0x688304
push str.glPopMatrix
push 0x688260
push str.glPushMatrix
push 0x688078
push str.glViewport
push 0x68826c
push str.glOrtho
push 0x6881f8
push str.glFrustum
push 0x688148
push str.glScaled
push 0x6882e8
push str.glRotated
push 0x688168
push str.glTranslated
push 0x688264
push str.glMatrixMode
push 0x688188
push str.glLoadIdentity
push 0x6881b4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x688328
call fcn.0045e900
add esp, 0x384
test al, al
je 0x45ef3a
push str.gluUnProject
push 0x68812c
push str.gluProject
push 0x688230
push str.gluPickMatrix
push 0x688268
push str.gluDeleteQuadric
push 0x68830c
push str.gluPartialDisk
push 0x68822c
push str.gluDisk
push 0x6881c4
push str.gluCylinder
push 0x6881dc
push str.gluSphere
push 0x688294
push str.gluNewQuadric
push 0x68827c
push str.gluQuadricTexture
push 0x6881e0
push str.gluQuadricOrientation
push 0x68818c
push str.gluQuadricNormals
push 0x688300
push str.gluQuadricDrawStyle
push 0x6882ec
push str.gluLookAt
push 0x688144
push str.gluBuild2DMipmaps
push 0x688124
push str.gluPerspective
push 0x6880a0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x68832c
call fcn.0045e900
add esp, 0x8c
test al, al
je 0x45ef3a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x623928
xor esi, esi
call fcn.0045efa0
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret