Function at 0x5009c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0xbc
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
movzx eax, byte [eax + 4]
and eax, 0x3f
cmp eax, 2
mov dword [ebp - 0xa0], eax
jbe 0x500a14
cmp eax, 5
jne 0x5011f0
cmp dword [edi + 0xc], 8
je 0x5011f0
cmp dword [edi + 8], 0x77
jle 0x5011f0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x9c]
test al, al
je 0x500a93
mov edi, dword [ebp - 0x9c]
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], str.array_initializer
mov dword [esp + 0xc], 0x6c69a9
mov dword [esp + 8], 0x78
mov dword [esp + 4], 1
mov dword [esp], esi
call eax
mov eax, dword [edi]
mov ecx, edi
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x14]
sub esp, 0x14
mov dword [esp + 0x10], str.array_initializer
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x12c
mov dword [esp + 4], 8
mov dword [esp], edi
call eax
sub esp, 0x14
movzx eax, byte [ebp - 0x20]
mov ecx, ebx
and byte [ebp - 0x74], 0xc0
and byte [ebp - 0x7e], 0xf0
and byte [ebp - 0x7c], 0xfe
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x20], al
movzx eax, word [ebp - 0x5a]
and byte [ebp - 0x24], 0x80
or byte [ebp - 0x1c], 0xf
and word [ebp - 0x72], 0xfe3f
and ax, 0xf80f
or ax, 0x3f0
and word [ebp - 0x74], 0xc03f
and byte [ebp - 0x6f], 0x80
and byte [ebp - 0x6c], 0x80
mov dword [ebp - 0x84], 0x6f2308
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
mov word [ebp - 0x5a], ax
movzx eax, byte [ebp - 0x5c]
movzx edx, word [ebp - 0x46]
or byte [ebp - 0x50], 0x7f
or dword [ebp - 0x58], 0x7fff8000
and eax, 0xfffffff8
or eax, 4
or dx, 0x1fe0
mov byte [ebp - 0x5c], al
mov eax, dword [ebp - 0x54]
mov word [ebp - 0x46], dx
shr dx, 8
or edx, 0xffffffe0
or word [ebp - 0x50], 0x780
or eax, 0x7f8000
mov dword [ebp - 0x54], eax
shr eax, 0x18
or eax, 0xffffff80
or dword [ebp - 0x4c], 0x1ff80
or word [ebp - 0x48], 0x1ff8
and byte [ebp - 0x41], 0x1f
and byte [ebp - 0x40], 0xe0
and dword [ebp - 0x74], 0xffc03fff
or word [ebp - 0x60], 0xfff
mov byte [ebp - 0x45], dl
mov byte [ebp - 0x51], al
mov byte [ebp - 0x44], 0xff
mov eax, dword [ebx]
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x3c], 0xfffff800
call dword [eax + 0x30]
movzx edx, byte [eax + 4]
mov byte [ebp - 0x80], dl
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x64]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x68]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x74], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x5c], edx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x58], ecx
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x54], edi
mov edx, dword [eax + 0x34]
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x50], edx
mov edi, dword [eax + 0x38]
mov dword [ebp - 0x4c], edi
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x3c], edx
movzx edx, byte [ebp - 0x7f]
movzx esi, byte [eax + 5]
and edx, 0xfffffff0
and esi, 0xf
or edx, esi
or ecx, 0x7fff8000
mov byte [ebp - 0x7f], dl
movzx esi, byte [eax + 5]
and edx, 0xf
or edi, 0x1ff80
and esi, 0xfffffff0
or edx, esi
mov byte [ebp - 0x7f], dl
movzx edx, byte [ebp - 0x7e]
movzx esi, byte [eax + 6]
and edx, 0xfffffff0
and esi, 0xf
or edx, esi
mov byte [ebp - 0x7e], dl
movzx edx, byte [ebp - 0x7c]
movzx esi, byte [eax + 8]
and byte [ebp - 0x74], 0xc0
and edx, 0xfffffffe
and esi, 1
or edx, esi
mov byte [ebp - 0x7c], dl
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
and word [ebp - 0x74], 0xc03f
and byte [ebp - 0x70], 3
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
and byte [ebp - 0x6f], 0x80
movzx eax, word [ebp - 0x5a]
movzx edx, word [ebp - 0x46]
or byte [ebp - 0x50], 0x7f
and byte [ebp - 0x6c], 0x80
and ax, 0xf80f
or ax, 0x3f0
or dx, 0x1fe0
mov word [ebp - 0x5a], ax
movzx eax, byte [ebp - 0x5c]
mov word [ebp - 0x46], dx
shr dx, 8
or edx, 0xffffffe0
mov dword [ebp - 0x58], ecx
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x5c], al
mov eax, dword [ebp - 0xa4]
or word [ebp - 0x60], 0xfff
or word [ebp - 0x50], 0x780
or word [ebp - 0x48], 0x1ff8
or eax, 0x7f8000
mov dword [ebp - 0x54], eax
shr eax, 0x18
or eax, 0xffffff80
mov byte [ebp - 0x51], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], edi
mov byte [ebp - 0x45], dl
and byte [ebp - 0x41], 0x1f
and byte [ebp - 0x40], 0xe0
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x3c], 0xfffff800
mov byte [ebp - 0x44], 0xff
mov dword [esp + 8], eax
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x9c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00500060
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x500f20
mov eax, dword [eax]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x70]
test al, al
jne 0x501037
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x4c]
test al, al
jne 0x500f40
cmp dword [ebp - 0xa0], 5
je 0x501250
cmp dword [ebp - 0xa0], 2
je 0x501074
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x58]
mov eax, dword [edx + 4]
sub eax, dword [edx]
cmp eax, 0x13
jle 0x501397
cmp dword [ebp - 0xa0], 5
je 0x501130
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xb4]
test al, al
je 0x500e2f
mov esi, dword [ebp - 0x9c]
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 0xc], 0x6ca6d0
mov dword [esp + 8], 0x6c6cac
mov dword [esp + 4], ecx
mov dword [esp], esi
call eax
mov esi, dword [ebp - 0x9c]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0051b2b0
mov ecx, dword [esi + 0x28]
mov ebx, eax
mov eax, dword [ebp + 8]
sub esp, 8
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], 0x19e
mov dword [esp + 0x18], eax
call fcn.0051bb10
sub esp, 0x1c
test eax, eax
mov esi, eax
jne 0x500f2f
add edi, 0x14
add ebx, 0x14
lea ecx, [ebp - 0x8c]
mov dword [esp], edi
call fcn.005ce650
lea ecx, [ebp - 0x94]
sub esp, 4
mov dword [esp], ebx
call fcn.005ce650
mov edi, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x90]
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
sub esp, 4
mov eax, dword [eax + 0x70]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x88]
mov dword [esp + 0x10], 0x6c6024
mov dword [esp + 0xc], 0x6ca6dc
mov dword [esp + 8], 0x6c5660
mov dword [esp + 0x14], edx
mov dword [esp + 4], ebx
mov dword [esp], edi
call eax
mov eax, dword [ebp - 0x90]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0x88]
lock sub dword [eax - 4], 1
jmp 0x500f2f
xor esi, esi
cmp dword [ebp - 0xa0], 2
je 0x501484
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x4c]
test al, al
je 0x500dad
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x54]
mov eax, dword [eax + 4]
test eax, eax
je 0x5015ac
mov esi, dword [eax + 8]
sub esi, dword [eax + 4]
sar esi, 3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x54]
mov edx, dword [eax + 4]
test edx, edx
je 0x5015a5
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 3
cmp esi, eax
jne 0x500dad
mov esi, 1
jmp 0x500fb3
add esi, 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x54]
mov eax, dword [eax + 4]
test eax, eax
je 0x500dad
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
sar edx, 3
cmp esi, edx
jge 0x500dad
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x54]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*8]
test eax, eax
jne 0x500fb0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x54]
mov ecx, ebx
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov edx, dword [eax + esi*8]
mov eax, dword [ebx]
mov dword [ebp - 0xa4], edx
call dword [eax + 0x34]
mov ecx, eax
mov eax, dword [eax]
call dword [eax + 0x58]
mov edx, dword [ebp - 0xa4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov dword [eax + esi*8], edx
jmp 0x500fb0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test al, al
je 0x500d97
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x40]
mov ecx, ebx
mov esi, eax
mov eax, dword [ebx]
call dword [eax + 0x34]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov dword [eax], esi
jmp 0x500d97
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x58]
mov eax, dword [edx + 4]
sub eax, dword [edx]
cmp eax, 0x13
jle 0x5014a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
movzx edx, byte [eax + 4]
and edx, 0x3f
cmp dl, 2
je 0x501130
test byte [eax + 9], 0x40
jne 0x501130
mov esi, dword [ebp - 0x9c]
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 8], str.non_constant_initializer
mov dword [esp + 4], 0xfffffff7
call eax
mov eax, dword [esi]
mov ecx, esi
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0x14]
sub esp, 0xc
mov dword [esp + 0x10], str.non_constant_initializer
mov dword [esp + 0xc], 0x6c5664
mov dword [esp + 8], 0x1a4
mov dword [esp + 4], 0xfffffff7
mov dword [esp], esi
call eax
mov eax, dword [ebx]
mov ecx, ebx
sub esp, 0x14
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
movzx edx, byte [eax + 4]
and edx, 0xffffffc0
or edx, 0xb
mov byte [eax + 4], dl
jmp 0x500deb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov esi, dword [ebp - 0x9c]
mov ecx, dword [esi + 0x28]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], 0x19e
call fcn.00516130
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x501185
mov eax, dword [eax]
mov ecx, esi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
movzx edx, byte [eax + 4]
and edx, 0x3f
cmp dl, 2
je 0x501430
test byte [eax + 9], 0x40
jne 0x501430
mov eax, dword [ebp - 0x9c]
mov ecx, ebx
mov eax, dword [eax]
mov esi, dword [eax + 0x70]
mov eax, dword [ebx]
call dword [eax + 0x30]
movzx eax, byte [eax + 0x10]
and eax, 0x3f
cmp eax, 0x15
ja 0x501420
mov eax, dword [eax*4 + 0x6cbe00]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 8], 0x6ca68c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call esi
mov eax, dword [ebx]
mov ecx, ebx
xor esi, esi
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
mov ecx, eax
call fcn.005a63e0
jmp 0x500f2f
mov eax, dword [ebp - 0x9c]
mov ecx, ebx
mov eax, dword [eax]
mov esi, dword [eax + 0x70]
mov eax, dword [ebx]
call dword [eax + 0x30]
movzx edx, byte [eax + 0x10]
mov eax, 0x6c5cfa
and edx, 0x3f
cmp edx, 0x15
ja 0x50121a
mov eax, dword [edx*4 + 0x6cbe00]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 8], str._cannot_initialize_this_type_of_qualifier
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call esi
lea esp, [ebp - 0xc]
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
movzx edx, byte [eax + 4]
and edx, 0x3f
cmp dl, 2
je 0x501512
mov edi, dword [ebp - 0x9c]
mov ecx, ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x70]
mov eax, dword [ebx]
call dword [eax + 0x30]
lea ecx, [ebp - 0x8c]
mov dword [esp], eax
call fcn.005ce650
mov eax, dword [ebp - 0x88]
sub esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x6ca6de
mov dword [esp + 0xc], 0x6ca6dc
mov dword [esp + 8], 0x6ca6e4
mov eax, dword [ebp + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call esi
mov eax, dword [ebp - 0x88]
lock sub dword [eax - 4], 1
xor esi, esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
movzx edx, word [eax + 0x1e]
movzx ecx, word [eax + 0x32]
and byte [eax + 4], 0xc0
or byte [eax + 0x28], 0x7f
and dx, 0xf80f
or dx, 0x3f0
or cx, 0x1fe0
mov word [eax + 0x1e], dx
movzx edx, byte [eax + 0x1c]
mov word [eax + 0x32], cx
shr cx, 8
or ecx, 0xffffffe0
mov dword [eax], 0
and edx, 0xfffffff8
or edx, 4
mov byte [eax + 0x1c], dl
mov edx, dword [eax + 0x24]
and word [eax + 4], 0xc03f
and byte [eax + 8], 3
and byte [eax + 9], 0x80
or edx, 0x7f8000
mov dword [eax + 0x24], edx
shr edx, 0x18
or edx, 0xffffff80
and byte [eax + 0xc], 0x80
or dword [eax + 0x20], 0x7fff8000
or word [eax + 0x18], 0xfff
or word [eax + 0x28], 0x780
mov dword [eax + 0x10], 0xffffffff
mov dword [eax + 0x14], 0xffffffff
mov byte [eax + 0x39], 0
mov byte [eax + 0x3a], 0
mov byte [eax + 0x3b], 0
mov dword [eax + 0x3c], 0xfffff800
mov byte [eax + 0x27], dl
or dword [eax + 0x2c], 0x1ff80
or word [eax + 0x30], 0x1ff8
and byte [eax + 0x37], 0x1f
and byte [eax + 0x38], 0xe0
mov byte [eax + 0x33], cl
mov byte [eax + 0x34], 0xff
jmp 0x500f2f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
movzx edx, byte [eax + 4]
and edx, 0x3f
cmp dl, 2
je 0x500dde
test byte [eax + 9], 0x40
jne 0x500dde
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0xc], 8
jne 0x500dde
mov eax, dword [ebp - 0x9c]
test byte [eax + 0x48], 1
jne 0x501556
mov ecx, dword [ebp - 0x9c]
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], str.non_constant_global_initializer__needs_GL_EXT_shader_non_constant_global_initializers_
mov dword [esp + 0xc], 0x6ca65c
mov dword [esp + 8], 0
mov dword [esp + 4], 8
mov dword [esp], esi
call eax
sub esp, 0x14
jmp 0x500dde
mov eax, 0x6c5cfa
jmp 0x5011ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov ecx, ebx
mov edi, eax
mov eax, dword [ebx]
call dword [eax + 0x30]
mov dword [esp], edi
mov ecx, eax
call fcn.005d21d0
sub esp, 4
test al, al
je 0x501185
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x501521
mov eax, dword [ebx]
mov ecx, esi
mov edi, dword [eax + 0x64]
mov eax, dword [esi]
xor esi, esi
call dword [eax + 0x14]
mov ecx, ebx
sub eax, 0xffffff80
mov dword [esp], eax
call edi
sub esp, 4
jmp 0x500f2f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
mov ecx, eax
call fcn.005a63e0
jmp 0x500f2f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
movzx edx, byte [eax + 4]
and edx, 0x3f
cmp dl, 2
je 0x50108b
test byte [eax + 9], 0x40
jne 0x50108b
mov edi, dword [ebp - 0x9c]
mov ecx, ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x70]
mov eax, dword [ebx]
call dword [eax + 0x30]
lea ecx, [ebp - 0x8c]
mov dword [esp], eax
call fcn.005ce650
mov eax, dword [ebp - 0x88]
sub esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x6ca6de
mov dword [esp + 0xc], 0x6ca6dc
mov dword [esp + 8], str.global_const_initializers_must_be_constant
jmp 0x5012b3
test byte [eax + 9], 0x40
jne 0x50126e
jmp 0x500dc7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
mov ecx, ebx
movzx edx, byte [eax + 4]
or byte [eax + 9], 0x40
and edx, 0xffffffc0
or edx, 2
mov byte [eax + 4], dl
mov eax, dword [ebx]
mov eax, dword [eax + 0x68]
mov dword [esp], esi
xor esi, esi
call eax
sub esp, 4
jmp 0x500f2f
mov ecx, eax
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
mov dword [esp], 0x6ca65c
call eax
sub esp, 4
test al, al
jne 0x5013df
mov esi, dword [ebp - 0x9c]
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 0xc], str.non_constant_global_initializer__needs_GL_EXT_shader_non_constant_global_initializers_
mov dword [esp + 8], str.not_allowed_in_this_version
mov dword [esp + 4], ecx
mov dword [esp], esi
call eax
jmp 0x500dde
xor eax, eax
jmp 0x500f9a
xor esi, esi
nop
jmp 0x500f78