Function at 0x10094160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [0x10240c88]
movq xmm0, qword [str.PXjCGXNNJZ_]
push esi
mov esi, dword [0x10241d90]
push edi
mov edi, dword [eax + 8]
mov eax, dword [0x10205094]
mov dword [esp + 0x18], eax
mov ax, word [0x10205098]
movq qword [esp + 0x10], xmm0
mov word [esp + 0x1c], ax
test ah, ah
je 0x100942e3
xor edx, edx
mov dword [esp + 0xc], edx
cmp esi, 2
jl 0x100942b3
movaps xmm2, xmmword [0x10215ab0]
mov edx, 8
movaps xmm3, xmmword [0x10215ee0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov dword [esp + 0xc], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215b50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10215af0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
movd xmm0, dword [str.PXjCGXNNJZ_]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10215c40]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, 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, xmmword [0x10215b50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
movd xmm0, dword [esp + 0x14]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10215c40]
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x33
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xe
jl 0x100942b3
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
movups xmm0, xmmword [str._Bj_V_LJ__I_M_5C]
mov dword [0x10469070], eax
xor edx, edx
mov eax, dword [0x10240c88]
mov dword [esp + 0xc], edx
mov edi, dword [eax + 8]
mov al, byte [0x10205050]
mov byte [esp + 0x30], al
movups xmmword [esp + 0x20], xmm0
cmp esi, 2
jl 0x10094454
movaps xmm0, xmmword [0x10215c40]
lea esi, [esp + 0x24]
movaps xmm4, xmmword [0x10215ab0]
movaps xmm3, xmmword [0x10215ee0]
movaps xmm5, xmmword [0x10215b50]
movaps xmmword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
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
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 [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x20], 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 [0x10215c00]
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, 0x10
jl 0x10094350
mov esi, dword [0x10241d90]
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x10094484
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x33
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x10094454
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
movq xmm0, qword [0x10205064]
mov dword [0x10469074], eax
mov eax, dword [0x10240c88]
mov edi, dword [eax + 8]
mov ax, word [0x1020506c]
movq qword [esp + 0x10], xmm0
mov word [esp + 0x18], ax
test ah, ah
je 0x100944f5
xor edx, edx
mov dword [esp + 0xc], edx
mov eax, 0x2f684bdb
mul edx
mov eax, dword [esp + 0xc]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0xc]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x33
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xa
jl 0x100944c2
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
movups xmm0, xmmword [str.PXj_YLHKcO_K_.BPXj_YLHK_]
mov dword [0x10469078], eax
mov eax, dword [0x10240c88]
mov edi, dword [eax + 8]
movups xmmword [esp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100946a0
xor edx, edx
mov dword [esp + 0xc], edx
cmp esi, 2
jl 0x10094670
movaps xmm0, xmmword [0x10215c40]
lea esi, [esp + 0x24]
movaps xmm4, xmmword [0x10215ab0]
xor ecx, ecx
movaps xmm3, xmmword [0x10215ee0]
movaps xmm5, xmmword [0x10215b50]
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
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
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 [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x20], 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 [0x10215c00]
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, 0x10
jl 0x10094570
mov esi, dword [0x10241d90]
jmp 0x100946a0
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x33
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x10
jl 0x10094670
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
movups xmm0, xmmword [str._BjU_QTOcPWQ]
mov dword [0x1046907c], eax
xor edx, edx
mov eax, dword [0x10240c88]
mov dword [esp + 0xc], edx
mov edi, dword [eax + 8]
mov ax, word [0x1020503c]
mov word [esp + 0x38], ax
mov al, byte [0x1020503e]
mov byte [esp + 0x3a], al
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [0x10205034]
movq qword [esp + 0x30], xmm0
cmp esi, 2
jl 0x10094825
movaps xmm0, xmmword [0x10215c40]
lea esi, [esp + 0x24]
movaps xmm4, xmmword [0x10215ab0]
movaps xmm3, xmmword [0x10215ee0]
movaps xmm5, xmmword [0x10215b50]
movaps xmmword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
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 [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x20], 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 [0x10215c00]
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, 0x18
jl 0x10094721
mov esi, dword [0x10241d90]
mov dword [esp + 0xc], edx
cmp edx, 0x1b
jge 0x10094855
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x33
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x1b
jl 0x10094825
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
movups xmm0, xmmword [str._BjU_QTOcP_G]
mov dword [0x10469080], eax
xor edx, edx
mov eax, dword [0x10240c88]
mov dword [esp + 0xc], edx
mov edi, dword [eax + 8]
mov ax, word [0x10205088]
mov word [esp + 0x38], ax
mov al, byte [0x1020508a]
mov byte [esp + 0x3a], al
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [0x10205080]
movq qword [esp + 0x30], xmm0
cmp esi, 2
jl 0x100949e4
movaps xmm0, xmmword [0x10215c40]
lea esi, [esp + 0x24]
movaps xmm4, xmmword [0x10215ab0]
movaps xmm3, xmmword [0x10215ee0]
movaps xmm5, xmmword [0x10215b50]
movaps xmmword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
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 [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x20], 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 [0x10215c00]
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, 0x18
jl 0x100948e0
mov esi, dword [0x10241d90]
mov dword [esp + 0xc], edx
cmp edx, 0x1b
jge 0x10094a14
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x33
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x1b
jl 0x100949e4
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
cmp byte [0x102050a7], 0
movq xmm0, qword [str._Bj_V_LTW_Z_VertexLitGeneric]
mov dword [0x10469084], eax
mov eax, dword [0x10240c88]
mov edi, dword [eax + 8]
mov eax, dword [0x102050a4]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
je 0x10094b90
xor edx, edx
mov dword [esp + 0xc], edx
cmp esi, 2
jl 0x10094b60
movaps xmm2, xmmword [0x10215ab0]
mov edx, 8
movaps xmm4, xmmword [0x10215ee0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10215c40]
movaps xmm0, xmm1
mov dword [esp + 0xc], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215b50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10215af0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str._Bj_V_LTW_Z_VertexLitGeneric]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10215b50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x14]
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
nop dword [eax]
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x33
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xc
jl 0x10094b60
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
mov dword [0x10469088], eax
call fcn.101b5eaa
mov esp, ebp
pop ebp
ret