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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b0
mov esi, ecx
mov eax, dword [0x1038000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ax, 0x101
mov word [ecx + 0x84], ax
mov byte [ecx + 0x86], 0
mov ecx, 0x1010101
mov dword [esi + 0x8b], ecx
mov dword [esi + 0x87], ecx
mov word [esi + 0x8f], ax
mov dword [esi + 0x91], 0x10000
mov eax, dword [esi + 0xa4]
add eax, 0xfffffff7
cmp eax, 0xfffffffe
setb byte [esi + 0x8c]
mov edi, edx
test byte [esi + 0x898], 0x10
je 0x102288e9
lea eax, [esi + 0x84]
lea ecx, [esi + 0x834]
push eax
push ecx
push edi
call fcn.10283950
add esp, 0xc
test al, al
je 0x10228adf
mov ebx, dword [ebp + 0xc]
cmp byte [esi + 0x888], 0
je 0x10228915
lea eax, [esi + 0x304]
push dword [esi + 0x7c4]
push ebx
push eax
push edi
push esi
call fcn.1029f8f0
add esp, 0x14
test al, al
je 0x10228acd
test byte [ebx + 1], 8
jne 0x10228b35
mov eax, dword [esi + 0xa4]
mov ecx, eax
and ecx, 0xfffffffd
cmp ecx, 1
setne cl
cmp eax, 5
setne dl
test dl, cl
jne 0x10228943
cmp dword [esi + 0x7c4], 0x64
je 0x10228948
test byte [ebx], 0x20
je 0x10228973
lea eax, [esi + 0x834]
lea ecx, [esi + 0x304]
push eax
push ecx
push dword [esi + 0xa0]
push edi
call fcn.10286b90
add esp, 0x10
test al, al
je 0x10228adf
mov eax, dword [esi + 0xa4]
cmp eax, 5
ja 0x102289a1
mov ecx, 0x2a
bt ecx, eax
jae 0x102289a1
lea eax, [esi + 0x834]
lea ecx, [esi + 0x304]
push eax
push ecx
push edi
call fcn.10288530
add esp, 0xc
test al, al
je 0x10228adf
lea ecx, [esi + 0x834]
lea eax, [esi + 0x304]
mov dword [ebp - 0x18c], eax
cmp dword [esi + 0x7c4], 0x64
mov dword [ebp - 0x190], ecx
jg 0x10228a62
cmp dword [esi + 0xa0], 0x8b30
jne 0x10228a62
mov dword [ebp - 0x188], edi
call fcn.102754d0
mov ecx, dword [ebp - 0x18c]
push eax
call fcn.10274010
test al, al
jne 0x10228a08
call fcn.10275510
mov ecx, dword [ebp - 0x18c]
push eax
call fcn.10274010
mov bl, 1
test al, al
je 0x10228a0a
xor ebx, ebx
mov edi, dword [ebp - 0x18c]
mov ecx, edi
call fcn.10273f30
test eax, eax
je 0x10228b26
mov ecx, edi
call fcn.10273f30
mov ecx, edi
push eax
call fcn.10274010
mov dword [ebp - 0x198], eax
mov ecx, edi
call fcn.10273f20
mov ecx, edi
push eax
call fcn.10274010
or al, byte [ebp - 0x198]
xor al, 1
or bl, al
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x190]
je 0x10228af5
push ecx
push edi
push esi
call fcn.10298710
add esp, 0xc
test al, al
je 0x10228adf
cmp dword [esi + 0xa0], 0x8e88
jne 0x10228a90
push dword [ebp - 0x190]
push edi
call fcn.102863b0
add esp, 8
test al, al
je 0x10228adf
push dword [ebp - 0x18c]
push edi
push esi
call fcn.1029b7d0
add esp, 0xc
test al, al
je 0x10228adf
mov byte [esi + 0x92], 1
bt dword [ebx], 0x1e
jb 0x10228b48
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x198], 0
jmp 0x10228b67
add esi, 0x834
mov ecx, esi
push str.internal_compiler_error_translating_pixel_local_storage
call fcn.1022c2d0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10212780
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ecx
call fcn.10275510
mov ecx, dword [ebp - 0x18c]
push eax
call fcn.10274010
mov ecx, str.cannot_use_both_output_variable_sets__gl_FragData__gl_SecondaryFragDataEXT__and__gl_FragColor__gl_SecondaryFragColorEXT_
mov edx, str.cannot_use_both_gl_FragData_and_gl_FragColor
test al, al
cmovne edx, ecx
cmp byte [ebp - 0x198], 0
cmovne edx, ecx
mov ecx, esi
push edx
jmp 0x10228ada
mov dword [ebp - 0x198], 0
jmp 0x10228a34
mov ecx, esi
mov edx, edi
call fcn.102298b0
test al, al
jne 0x1022891f
jmp 0x10228adf
push dword [esi + 0xa8]
call fcn.102b82e0
add esp, 4
xor al, 1
mov dword [ebp - 0x198], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1a8], eax
cmp dword [esi + 0x7c4], 0x64
mov bl, 1
jg 0x10228b88
cmp dword [esi + 0xa0], 0x8b30
jne 0x10228b88
cmp dword [esi + 0x1b0], 1
sete bl
lea eax, [esi + 0x794]
push 0x15
mov dword [ebp - 0x1a0], eax
push eax
call fcn.1022d880
add esp, 8
mov ecx, dword [esi + 0xa8]
mov byte [ebp - 0x199], al
test al, al
mov byte [ebp - 0x191], bl
mov dword [ebp - 0x1bc], ecx
je 0x10228bf8
xor eax, eax
cmp ecx, 0x8b4d
sete al
xor ecx, ecx
test byte [ebp - 0x1a8], 8
sete cl
movzx edx, bl
movzx ebx, byte [ebp - 0x198]
push dword [ebp - 0x18c]
push eax
push edx
push ecx
push ebx
push edi
push esi
call fcn.10297580
add esp, 0x1c
test al, al
je 0x10228adf
lea ebx, [esi + 0xac]
mov ecx, ebx
call fcn.10222af0
mov ecx, ebx
push dword [ebp - 0x190]
push edi
call fcn.10222b80
add eax, 0xfffffffd
cmp eax, 0xfffffffd
ja 0x10228adf
mov eax, dword [ebp + 0xc]
test byte [eax + 1], 0x10
jne 0x102292ce
lea eax, [esi + 0xc0]
mov dword [ebp - 0x1a4], eax
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc4], eax
mov ecx, ebx
call fcn.10222ae0
mov ecx, dword [esi + 0xc0]
mov edx, dword [esi + 0xc4]
mov dword [ebp - 0x188], edx
sub edx, ecx
mov ebx, eax
sub ebx, edx
jae 0x102292e2
add ecx, eax
mov dword [esi + 0xc4], ecx
mov ecx, esi
call fcn.10229c10
test al, al
je 0x10228adf
mov ecx, esi
mov dword [ebp - 0x188], edi
mov edx, edi
call fcn.10229c80
test al, al
je 0x10228adf
push dword [esi + 0x7c4]
push dword [esi + 0xa4]
call fcn.102b83a0
add esp, 8
test al, al
je 0x10228ccc
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.102b6680
add esp, 0xc
test al, al
je 0x10228adf
mov eax, dword [esi + 0x7c4]
cmp eax, 0x136
jl 0x10228d49
push dword [esi + 0xa0]
push dword [ebp - 0x190]
push dword [ebp - 0x188]
call fcn.10289140
add esp, 0xc
test al, al
je 0x10228adf
mov eax, dword [esi + 0x7c4]
cmp eax, 0x136
jl 0x10228d49
mov ebx, esp
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 0x10], 0x10
mov dword [eax], esi
mov ecx, dword [ebp - 0x188]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
call fcn.10299620
add esp, 0x14
mov esp, ebx
test al, al
je 0x10228adf
mov eax, dword [esi + 0x7c4]
cmp eax, 0x12c
jl 0x10228d84
cmp dword [esi + 0xa0], 0x8b30
jne 0x10228d84
push dword [ebp - 0x190]
push dword [esi + 0xe8]
push dword [ebp - 0x1a0]
push dword [ebp - 0x188]
call fcn.102876b0
add esp, 0x10
test al, al
je 0x10228adf
mov edi, dword [ebp + 8]
mov ecx, edi
push 0xc
call fcn.1024ccc0
test al, al
je 0x10228db6
push dword [esi + 0x2dc]
push dword [ebp - 0x190]
push dword [ebp - 0x188]
call fcn.10286500
add esp, 0xc
test al, al
je 0x10228adf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
bt eax, 0xa
jb 0x1022932a
bt eax, 0x1f
jb 0x10229351
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
bt eax, 0x13
jb 0x102293b2
bt eax, 0x18
jb 0x102293d9
test ax, ax
js 0x102293fa
bt eax, 0x12
jae 0x10228e14
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.102b0930
add esp, 0xc
test al, al
je 0x10228adf
cmp dword [esi + 0xa0], 0x8b31
jne 0x10228ee6
push 3
push dword [ebp - 0x1a0]
call fcn.1022d880
add esp, 8
test al, al
je 0x10228e7a
mov eax, dword [ebp + 0xc]
test byte [eax + 4], 0x80
je 0x10228e7a
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp + 0xc]
call ebx
lea ecx, [esi + 0x30]
movzx eax, al
push eax
push ecx
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.10297e20
add esp, 0x14
test al, al
je 0x10228adf
cmp dword [esi + 0xa0], 0x8b31
jne 0x10228ee6
push 2
push dword [ebp - 0x1a0]
call fcn.1022d880
add esp, 8
test al, al
je 0x10228ee6
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
bt ebx, 0xa
jae 0x10228ee6
shr ebx, 0xd
and ebx, 1
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push dword [ebp + 0xc]
call edi
lea ecx, [esi + 0x30]
movzx eax, al
push ebx
push eax
push ecx
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.102980d0
add esp, 0x18
test al, al
je 0x10228adf
cmp dword [esi + 0xa0], 0x8b30
jne 0x10228f4e
cmp dword [esi + 0x7c4], 0x64
jne 0x10228f4e
cmp dword [esi + 0x104], 0
je 0x10228f4e
cmp dword [esi + 0xe8], 2
jl 0x10228f4e
push 0xd
push dword [ebp - 0x1a0]
call fcn.1022d880
add esp, 8
test al, al
je 0x10228f4e
lea eax, [esi + 0x24]
push dword [esi + 0x7c4]
push dword [ebp - 0x18c]
push eax
push dword [esi + 0xe8]
push dword [ebp - 0x188]
push esi
call fcn.10297af0
add esp, 0x18
test al, al
je 0x10228adf
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
shr ebx, 0xa
and ebx, 0x80
lea eax, [ebx + 0x48]
push dword [ebp - 0x18c]
push eax
push dword [ebp - 0x188]
push esi
call fcn.102a3e40
add esp, 0x10
test al, al
je 0x10228adf
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.102a3420
add esp, 0xc
test al, al
je 0x10228adf
mov byte [esi + 0x91], 1
or ebx, 0x40
push dword [ebp - 0x18c]
push ebx
push dword [ebp - 0x188]
push esi
call fcn.102a5480
add esp, 0x10
test al, al
je 0x10228adf
push dword [ebp - 0x188]
push esi
call fcn.1029bde0
add esp, 8
test al, al
je 0x10228adf
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.1029ec10
add esp, 0xc
test al, al
je 0x10228adf
push dword [ebp - 0x188]
push esi
call fcn.1029b570
add esp, 8
test al, al
je 0x10228adf
call fcn.1025c190
mov ecx, eax
call fcn.1021ab40
lea edi, [esi + 0x79c]
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1a4], ecx
call dword [section..00cfg]
mov ecx, esi
mov ebx, dword [ebp + 0xc]
push ebx
push edi
call dword [ebp - 0x1a4]
call fcn.1025c190
mov ecx, eax
call fcn.1021ab50
mov ecx, edi
push dword [ebp - 0x188]
call fcn.10222180
bt dword [ebx], 0x11
jae 0x10229079
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.102a2440
add esp, 0xc
test al, al
je 0x10228adf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
bt eax, 0x15
jae 0x102290a7
push dword [esi + 0xa0]
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
call fcn.102987f0
add esp, 0xc
test al, al
je 0x10228adf
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp + 0xc]
call ebx
test al, al
jne 0x1022966c
mov eax, dword [esi + 0xa0]
cmp eax, 0x8b30
jne 0x1022941b
mov ecx, 0xffff747b
add ecx, dword [esi + 0xa8]
cmp ecx, 4
jae 0x1022941b
push dword [ebp - 0x188]
push esi
call fcn.1029eae0
add esp, 8
test al, al
je 0x10228adf
mov eax, dword [esi + 0xa0]
cmp eax, 0x8b31
jne 0x10229126
cmp byte [esi + 0x9d], 0
je 0x102294bb
mov eax, dword [ebp + 0xc]
test byte [eax + 1], 0x40
jne 0x1022944b
cmp byte [ebp - 0x199], 0
jne 0x10229179
xor eax, eax
cmp dword [ebp - 0x1bc], 0x8b4d
sete al
xor ecx, ecx
test byte [ebp - 0x1a8], 8
sete cl
movzx edx, byte [ebp - 0x191]
movzx ebx, byte [ebp - 0x198]
push dword [ebp - 0x18c]
push eax
push edx
push ecx
push ebx
push dword [ebp - 0x188]
push esi
call fcn.10297580
add esp, 0x1c
test al, al
je 0x10228adf
cmp byte [ebp - 0x198], 0
je 0x10229213
mov eax, dword [esi + 0xa4]
mov ecx, eax
and ecx, 0xfffffffd
cmp ecx, 1
setne dl
cmp eax, 5
setne al
mov ecx, dword [esi + 0x7c4]
test al, dl
jne 0x102291b1
mov eax, 0x64
cmp ecx, 0x64
je 0x102291e0
mov eax, dword [ebp + 0xc]
test byte [eax], 0x20
mov eax, ecx
jne 0x102291e0
push dword [ebp - 0x18c]
push 0x30
push dword [ebp - 0x188]
push esi
call fcn.102a3e40
add esp, 0x10
test al, al
je 0x10228adf
mov eax, dword [esi + 0x7c4]
xor ecx, ecx
test byte [ebp - 0x1a8], 8
sete cl
movzx edx, byte [ebp - 0x191]
push dword [ebp - 0x18c]
push edx
push ecx
push eax
push dword [ebp - 0x188]
push esi
call fcn.10299180
add esp, 0x18
test al, al
je 0x10228adf
mov eax, dword [esi + 0xa0]
cmp eax, 0x8b31
jne 0x10229267
mov eax, dword [ebp + 0xc]
test byte [eax + 4], 2
je 0x10229294
movss xmm0, dword [esi + 0x254]
sub esp, 0x10
mov eax, dword [ebp - 0x18c]
mov dword [esp + 0xc], eax
movss dword [esp + 8], xmm0
mov eax, dword [ebp - 0x188]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.10296650
add esp, 0x10
test al, al
je 0x10228adf
mov eax, dword [esi + 0xa0]
cmp eax, 0x8b30
jne 0x10229294
mov eax, dword [ebp + 0xc]
test byte [eax + 4], 0x20
je 0x10229294
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.102b04a0
add esp, 0xc
test al, al
je 0x10228adf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
test al, 0x40
jne 0x10229505
bt eax, 0xe
jae 0x102292c7
push 0
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.1029c520
add esp, 0x10
test al, al
je 0x10228adf
mov bl, 1
jmp 0x10228ae1
mov ecx, esi
call fcn.10229910
test al, al
je 0x10228adf
jmp 0x10228c2c
jbe 0x10228c71
mov edx, dword [esi + 0xc8]
sub edx, ecx
cmp edx, eax
jae 0x10229306
mov ecx, dword [ebp - 0x1a4]
mov edx, eax
call fcn.1022af10
jmp 0x10228c71
push ebx
push 0
push dword [ebp - 0x188]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x188]
add eax, ebx
mov dword [esi + 0xc4], eax
jmp 0x10228c71
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.10296370
add esp, 0xc
test al, al
je 0x10228adf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
jmp 0x10228dc5
mov ecx, edi
push 0x2f
call fcn.1024ccc0
test al, al
jne 0x1022936f
mov ecx, edi
push 0x2e
call fcn.1024ccc0
test al, al
je 0x10228dcf
mov eax, dword [esi + 0xa0]
cmp eax, 0x91b9
je 0x10228dcf
push dword [ebp - 0x18c]
push dword [esi + 0xa8]
push dword [ebp + 0xc]
push eax
push dword [esi + 0x858]
push dword [ebp - 0x188]
push esi
call fcn.10296850
add esp, 0x1c
test al, al
je 0x10228adf
jmp 0x10228dcf
push dword [ebp - 0x18c]
push dword [ebp - 0x188]
push esi
call fcn.102a57f0
add esp, 0xc
test al, al
je 0x10228adf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
jmp 0x10228dde
push dword [ebp - 0x188]
push esi
call fcn.102a5720
add esp, 8
test al, al
je 0x10228adf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
jmp 0x10228de8
push dword [ebp - 0x188]
push esi
call fcn.102aa220
add esp, 8
test al, al
je 0x10228adf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
jmp 0x10228df1
cmp eax, 0x8b31
jne 0x10229105
cmp dword [esi + 0x7c4], 0x12c
jl 0x10229105
mov ecx, 0x80
mov edx, dword [ebp + 0xc]
and ecx, dword [edx]
jne 0x102290e8
jmp 0x10229105
lea edi, [ebp - 0xc4]
mov ecx, edi
push 0x1406
call fcn.1026a6a0
mov eax, dword [edi + 0x1c]
cmp eax, 0xc
jae 0x10229527
mov ecx, eax
shr ecx, 1
add ecx, eax
cmp ecx, 0x10
mov ebx, 0xf
cmovae ebx, ecx
lea eax, [ebx + 1]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [ebp - 0xac], 0xc
mov dword [ebp - 0xa8], ebx
movsd xmm0, qword [str.gl_PointSize]
movsd qword [eax], xmm0
mov ecx, dword [0x10339a67]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], 0
mov dword [ebp - 0xbc], eax
jmp 0x1022955f
mov eax, dword [ebp + 0xc]
test byte [eax + 1], 0x20
jne 0x102294d4
cmp dword [esi + 0xa8], 0x8b46
jne 0x10229119
mov ecx, esi
mov edx, dword [ebp - 0x188]
call fcn.1022a250
test al, al
je 0x10228adf
mov byte [esi + 0x9d], 1
cmp dword [esi + 0xa0], 0x8b31
je 0x10229119
jmp 0x10229126
push dword [ebp - 0x188]
push esi
call fcn.102b0a20
add esp, 8
test al, al
je 0x10228adf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
jmp 0x102292a2
lea ecx, [ebp - 0xbc]
mov edx, dword [ecx]
lea ebx, [edx + 0xc]
cmp eax, 0x10
cmovb edx, ecx
mov dword [ecx + 0x10], 0xc
mov eax, dword [0x10339a67]
mov dword [edx + 8], eax
movsd xmm0, qword [str.gl_PointSize]
movsd qword [edx], xmm0
lea eax, [ebp - 0xb0]
cmovae eax, ebx
mov byte [eax], 0
mov eax, dword [esi + 0x7c4]
mov dword [ebp - 0x190], eax
lea ecx, [ebp - 0x178]
push edi
call fcn.1026a910
xor eax, eax
lea edi, [ebp - 0x184]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ebx, 0xb4
push ebx
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], eax
add ebx, eax
mov dword [edi + 8], ebx
mov ecx, eax
lea eax, [ebp - 0x178]
push eax
call fcn.1026a910
mov dword [edi + 4], ebx
xor eax, eax
push eax
push eax
push dword [ebp - 0x1a0]
push dword [ebp - 0x190]
push dword [ebp - 0x18c]
push edi
push dword [ebp - 0x188]
push esi
call fcn.10299200
add esp, 0x20
mov byte [ebp - 0x190], al
mov edi, dword [edi]
test edi, edi
je 0x10229644
mov ebx, dword [ebp - 0x180]
cmp edi, ebx
je 0x10229604
mov ecx, edi
call fcn.1026a740
add edi, 0xb4
cmp edi, ebx
jne 0x102295ed
mov edi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x17c]
sub eax, edi
cmp eax, 0x1000
jb 0x10229626
mov eax, dword [edi - 4]
add edi, 0xfffffffc
sub edi, eax
cmp edi, 0x20
jae 0x10229811
mov edi, eax
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
xor eax, eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
lea ecx, [ebp - 0x178]
call fcn.1026a740
lea ecx, [ebp - 0xc4]
call fcn.1026a740
cmp byte [ebp - 0x190], 0
je 0x10228adf
jmp 0x10229126
lea edx, [esi + 0xcc]
lea ecx, [esi + 0x78]
mov dword [ebp - 0x1a4], ecx
lea ecx, [esi + 0x6c]
lea eax, [esi + 0x54]
mov dword [ebp - 0x1b0], eax
lea ebx, [esi + 0x48]
lea edi, [esi + 0x3c]
mov dword [ebp - 0x1b8], edi
lea eax, [esi + 0x30]
lea edi, [esi + 0x24]
mov dword [ebp - 0x1b4], edi
lea edi, [esi + 0x18]
mov dword [ebp - 0x1ac], edi
push dword [esi + 0x86c]
push edx
push dword [ebp - 0x1a0]
push dword [esi + 0xa0]
push dword [ebp - 0x18c]
push dword [esi + 0x1cc]
push dword [ebp - 0x1a4]
push ecx
push dword [ebp - 0x1b0]
push ebx
push dword [ebp - 0x1b8]
mov edi, eax
push eax
push dword [ebp - 0x1b4]
push dword [ebp - 0x1ac]
push dword [ebp - 0x188]
call fcn.10223940
add esp, 0x3c
mov ecx, esi
call fcn.10229f40
mov byte [esi + 0x9c], 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
bt eax, 0x1b
jb 0x102297f2
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
bt eax, 9
jb 0x1022976d
mov ebx, dword [esi + 0xa0]
xor edx, edx
cmp ebx, 0x91b9
setne dl
shr ecx, 0x19
cmp ebx, 0x8b30
sete bl
and bl, cl
bt eax, 0x10
movzx eax, bl
cmovae edx, eax
cmp dl, 1
jne 0x102290c3
mov ecx, esi
mov edx, dword [ebp - 0x188]
call fcn.1022a0b0
test al, al
je 0x10228adf
jmp 0x102290c3
mov ecx, dword [esi + 0xa0]
xor eax, eax
dec eax
cmp ecx, 0x8dd8
jg 0x10229796
cmp ecx, 0x8b30
je 0x102297ae
cmp ecx, 0x8b31
jne 0x102297c7
mov eax, dword [esi + 0xd0]
jmp 0x102297c7
cmp ecx, 0x8dd9
je 0x102297b6
cmp ecx, 0x91b9
jne 0x102297c7
mov ecx, dword [esi + 0x21c]
jmp 0x102297bc
mov eax, dword [esi + 0xe4]
jmp 0x102297c7
mov ecx, dword [esi + 0x258]
lea eax, [ecx + 3]
test ecx, ecx
cmovns eax, ecx
sar eax, 2
push edi
push eax
call fcn.10289a80
add esp, 8
test al, al
je 0x102297e2
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x10229721
mov ecx, dword [ebp - 0x190]
push str.too_many_uniforms
jmp 0x10228ada
mov ecx, esi
mov edx, dword [ebp - 0x188]
call fcn.10229fd0
test al, al
je 0x10228adf
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
jmp 0x10229718
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3