Function at 0x4789d0
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 0x6873c4
push str.glGetIntegerv
push 0x687194
push str.glPassThrough
push 0x687368
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x687288
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x6872b4
push str.glRenderMode
push 0x687388
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x687140
push str.glPopName
push 0x6872a0
not ecx
push str.glPushName
dec ecx
push 0x687134
push str.glInitNames
push 0x687160
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x687404
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x646524]
push 0x6871d8
push str.glEvalMesh2
push 0x68735c
mov dword [edx + 4], eax
mov eax, dword [0x646528]
push str.glMapGrid2d
push 0x6873c8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x64652c]
push 0x68728c
push str.glMap2d
push 0x68732c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x6464a4]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x687358
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x6464a8]
push 0x6873c0
push str.glEvalCoord1d
push 0x68727c
mov dword [ecx + 4], eax
mov al, byte [0x6464aa]
push str.glMap1d
push 0x687330
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x687268
push str.glPointSize
push 0x687400
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x6873b0
push str.glPushAttrib
push 0x687190
push str.glPopAttrib
push 0x687420
push str.wglUseFontOutlinesA
push 0x6872e8
push str.wglDeleteContext
push 0x687324
push str.wglMakeCurrent
push 0x6873d4
push str.wglCreateContext
push 0x687174
push str.glGetError
push 0x687154
push str.glGetBooleanv
push 0x687390
push str.glVertex3dv
push 0x6872fc
push str.glNormal3dv
push 0x687320
push str.glPixelZoom
push 0x687338
push str.glPixelStorei
push 0x687274
push str.glCopyPixels
push 0x68714c
push str.glBitmap
push 0x68725c
push str.glRasterPos2d
push 0x687328
push str.glCallLists
push 0x6873a0
push str.glListBase
push 0x6871dc
push str.glDeleteLists
push 0x6871f4
push str.glIsList
push 0x687418
push str.glCallList
push 0x6871fc
push str.glGenLists
push 0x687238
push str.glEndList
push 0x68726c
push str.glNewList
push 0x687128
push str.glTexGend
push 0x687250
push str.glTexGendv
push 0x687394
push str.glGenTextures
push 0x687164
push str.glTexEnvf
push 0x687260
push str.glTexEnvfv
push 0x6873cc
push str.glTexCoord1d
push 0x687300
push str.glTexCoord2d
push 0x6872f8
push str.glTexImage2D
push 0x6871e8
push str.glTexImage1D
push 0x6871e0
push str.glTexParameterf
push 0x687184
push str.glTexParameterfv
push 0x6873e0
push str.glBindTexture
push 0x687204
push str.glShadeModel
push 0x6872f4
push str.glNormal3d
push 0x6871d4
push str.glFogf
push 0x687178
push str.glFogfv
push 0x687398
push str.glColorMaterial
push 0x68713c
push str.glMaterialf
push 0x6873b8
push str.glMaterialfv
push 0x687384
push str.glLightModelf
push 0x687310
push str.glLightModelfv
push 0x687158
push str.glLightf
push 0x687180
push str.glLightfv
push 0x68740c
push str.glDisable
push 0x687150
push str.glEnable
push 0x6872bc
push str.glIndexf
push 0x687198
push str.glColor4d
push 0x6872d0
push str.glClearIndex
push 0x6871f0
push str.glClearStencil
push 0x687270
push str.glClearDepth
push 0x68718c
push str.glClearColor
push 0x6872a4
push str.glClearAccum
push 0x68712c
push str.glClear
push 0x68736c
push str.glAccum
push 0x687334
push str.glFlush
push 0x6873d8
push str.glFinish
push 0x6871e4
push str.glStencilOp
push 0x687408
push str.glStencilFunc
push 0x68717c
push str.glDepthFunc
push 0x687170
push str.glBlendFunc
push 0x68739c
push str.glAlphaFunc
push 0x6873bc
push str.glHint
push 0x6871a0
push str.glScissor
push 0x687364
push str.glEdgeFlag
push 0x6873dc
push str.glPolygonStipple
push 0x687138
push str.glLineStipple
push 0x687144
push str.glPolygonMode
push 0x68719c
push str.glClipPlane
push 0x687208
push str.glFrontFace
push 0x687200
push str.glRectd
push 0x68720c
push str.glVertex3d
push 0x6873d0
push str.glEnd
push 0x6872ac
push str.glBegin
push 0x687148
push str.glMultMatrixd
push 0x6871ec
push str.glLoadMatrixd
push 0x687414
push str.glPopMatrix
push 0x687370
push str.glPushMatrix
push 0x687188
push str.glViewport
push 0x68737c
push str.glOrtho
push 0x687308
push str.glFrustum
push 0x687258
push str.glScaled
push 0x6873f8
push str.glRotated
push 0x687278
push str.glTranslated
push 0x687374
push str.glMatrixMode
push 0x687298
push str.glLoadIdentity
push 0x6872c4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x687438
call fcn.00478960
add esp, 0x384
test al, al
je 0x478f9a
push str.gluUnProject
push 0x68723c
push str.gluProject
push 0x687340
push str.gluPickMatrix
push 0x687378
push str.gluDeleteQuadric
push 0x68741c
push str.gluPartialDisk
push 0x68733c
push str.gluDisk
push 0x6872d4
push str.gluCylinder
push 0x6872ec
push str.gluSphere
push 0x6873a4
push str.gluNewQuadric
push 0x68738c
push str.gluQuadricTexture
push 0x6872f0
push str.gluQuadricOrientation
push 0x68729c
push str.gluQuadricNormals
push 0x687410
push str.gluQuadricDrawStyle
push 0x6873fc
push str.gluLookAt
push 0x687254
push str.gluBuild2DMipmaps
push 0x687234
push str.gluPerspective
push 0x6871b0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x68743c
call fcn.00478960
add esp, 0x8c
test al, al
je 0x478f9a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x645e90
xor esi, esi
call fcn.00479000
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret