Function at 0x6d059f70
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push 0x1f00
mov dword [esp + 0x10], 0
call dword [0x6d0fbd74]
push 0x1f03
mov dword [esp + 0x1c], eax
call dword [0x6d0fbd74]
mov edi, eax
push str.GL_ARB_fragment_shader
push edi
call fcn.6d059d00
mov esi, dword [esp + 0x2c]
or dword [esi], 0x40
mov bl, al
push str.GL_ARB_multitexture
push edi
mov byte [esp + 0x20], bl
call fcn.6d059d00
add esp, 0x10
test al, al
je 0x6d059fc7
or dword [esi], 0x10
push str.GL_ARB_texture_non_power_of_two
push edi
call fcn.6d059d00
add esp, 8
test al, al
je 0x6d059fdc
or dword [esi], 0x20
push str.GL_ARB_texture_rectangle
push edi
call fcn.6d059d00
add esp, 8
test al, al
je 0x6d05a006
push str.J2D_OGL_TEXRECT
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x6d05a006
or dword [esi], 0x100000
push ebp
mov ebp, dword [esp + 0x24]
push ebp
mov eax, edi
call fcn.6d059da0
add esp, 4
test al, al
je 0x6d05a01d
or dword [esi], 0xc
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.6d059ee0
add esp, 8
test al, al
je 0x6d05a035
or dword [esi], 0x20080
test bl, bl
je 0x6d05a0cf
push 0x6d0b6f78
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 0x6d05a06f
push str.OGLContext_IsBIOpShaderSupportAvailable:_disabled_via_flag
push 1
push 3
call fcn.6d05f1d0
add esp, 0xc
jmp 0x6d05a086
push str.OGLContext_IsBIOpShaderSupportAvailable:_BufferedImageOp_shader_supported
push 1
push 3
call fcn.6d05f1d0
add esp, 0xc
or dword [esi], 0x40080
push 0x6d0b6f78
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 0x6d05a0b8
push str.OGLContext_IsGradShaderSupportAvailable:_disabled_via_flag
push 1
push 3
call fcn.6d05f1d0
add esp, 0xc
jmp 0x6d05a0cf
push str.OGLContext_IsGradShaderSupportAvailable:_Linear_RadialGradientPaint_shader_supported
push 1
push 3
call fcn.6d05f1d0
add esp, 0xc
or dword [esi], 0x80080
push str.GL_NV_fragment_program
push edi
call fcn.6d059d00
add esp, 8
pop ebp
test al, al
je 0x6d05a0f6
push str.GL_NV_fragment_program2
push edi
call fcn.6d059d00
add esp, 8
test al, al
je 0x6d05a12d
jmp 0x6d05a127
push str.GL_ARB_fragment_program
push edi
call fcn.6d059d00
add esp, 8
test al, al
je 0x6d05a12d
lea ecx, [esp + 0x24]
push ecx
push 0x88a1
push 0x8804
call dword [0x6d0fbde8]
cmp dword [esp + 0x24], 0x200
jle 0x6d05a12d
or dword [esi], 0x100
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x6d05a1b1
mov edi, dword [sym.imp.MSVCR100.dll_strncmp]
push 3
push 0x6d0b869c
push ebx
call edi
add esp, 0xc
test eax, eax
jne 0x6d05a160
mov eax, 1
and eax, 3
shl eax, 0x18
or dword [esi], eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 6
push str.NVIDIA
push ebx
call edi
add esp, 0xc
test eax, eax
jne 0x6d05a18c
mov dword [esp + 0xc], 2
mov eax, dword [esp + 0xc]
and eax, 3
shl eax, 0x18
or dword [esi], eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 3
push 0x6d0b8690
push ebx
call edi
add esp, 0xc
test eax, eax
jne 0x6d05a1a5
mov dword [esp + 0xc], 3
mov eax, dword [esp + 0xc]
and eax, 3
shl eax, 0x18
or dword [esi], eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret