Function at 0x1004ae30
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push 0x1f00
mov dword [esp + 0x10], 0
call dword [0x10101038]
push 0x1f03
mov dword [esp + 0x1c], eax
call dword [0x10101038]
mov esi, eax
push str.GL_ARB_fragment_shader
push esi
call fcn.1004aba0
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.1004aba0
add esp, 0x10
test al, al
je 0x1004ae87
or dword [edi], 0x10
push str.GL_ARB_texture_non_power_of_two
push esi
call fcn.1004aba0
add esp, 8
test al, al
je 0x1004ae9c
or dword [edi], 0x20
push str.GL_ARB_texture_rectangle
push esi
call fcn.1004aba0
add esp, 8
test al, al
je 0x1004aec6
push str.J2D_OGL_TEXRECT
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x1004aec6
or dword [edi], 0x100000
push ebp
mov ebp, dword [esp + 0x24]
push ebp
call fcn.1004ac40
add esp, 4
test al, al
je 0x1004aedb
or dword [edi], 0xc
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.1004ad90
add esp, 8
test al, al
je 0x1004aef3
or dword [edi], 0x20080
test bl, bl
je 0x1004af8d
push 0x100ba4a0
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 0x1004af2d
push str.OGLContext_IsBIOpShaderSupportAvailable:_disabled_via_flag
push 1
push 3
call fcn.10094315
add esp, 0xc
jmp 0x1004af44
push str.OGLContext_IsBIOpShaderSupportAvailable:_BufferedImageOp_shader_supported
push 1
push 3
call fcn.10094315
add esp, 0xc
or dword [edi], 0x40080
push 0x100ba4a0
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 0x1004af76
push str.OGLContext_IsGradShaderSupportAvailable:_disabled_via_flag
push 1
push 3
call fcn.10094315
add esp, 0xc
jmp 0x1004af8d
push str.OGLContext_IsGradShaderSupportAvailable:_Linear_RadialGradientPaint_shader_supported
push 1
push 3
call fcn.10094315
add esp, 0xc
or dword [edi], 0x80080
push str.GL_NV_fragment_program
push esi
call fcn.1004aba0
add esp, 8
pop ebp
test al, al
je 0x1004afb4
push str.GL_NV_fragment_program2
push esi
call fcn.1004aba0
add esp, 8
test al, al
je 0x1004afeb
jmp 0x1004afe5
push str.GL_ARB_fragment_program
push esi
call fcn.1004aba0
add esp, 8
test al, al
je 0x1004afeb
lea ecx, [esp + 0x24]
push ecx
push 0x88a1
push 0x8804
call dword [0x101010b0]
cmp dword [esp + 0x24], 0x200
jle 0x1004afeb
or dword [edi], 0x100
push str.GL_NV_texture_barrier
push esi
call fcn.1004aba0
add esp, 8
test al, al
je 0x1004b003
or dword [edi], 0x200000
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1004b087
mov esi, dword [sym.imp.MSVCR100.dll_strncmp]
push 3
push 0x100ccb30
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x1004b036
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 0x1004b062
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 0x1004b07b
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