Function at 0x1001c430
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c8a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x30
push esi
push edi
push 0x20
mov dword [ebp - 0x1c], 0
call fcn.1001d440
movups xmm0, xmmword [str.GL_ARB_sparse_texture]
mov edi, eax
mov dword [ebp - 0x2c], 0x15
mov dword [ebp - 0x28], 0x1f
mov dword [ebp - 0x3c], edi
movups xmmword [edi], xmm0
mov ecx, dword [0x10174ea8]
mov dword [edi + 0x10], ecx
mov cl, byte [0x10174eac]
mov byte [edi + 0x14], cl
mov byte [edi + 0x15], 0
mov eax, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov edx, 0x811c9dc5
mov dword [ebp - 0x1c], eax
xor ecx, ecx
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x15
jb 0x1001c4c0
push edx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001c9c0
cmp dword [eax + 4], 0
je 0x1001c561
push 0x20
call fcn.1001d440
movups xmm0, xmmword [str.GL_EXT_direct_state_access]
mov esi, eax
mov dword [ebp - 0x2c], 0x1a
mov eax, 3
mov dword [ebp - 0x28], 0x1f
mov dword [ebp - 0x3c], esi
mov edx, 0x811c9dc5
mov dword [ebp - 0x18], eax
movups xmmword [esi], xmm0
movq xmm0, qword [0x10175384]
movq qword [esi + 0x10], xmm0
mov cx, word [0x1017538c]
mov word [esi + 0x18], cx
xor ecx, ecx
mov byte [esi + 0x1a], 0
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x1a
jb 0x1001c535
push edx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001c9c0
cmp dword [eax + 4], 0
je 0x1001c564
mov byte [ebp - 0x11], 0
jmp 0x1001c568
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 2
je 0x1001c5ab
mov ecx, dword [ebp - 0x28]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x1001c5ab
inc ecx
mov eax, esi
cmp ecx, 0x1000
jb 0x1001c59e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001c59e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100cd0a2
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x1001c5c1
push 0x20
push edi
call fcn.100cd0a2
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x1001c5e8
mov byte [0x101b8201], 0
mov byte [0x101b8200], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x20
mov byte [0x101b8201], 1
call fcn.1001d440
movups xmm0, xmmword [str.GL_ARB_sparse_texture2]
mov edi, eax
mov dword [ebp - 0x2c], 0x16
mov dword [ebp - 0x28], 0x1f
mov edx, 0x811c9dc5
mov dword [ebp - 0x3c], edi
movups xmmword [edi], xmm0
mov ecx, dword [0x10174f68]
mov dword [edi + 0x10], ecx
mov cx, word [0x10174f6c]
mov word [edi + 0x14], cx
xor ecx, ecx
mov byte [edi + 0x16], 0
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x16
jb 0x1001c632
push edx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001c9c0
push 0x20
push edi
mov esi, dword [eax + 4]
call fcn.100cd0a2
add esp, 8
test esi, esi
jne 0x1001c792
push 0x100
push 0x100
mov edx, 0x8229
mov ecx, str.GL_R8
call fcn.1001c350
and byte [0x101b8201], al
mov edx, 0x8234
push 0x80
push 0x100
mov ecx, str.GL_R16UI
call fcn.1001c350
and byte [0x101b8201], al
mov edx, 0x8236
push 0x80
push 0x80
mov ecx, str.GL_R32UI
call fcn.1001c350
and byte [0x101b8201], al
mov edx, 0x8235
push 0x80
push 0x80
mov ecx, str.GL_R32I
call fcn.1001c350
and byte [0x101b8201], al
mov edx, 0x8058
push 0x80
push 0x80
mov ecx, str.GL_RGBA8
call fcn.1001c350
and byte [0x101b8201], al
mov edx, 0x805b
push 0x40
push 0x80
mov ecx, str.GL_RGBA16
call fcn.1001c350
and byte [0x101b8201], al
mov edx, 0x8d88
push 0x40
push 0x80
mov ecx, str.GL_RGBA16I
call fcn.1001c350
and byte [0x101b8201], al
mov edx, 0x8d76
push 0x40
push 0x80
mov ecx, str.GL_RGBA16UI
call fcn.1001c350
and byte [0x101b8201], al
add esp, 0x40
mov edx, 0x881a
mov ecx, str.GL_RGBA16F
push 0x40
push 0x80
call fcn.1001c350
and byte [0x101b8201], al
mov edx, 0x8814
push 0x40
push 0x40
mov ecx, str.GL_RGBA32F
call fcn.1001c350
add esp, 0x10
and byte [0x101b8201], al
cmp byte [0x101b8209], 0
jne 0x1001c7bf
push 0x80
push 0x80
mov edx, 0x8cad
mov ecx, str.GL_DEPTH32F_STENCIL8
call fcn.1001c350
add esp, 8
test al, al
je 0x1001c7bf
mov al, 1
jmp 0x1001c7c1
xor al, al
cmp byte [0x101af041], 0
mov byte [0x101b8200], al
je 0x1001c82f
cmp byte [0x101b8201], 0
mov esi, str.available
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, str.NOT_SUPPORTED
mov eax, esi
cmove eax, ecx
push eax
push str.INFO_sparse_color_texture_is__s_n
push 1
call edi
add esp, 4
push eax
call fcn.1001d650
add esp, 0xc
cmp byte [0x101af041], 0
je 0x1001c82f
cmp byte [0x101b8200], 0
mov eax, str.NOT_SUPPORTED
cmove esi, eax
push esi
push str.INFO_sparse_depth_texture_is__s_n
push 1
call edi
add esp, 4
push eax
call fcn.1001d650
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret