Function at 0x10094a90
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 [0x102230c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10240c88]
xor edx, edx
movq xmm0, qword [0x10205d30]
push esi
push edi
mov esi, dword [eax + 0x38]
mov al, byte [0x10205d38]
movq qword [ebp - 0x3c], xmm0
mov byte [ebp - 0x34], al
mov dword [ebp - 0x27c], edx
nop dword [eax]
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x27c]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x3c], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 9
jl 0x10094ae0
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 0x10094b28
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 0x10094b56
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 [0x10460fe4], eax
cmp ecx, 0xf
jbe 0x10094bd3
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10094bc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096727
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c88]
xor edx, edx
movq xmm0, qword [0x10205d30]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x27c], edx
mov esi, dword [eax + 0x38]
mov al, byte [0x10205d38]
mov byte [ebp - 0x34], al
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x27c]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x3c], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 9
jl 0x10094c00
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 0x10094c48
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 0x10094c76
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 [0x1046773c], eax
cmp ecx, 0xf
jbe 0x10094cf3
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10094ce9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009672c
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10240c7c]
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 [0x103526cc], eax
mov eax, dword [0x10240c88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10240c7c]
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 [0x104691ac], eax
mov eax, dword [0x10240c88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10240c7c]
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 [0x1035ad6c], eax
mov eax, dword [0x10240c88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10240c7c]
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 [0x104691b0], eax
mov eax, dword [0x10240c88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10240c7c]
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 [0x1046919c], eax
mov eax, dword [0x10240c88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10240c7c]
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 [0x10469188], eax
mov eax, dword [0x10240c88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10240c7c]
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 [0x104691a8], eax
mov eax, dword [0x10240c88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10240c7c]
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 [0x10469190], eax
mov eax, dword [0x10240c88]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10240c7c]
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 [0x10205c18]
mov dword [0x1046918c], eax
xor edx, edx
cmp dword [0x10241d90], 2
mov eax, dword [0x10240c88]
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0x27c], edx
movups xmm0, xmmword [0x10205c28]
mov esi, dword [eax + 0x38]
mov al, byte [0x10205c68]
movups xmmword [ebp - 0xb0], xmm0
mov byte [ebp - 0x70], al
movups xmm0, xmmword [0x10205c38]
movups xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [0x10205c48]
movups xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [0x10205c58]
movups xmmword [ebp - 0x80], xmm0
jl 0x1009515d
movaps xmm0, xmmword [0x10215900]
lea edi, [ebp - 0xbc]
movaps xmm4, xmmword [0x10215760]
movaps xmm3, xmmword [0x10215bf0]
movaps xmm5, xmmword [0x10215820]
movaps xmmword [ebp - 0x40], xmm0
mov ecx, dword [ebp - 0x40]
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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xc0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edi + edx]
xorps xmm1, xmm0
movd dword [edi + edx], xmm1
add edx, 8
cmp edx, 0x50
jl 0x10095054
mov dword [ebp - 0x27c], edx
cmp edx, 0x51
jge 0x1009519f
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x27c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x27c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0xc0], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0x51
jl 0x10095162
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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100951c0
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 0x100951f1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 [0x104691a0], eax
cmp ecx, 0xf
jbe 0x1009526e
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095264
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096731
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c88]
lea edi, [ebp - 0x278]
mov ecx, 0x6d
mov esi, 0x10205d48
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x38]
xor edx, edx
cmp dword [0x10241d90], 2
mov dword [ebp - 0x284], eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x27c], edx
jl 0x100953dc
movaps xmm0, xmmword [0x10215900]
lea esi, [ebp - 0x274]
movaps xmm4, xmmword [0x10215760]
movaps xmm3, xmmword [0x10215bf0]
movaps xmm5, xmmword [0x10215820]
movaps xmmword [ebp - 0x40], xmm0
mov ecx, dword [ebp - 0x40]
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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x278]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esi + edx]
xorps xmm1, xmm0
movd dword [esi + edx], xmm1
add edx, 8
cmp edx, 0x1b0
jl 0x100952d0
mov dword [ebp - 0x27c], edx
cmp edx, 0x1b5
jge 0x10095430
nop dword [eax]
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x27c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x27c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x278], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0x1b5
jl 0x100953f0
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]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095450
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 0x10095481
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 [0x10469184], eax
cmp ecx, 0xf
jbe 0x10095502
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100954f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096736
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov ecx, 0x2f
lea edi, [ebp - 0x180]
mov esi, 0x10205c70
xor edx, edx
cmp dword [0x10241d90], 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x27c], edx
movsb byte es:[edi], byte [esi]
jl 0x1009565f
movaps xmm0, xmmword [0x10215900]
lea esi, [ebp - 0x17c]
movaps xmm4, xmmword [0x10215760]
movaps xmm3, xmmword [0x10215bf0]
movaps xmm5, xmmword [0x10215820]
movaps xmmword [ebp - 0x40], xmm0
mov ecx, dword [ebp - 0x40]
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 [0x102158a0]
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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esi + edx]
xorps xmm1, xmm0
movd dword [esi + edx], xmm1
add edx, 8
cmp edx, 0xb8
jl 0x10095553
mov dword [ebp - 0x27c], edx
cmp edx, 0xbd
jge 0x100956b0
nop word [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x27c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x27c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x180], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0xbd
jl 0x10095670
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 0x100956d0
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 0x10095701
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 0x10095768
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009575e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009673b
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c7c]
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 0x100957a8
mov ecx, eax
mov eax, dword [0x10240c7c]
push str._.0_.0_.0_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x10240c88]
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 [0x10469124], eax
mov esi, 0x10205858
lea edi, [ebp - 0x1a0]
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov dword [ebp - 0x27c], edx
movsb byte es:[edi], byte [esi]
mov esi, dword [0x10241d90]
cmp esi, 2
jl 0x1009592c
movaps xmm0, xmmword [0x10215900]
lea edi, [ebp - 0x19c]
movaps xmm4, xmmword [0x10215760]
movaps xmm3, xmmword [0x10215bf0]
movaps xmm5, xmmword [0x10215820]
movaps xmmword [ebp - 0x40], xmm0
mov ecx, dword [ebp - 0x40]
nop dword [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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1a0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + edi]
xorps xmm1, xmm0
movd dword [edx + edi], xmm1
add edx, 8
cmp edx, 0xd8
jl 0x10095820
mov dword [ebp - 0x27c], edx
cmp edx, 0xdd
jge 0x10095980
nop dword [eax]
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x27c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x27c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x1a0], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0xdd
jl 0x10095940
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]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100959a0
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 0x100959d1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 0x10095a32
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095a28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096740
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c88]
movq xmm0, qword [str.TXUXNX]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov edi, dword [eax + 0x38]
mov ax, word [0x1020594c]
mov byte [ebp - 0x30], 0
movq qword [ebp - 0x3c], xmm0
mov word [ebp - 0x34], ax
test ah, ah
je 0x10095a9d
xor edx, edx
mov dword [ebp - 0x27c], edx
nop
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x27c]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x3c], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0xa
jl 0x10095a70
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 0x10095ab8
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 [0x10359364], eax
cmp ecx, 0xf
jbe 0x10095b25
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095b1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096745
push ecx
push edx
call fcn.101b60a3
add esp, 8
movups xmm0, xmmword [0x10205a20]
mov eax, dword [0x10205a60]
xor edx, edx
mov dword [ebp - 0x80], eax
mov ax, word [0x10205a64]
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x27c], edx
movups xmmword [ebp - 0xc0], xmm0
movups xmm0, xmmword [0x10205a30]
movups xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [0x10205a40]
movups xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [0x10205a50]
movups xmmword [ebp - 0x90], xmm0
cmp esi, 2
jl 0x10095cb9
movaps xmm0, xmmword [0x10215900]
lea esi, [ebp - 0xbc]
movaps xmm4, xmmword [0x10215760]
movaps xmm3, xmmword [0x10215bf0]
movaps xmm5, xmmword [0x10215820]
movaps xmmword [ebp - 0x40], xmm0
mov ecx, dword [ebp - 0x40]
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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xc0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0x40
jl 0x10095bb0
mov dword [ebp - 0x27c], edx
cmp edx, 0x46
jge 0x10095cfd
nop
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x27c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x27c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0xc0], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0x46
jl 0x10095cc0
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 dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095d20
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 0x10095d51
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 0x10095db2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10095da8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009674a
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c88]
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 [0x104691a4], eax
mov esi, 0x10205a68
lea edi, [ebp - 0x170]
rep movsd dword es:[edi], dword [esi]
xor edx, edx
cmp dword [0x10241d90], 2
mov dword [ebp - 0x27c], edx
movsb byte es:[edi], byte [esi]
jl 0x10095f4c
movaps xmm0, xmmword [0x10215900]
lea esi, [ebp - 0x16c]
movaps xmm4, xmmword [0x10215760]
movaps xmm3, xmmword [0x10215bf0]
movaps xmm5, xmmword [0x10215820]
movaps xmmword [ebp - 0x40], xmm0
mov ecx, dword [ebp - 0x40]
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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x170]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0xa8
jl 0x10095e40
mov dword [ebp - 0x27c], edx
cmp edx, 0xa9
jge 0x10095fa0
nop dword [eax]
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x27c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x27c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x170], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0xa9
jl 0x10095f60
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]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10095fc0
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 0x10095ff1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 0x10096058
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009604e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009674f
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c7c]
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 0x10096098
mov ecx, eax
mov eax, dword [0x10240c7c]
push str._.2_.35_.6_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x10240c88]
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 [0x1024f834], eax
cmp dword [0x10241d90], 2
lea edi, [ebp - 0x1b8]
mov ecx, 0x3c
mov dword [ebp - 0x27c], edx
mov esi, 0x10205b28
rep movsd dword es:[edi], dword [esi]
jl 0x1009621c
movaps xmm0, xmmword [0x10215900]
lea esi, [ebp - 0x1b4]
movaps xmm4, xmmword [0x10215760]
movaps xmm3, xmmword [0x10215bf0]
movaps xmm5, xmmword [0x10215820]
movaps xmmword [ebp - 0x40], xmm0
mov ecx, dword [ebp - 0x40]
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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1b8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0xf0
jl 0x10096110
mov dword [ebp - 0x27c], edx
cmp edx, 0xf0
jge 0x10096270
nop dword [eax]
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x27c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x27c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x1b8], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0xf0
jl 0x10096230
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]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096290
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 0x100962c1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 0x10096322
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10096318
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096754
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c88]
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
xor edx, edx
mov dword [0x10469194], eax
cmp dword [0x10241d90], 2
lea edi, [ebp - 0x198]
mov ecx, 0x34
mov dword [ebp - 0x27c], edx
mov esi, 0x10205950
rep movsd dword es:[edi], dword [esi]
jl 0x100964bc
movaps xmm0, xmmword [0x10215900]
lea esi, [ebp - 0x194]
movaps xmm4, xmmword [0x10215760]
movaps xmm3, xmmword [0x10215bf0]
movaps xmm5, xmmword [0x10215820]
movaps xmmword [ebp - 0x40], xmm0
mov ecx, dword [ebp - 0x40]
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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x198]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 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 [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0xd0
jl 0x100963b0
mov dword [ebp - 0x27c], edx
cmp edx, 0xd0
jge 0x10096510
nop dword [eax]
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x27c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x27c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x198], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0xd0
jl 0x100964d0
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]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096530
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 0x10096561
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10240c7c]
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 0x100965c8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100965be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096759
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov eax, dword [0x10240c7c]
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 0x10096608
mov ecx, eax
mov eax, dword [0x10240c7c]
push str._0_0_0_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x10240c7c]
mov ecx, esi
push 1
push str._envmapfresnelminmaxexp
mov eax, dword [eax + 0x94]
call eax
test eax, eax
je 0x10096636
mov ecx, eax
mov eax, dword [0x10240c7c]
push str._.00000_.0_.0_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x10240c88]
xor edx, edx
movq xmm0, qword [str.FXXO_VZWXM_]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x27c], edx
mov edi, dword [eax + 0x38]
mov ax, word [0x10205b1c]
mov word [ebp - 0x34], ax
mov al, byte [0x10205b1e]
mov byte [ebp - 0x32], al
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x27c]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x3c], cl
inc edx
mov dword [ebp - 0x27c], edx
cmp edx, 0xb
jl 0x10096665
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 0x100966b0
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 [0x10469198], eax
cmp ecx, 0xf
jbe 0x10096714
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009670a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009675e
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101b5daa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
call fcn.101bb1d6
int3