Function at 0x1004b4a4
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
push str.OGLFuncs_InitBaseFuncs
inc ebx
push ebx
push 3
call fcn.100afef1
mov eax, dword [0x100fdf58]
add esp, 0xc
test eax, eax
jne 0x1004b4d4
push str.OGLFuncs_InitBaseFuncs:_library_not_yet_initialized
push ebx
push ebx
call fcn.100afef1
add esp, 0xc
xor al, al
pop ebx
ret
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push edi
mov edi, str.glAlphaFunc
push edi
push eax
call esi
mov dword [0x10101044], eax
test eax, eax
je 0x1004bd14
mov edi, str.glAreTexturesResident
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f5c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glBegin
push edi
push dword [0x100fdf58]
call esi
mov dword [0x1010106c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glBindTexture
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101114], eax
test eax, eax
je 0x1004bd14
mov edi, str.glBitmap
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010e4], eax
test eax, eax
je 0x1004bd14
mov edi, str.glBlendFunc
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fb8], eax
test eax, eax
je 0x1004bd14
mov edi, str.glClear
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f3c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glClearColor
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f20], eax
test eax, eax
je 0x1004bd14
mov edi, str.glClearDepth
push edi
push dword [0x100fdf58]
call esi
mov dword [0x1010103c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glColor3ub
push edi
push dword [0x100fdf58]
call esi
mov dword [0x1010110c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glColor4f
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101118], eax
test eax, eax
je 0x1004bd14
mov edi, str.glColor4ub
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fd4], eax
test eax, eax
je 0x1004bd14
mov edi, str.glColorMask
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f40], eax
test eax, eax
je 0x1004bd14
mov edi, str.glColorPointer
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010ec], eax
test eax, eax
je 0x1004bd14
mov edi, str.glCopyPixels
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f78], eax
test eax, eax
je 0x1004bd14
mov edi, str.glCopyTexSubImage2D
push edi
push dword [0x100fdf58]
call esi
mov dword [0x1010104c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glDeleteTextures
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100ffc], eax
test eax, eax
je 0x1004bd14
mov edi, str.glDepthFunc
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101108], eax
test eax, eax
je 0x1004bd14
mov edi, str.glDisable
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f8c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glDisableClientState
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100ff8], eax
test eax, eax
je 0x1004bd14
mov edi, str.glDrawArrays
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fd0], eax
test eax, eax
je 0x1004bd14
mov edi, str.glDrawBuffer
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101018], eax
test eax, eax
je 0x1004bd14
mov edi, str.glDrawPixels
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010cc], eax
test eax, eax
je 0x1004bd14
mov edi, str.glEnable
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101030], eax
test eax, eax
je 0x1004bd14
mov edi, str.glEnableClientState
push edi
push dword [0x100fdf58]
call esi
mov dword [0x1010101c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glEnd
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fa8], eax
test eax, eax
je 0x1004bd14
mov edi, str.glFinish
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101004], eax
test eax, eax
je 0x1004bd14
mov edi, str.glFlush
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f90], eax
test eax, eax
je 0x1004bd14
mov edi, str.glGenTextures
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f74], eax
test eax, eax
je 0x1004bd14
mov edi, str.glGetBooleanv
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fc4], eax
test eax, eax
je 0x1004bd14
mov edi, str.glGetDoublev
push edi
push dword [0x100fdf58]
call esi
mov dword [0x1010108c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glGetError
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101000], eax
test eax, eax
je 0x1004bd14
mov edi, str.glGetFloatv
push edi
push dword [0x100fdf58]
call esi
mov dword [0x1010111c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glGetIntegerv
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010fc], eax
test eax, eax
je 0x1004bd14
mov edi, str.glGetString
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101038], eax
test eax, eax
je 0x1004bd14
mov edi, str.glGetTexLevelParameteriv
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f7c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glHint
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f28], eax
test eax, eax
je 0x1004bd14
mov edi, str.glInterleavedArrays
push edi
push dword [0x100fdf58]
call esi
mov dword [0x1010100c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glIsEnabled
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f30], eax
test eax, eax
je 0x1004bd14
mov edi, str.glIsTexture
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101024], eax
test eax, eax
je 0x1004bd14
mov edi, str.glLoadIdentity
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f70], eax
test eax, eax
je 0x1004bd14
mov edi, str.glLoadMatrixd
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101080], eax
test eax, eax
je 0x1004bd14
mov edi, str.glLogicOp
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f4c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glMatrixMode
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fd8], eax
test eax, eax
je 0x1004bd14
mov edi, str.glOrtho
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101048], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPixelStorei
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f58], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPixelTransferf
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fec], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPixelZoom
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101010], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPolygonOffset
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101100], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPopAttrib
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f50], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPopClientAttrib
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101058], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPopMatrix
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100ff0], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPrioritizeTextures
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101068], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPushAttrib
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f6c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPushClientAttrib
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101070], eax
test eax, eax
je 0x1004bd14
mov edi, str.glPushMatrix
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010b4], eax
test eax, eax
je 0x1004bd14
mov edi, str.glRasterPos2i
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f80], eax
test eax, eax
je 0x1004bd14
mov edi, str.glReadBuffer
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f38], eax
test eax, eax
je 0x1004bd14
mov edi, str.glReadPixels
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f1c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glRecti
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fbc], eax
test eax, eax
je 0x1004bd14
mov edi, str.glScalef
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010f0], eax
test eax, eax
je 0x1004bd14
mov edi, str.glScissor
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101008], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexCoord2d
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101040], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexCoord2f
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101104], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexCoordPointer
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101078], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexEnvi
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f54], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexGeni
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fb0], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexGendv
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100fcc], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexImage1D
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010a0], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexImage2D
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101060], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexParameteri
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100ff4], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexSubImage1D
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f2c], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTexSubImage2D
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f34], eax
test eax, eax
je 0x1004bd14
mov edi, str.glTranslatef
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f24], eax
test eax, eax
je 0x1004bd14
mov edi, str.glVertex2d
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f94], eax
test eax, eax
je 0x1004bd14
mov edi, str.glVertex2f
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101020], eax
test eax, eax
je 0x1004bd14
mov edi, str.glVertex2i
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10101050], eax
test eax, eax
je 0x1004bd14
mov edi, str.glVertexPointer
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f60], eax
test eax, eax
je 0x1004bd14
mov edi, str.glViewport
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f64], eax
test eax, eax
jne 0x1004bd23
push edi
push ebx
push ebx
call fcn.100afef1
add esp, 0xc
xor al, al
jmp 0x1004bd25
mov al, bl
pop edi
pop esi
pop ebx
ret