Function at 0x10095170
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x102060c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10223ca8]
xor edx, edx
movq xmm0, qword [0x101e8b48]
push esi
push edi
mov esi, dword [eax + 0x38]
mov al, byte [0x101e8b50]
movq qword [ebp - 0x44], xmm0
mov byte [ebp - 0x3c], al
mov dword [ebp - 0x28c], edx
nop dword [eax]
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x28c]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 9
jl 0x100951c0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x44]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095208
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100278e0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10095236
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x294], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x294]
add esp, 4
mov dword [ebp - 0x290], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x290]
mov eax, dword [eax + 0x14c]
push str.normal
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x10333e4c], eax
cmp ecx, 0xf
jbe 0x100952b3
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100952a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096de7
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223ca8]
xor edx, edx
movq xmm0, qword [0x101e8b48]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x28c], edx
mov esi, dword [eax + 0x38]
mov al, byte [0x101e8b50]
mov byte [ebp - 0x3c], al
nop dword [eax + eax]
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x28c]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 9
jl 0x100952e0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x44]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095328
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100278e0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10095356
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.UnlitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.flat
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x1033a5d4], eax
cmp ecx, 0xf
jbe 0x100953d3
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100953c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096dec
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223ca8]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, str._envmap_env_cubemap
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.chrome
call eax
mov dword [0x10228cfc], eax
mov eax, dword [0x10223ca8]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, str._additive_1__nofog_1__envmap_models_effects_cube_white__envmapfresnel_1__alpha_.8
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.glow
call eax
mov dword [0x10342798], eax
mov eax, dword [0x10223ca8]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, str._basetexture_vgui_white_additive__ambientonly_1__phong_1__pearlescent_3__basemapalphaphongmask_1
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.pearlescent
call eax
mov dword [0x1032bc9c], eax
mov eax, dword [0x10223ca8]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, str._basetexture_white__ignorez_0__envmap_env_cubemap__normalmapalphaenvmapmask_1__envmapcontrast_1__nofog_1__model_1__nocull_0__selfillum_1__halfambert_1__znearer_0__flat_1
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.metallic
call eax
mov dword [0x1034279c], eax
mov eax, dword [0x10223ca8]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, str._basetexture_models_weapons_customization_paints_anodized_multi_smoke__nofog_1__envmap_env_cubemap__envmaptint__1_1_1___phong_1__basemapalphaphongmask_1__phongboost_0__rimlight_1__phongtint__1_1_1___rimlightexponent_9999999__rimlightboost_0__selfillum_1__ignorez_0_proxies__texturescroll__texturescrollvar__basetexturetransform_texturescrollrate_0.025__
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.smoke
call eax
mov dword [0x10342788], eax
mov eax, dword [0x10223ca8]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, str._basetexture_models_weapons_customization_paints_anodized_multi_smoke2__ambientonly_1__phong_1__pearlescent_3__basemapalphaphongmask_1_proxies__texturescroll__texturescrollvar__basetexturetransform_texturescrollrate_0.025__
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.smoke2
call eax
mov dword [0x10342774], eax
mov eax, dword [0x10223ca8]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, str._model_1__refractamount_2.0__dudvmap_dev_water_dudv__normalmap_dev_water_normal__surfaceprop_water_Proxies___AnimatedTexture___animatedtexturevar__normalmap_animatedtextureframenumvar__bumpframe_animatedtextureframerate_30.00____TextureScroll___texturescrollvar__bumptransform_texturescrollrate_.05_texturescrollangle_45.00__
mov ecx, str.Refract
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.water
call eax
mov dword [0x10342794], eax
mov eax, dword [0x10223ca8]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, str._basetexture_models_props_foliage_urban_tree03_branches__translucent_1
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.leaves
call eax
mov dword [0x1034277c], eax
mov eax, dword [0x10223ca8]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, str._basetexture_models_inventory_items_music_kit_darude_01_mp3_detail__additive_1_proxies__texturescroll__texturescrollvar__basetexturetransform_texturescrollrate_0.25_texturescrollangle_90__
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.lines
call eax
movups xmm0, xmmword [0x101e8ae8]
mov dword [0x10342778], eax
xor edx, edx
cmp dword [0x10224d40], 2
mov eax, dword [0x10223ca8]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x28c], edx
movups xmm0, xmmword [0x101e8af8]
mov esi, dword [eax + 0x38]
mov al, byte [0x101e8b38]
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 0x80], al
movups xmm0, xmmword [0x101e8b08]
movups xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [0x101e8b18]
movups xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [0x101e8b28]
movups xmmword [ebp - 0x90], xmm0
jl 0x10095842
movaps xmm0, xmmword [0x101f7da0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8100]
movaps xmm5, xmmword [0x101f7c90]
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xd0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0xd0], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xcc]
xorps xmm1, xmm0
movd dword [ebp + edx - 0xcc], xmm1
add edx, 8
cmp edx, 0x50
jl 0x10095731
mov dword [ebp - 0x28c], edx
cmp edx, 0x51
jge 0x1009588d
nop word [eax + eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0xd0], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0x51
jl 0x10095850
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xd0]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100958b0
sub ecx, edx
lea eax, [ebp - 0xd0]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100278e0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x100958e1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x294]
mov eax, dword [eax + 0x14c]
push str.fractal
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x1034278c], eax
cmp ecx, 0xf
jbe 0x1009595e
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095954
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096df1
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223ca8]
lea edi, [ebp - 0x288]
mov ecx, 0x6d
mov esi, 0x101e8920
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x38]
xor edx, edx
cmp dword [0x10224d40], 2
mov dword [ebp - 0x294], eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x28c], edx
jl 0x10095ad4
movaps xmm0, xmmword [0x101f7da0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8100]
movaps xmm5, xmmword [0x101f7c90]
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x288]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x288], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x284]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x284], xmm1
add edx, 8
cmp edx, 0x1b0
jl 0x100959c0
mov dword [ebp - 0x28c], edx
cmp edx, 0x1b5
jge 0x10095b20
nop dword [eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x288], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0x1b5
jl 0x10095ae0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x288]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095b40
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100278e0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10095b71
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x290], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x294]
push dword [ebp - 0x298]
mov eax, dword [ecx]
push str.tiedye
mov eax, dword [eax + 0x14c]
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x10342714], eax
cmp ecx, 0xf
jbe 0x10095bf2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095be8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096df6
push ecx
push edx
call fcn.1019958d
add esp, 8
mov ecx, 0x2f
lea edi, [ebp - 0x190]
mov esi, 0x101e8b58
xor edx, edx
cmp dword [0x10224d40], 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28c], edx
movsb byte es:[edi], byte [esi]
jl 0x10095d54
movaps xmm0, xmmword [0x101f7da0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8100]
movaps xmm5, xmmword [0x101f7c90]
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
nop dword [eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x190]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x190], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x18c]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x18c], xmm1
add edx, 8
cmp edx, 0xb8
jl 0x10095c40
mov dword [ebp - 0x28c], edx
cmp edx, 0xbd
jge 0x10095da0
nop dword [eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x190], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xbd
jl 0x10095d60
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x190]
movaps xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095dc0
sub ecx, edx
lea eax, [ebp - 0x190]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100278e0
cmp dword [ebp - 0x3c], 0xf
lea eax, [ebp - 0x50]
mov dword [ebp - 0x28c], eax
jbe 0x10095df1
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x298], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.UnlitGeneric
call dword [ebp - 0x298]
add esp, 4
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x290]
cmp ecx, 0xf
jbe 0x10095e58
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095e4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096dfb
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223c9c]
mov ecx, esi
push 1
push str._envmaptint
mov dword [ebp - 0x40], 0
mov eax, dword [eax + 0x98]
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call eax
test eax, eax
je 0x10095e98
mov ecx, eax
mov eax, dword [0x10223c9c]
push str._.0_.0_.0_
mov eax, dword [eax + 0x9c]
call eax
mov eax, dword [0x10223ca8]
push esi
push str.animated
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov ecx, 0x37
mov dword [0x10340d2c], eax
mov esi, 0x101e8c18
lea edi, [ebp - 0x1b0]
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov dword [ebp - 0x28c], edx
movsb byte es:[edi], byte [esi]
mov esi, dword [0x10224d40]
cmp esi, 2
jl 0x10096016
movaps xmm0, xmmword [0x101f7da0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8100]
movaps xmm5, xmmword [0x101f7c90]
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1b0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x1b0], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1ac]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x1ac], xmm1
add edx, 8
cmp edx, 0xd8
jl 0x10095f02
mov dword [ebp - 0x28c], edx
cmp edx, 0xdd
jge 0x10096060
nop
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x1b0], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xdd
jl 0x10096020
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1b0]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096080
sub ecx, edx
lea eax, [ebp - 0x1b0]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100278e0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x100960b1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x298], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.UnlitGeneric
call dword [ebp - 0x298]
add esp, 4
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10096112
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10096108
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096e00
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223ca8]
movq xmm0, qword [str.PZYTBR_v:]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov edi, dword [eax + 0x38]
mov ax, word [0x101e8ec8]
mov byte [ebp - 0x30], 0
movq qword [ebp - 0x44], xmm0
mov word [ebp - 0x3c], ax
test ah, ah
je 0x1009617d
xor edx, edx
mov dword [ebp - 0x28c], edx
nop
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x28c]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xa
jl 0x10096150
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x44]
movaps xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096198
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.100278e0
cmp dword [ebp - 0x5c], 0xf
lea edx, [ebp - 0x70]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x290]
cmova edx, dword [ebp - 0x70]
push edx
mov eax, dword [eax + 0x14c]
call eax
mov ecx, dword [ebp - 0x5c]
mov dword [0x1032b784], eax
cmp ecx, 0xf
jbe 0x10096205
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100961fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096e05
push ecx
push edx
call fcn.1019958d
add esp, 8
movups xmm0, xmmword [0x101e8e78]
mov eax, dword [0x101e8eb8]
xor edx, edx
mov dword [ebp - 0x90], eax
mov ax, word [0x101e8ebc]
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x28c], edx
movups xmmword [ebp - 0xd0], xmm0
movups xmm0, xmmword [0x101e8e88]
movups xmmword [ebp - 0xc0], xmm0
movups xmm0, xmmword [0x101e8e98]
movups xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [0x101e8ea8]
movups xmmword [ebp - 0xa0], xmm0
cmp esi, 2
jl 0x100963a1
movaps xmm0, xmmword [0x101f7da0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8100]
movaps xmm5, xmmword [0x101f7c90]
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
nop dword [eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xd0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0xd0], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xcc]
xorps xmm1, xmm0
movd dword [ebp + edx - 0xcc], xmm1
add edx, 8
cmp edx, 0x40
jl 0x10096290
mov dword [ebp - 0x28c], edx
cmp edx, 0x46
jge 0x100963ed
nop word [eax + eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0xd0], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0x46
jl 0x100963b0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xd0]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096410
sub ecx, edx
lea eax, [ebp - 0xd0]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100278e0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10096441
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x298], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x298]
add esp, 4
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100964a2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10096498
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096e0a
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223ca8]
push dword [ebp - 0x290]
mov dword [ebp - 0x20], 0
push str.glass
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov ecx, 0x2a
mov dword [0x10342790], eax
mov esi, 0x101e8dc8
lea edi, [ebp - 0x180]
rep movsd dword es:[edi], dword [esi]
xor edx, edx
cmp dword [0x10224d40], 2
mov dword [ebp - 0x28c], edx
movsb byte es:[edi], byte [esi]
jl 0x10096635
movaps xmm0, xmmword [0x101f7da0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8100]
movaps xmm5, xmmword [0x101f7c90]
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x180]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x180], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x17c]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x17c], xmm1
add edx, 8
cmp edx, 0xa8
jl 0x10096521
mov dword [ebp - 0x28c], edx
cmp edx, 0xa9
jge 0x10096680
nop dword [eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x180], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xa9
jl 0x10096640
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x180]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100966a0
sub ecx, edx
lea eax, [ebp - 0x180]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100278e0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x100966d1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x298], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x298]
add esp, 4
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x290]
cmp ecx, 0xf
jbe 0x10096738
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009672e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096e0f
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223c9c]
mov ecx, esi
push 1
push str._phongtint
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0x98]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call eax
test eax, eax
je 0x10096778
mov ecx, eax
mov eax, dword [0x10223c9c]
push str._.2_.35_.6_
mov eax, dword [eax + 0x9c]
call eax
mov eax, dword [0x10223ca8]
push esi
push str.crystal
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
xor edx, edx
mov dword [0x10228b54], eax
cmp dword [0x10224d40], 2
lea edi, [ebp - 0x1c8]
mov ecx, 0x3c
mov dword [ebp - 0x28c], edx
mov esi, 0x101e8820
rep movsd dword es:[edi], dword [esi]
jl 0x100968f4
movaps xmm0, xmmword [0x101f7da0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8100]
movaps xmm5, xmmword [0x101f7c90]
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
nop
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1c8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x1c8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1c4]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x1c4], xmm1
add edx, 8
cmp edx, 0xf0
jl 0x100967e0
mov dword [ebp - 0x28c], edx
cmp edx, 0xf0
jge 0x10096940
nop dword [eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x1c8], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xf0
jl 0x10096900
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1c8]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096960
sub ecx, edx
lea eax, [ebp - 0x1c8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100278e0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10096991
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x298], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x298]
add esp, 4
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100969f2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100969e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096e14
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223ca8]
push dword [ebp - 0x290]
mov dword [ebp - 0x20], 0
push str.plastic
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
xor edx, edx
mov dword [0x10342780], eax
cmp dword [0x10224d40], 2
lea edi, [ebp - 0x1a8]
mov ecx, 0x34
mov dword [ebp - 0x28c], edx
mov esi, 0x101e8cf8
rep movsd dword es:[edi], dword [esi]
jl 0x10096b84
movaps xmm0, xmmword [0x101f7da0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8100]
movaps xmm5, xmmword [0x101f7c90]
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1a8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x1a8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1a4]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x1a4], xmm1
add edx, 8
cmp edx, 0xd0
jl 0x10096a70
mov dword [ebp - 0x28c], edx
cmp edx, 0xd0
jge 0x10096bd0
nop dword [eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x1a8], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xd0
jl 0x10096b90
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1a8]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096bf0
sub ecx, edx
lea eax, [ebp - 0x1a8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100278e0
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10096c21
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x298], eax
push 0
mov edx, dword [ebp - 0x28c]
mov ecx, str.UnlitGeneric
call dword [ebp - 0x298]
add esp, 4
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x290]
cmp ecx, 0xf
jbe 0x10096c88
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10096c7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096e19
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223c9c]
mov ecx, esi
push 1
push str._envmaptint
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0x98]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call eax
test eax, eax
je 0x10096cc8
mov ecx, eax
mov eax, dword [0x10223c9c]
push str._0_0_0_
mov eax, dword [eax + 0x9c]
call eax
mov eax, dword [0x10223c9c]
mov ecx, esi
push 1
push str._envmapfresnelminmaxexp
mov eax, dword [eax + 0x98]
call eax
test eax, eax
je 0x10096cf6
mov ecx, eax
mov eax, dword [0x10223c9c]
push str._.00000_.0_.0_
mov eax, dword [eax + 0x9c]
call eax
mov eax, dword [0x10223ca8]
xor edx, edx
movq xmm0, qword [str.BCSZVSI_]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x28c], edx
mov edi, dword [eax + 0x38]
mov ax, word [0x101e8ae0]
mov word [ebp - 0x3c], ax
mov al, byte [0x101e8ae2]
mov byte [ebp - 0x3a], al
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x28c]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xb
jl 0x10096d25
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x44]
movaps xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096d70
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.100278e0
cmp dword [ebp - 0x5c], 0xf
lea edx, [ebp - 0x70]
mov eax, dword [edi]
mov ecx, edi
cmova edx, dword [ebp - 0x70]
push esi
push edx
mov eax, dword [eax + 0x14c]
call eax
mov ecx, dword [ebp - 0x5c]
mov dword [0x10342784], eax
cmp ecx, 0xf
jbe 0x10096dd4
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10096dca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096e1e
push ecx
push edx
call fcn.1019958d
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10199294
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
call fcn.1019e6c6
int3