Function at 0x10090eb0
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 [0x101f80c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10213410]
xor edx, edx
movq xmm0, qword [0x101dc134]
push esi
push edi
mov esi, dword [eax + 0x38]
mov al, byte [0x101dc13c]
movq qword [ebp - 0x44], xmm0
mov byte [ebp - 0x3c], al
mov dword [ebp - 0x28c], edx
nop dword [eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x28c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x28c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 9
jl 0x10090f00
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 0x10090f54
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10026920
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10090f82
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 [0x103d7994], eax
cmp ecx, 0xf
jbe 0x10090fff
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10090ff5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009294b
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213410]
xor edx, edx
movq xmm0, qword [0x101dc134]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x28c], edx
mov esi, dword [eax + 0x38]
mov al, byte [0x101dc13c]
mov byte [ebp - 0x3c], al
nop dword [eax]
nop dword [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x28c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x28c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 9
jl 0x10091030
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 0x10091084
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10026920
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x100910b2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 [0x103d7998], eax
cmp ecx, 0xf
jbe 0x1009112f
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10091125
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10092950
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213410]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 [0x103d792c], eax
mov eax, dword [0x10213410]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 [0x103d79b4], eax
mov eax, dword [0x10213410]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 [0x103d7990], eax
mov eax, dword [0x10213410]
mov esi, dword [eax + 0x38]
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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
movups xmm0, xmmword [0x101dc0e0]
mov dword [0x103d79b8], eax
xor edx, edx
cmp dword [0x10214510], 2
mov eax, dword [0x10213410]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x28c], edx
movups xmm0, xmmword [0x101dc0f0]
mov esi, dword [eax + 0x38]
mov al, byte [0x101dc130]
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 0x80], al
movups xmm0, xmmword [0x101dc100]
movups xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [0x101dc110]
movups xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [0x101dc120]
movups xmmword [ebp - 0x90], xmm0
jl 0x10091409
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
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
psrad xmm1, 4
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 [0x101ea930]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x101ea930]
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 0x10091300
mov dword [ebp - 0x28c], edx
cmp edx, 0x51
jge 0x10091447
nop
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0xd0], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0x51
jl 0x10091410
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]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10091465
sub ecx, edx
lea eax, [ebp - 0xd0]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10026920
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10091496
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 [0x103d79ac], eax
cmp ecx, 0xf
jbe 0x10091513
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10091509
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10092955
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213410]
lea edi, [ebp - 0x288]
mov ecx, 0x6d
mov esi, 0x101dbe40
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x38]
xor edx, edx
cmp dword [0x10214510], 2
mov dword [ebp - 0x294], eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x28c], edx
jl 0x1009167c
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
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
psrad xmm1, 4
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 [0x101ea930]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x101ea930]
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 0x10091570
mov dword [ebp - 0x28c], edx
cmp edx, 0x1b5
jge 0x100916be
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x288], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0x1b5
jl 0x10091684
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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100916e0
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10026920
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10091711
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 [0x103d79a0], eax
cmp ecx, 0xf
jbe 0x10091792
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10091788
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009295a
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, 0x2f
lea edi, [ebp - 0x190]
mov esi, 0x101dbd80
xor edx, edx
cmp dword [0x10214510], 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28c], edx
movsb byte es:[edi], byte [esi]
jl 0x100918ec
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
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
psrad xmm1, 4
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 [0x101ea930]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x101ea930]
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 0x100917e0
mov dword [ebp - 0x28c], edx
cmp edx, 0xbd
jge 0x1009192e
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x190], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xbd
jl 0x100918f4
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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10091950
sub ecx, edx
lea eax, [ebp - 0x190]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10026920
cmp dword [ebp - 0x3c], 0xf
lea eax, [ebp - 0x50]
mov dword [ebp - 0x28c], eax
jbe 0x10091981
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 0x100919e8
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100919de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009295f
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213404]
mov ecx, esi
push 1
push str._envmaptint
mov dword [ebp - 0x40], 0
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call eax
test eax, eax
je 0x10091a28
mov ecx, eax
mov eax, dword [0x10213404]
push str._.0_.0_.0_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x10213410]
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 [0x103d799c], eax
mov esi, 0x101dbaf8
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 edi, dword [0x10214510]
cmp edi, 2
jl 0x10091b9e
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
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
psrad xmm1, 4
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 [0x101ea930]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x101ea930]
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 0x10091a92
mov dword [ebp - 0x28c], edx
cmp edx, 0xdd
jge 0x10091be0
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x1b0], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xdd
jl 0x10091ba6
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 0x10091c00
sub ecx, edx
lea eax, [ebp - 0x1b0]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10026920
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10091c31
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 0x10091c92
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10091c88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10092964
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213410]
movq xmm0, qword [str.U__ZYM__]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov esi, dword [eax + 0x38]
mov ax, word [0x101dbaf0]
mov byte [ebp - 0x30], 0
movq qword [ebp - 0x44], xmm0
mov word [ebp - 0x3c], ax
test ah, ah
je 0x10091d09
xor edx, edx
mov dword [ebp - 0x28c], edx
nop
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x28c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x28c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xa
jl 0x10091cd0
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 0x10091d24
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10026920
cmp dword [ebp - 0x5c], 0xf
lea edx, [ebp - 0x70]
mov eax, dword [esi]
mov ecx, esi
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 [0x103d798c], eax
cmp ecx, 0xf
jbe 0x10091d91
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10091d87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10092969
push ecx
push edx
call fcn.1018dda2
add esp, 8
movups xmm0, xmmword [0x101dbaa0]
mov eax, dword [0x101dbae0]
xor edx, edx
mov dword [ebp - 0x90], eax
mov ax, word [0x101dbae4]
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x28c], edx
movups xmmword [ebp - 0xd0], xmm0
movups xmm0, xmmword [0x101dbab0]
movups xmmword [ebp - 0xc0], xmm0
movups xmm0, xmmword [0x101dbac0]
movups xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [0x101dbad0]
movups xmmword [ebp - 0xa0], xmm0
cmp edi, 2
jl 0x10091f29
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
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
psrad xmm1, 4
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 [0x101ea930]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x101ea930]
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 0x10091e20
mov dword [ebp - 0x28c], edx
cmp edx, 0x46
jge 0x10091f67
nop
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0xd0], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0x46
jl 0x10091f30
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]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10091f85
sub ecx, edx
lea eax, [ebp - 0xd0]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10026920
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10091fb6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 0x10092017
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009200d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009296e
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213410]
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 [0x103d79b0], eax
mov esi, 0x101dbbd8
lea edi, [ebp - 0x180]
rep movsd dword es:[edi], dword [esi]
xor edx, edx
cmp dword [0x10214510], 2
mov dword [ebp - 0x28c], edx
movsb byte es:[edi], byte [esi]
jl 0x100921ac
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
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
psrad xmm1, 4
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 [0x101ea930]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x101ea930]
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 0x100920a0
mov dword [ebp - 0x28c], edx
cmp edx, 0xa9
jge 0x100921ee
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x180], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xa9
jl 0x100921b4
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 0x10092210
sub ecx, edx
lea eax, [ebp - 0x180]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10026920
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10092241
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 0x100922a8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009229e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10092973
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213404]
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 0x100922e8
mov ecx, eax
mov eax, dword [0x10213404]
push str._.2_.35_.6_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x10213410]
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 [0x102fb134], eax
cmp dword [0x10214510], 2
lea edi, [ebp - 0x1c8]
mov ecx, 0x3c
mov dword [ebp - 0x28c], edx
mov esi, 0x101dbc90
rep movsd dword es:[edi], dword [esi]
jl 0x1009245c
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
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
psrad xmm1, 4
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 [0x101ea930]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x101ea930]
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 0x10092350
mov dword [ebp - 0x28c], edx
cmp edx, 0xf0
jge 0x1009249e
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x1c8], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xf0
jl 0x10092464
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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100924c0
sub ecx, edx
lea eax, [ebp - 0x1c8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10026920
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x100924f1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 0x10092552
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10092548
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10092978
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213410]
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 [0x103d79a4], eax
cmp dword [0x10214510], 2
lea edi, [ebp - 0x1a8]
mov ecx, 0x34
mov dword [ebp - 0x28c], edx
mov esi, 0x101dbff8
rep movsd dword es:[edi], dword [esi]
jl 0x100926dc
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
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
psrad xmm1, 4
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 [0x101ea930]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x101ea930]
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 0x100925d0
mov dword [ebp - 0x28c], edx
cmp edx, 0xd0
jge 0x1009271e
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x1a8], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xd0
jl 0x100926e4
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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10092740
sub ecx, edx
lea eax, [ebp - 0x1a8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10026920
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28c], eax
jbe 0x10092771
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], eax
mov eax, dword [0x10213404]
mov eax, dword [eax + 0x90]
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 0x100927d8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100927ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009297d
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213404]
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 0x10092818
mov ecx, eax
mov eax, dword [0x10213404]
push str._0_0_0_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x10213404]
mov ecx, esi
push 1
push str._envmapfresnelminmaxexp
mov eax, dword [eax + 0x94]
call eax
test eax, eax
je 0x10092846
mov ecx, eax
mov eax, dword [0x10213404]
push str._.00000_.0_.0_
mov eax, dword [eax + 0x98]
call eax
mov eax, dword [0x10213410]
xor edx, edx
movq xmm0, qword [0x101dc0c8]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x28c], edx
mov edi, dword [eax + 0x38]
mov ax, word [0x101dc0d0]
mov word [ebp - 0x3c], ax
mov al, byte [0x101dc0d2]
mov byte [ebp - 0x3a], al
nop word [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x28c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x28c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x28c], edx
cmp edx, 0xb
jl 0x10092880
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 0x100928d4
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10026920
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 [0x103d79a8], eax
cmp ecx, 0xf
jbe 0x10092938
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009292e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10092982
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1018daa9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
int3