Function at 0x10255540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x188
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [0x1038000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
test eax, eax
mov ecx, 0x10369b5f
cmovne ecx, eax
mov esi, dword [ebp + 8]
push str.gl_PerVertex
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
mov dword [ebp - 0x184], eax
test eax, eax
je 0x10255590
mov ecx, ebx
mov edx, dword [ebp + 0xc]
push edi
call fcn.1024e1f0
add esp, 4
lea eax, [ebx + 0x78]
mov dword [ebp - 0x158], eax
lea edi, [ebp - 0x9c]
mov ecx, esi
push dword [ebx + 0x78]
push edi
call fcn.1025cf30
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x16c], eax
push eax
call fcn.102259d0
add esp, 4
mov byte [ebp - 0x159], al
cmp dword [ebx + 0x30], 0x135
mov eax, dword [edi + 0x74]
mov esi, ebx
mov dword [ebp - 0x160], ebx
jg 0x10255693
cmp eax, 6
je 0x10255693
push eax
call fcn.10231180
add esp, 4
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push eax
push str.invalid_qualifier:_interface_blocks_must_be_uniform_in_version_lower_than_GLSL_ES_3.10
push edx
call fcn.1022c350
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 0x16c]
cmp byte [ebp - 0x24], 0
je 0x1025562d
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push 0x1032cd3b
push str.invalid_qualifier_on_interface_block
push eax
call fcn.1022c350
cmp dword [ebp - 0x28], 7
je 0x10255644
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.1024f940
add esp, 4
mov esi, dword [ebp + 0x24]
and ebx, 0xfffffffe
test edi, edi
mov dword [ebp - 0x16c], ebx
jne 0x102556fd
mov eax, dword [ebp - 0x160]
cmp dword [eax + 8], 0x8dd9
sete al
and al, byte [ebp - 0x159]
cmp al, 1
jne 0x102557c0
mov ebx, str.geometry_shader_input_blocks_must_be_an_array
push dword [ebp - 0x28]
call fcn.102b7f30
add esp, 4
test al, al
jne 0x102557ac
jmp 0x102557c0
cmp eax, 0x50
je 0x10255961
cmp eax, 0x51
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 0x16c]
jne 0x102559c5
push 0x18
push dword [esi + 0x84]
call fcn.1022d880
add esp, 8
cmp dword [esi + 0x30], 0x140
setge cl
or cl, al
cmp cl, 1
jne 0x102556dc
cmp dword [esi + 8], 0x8e88
je 0x1025560c
lea esi, [ebp - 0x20]
push dword [esi - 8]
call fcn.10231180
add esp, 4
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push eax
push str.invalid_qualifier:_patch_out_requires_a_tessellation_control_shader
jmp 0x102559b4
cmp ebx, 6
je 0x1025577a
cmp byte [ebp - 0x159], 0
je 0x102557c0
mov eax, edi
mov edi, dword [edi + 4]
sub edi, dword [eax]
sar edi, 2
mov eax, dword [ebp - 0x160]
cmp dword [eax + 8], 0x8dd9
jne 0x1025576b
push dword [ebp - 0x28]
call fcn.102b7f30
add esp, 4
test al, al
je 0x1025576b
dec edi
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
test eax, eax
je 0x1025576b
mov ecx, dword [ebp - 0x160]
cmp eax, dword [ecx + 0x118]
je 0x1025576b
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push 0x10369b5f
push str.geometry_shader_input_block_array_size_inconsistent_with_primitive
push esi
call fcn.1022c350
mov ebx, str.array_of_arrays_are_not_allowed_with_I_O_blocks
cmp edi, 1
mov edi, dword [ebp + 0x20]
ja 0x102557ac
jmp 0x102557c0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp ecx, eax
jne 0x102557a0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push 0x10369b5f
push str.unsized_arrays_are_not_allowed_with_interface_blocks
push esi
call fcn.1022c350
mov eax, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, eax
mov ebx, str.array_of_arrays_are_not_allowed_with_interface_blocks
cmp ecx, 4
jbe 0x102557c0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push 0x10369b5f
push ebx
push esi
call fcn.1022c350
lea eax, [ebp - 0x20]
cmp dword [eax - 0x28], 0xffffffff
je 0x102557e4
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push 0x10329fe5
push str.invalid_layout_qualifier:_only_valid_when_used_with_a_fragment_shader_output_in_ESSL_version___3.00_and_EXT_blend_func_extended_is_enabled
lea eax, [ebp - 0x20]
push eax
call fcn.1022c350
mov eax, dword [ebp - 0x160]
cmp dword [eax + 0x30], 0x135
jg 0x10255816
cmp dword [ebp - 0x80], 0xffffffff
je 0x1025583e
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push str.binding
push str.invalid_layout_qualifier:_only_valid_when_used_with_pixel_local_storage
lea eax, [ebp - 0x20]
push eax
call fcn.1022c350
jmp 0x1025583e
lea eax, [ebp - 0x28]
xor esi, esi
test edi, edi
je 0x10255828
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
je 0x10255828
mov esi, dword [ecx]
mov ecx, dword [ebp - 0x160]
lea edx, [ebp - 0x20]
push esi
push dword [ebp - 0x80]
push eax
call fcn.10250b00
add esp, 0xc
cmp byte [ebp - 0x6c], 0
je 0x1025585f
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push 0x1032a5ec
push str.invalid_layout_qualifier:_only_valid_on_program_outputs
lea eax, [ebp - 0x20]
push eax
call fcn.1022c350
cmp byte [ebp - 0x6b], 0
je 0x10255880
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push str.early_fragment_tests
push str.invalid_layout_qualifier:_only_valid_when_used_with_in_in_a_fragment_shader
lea eax, [ebp - 0x20]
push eax
call fcn.1022c350
cmp byte [ebp - 0x40], 0
je 0x102558a1
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push str.noncoherent
push str.invalid_layout_qualifier:_only_valid_when_used_with_gl_LastFragData_or_the_variable_decorated_with_inout_in_a_fragment_shader
lea eax, [ebp - 0x20]
push eax
call fcn.1022c350
lea edi, [ebp - 0x104]
lea ebx, [ebp - 0x9c]
mov ecx, 0x1a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x74]
call fcn.102259d0
add esp, 4
mov ecx, dword [ebx + 0x74]
test al, al
jne 0x102563f2
mov eax, ecx
and eax, 0xfffffffe
cmp eax, 0x50
mov esi, dword [ebp - 0x160]
je 0x1025590e
cmp dword [ebp - 0x104], 0xffffffff
je 0x1025590e
mov ecx, dword [esi + 0x78]
cmp dword [esi + 0x30], 0x136
mov eax, str.invalid_layout_qualifier:_only_valid_on_shader_inputs__outputs__and_uniforms
mov edx, str.invalid_layout_qualifier:_only_valid_on_program_inputs_and_outputs
cmovge edx, eax
push 0x10336a9c
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1022c350
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0xf8], 4
jne 0x10255937
cmp ecx, 7
je 0x10255937
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push str.std430
push str.The_std430_layout_is_supported_only_for_shader_storage_blocks.
lea eax, [ebp - 0x20]
push eax
call fcn.1022c350
cmp dword [ebp - 0xfc], 0
jne 0x10255a89
mov eax, dword [ebp - 0x28]
cmp eax, 7
je 0x10255a7e
cmp eax, 6
jne 0x10255a89
lea eax, [esi + 0x50]
jmp 0x10255a81
push 0x18
push dword [esi + 0x84]
call fcn.1022d880
add esp, 8
cmp dword [esi + 0x30], 0x140
setge cl
or cl, al
cmp cl, 1
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 0x16c]
jne 0x10255998
cmp dword [esi + 8], 0x8e87
je 0x1025560c
lea esi, [ebp - 0x20]
push dword [esi - 8]
call fcn.10231180
add esp, 4
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push eax
push str.invalid_qualifier:_patch_in_requires_a_tessellation_evaluation_shader
push esi
mov esi, dword [ebp - 0x160]
call fcn.1022c350
jmp 0x1025560c
lea ecx, [eax - 8]
cmp ecx, 0xfffffffd
ja 0x1025560c
cmp byte [ebp - 0x159], 0
je 0x10256498
push 0x27
push dword [esi + 0x84]
call fcn.1022d880
add esp, 8
test al, al
jne 0x10255a5f
push 0x14
push dword [esi + 0x84]
call fcn.1022d880
add esp, 8
test al, al
jne 0x10255a5f
push 0x23
push dword [esi + 0x84]
call fcn.1022d880
add esp, 8
test al, al
jne 0x10255a5f
push 0xf
push dword [esi + 0x84]
call fcn.1022d880
add esp, 8
test al, al
jne 0x10255a5f
cmp dword [esi + 0x30], 0x13f
jg 0x10255a5f
lea esi, [ebp - 0x20]
push dword [esi - 8]
call fcn.10231180
add esp, 4
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push eax
push str.invalid_qualifier:_shader_IO_blocks_need_shader_io_block_extension
push esi
mov esi, dword [ebp - 0x160]
call fcn.1022c350
mov esi, dword [esi + 8]
cmp esi, 0x8e87
jne 0x102564b8
push dword [ebp - 0x28]
call fcn.10256510
add esp, 4
jmp 0x102564ba
lea eax, [esi + 0x58]
mov eax, dword [eax]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xf8], 0
jne 0x10255aaf
mov eax, dword [ebp - 0x28]
cmp eax, 7
je 0x10255aa4
cmp eax, 6
jne 0x10255aaf
lea eax, [esi + 0x54]
jmp 0x10255aa7
lea eax, [esi + 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov edx, edi
lea eax, [ebp - 0x104]
push eax
call fcn.10250a80
add esp, 4
mov ecx, esi
mov edx, edi
push dword [ebp - 0xdc]
call fcn.102504a0
add esp, 4
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
cmp dword [ecx + 4], eax
je 0x102560cb
xor ebx, ebx
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x164], eax
mov esi, dword [eax]
mov eax, dword [esi]
lea ecx, [eax - 8]
cmp ecx, 0x4f
mov dword [ebp - 0x17c], ebx
jb 0x10255b0e
lea ecx, [eax - 0x57]
cmp ecx, 6
jae 0x10256001
xor ebx, ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], bl
push 0x20
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [ebp - 0x134], 0x13
mov dword [ebp - 0x130], 0x1f
movups xmm0, xmmword [str.unsupported_type__]
movups xmmword [eax], xmm0
mov dword [eax + 0xf], 0x202d2065
mov byte [eax + 0x13], bl
mov dword [ebp - 0x144], eax
push dword [esi]
call fcn.1027ff40
add esp, 4
mov edi, eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x130]
mov ebx, edx
sub ebx, ecx
cmp ebx, eax
jae 0x10255bb5
sub esp, 0x10
mov cl, byte [ebp - 0x154]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], eax
lea edi, [ebp - 0x144]
mov ecx, edi
call fcn.10031a00
jmp 0x10255bf2
mov dword [ebp - 0x168], edi
mov ebx, eax
add ebx, ecx
mov dword [ebp - 0x134], ebx
lea edi, [ebp - 0x144]
cmp edx, 0x10
jb 0x10255bd6
mov edi, dword [ebp - 0x144]
add ecx, edi
push eax
push dword [ebp - 0x168]
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
lea edi, [ebp - 0x144]
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x130]
mov ecx, edx
sub ecx, eax
cmp ecx, 0x2a
jae 0x10255c31
sub esp, 0x10
mov al, byte [ebp - 0x154]
mov byte [esp + 4], al
mov eax, 0x2a
mov dword [esp + 0xc], eax
mov dword [esp], eax
mov dword [esp + 8], str._types_are_not_allowed_in_interface_blocks
mov ecx, edi
call fcn.10031a00
jmp 0x10255c6f
lea ecx, [eax + 0x2a]
mov dword [ebp - 0x134], ecx
mov ecx, edi
cmp edx, 0x10
jb 0x10255c47
mov ecx, dword [ebp - 0x144]
movups xmm0, xmmword [0x1032fe7a]
movups xmmword [ecx + eax + 0x1a], xmm0
movups xmm0, xmmword [0x1032fe70]
movups xmmword [ecx + eax + 0x10], xmm0
movups xmm0, xmmword [str._types_are_not_allowed_in_interface_blocks]
movups xmmword [ecx + eax], xmm0
mov byte [ecx + eax + 0x2a], 0
push dword [esi]
call fcn.1027ff40
add esp, 4
cmp dword [ebp - 0x130], 0x10
mov edx, edi
jb 0x10255c8a
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x164]
lea edi, [ecx + 0xc]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push eax
push edx
push edi
call fcn.1022c350
mov ecx, dword [ebp - 0x130]
cmp ecx, 0x10
jb 0x10255cdf
mov eax, dword [ebp - 0x144]
add ecx, 0xfffff001
cmp ecx, 0xffffefff
ja 0x10255cd5
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x102564ff
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edi, dword [esi + 8]
cmp edi, 0x25
jle 0x10255e35
lea eax, [edi - 0x26]
cmp eax, 0x22
ja case.0x10255cf7.42
jmp dword [eax*4 + 0x10311ea0]
cmp byte [ebp - 0x159], 0
jne 0x1025606c
xor eax, eax
test al, al
jne 0x10255d38
cmp byte [esi + 0xc], 0
je 0x10255d38
mov eax, dword [ebp - 0x164]
add eax, 0xc
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push 0x1032cd3b
push str.invalid_qualifier_on_interface_block_member
push eax
call fcn.1022c350
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x170], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x178], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x194], eax
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x108], eax
movsd xmm0, qword [esi + 0x24]
movsd qword [ebp - 0x110], xmm0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x174], eax
movups xmm0, xmmword [esi + 0x34]
movups xmmword [ebp - 0x144], xmm0
movups xmm0, xmmword [esi + 0x44]
movups xmmword [ebp - 0x134], xmm0
movups xmm0, xmmword [esi + 0x54]
movups xmmword [ebp - 0x124], xmm0
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x114], eax
movups xmm0, xmmword [esi + 0x6c]
mov edx, dword [esi + 0x68]
movups xmmword [ebp - 0x154], xmm0
mov eax, dword [ebp - 0x164]
lea edi, [eax + 0xc]
mov dword [ebp - 0x190], edx
cmp edx, 0xffffffff
mov dword [ebp - 0x168], ecx
je 0x10255de5
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
push 0x10329fe5
push str.invalid_layout_qualifier:_only_valid_when_used_with_a_fragment_shader_output_in_ESSL_version___3.00_and_EXT_blend_func_extended_is_enabled
push edi
call fcn.1022c350
mov ecx, dword [ebp - 0x168]
cmp dword [ebp - 0x174], 0xffffffff
je 0x10255e1d
mov eax, dword [ebp - 0x160]
cmp dword [eax + 0x30], 0x136
mov ecx, dword [eax + 0x78]
mov eax, str.invalid_layout_qualifier:_only_valid_when_used_with_opaque_types_or_blocks
mov edx, str.invalid_layout_qualifier:_only_valid_when_used_with_pixel_local_storage
cmovl eax, edx
push str.binding
push eax
push edi
call fcn.1022c350
mov ecx, dword [ebp - 0x168]
cmp ecx, 4
ja case.default.0x10255e27
mov eax, str.shared
jmp dword [ecx*4 + 0x10311f2c]
mov eax, str.packed
jmp case.0x10255e27.1
cmp edi, 1
je case.0x10255cf7.43
cmp edi, 6
je 0x1025603c
cmp edi, 7
jne case.0x10255cf7.42
cmp dword [ebp - 0x28], 6
jne case.0x10255cf7.43
mov eax, dword [ebp - 0x164]
add eax, 0xc
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push 0x10331ff5
push str.invalid_qualifier_on_uniform_block_member
jmp 0x10256061
mov eax, str.unknown_block_storage
jmp case.0x10255e27.1
mov eax, str.std140
jmp case.0x10255e27.1
mov eax, str.std430
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push eax
push str.invalid_layout_qualifier:_cannot_be_used_here
push edi
call fcn.1022c350
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x180], edi
lea eax, [esi + 0x24]
lea ebx, [esi + 0x34]
lea edx, [esi + 0x6c]
mov edi, dword [ebp - 0x194]
test edi, edi
mov dword [ebp - 0x18c], eax
je 0x10255f1f
cmp byte [esi + 0x7c], 2
jb 0x10255ed2
cmp byte [esi + 0x7d], 1
ja 0x10255f25
cmp dword [esi], 0x5d
je 0x10255f25
cmp edi, 1
mov eax, str.unknown_matrix_packing
mov ecx, str.row_major
cmove eax, ecx
cmp edi, 2
mov ecx, str.column_major
cmove eax, ecx
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push eax
push str.extraneous_layout_qualifier:_only_has_an_effect_on_matrix_types
push dword [ebp - 0x180]
mov dword [ebp - 0x188], edx
call fcn.1022c3a0
mov edx, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x168]
jmp 0x10255f25
mov edi, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x170]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x178]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ecx
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x110]
movsd qword [ecx], xmm0
mov eax, dword [ebp - 0x174]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x114]
mov dword [ebx + 0x30], eax
movups xmm0, xmmword [ebp - 0x124]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x144]
movups xmm1, xmmword [ebp - 0x134]
movups xmmword [ebx + 0x10], xmm1
movups xmmword [ebx], xmm0
mov eax, dword [ebp - 0x190]
mov dword [esi + 0x68], eax
movups xmm0, xmmword [ebp - 0x154]
movups xmmword [edx], xmm0
mov eax, dword [ebp - 0x160]
cmp dword [eax + 0x30], 0x136
mov ebx, dword [ebp - 0x17c]
jl 0x1025600f
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
dec eax
cmp ebx, eax
jne 0x1025600f
cmp dword [ebp - 0x28], 7
jne 0x1025600f
mov al, byte [ebp - 0x34]
mov cl, byte [ebp - 0x33]
mov dl, byte [ebp - 0x32]
mov ah, byte [ebp - 0x31]
mov ch, byte [ebp - 0x30]
or byte [esi + 0xe], al
or byte [esi + 0xf], cl
or byte [esi + 0x10], dl
or byte [esi + 0x11], ah
or byte [esi + 0x12], ch
inc ebx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x10255ae7
jmp 0x102560cb
cmp eax, 6
je 0x10255b0e
jmp 0x10255cdf
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x164]
push dword [eax]
add eax, 4
push eax
push str.array_members_of_interface_blocks_must_specify_a_size
call fcn.102550e0
add esp, 0xc
cmp dword [ebp - 0x28], 7
je 0x10255fc8
jmp 0x10255fe6
cmp dword [ebp - 0x28], 7
jne case.0x10255cf7.43
mov eax, dword [ebp - 0x164]
add eax, 0xc
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push 0x1033735e
push str.invalid_qualifier_on_shader_storage_block_member
push eax
call fcn.1022c350
jmp case.0x10255cf7.43
push dword [ebp - 0x28]
call fcn.10256550
add esp, 4
jmp 0x10255d0d
push dword [ebp - 0x28]
call fcn.102259d0
add esp, 4
test al, al
jne case.0x10255cf7.43
mov eax, dword [ebp - 0x28]
add eax, 0xffffffb9
cmp eax, 0xa
ja case.0x10255cf7.42
mov ecx, 0x603
bt ecx, eax
jb case.0x10255cf7.43
push edi
call fcn.10231180
add esp, 4
mov ecx, dword [ebp - 0x164]
lea edx, [ecx + 0xc]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push eax
push str.invalid_qualifier_on_interface_block_member
push edx
jmp 0x10256062
xor eax, eax
cmp dword [ebp - 0x184], 0
setne al
mov esi, eax
call fcn.1025c190
mov ecx, eax
push 0x3c
call fcn.1021aad0
mov ebx, eax
mov ecx, eax
push 0
push esi
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ebp - 0x160]
push dword [esi]
call fcn.102732f0
mov ecx, dword [esi]
mov dword [ebp - 0x170], ebx
push ebx
call fcn.102742c0
cmp dword [ebp - 0x16c], 6
jne 0x10256146
test al, al
jne 0x10256146
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov eax, dword [edi]
test eax, eax
mov edx, 0x10369b5f
cmovne edx, eax
push edx
push str.redefinition_of_an_interface_block_name
push dword [ebp + 0xc]
call fcn.1022c350
call fcn.1025c190
mov ecx, eax
push 0xa0
call fcn.1021aad0
mov edx, eax
mov eax, dword [ebp - 0x28]
sub esp, 0x70
lea edi, [esp + 8]
lea esi, [ebp - 0x104]
mov ecx, 0x1a
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
mov ebx, edx
mov ecx, edx
call fcn.102802f0
mov ecx, dword [ebp + 0x20]
test ecx, ecx
mov esi, dword [ebp - 0x160]
jne 0x102563fd
call fcn.1025c190
mov ecx, eax
push 0x18
call fcn.1021aad0
mov edi, eax
xor eax, eax
mov edx, dword [ebp + 0x18]
cmp dword [edx + 4], 0
sete al
lea eax, [eax + eax + 1]
mov ecx, edi
push 0
push eax
push ebx
push edx
push dword [esi]
call fcn.10272e60
mov al, byte [edi + 0xf]
and al, 0xf
cmp al, 3
mov dword [ebp - 0x178], edi
jne 0x1025644e
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
cmp dword [ecx + 4], eax
je 0x10256368
xor ebx, ebx
mov esi, dword [eax + ebx*4]
call fcn.1025c190
mov ecx, eax
push 0xa0
call fcn.1021aad0
mov edi, eax
mov ecx, eax
push dword [esi]
call fcn.10280330
mov ecx, edi
push ebx
push dword [ebp - 0x170]
call fcn.10281590
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x168], edi
mov dword [edi + 8], eax
mov edi, 0x10369b5f
lea eax, [esi + 4]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x164], esi
mov esi, dword [esi + 4]
test esi, esi
cmove esi, edi
push str.gl_Position
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x10256287
push str.gl_PointSize
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x10256287
push str.gl_ClipDistance
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x10256287
push str.gl_CullDistance
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
mov cl, 1
test eax, eax
jne 0x102562dd
mov ecx, dword [ebp - 0x170]
lea eax, [ebp - 0x144]
push eax
call fcn.10272d10
mov eax, dword [ebp - 0x144]
test eax, eax
cmove eax, edi
push str.gl_PerVertex
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x102562db
mov edx, dword [ebp - 0x164]
lea eax, [edx + 0xc]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
mov edx, dword [edx + 4]
test edx, edx
cmove edx, edi
push edx
push str.redefinition_in_an_invalid_interface_block
push eax
call fcn.1022c350
xor ecx, ecx
mov dword [ebp - 0x17c], ebx
mov ebx, ecx
call fcn.1025c190
mov ecx, eax
push 0x18
call fcn.1021aad0
mov esi, eax
movzx eax, bl
mov ecx, esi
push 0
push eax
push dword [ebp - 0x168]
push dword [ebp - 0x174]
mov edi, dword [ebp - 0x160]
push dword [edi]
call fcn.10272e60
mov ecx, dword [edi]
mov edi, 0x10369b5f
push esi
call fcn.102742c0
test al, al
jne 0x1025634c
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 4]
add edx, 0xc
test eax, eax
cmove eax, edi
push eax
push str.redefinition_of_an_interface_block_member_name
push edx
call fcn.1022c350
mov ebx, dword [ebp - 0x17c]
inc ebx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x102561e8
call fcn.1025c190
mov ecx, eax
push 0x1c
call fcn.1021aad0
mov edi, eax
mov ecx, eax
push dword [ebp - 0x178]
call fcn.10232540
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
movups xmmword [edi + 4], xmm0
call fcn.1025c190
mov ecx, eax
push 0x24
call fcn.1021aad0
mov esi, eax
xorps xmm0, xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax], 0x1030ac60
mov dword [eax + 0x14], 0x1030acc8
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov ecx, esi
push edi
call fcn.10232450
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [esi + 4], xmm0
mov eax, dword [ebp - 0x160]
dec dword [eax + 0x3c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10212780
mov eax, esi
add esp, 0x188
pop esi
pop edi
pop ebx
pop ebp
ret 0x20
mov esi, dword [ebp - 0x160]
jmp 0x1025590e
mov eax, dword [ecx]
lea edx, [ebp - 0x144]
mov dword [edx], eax
mov ecx, dword [ecx + 4]
sub ecx, eax
sar ecx, 2
mov dword [edx + 4], ecx
mov ecx, ebx
mov dword [ebp - 0x164], ebx
push edx
call fcn.102801f0
mov ecx, esi
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp - 0x164]
push edi
mov eax, dword [ebp + 0x18]
push eax
call fcn.10252980
add esp, 8
mov ecx, esi
mov edx, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x18]
call fcn.10252b40
add esp, 8
jmp 0x10256197
mov ecx, esi
mov ebx, dword [ebp + 0x1c]
mov edx, ebx
push dword [ebp + 0x18]
call fcn.1024e1f0
add esp, 4
mov ecx, dword [esi]
push edi
call fcn.102742c0
test al, al
jne 0x10256368
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
test eax, eax
mov edx, 0x10369b5f
cmovne edx, eax
push edx
push str.redefinition_of_an_interface_block_instance_name
push ebx
call fcn.1022c350
jmp 0x10256368
push eax
call fcn.10231180
add esp, 4
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push eax
push str.invalid_qualifier:_interface_blocks_must_be_uniform_or_buffer
push edx
jmp 0x102559bb
xor eax, eax
cmp esi, 0x8e88
sete cl
test edi, edi
mov esi, dword [ebp - 0x160]
jne 0x1025560c
or cl, al
je 0x1025560c
lea eax, [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
test ecx, ecx
mov edx, 0x10369b5f
cmovne edx, ecx
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
push edx
push str.type_must_be_an_array
push eax
jmp 0x102559bb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3