Function at 0x4b1f50
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 0x5a85c4
push str.glGetIntegerv
push 0x5a8394
push str.glPassThrough
push 0x5a8568
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x5a8488
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x5a84b4
push str.glRenderMode
push 0x5a8588
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x5a8340
push str.glPopName
push 0x5a84a0
not ecx
push str.glPushName
dec ecx
push 0x5a8334
push str.glInitNames
push 0x5a8360
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x5a8604
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x55294c]
push 0x5a83d8
push str.glEvalMesh2
push 0x5a855c
mov dword [edx + 4], eax
mov eax, dword [0x552950]
push str.glMapGrid2d
push 0x5a85c8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x552954]
push 0x5a848c
push str.glMap2d
push 0x5a852c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x5528cc]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x5a8558
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x5528d0]
push 0x5a85c0
push str.glEvalCoord1d
push 0x5a847c
mov dword [ecx + 4], eax
mov al, byte [0x5528d2]
push str.glMap1d
push 0x5a8530
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x5a8468
push str.glPointSize
push 0x5a8600
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x5a85b0
push str.glPushAttrib
push 0x5a8390
push str.glPopAttrib
push 0x5a8620
push str.wglUseFontOutlinesA
push 0x5a84e8
push str.wglDeleteContext
push 0x5a8524
push str.wglMakeCurrent
push 0x5a85d4
push str.wglCreateContext
push 0x5a8374
push str.glGetError
push 0x5a8354
push str.glGetBooleanv
push 0x5a8590
push str.glVertex3dv
push 0x5a84fc
push str.glNormal3dv
push 0x5a8520
push str.glPixelZoom
push 0x5a8538
push str.glPixelStorei
push 0x5a8474
push str.glCopyPixels
push 0x5a834c
push str.glBitmap
push 0x5a845c
push str.glRasterPos2d
push 0x5a8528
push str.glCallLists
push 0x5a85a0
push str.glListBase
push 0x5a83dc
push str.glDeleteLists
push 0x5a83f4
push str.glIsList
push 0x5a8618
push str.glCallList
push 0x5a83fc
push str.glGenLists
push 0x5a8438
push str.glEndList
push 0x5a846c
push str.glNewList
push 0x5a8328
push str.glTexGend
push 0x5a8450
push str.glTexGendv
push 0x5a8594
push str.glGenTextures
push 0x5a8364
push str.glTexEnvf
push 0x5a8460
push str.glTexEnvfv
push 0x5a85cc
push str.glTexCoord1d
push 0x5a8500
push str.glTexCoord2d
push 0x5a84f8
push str.glTexImage2D
push 0x5a83e8
push str.glTexImage1D
push 0x5a83e0
push str.glTexParameterf
push 0x5a8384
push str.glTexParameterfv
push 0x5a85e0
push str.glBindTexture
push 0x5a8404
push str.glShadeModel
push 0x5a84f4
push str.glNormal3d
push 0x5a83d4
push str.glFogf
push 0x5a8378
push str.glFogfv
push 0x5a8598
push str.glColorMaterial
push 0x5a833c
push str.glMaterialf
push 0x5a85b8
push str.glMaterialfv
push 0x5a8584
push str.glLightModelf
push 0x5a8510
push str.glLightModelfv
push 0x5a8358
push str.glLightf
push 0x5a8380
push str.glLightfv
push 0x5a860c
push str.glDisable
push 0x5a8350
push str.glEnable
push 0x5a84bc
push str.glIndexf
push 0x5a8398
push str.glColor4d
push 0x5a84d0
push str.glClearIndex
push 0x5a83f0
push str.glClearStencil
push 0x5a8470
push str.glClearDepth
push 0x5a838c
push str.glClearColor
push 0x5a84a4
push str.glClearAccum
push 0x5a832c
push str.glClear
push 0x5a856c
push str.glAccum
push 0x5a8534
push str.glFlush
push 0x5a85d8
push str.glFinish
push 0x5a83e4
push str.glStencilOp
push 0x5a8608
push str.glStencilFunc
push 0x5a837c
push str.glDepthFunc
push 0x5a8370
push str.glBlendFunc
push 0x5a859c
push str.glAlphaFunc
push 0x5a85bc
push str.glHint
push 0x5a83a0
push str.glScissor
push 0x5a8564
push str.glEdgeFlag
push 0x5a85dc
push str.glPolygonStipple
push 0x5a8338
push str.glLineStipple
push 0x5a8344
push str.glPolygonMode
push 0x5a839c
push str.glClipPlane
push 0x5a8408
push str.glFrontFace
push 0x5a8400
push str.glRectd
push 0x5a840c
push str.glVertex3d
push 0x5a85d0
push str.glEnd
push 0x5a84ac
push str.glBegin
push 0x5a8348
push str.glMultMatrixd
push 0x5a83ec
push str.glLoadMatrixd
push 0x5a8614
push str.glPopMatrix
push 0x5a8570
push str.glPushMatrix
push 0x5a8388
push str.glViewport
push 0x5a857c
push str.glOrtho
push 0x5a8508
push str.glFrustum
push 0x5a8458
push str.glScaled
push 0x5a85f8
push str.glRotated
push 0x5a8478
push str.glTranslated
push 0x5a8574
push str.glMatrixMode
push 0x5a8498
push str.glLoadIdentity
push 0x5a84c4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x5a8638
call fcn.004b1ee0
add esp, 0x384
test al, al
je 0x4b251a
push str.gluUnProject
push 0x5a843c
push str.gluProject
push 0x5a8540
push str.gluPickMatrix
push 0x5a8578
push str.gluDeleteQuadric
push 0x5a861c
push str.gluPartialDisk
push 0x5a853c
push str.gluDisk
push 0x5a84d4
push str.gluCylinder
push 0x5a84ec
push str.gluSphere
push 0x5a85a4
push str.gluNewQuadric
push 0x5a858c
push str.gluQuadricTexture
push 0x5a84f0
push str.gluQuadricOrientation
push 0x5a849c
push str.gluQuadricNormals
push 0x5a8610
push str.gluQuadricDrawStyle
push 0x5a85fc
push str.gluLookAt
push 0x5a8454
push str.gluBuild2DMipmaps
push 0x5a8434
push str.gluPerspective
push 0x5a83b0
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x5a863c
call fcn.004b1ee0
add esp, 0x8c
test al, al
je 0x4b251a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x5522b8
xor esi, esi
call fcn.004b2580
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret