Function at 0x4c6050
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 0x7692f4
push str.glGetIntegerv
push 0x7690c4
push str.glPassThrough
push 0x769298
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x7691b8
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x7691e4
push str.glRenderMode
push 0x7692b8
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x769070
push str.glPopName
push 0x7691d0
not ecx
push str.glPushName
dec ecx
push 0x769064
push str.glInitNames
push 0x769090
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x769334
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x708a94]
push 0x769108
push str.glEvalMesh2
push 0x76928c
mov dword [edx + 4], eax
mov eax, dword [0x708a98]
push str.glMapGrid2d
push 0x7692f8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x708a9c]
push 0x7691bc
push str.glMap2d
push 0x76925c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x708a14]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x769288
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x708a18]
push 0x7692f0
push str.glEvalCoord1d
push 0x7691ac
mov dword [ecx + 4], eax
mov al, byte [0x708a1a]
push str.glMap1d
push 0x769260
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x769198
push str.glPointSize
push 0x769330
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x7692e0
push str.glPushAttrib
push 0x7690c0
push str.glPopAttrib
push 0x769350
push str.wglUseFontOutlinesA
push 0x769218
push str.wglDeleteContext
push 0x769254
push str.wglMakeCurrent
push 0x769304
push str.wglCreateContext
push 0x7690a4
push str.glGetError
push 0x769084
push str.glGetBooleanv
push 0x7692c0
push str.glVertex3dv
push 0x76922c
push str.glNormal3dv
push 0x769250
push str.glPixelZoom
push 0x769268
push str.glPixelStorei
push 0x7691a4
push str.glCopyPixels
push 0x76907c
push str.glBitmap
push 0x76918c
push str.glRasterPos2d
push 0x769258
push str.glCallLists
push 0x7692d0
push str.glListBase
push 0x76910c
push str.glDeleteLists
push 0x769124
push str.glIsList
push 0x769348
push str.glCallList
push 0x76912c
push str.glGenLists
push 0x769168
push str.glEndList
push 0x76919c
push str.glNewList
push 0x769058
push str.glTexGend
push 0x769180
push str.glTexGendv
push 0x7692c4
push str.glGenTextures
push 0x769094
push str.glTexEnvf
push 0x769190
push str.glTexEnvfv
push 0x7692fc
push str.glTexCoord1d
push 0x769230
push str.glTexCoord2d
push 0x769228
push str.glTexImage2D
push 0x769118
push str.glTexImage1D
push 0x769110
push str.glTexParameterf
push 0x7690b4
push str.glTexParameterfv
push 0x769310
push str.glBindTexture
push 0x769134
push str.glShadeModel
push 0x769224
push str.glNormal3d
push 0x769104
push str.glFogf
push 0x7690a8
push str.glFogfv
push 0x7692c8
push str.glColorMaterial
push 0x76906c
push str.glMaterialf
push 0x7692e8
push str.glMaterialfv
push 0x7692b4
push str.glLightModelf
push 0x769240
push str.glLightModelfv
push 0x769088
push str.glLightf
push 0x7690b0
push str.glLightfv
push 0x76933c
push str.glDisable
push 0x769080
push str.glEnable
push 0x7691ec
push str.glIndexf
push 0x7690c8
push str.glColor4d
push 0x769200
push str.glClearIndex
push 0x769120
push str.glClearStencil
push 0x7691a0
push str.glClearDepth
push 0x7690bc
push str.glClearColor
push 0x7691d4
push str.glClearAccum
push 0x76905c
push str.glClear
push 0x76929c
push str.glAccum
push 0x769264
push str.glFlush
push 0x769308
push str.glFinish
push 0x769114
push str.glStencilOp
push 0x769338
push str.glStencilFunc
push 0x7690ac
push str.glDepthFunc
push 0x7690a0
push str.glBlendFunc
push 0x7692cc
push str.glAlphaFunc
push 0x7692ec
push str.glHint
push 0x7690d0
push str.glScissor
push 0x769294
push str.glEdgeFlag
push 0x76930c
push str.glPolygonStipple
push 0x769068
push str.glLineStipple
push 0x769074
push str.glPolygonMode
push 0x7690cc
push str.glClipPlane
push 0x769138
push str.glFrontFace
push 0x769130
push str.glRectd
push 0x76913c
push str.glVertex3d
push 0x769300
push str.glEnd
push 0x7691dc
push str.glBegin
push 0x769078
push str.glMultMatrixd
push 0x76911c
push str.glLoadMatrixd
push 0x769344
push str.glPopMatrix
push 0x7692a0
push str.glPushMatrix
push 0x7690b8
push str.glViewport
push 0x7692ac
push str.glOrtho
push 0x769238
push str.glFrustum
push 0x769188
push str.glScaled
push 0x769328
push str.glRotated
push 0x7691a8
push str.glTranslated
push 0x7692a4
push str.glMatrixMode
push 0x7691c8
push str.glLoadIdentity
push 0x7691f4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x769368
call fcn.004c5fe0
add esp, 0x384
test al, al
je 0x4c661a
push str.gluUnProject
push 0x76916c
push str.gluProject
push 0x769270
push str.gluPickMatrix
push 0x7692a8
push str.gluDeleteQuadric
push 0x76934c
push str.gluPartialDisk
push 0x76926c
push str.gluDisk
push 0x769204
push str.gluCylinder
push 0x76921c
push str.gluSphere
push 0x7692d4
push str.gluNewQuadric
push 0x7692bc
push str.gluQuadricTexture
push 0x769220
push str.gluQuadricOrientation
push 0x7691cc
push str.gluQuadricNormals
push 0x769340
push str.gluQuadricDrawStyle
push 0x76932c
push str.gluLookAt
push 0x769184
push str.gluBuild2DMipmaps
push 0x769164
push str.gluPerspective
push 0x7690e0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x76936c
call fcn.004c5fe0
add esp, 0x8c
test al, al
je 0x4c661a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x708400
xor esi, esi
call fcn.004c6680
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret