Function at 0x492920
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 0x5a35a4
push str.glGetIntegerv
push 0x5a3374
push str.glPassThrough
push 0x5a3548
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push str.glFeedbackBuffer
push 0x5a3468
push str.glSelectBuffer
repne scasb al, byte es:[edi]
push 0x5a3494
push str.glRenderMode
push 0x5a3568
push str.glLoadName
mov eax, dword [str.Opengl32.dll]
push 0x5a3320
push str.glPopName
push 0x5a3480
not ecx
push str.glPushName
dec ecx
push 0x5a3314
push str.glInitNames
push 0x5a3340
lea edx, [esp + ecx + 0x58]
push str.glDeleteTextures
push 0x5a35e4
push str.glIsTexture
mov dword [edx], eax
mov eax, dword [0x54a26c]
push 0x5a33b8
push str.glEvalMesh2
push 0x5a353c
mov dword [edx + 4], eax
mov eax, dword [0x54a270]
push str.glMapGrid2d
push 0x5a35a8
push str.glEvalCoord2d
mov dword [edx + 8], eax
mov ax, word [0x54a274]
push 0x5a346c
push str.glMap2d
push 0x5a350c
mov word [edx + 0xc], ax
mov edx, dword [str.glu32.dll]
mov eax, dword [0x54a1ec]
lea ecx, [esp + ecx + 0x18c]
push str.glEvalMesh1
push 0x5a3538
push str.glMapGrid1d
mov dword [ecx], edx
mov dx, word [0x54a1f0]
push 0x5a35a0
push str.glEvalCoord1d
push 0x5a345c
mov dword [ecx + 4], eax
mov al, byte [0x54a1f2]
push str.glMap1d
push 0x5a3510
push str.glGetFloatv
mov word [ecx + 8], dx
push 0x5a3448
push str.glPointSize
push 0x5a35e0
mov byte [ecx + 0xa], al
push str.glLineWidth
push 0x5a3590
push str.glPushAttrib
push 0x5a3370
push str.glPopAttrib
push 0x5a3600
push str.wglUseFontOutlinesA
push 0x5a34c8
push str.wglDeleteContext
push 0x5a3504
push str.wglMakeCurrent
push 0x5a35b4
push str.wglCreateContext
push 0x5a3354
push str.glGetError
push 0x5a3334
push str.glGetBooleanv
push 0x5a3570
push str.glVertex3dv
push 0x5a34dc
push str.glNormal3dv
push 0x5a3500
push str.glPixelZoom
push 0x5a3518
push str.glPixelStorei
push 0x5a3454
push str.glCopyPixels
push 0x5a332c
push str.glBitmap
push 0x5a343c
push str.glRasterPos2d
push 0x5a3508
push str.glCallLists
push 0x5a3580
push str.glListBase
push 0x5a33bc
push str.glDeleteLists
push 0x5a33d4
push str.glIsList
push 0x5a35f8
push str.glCallList
push 0x5a33dc
push str.glGenLists
push 0x5a3418
push str.glEndList
push 0x5a344c
push str.glNewList
push 0x5a3308
push str.glTexGend
push 0x5a3430
push str.glTexGendv
push 0x5a3574
push str.glGenTextures
push 0x5a3344
push str.glTexEnvf
push 0x5a3440
push str.glTexEnvfv
push 0x5a35ac
push str.glTexCoord1d
push 0x5a34e0
push str.glTexCoord2d
push 0x5a34d8
push str.glTexImage2D
push 0x5a33c8
push str.glTexImage1D
push 0x5a33c0
push str.glTexParameterf
push 0x5a3364
push str.glTexParameterfv
push 0x5a35c0
push str.glBindTexture
push 0x5a33e4
push str.glShadeModel
push 0x5a34d4
push str.glNormal3d
push 0x5a33b4
push str.glFogf
push 0x5a3358
push str.glFogfv
push 0x5a3578
push str.glColorMaterial
push 0x5a331c
push str.glMaterialf
push 0x5a3598
push str.glMaterialfv
push 0x5a3564
push str.glLightModelf
push 0x5a34f0
push str.glLightModelfv
push 0x5a3338
push str.glLightf
push 0x5a3360
push str.glLightfv
push 0x5a35ec
push str.glDisable
push 0x5a3330
push str.glEnable
push 0x5a349c
push str.glIndexf
push 0x5a3378
push str.glColor4d
push 0x5a34b0
push str.glClearIndex
push 0x5a33d0
push str.glClearStencil
push 0x5a3450
push str.glClearDepth
push 0x5a336c
push str.glClearColor
push 0x5a3484
push str.glClearAccum
push 0x5a330c
push str.glClear
push 0x5a354c
push str.glAccum
push 0x5a3514
push str.glFlush
push 0x5a35b8
push str.glFinish
push 0x5a33c4
push str.glStencilOp
push 0x5a35e8
push str.glStencilFunc
push 0x5a335c
push str.glDepthFunc
push 0x5a3350
push str.glBlendFunc
push 0x5a357c
push str.glAlphaFunc
push 0x5a359c
push str.glHint
push 0x5a3380
push str.glScissor
push 0x5a3544
push str.glEdgeFlag
push 0x5a35bc
push str.glPolygonStipple
push 0x5a3318
push str.glLineStipple
push 0x5a3324
push str.glPolygonMode
push 0x5a337c
push str.glClipPlane
push 0x5a33e8
push str.glFrontFace
push 0x5a33e0
push str.glRectd
push 0x5a33ec
push str.glVertex3d
push 0x5a35b0
push str.glEnd
push 0x5a348c
push str.glBegin
push 0x5a3328
push str.glMultMatrixd
push 0x5a33cc
push str.glLoadMatrixd
push 0x5a35f4
push str.glPopMatrix
push 0x5a3550
push str.glPushMatrix
push 0x5a3368
push str.glViewport
push 0x5a355c
push str.glOrtho
push 0x5a34e8
push str.glFrustum
push 0x5a3438
push str.glScaled
push 0x5a35d8
push str.glRotated
push 0x5a3458
push str.glTranslated
push 0x5a3554
push str.glMatrixMode
push 0x5a3478
push str.glLoadIdentity
push 0x5a34a4
lea ecx, [esp + 0x380]
push 0x6f
push ecx
push 0x5a3618
call fcn.004928b0
add esp, 0x384
test al, al
je 0x492eea
push str.gluUnProject
push 0x5a341c
push str.gluProject
push 0x5a3520
push str.gluPickMatrix
push 0x5a3558
push str.gluDeleteQuadric
push 0x5a35fc
push str.gluPartialDisk
push 0x5a351c
push str.gluDisk
push 0x5a34b4
push str.gluCylinder
push 0x5a34cc
push str.gluSphere
push 0x5a3584
push str.gluNewQuadric
push 0x5a356c
push str.gluQuadricTexture
push 0x5a34d0
push str.gluQuadricOrientation
push 0x5a347c
push str.gluQuadricNormals
push 0x5a35f0
push str.gluQuadricDrawStyle
push 0x5a35dc
push str.gluLookAt
push 0x5a3434
push str.gluBuild2DMipmaps
push 0x5a3414
push str.gluPerspective
push 0x5a3390
lea edx, [esp + 0x18c]
push 0x10
push edx
push 0x5a361c
call fcn.004928b0
add esp, 0x8c
test al, al
je 0x492eea
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
push 0x549bd8
xor esi, esi
call fcn.00492f50
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret