Function at 0x1007e260
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 0x10111a94
push str.glGetIntegerv
push 0x10111864
push str.glPassThrough
push 0x10111a38
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x10111958
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x10111984
push str.glRenderMode
push 0x10111a58
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x10111810
push str.glPopName
push 0x10111970
not ecx
push str.glPushName
dec ecx
push 0x10111804
push str.glInitNames
push 0x10111830
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x10111ad4
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x100fec9c]
push 0x101118a8
push str.glEvalMesh2
push 0x10111a2c
mov dword [edx + 4], eax
mov eax, dword [0x100feca0]
push str.glMapGrid2d
push 0x10111a98
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x100feca4]
push 0x1011195c
push str.glMap2d
push 0x101119fc
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x100fec1c]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x10111a28
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x100fec20]
push 0x10111a90
push str.glEvalCoord1d
push 0x1011194c
mov dword [ecx + 4], eax
mov al, byte [0x100fec22]
push str.glMap1d
push 0x10111a00
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x10111938
push str.glPointSize
push 0x10111ad0
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x10111a80
push str.glPushAttrib
push 0x10111860
push str.glPopAttrib
push 0x10111af0
push str.wglUseFontOutlinesA
push 0x101119b8
push str.wglDeleteContext
push 0x101119f4
push str.wglMakeCurrent
push 0x10111aa4
push str.wglCreateContext
push 0x10111844
push str.glGetError
push 0x10111824
push str.glGetBooleanv
push 0x10111a60
push str.glVertex3dv
push 0x101119cc
push str.glNormal3dv
push 0x101119f0
push str.glPixelZoom
push 0x10111a08
push str.glPixelStorei
push 0x10111944
push str.glCopyPixels
push 0x1011181c
push str.glBitmap
push 0x1011192c
push str.glRasterPos2d
push 0x101119f8
push str.glCallLists
push 0x10111a70
push str.glListBase
push 0x101118ac
push str.glDeleteLists
push 0x101118c4
push str.glIsList
push 0x10111ae8
push str.glCallList
push 0x101118cc
push str.glGenLists
push 0x10111908
push str.glEndList
push 0x1011193c
push str.glNewList
push 0x101117f8
push str.glTexGend
push 0x10111920
push str.glTexGendv
push 0x10111a64
push str.glGenTextures
push 0x10111834
push str.glTexEnvf
push 0x10111930
push str.glTexEnvfv
push 0x10111a9c
push str.glTexCoord1d
push 0x101119d0
push str.glTexCoord2d
push 0x101119c8
push str.glTexImage2D
push 0x101118b8
push str.glTexImage1D
push 0x101118b0
push str.glTexParameterf
push 0x10111854
push str.glTexParameterfv
push 0x10111ab0
push str.glBindTexture
push 0x101118d4
push str.glShadeModel
push 0x101119c4
push str.glNormal3d
push 0x101118a4
push str.glFogf
push 0x10111848
push str.glFogfv
push 0x10111a68
push str.glColorMaterial
push 0x1011180c
push str.glMaterialf
push 0x10111a88
push str.glMaterialfv
push 0x10111a54
push str.glLightModelf
push 0x101119e0
push str.glLightModelfv
push 0x10111828
push str.glLightf
push 0x10111850
push str.glLightfv
push 0x10111adc
push str.glDisable
push 0x10111820
push str.glEnable
push 0x1011198c
push str.glIndexf
push 0x10111868
push str.glColor4d
push 0x101119a0
push str.glClearIndex
push 0x101118c0
push str.glClearStencil
push 0x10111940
push str.glClearDepth
push 0x1011185c
push str.glClearColor
push 0x10111974
push str.glClearAccum
push 0x101117fc
push str.glClear
push 0x10111a3c
push str.glAccum
push 0x10111a04
push str.glFlush
push 0x10111aa8
push str.glFinish
push 0x101118b4
push str.glStencilOp
push 0x10111ad8
push str.glStencilFunc
push 0x1011184c
push str.glDepthFunc
push 0x10111840
push str.glBlendFunc
push 0x10111a6c
push str.glAlphaFunc
push 0x10111a8c
push str.glHint
push 0x10111870
push str.glScissor
push 0x10111a34
push str.glEdgeFlag
push 0x10111aac
push str.glPolygonStipple
push 0x10111808
push str.glLineStipple
push 0x10111814
push str.glPolygonMode
push 0x1011186c
push str.glClipPlane
push 0x101118d8
push str.glFrontFace
push 0x101118d0
push str.glRectd
push 0x101118dc
push str.glVertex3d
push 0x10111aa0
push str.glEnd
push 0x1011197c
push str.glBegin
push 0x10111818
push str.glMultMatrixd
push 0x101118bc
push str.glLoadMatrixd
push 0x10111ae4
push str.glPopMatrix
push 0x10111a40
push str.glPushMatrix
push 0x10111858
push str.glViewport
push 0x10111a4c
push str.glOrtho
push 0x101119d8
push str.glFrustum
push 0x10111928
push str.glScaled
push 0x10111ac8
push str.glRotated
push 0x10111948
push str.glTranslated
push 0x10111a44
push str.glMatrixMode
push 0x10111968
push str.glLoadIdentity
push 0x10111994
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x10111b08
call fcn.1007e1f0
add esp, 0x384
test al, al
je 0x1007e82a
push str.gluUnProject
push 0x1011190c
push str.gluProject
push 0x10111a10
push str.gluPickMatrix
push 0x10111a48
push str.gluDeleteQuadric
push 0x10111aec
push str.gluPartialDisk
push 0x10111a0c
push str.gluDisk
push 0x101119a4
push str.gluCylinder
push 0x101119bc
push str.gluSphere
push 0x10111a74
push str.gluNewQuadric
push 0x10111a5c
push str.gluQuadricTexture
push 0x101119c0
push str.gluQuadricOrientation
push 0x1011196c
push str.gluQuadricNormals
push 0x10111ae0
push str.gluQuadricDrawStyle
push 0x10111acc
push str.gluLookAt
push 0x10111924
push str.gluBuild2DMipmaps
push 0x10111904
push str.gluPerspective
push 0x10111880
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x10111b0c
call fcn.1007e1f0
add esp, 0x8c
test al, al
je 0x1007e82a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x100fe608
xor esi, esi
call fcn.1007e890
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret