Function at 0x6d04acd0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push 0x1f00
mov dword [esp + 0x10], 0
call dword [0x6d0feff8]
push 0x1f03
mov dword [esp + 0x1c], eax
call dword [0x6d0feff8]
mov esi, eax
push str.GL_ARB_fragment_shader
push esi
call fcn.6d04aa50
mov edi, dword [esp + 0x2c]
or dword [edi], 0x40
mov bl, al
push str.GL_ARB_multitexture
push esi
mov byte [esp + 0x20], bl
call fcn.6d04aa50
add esp, 0x10
test al, al
je 0x6d04ad27
or dword [edi], 0x10
push str.GL_ARB_texture_non_power_of_two
push esi
call fcn.6d04aa50
add esp, 8
test al, al
je 0x6d04ad3c
or dword [edi], 0x20
push str.GL_ARB_texture_rectangle
push esi
call fcn.6d04aa50
add esp, 8
test al, al
je 0x6d04ad66
push str.J2D_OGL_TEXRECT
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x6d04ad66
or dword [edi], 0x100000
push ebp
mov ebp, dword [esp + 0x24]
push ebp
call fcn.6d04aaf0
add esp, 4
test al, al
je 0x6d04ad7b
or dword [edi], 0xc
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.6d04ac40
add esp, 8
test al, al
je 0x6d04ad93
or dword [edi], 0x20080
test bl, bl
je 0x6d04ae2d
push 0x6d0b9480
push str.isBIOpShaderEnabled
push str.sun_java2d_opengl_OGLSurfaceData
push 0
push ebp
call sub.java.dll__JNU_GetStaticFieldByName_20
mov dword [esp + 0x18], edx
test al, al
jne 0x6d04adcd
push str.OGLContext_IsBIOpShaderSupportAvailable:_disabled_via_flag
push 1
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
jmp 0x6d04ade4
push str.OGLContext_IsBIOpShaderSupportAvailable:_BufferedImageOp_shader_supported
push 1
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
or dword [edi], 0x40080
push 0x6d0b9480
push str.isGradShaderEnabled
push str.sun_java2d_opengl_OGLSurfaceData
push 0
push ebp
call sub.java.dll__JNU_GetStaticFieldByName_20
mov dword [esp + 0x18], edx
test al, al
jne 0x6d04ae16
push str.OGLContext_IsGradShaderSupportAvailable:_disabled_via_flag
push 1
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
jmp 0x6d04ae2d
push str.OGLContext_IsGradShaderSupportAvailable:_Linear_RadialGradientPaint_shader_supported
push 1
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
or dword [edi], 0x80080
push str.GL_NV_fragment_program
push esi
call fcn.6d04aa50
add esp, 8
pop ebp
test al, al
je 0x6d04ae54
push str.GL_NV_fragment_program2
push esi
call fcn.6d04aa50
add esp, 8
test al, al
je 0x6d04ae8b
jmp 0x6d04ae85
push str.GL_ARB_fragment_program
push esi
call fcn.6d04aa50
add esp, 8
test al, al
je 0x6d04ae8b
lea ecx, [esp + 0x24]
push ecx
push 0x88a1
push 0x8804
call dword [0x6d0ff070]
cmp dword [esp + 0x24], 0x200
jle 0x6d04ae8b
or dword [edi], 0x100
push str.GL_NV_texture_barrier
push esi
call fcn.6d04aa50
add esp, 8
test al, al
je 0x6d04aea3
or dword [edi], 0x200000
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x6d04af27
mov esi, dword [sym.imp.MSVCR100.dll_strncmp]
push 3
push 0x6d0cbb48
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x6d04aed6
mov eax, 1
and eax, 3
shl eax, 0x18
or dword [edi], eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 6
push str.NVIDIA
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x6d04af02
mov dword [esp + 0xc], 2
mov eax, dword [esp + 0xc]
and eax, 3
shl eax, 0x18
or dword [edi], eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 5
push str.Intel
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x6d04af1b
mov dword [esp + 0xc], 3
mov eax, dword [esp + 0xc]
and eax, 3
shl eax, 0x18
or dword [edi], eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret