Function at 0x10094fc0
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, 0x288
mov eax, dword [0x102220c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1023fc88]
xor ecx, ecx
movq xmm0, qword [0x102048a0]
push esi
push edi
mov esi, dword [eax + 0x38]
mov al, byte [0x102048a8]
movq qword [ebp - 0x3c], xmm0
mov byte [ebp - 0x34], al
mov dword [ebp - 0x27c], ecx
nop dword [eax]
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0x27c]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
add al, 0x38
xor byte [ebp + ecx - 0x3c], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 9
jl 0x10095010
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x3c]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095067
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x10095095
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x284], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x284]
add esp, 4
mov dword [ebp - 0x280], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x280]
mov eax, dword [eax + 0x14c]
push str.normal
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x1045ffec], eax
cmp ecx, 0xf
jbe 0x10095112
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095108
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c47
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc88]
xor ecx, ecx
movq xmm0, qword [0x102048a0]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x27c], ecx
mov esi, dword [eax + 0x38]
mov al, byte [0x102048a8]
mov byte [ebp - 0x34], al
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0x27c]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
add al, 0x38
xor byte [ebp + ecx - 0x3c], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 9
jl 0x10095137
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x3c]
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 0x10095190
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x100951be
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.UnlitGeneric
call dword [ebp - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.flat
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x10466744], eax
cmp ecx, 0xf
jbe 0x1009523b
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095231
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c4c
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], eax
push 0
mov edx, str._envmap_env_cubemap
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.chrome
call eax
mov dword [0x103516d4], eax
mov eax, dword [0x1023fc88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], 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 - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.glow
call eax
mov dword [0x104681b4], eax
mov eax, dword [0x1023fc88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], 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 - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.pearlescent
call eax
mov dword [0x10359d74], eax
mov eax, dword [0x1023fc88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], 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 - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.metallic
call eax
mov dword [0x104681b8], eax
mov eax, dword [0x1023fc88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], 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 - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.smoke
call eax
mov dword [0x104681a4], eax
mov eax, dword [0x1023fc88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], 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 - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.smoke2
call eax
mov dword [0x10468190], eax
mov eax, dword [0x1023fc88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], 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 - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.water
call eax
mov dword [0x104681b0], eax
mov eax, dword [0x1023fc88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], eax
push 0
mov edx, str._basetexture_models_props_foliage_urban_tree03_branches__translucent_1
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.leaves
call eax
mov dword [0x10468198], eax
mov eax, dword [0x1023fc88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], 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 - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.lines
call eax
movups xmm0, xmmword [0x102048b0]
mov dword [0x10468194], eax
xor ecx, ecx
cmp dword [0x10240d90], 2
mov eax, dword [0x1023fc88]
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0x27c], ecx
movups xmm0, xmmword [0x102048c0]
mov esi, dword [eax + 0x38]
mov al, byte [0x10204900]
movups xmmword [ebp - 0xb0], xmm0
mov byte [ebp - 0x70], al
movups xmm0, xmmword [0x102048d0]
movups xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [0x102048e0]
movups xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [0x102048f0]
movups xmmword [ebp - 0x80], xmm0
jl 0x100956a9
movaps xmm0, xmmword [0x10214b30]
lea edi, [ebp - 0xbc]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214e10]
movaps xmm5, xmmword [0x10214a40]
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x40]
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0xc0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0xc0], 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [edi + ecx]
xorps xmm1, xmm0
movd dword [edi + ecx], xmm1
add ecx, 8
cmp ecx, 0x50
jl 0x100955a0
mov dword [ebp - 0x27c], ecx
cmp ecx, 0x51
jge 0x100956ec
nop
mov eax, 0x92492493
imul ecx
add edx, ecx
mov cl, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub cl, al
mov al, cl
shl al, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0xc0], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0x51
jl 0x100956b0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xc0]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095710
sub ecx, edx
lea eax, [ebp - 0xc0]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x10095741
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x280]
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x284]
mov eax, dword [eax + 0x14c]
push str.fractal
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x104681a8], eax
cmp ecx, 0xf
jbe 0x100957be
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100957b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c51
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc88]
lea edi, [ebp - 0x278]
mov ecx, 0x6d
mov esi, 0x10204bb8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x38]
xor ecx, ecx
cmp dword [0x10240d90], 2
mov dword [ebp - 0x284], eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x27c], ecx
jl 0x1009592c
movaps xmm0, xmmword [0x10214b30]
lea esi, [ebp - 0x274]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214e10]
movaps xmm5, xmmword [0x10214a40]
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x40]
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x278]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x278], 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esi + ecx]
xorps xmm1, xmm0
movd dword [esi + ecx], xmm1
add ecx, 8
cmp ecx, 0x1b0
jl 0x10095820
mov dword [ebp - 0x27c], ecx
cmp ecx, 0x1b5
jge 0x10095973
mov eax, 0x92492493
imul ecx
add edx, ecx
mov cl, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub cl, al
mov al, cl
shl al, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0x278], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0x1b5
jl 0x10095934
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x278]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095991
sub ecx, edx
lea eax, [ebp - 0x278]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x100959c2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x280], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x280]
add esp, 4
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x284]
push dword [ebp - 0x288]
mov eax, dword [ecx]
push str.tiedye
mov eax, dword [eax + 0x14c]
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x1046818c], eax
cmp ecx, 0xf
jbe 0x10095a43
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095a39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c56
push ecx
push edx
call fcn.101b5563
add esp, 8
mov ecx, 0x2f
lea edi, [ebp - 0x180]
mov esi, 0x10204d70
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x10240d90], 2
mov dword [ebp - 0x27c], ecx
movsb byte es:[edi], byte [esi]
jl 0x10095ba0
movaps xmm0, xmmword [0x10214b30]
lea esi, [ebp - 0x17c]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214e10]
movaps xmm5, xmmword [0x10214a40]
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x40]
movd xmm0, ecx
lea eax, [ecx + 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x180]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esi + ecx]
xorps xmm1, xmm0
movd dword [esi + ecx], xmm1
add ecx, 8
cmp ecx, 0xb8
jl 0x10095a94
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xbd
jge 0x10095bef
nop dword [eax + eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov cl, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub cl, al
mov al, cl
shl al, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0x180], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xbd
jl 0x10095bb0
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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095c10
sub ecx, edx
lea eax, [ebp - 0x180]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x10095c41
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x288], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.UnlitGeneric
call dword [ebp - 0x288]
add esp, 4
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x280]
cmp ecx, 0xf
jbe 0x10095ca8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095c9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c5b
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc7c]
mov ecx, esi
push 1
push str._envmaptint
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call eax
test eax, eax
je 0x10095ce8
mov ecx, eax
mov eax, dword [0x1023fc7c]
push str._.0_.0_.0_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x1023fc88]
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 [0x1046812c], eax
mov esi, 0x102049e0
lea edi, [ebp - 0x1a0]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [ebp - 0x27c], ecx
movsb byte es:[edi], byte [esi]
mov esi, dword [0x10240d90]
cmp esi, 2
jl 0x10095e6c
movaps xmm0, xmmword [0x10214b30]
lea edi, [ebp - 0x19c]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214e10]
movaps xmm5, xmmword [0x10214a40]
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x40]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x1a0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x1a0], 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + edi]
xorps xmm1, xmm0
movd dword [ecx + edi], xmm1
add ecx, 8
cmp ecx, 0xd8
jl 0x10095d60
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xdd
jge 0x10095eb3
mov eax, 0x92492493
imul ecx
add edx, ecx
mov cl, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub cl, al
mov al, cl
shl al, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0x1a0], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xdd
jl 0x10095e74
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1a0]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095ed1
sub ecx, edx
lea eax, [ebp - 0x1a0]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x10095f02
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x288], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.UnlitGeneric
call dword [ebp - 0x288]
add esp, 4
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10095f63
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095f59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c60
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc88]
movq xmm0, qword [str.YWSV_I__rA]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov edi, dword [eax + 0x38]
mov ax, word [0x102049bc]
mov byte [ebp - 0x30], 0
movq qword [ebp - 0x3c], xmm0
mov word [ebp - 0x34], ax
test ah, ah
je 0x10095fdc
xor ecx, ecx
mov dword [ebp - 0x27c], ecx
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0x27c]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
add al, 0x38
xor byte [ebp + ecx - 0x3c], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xa
jl 0x10095fa0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x3c]
movaps xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095ff7
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10027870
cmp dword [ebp - 0x4c], 0xf
lea edx, [ebp - 0x60]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x280]
cmova edx, dword [ebp - 0x60]
push edx
mov eax, dword [eax + 0x14c]
call eax
mov ecx, dword [ebp - 0x4c]
mov dword [0x1035836c], eax
cmp ecx, 0xf
jbe 0x10096064
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009605a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c65
push ecx
push edx
call fcn.101b5563
add esp, 8
movups xmm0, xmmword [0x10204858]
mov eax, dword [0x10204898]
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov ax, word [0x1020489c]
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x27c], ecx
movups xmmword [ebp - 0xc0], xmm0
movups xmm0, xmmword [0x10204868]
movups xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [0x10204878]
movups xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [0x10204888]
movups xmmword [ebp - 0x90], xmm0
cmp esi, 2
jl 0x100961f9
movaps xmm0, xmmword [0x10214b30]
lea esi, [ebp - 0xbc]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214e10]
movaps xmm5, xmmword [0x10214a40]
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x40]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0xc0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0xc0], 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + esi]
xorps xmm1, xmm0
movd dword [ecx + esi], xmm1
add ecx, 8
cmp ecx, 0x40
jl 0x100960f0
mov dword [ebp - 0x27c], ecx
cmp ecx, 0x46
jge 0x1009623c
nop
mov eax, 0x92492493
imul ecx
add edx, ecx
mov cl, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub cl, al
mov al, cl
shl al, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0xc0], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0x46
jl 0x10096200
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xc0]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096260
sub ecx, edx
lea eax, [ebp - 0xc0]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x10096291
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x288], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x288]
add esp, 4
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100962f2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100962e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c6a
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc88]
push dword [ebp - 0x280]
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 [0x104681ac], eax
mov esi, 0x10204908
lea edi, [ebp - 0x170]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x10240d90], 2
mov dword [ebp - 0x27c], ecx
movsb byte es:[edi], byte [esi]
jl 0x1009648c
movaps xmm0, xmmword [0x10214b30]
lea esi, [ebp - 0x16c]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214e10]
movaps xmm5, xmmword [0x10214a40]
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x40]
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x170]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x170], 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + esi]
xorps xmm1, xmm0
movd dword [ecx + esi], xmm1
add ecx, 8
cmp ecx, 0xa8
jl 0x10096380
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xa9
jge 0x100964d3
mov eax, 0x92492493
imul ecx
add edx, ecx
mov cl, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub cl, al
mov al, cl
shl al, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0x170], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xa9
jl 0x10096494
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x170]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100964f1
sub ecx, edx
lea eax, [ebp - 0x170]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x10096522
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x288], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x288]
add esp, 4
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x280]
cmp ecx, 0xf
jbe 0x10096589
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009657f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c6f
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc7c]
mov ecx, esi
push 1
push str._phongtint
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call eax
test eax, eax
je 0x100965c9
mov ecx, eax
mov eax, dword [0x1023fc7c]
push str._.2_.35_.6_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x1023fc88]
push esi
push str.crystal
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov ecx, 0x3c
mov dword [0x1024e83c], eax
mov esi, 0x10204ac0
lea edi, [ebp - 0x1b8]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x10240d90], 2
mov dword [ebp - 0x27c], ecx
jl 0x1009674c
movaps xmm0, xmmword [0x10214b30]
lea esi, [ebp - 0x1b4]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214e10]
movaps xmm5, xmmword [0x10214a40]
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x40]
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x1b8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x1b8], 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + esi]
xorps xmm1, xmm0
movd dword [ecx + esi], xmm1
add ecx, 8
cmp ecx, 0xf0
jl 0x10096640
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xf0
jge 0x10096793
mov eax, 0x92492493
imul ecx
add edx, ecx
mov cl, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub cl, al
mov al, cl
shl al, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0x1b8], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xf0
jl 0x10096754
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1b8]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100967b1
sub ecx, edx
lea eax, [ebp - 0x1b8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x100967e2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x288], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.VertexLitGeneric
call dword [ebp - 0x288]
add esp, 4
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10096843
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10096839
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c74
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc88]
push dword [ebp - 0x280]
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
mov ecx, 0x34
mov dword [0x1046819c], eax
mov esi, 0x10204e30
lea edi, [ebp - 0x198]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x10240d90], 2
mov dword [ebp - 0x27c], ecx
jl 0x100969dc
movaps xmm0, xmmword [0x10214b30]
lea esi, [ebp - 0x194]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214e10]
movaps xmm5, xmmword [0x10214a40]
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x40]
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x198]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x198], 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 [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + esi]
xorps xmm1, xmm0
movd dword [ecx + esi], xmm1
add ecx, 8
cmp ecx, 0xd0
jl 0x100968d0
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xd0
jge 0x10096a23
mov eax, 0x92492493
imul ecx
add edx, ecx
mov cl, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub cl, al
mov al, cl
shl al, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0x198], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xd0
jl 0x100969e4
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x198]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096a41
sub ecx, edx
lea eax, [ebp - 0x198]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10027870
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jbe 0x10096a72
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x288], eax
push 0
mov edx, dword [ebp - 0x27c]
mov ecx, str.UnlitGeneric
call dword [ebp - 0x288]
add esp, 4
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x280]
cmp ecx, 0xf
jbe 0x10096ad9
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10096acf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c79
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc7c]
mov ecx, esi
push 1
push str._envmaptint
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call eax
test eax, eax
je 0x10096b19
mov ecx, eax
mov eax, dword [0x1023fc7c]
push str._0_0_0_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x1023fc7c]
mov ecx, esi
push 1
push str._envmapfresnelminmaxexp
mov eax, dword [eax + 0x94]
call eax
test eax, eax
je 0x10096b47
mov ecx, eax
mov eax, dword [0x1023fc7c]
push str._.00000_.0_.0_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x1023fc88]
xor ecx, ecx
movq xmm0, qword [str.KWULZQ_T_2B]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x27c], ecx
mov edi, dword [eax + 0x38]
mov ax, word [0x102049c8]
mov word [ebp - 0x34], ax
mov al, byte [0x102049ca]
mov byte [ebp - 0x32], al
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0x27c]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x27c]
add al, 0x38
xor byte [ebp + ecx - 0x3c], al
inc ecx
mov dword [ebp - 0x27c], ecx
cmp ecx, 0xb
jl 0x10096b76
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x3c]
movaps xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096bd0
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10027870
cmp dword [ebp - 0x4c], 0xf
lea edx, [ebp - 0x60]
mov eax, dword [edi]
mov ecx, edi
cmova edx, dword [ebp - 0x60]
push esi
push edx
mov eax, dword [eax + 0x14c]
call eax
mov ecx, dword [ebp - 0x4c]
mov dword [0x104681a0], eax
cmp ecx, 0xf
jbe 0x10096c34
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10096c2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096c7e
push ecx
push edx
call fcn.101b5563
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101b526a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
int3