Function at 0x10002920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov ecx, dword [0x1005374c]
sub esp, 0x5c
mov edx, 0x10002270
push esi
push 0x10053754
call fcn.10008140
test eax, eax
je 0x10002adc
movups xmm0, xmmword [0x1004ba08]
mov ax, word [0x1004ba50]
xor esi, esi
cmp dword [0x10052c78], 2
movups xmmword [esp + 0x10], xmm0
mov word [esp + 0x58], ax
movups xmm0, xmmword [0x1004ba18]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [0x1004ba28]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [str._0_41_v_761z_]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [0x1004ba48]
movq qword [esp + 0x50], xmm0
jl 0x10002aa6
movaps xmm4, xmmword [0x1004be40]
movaps xmm3, xmmword [0x1004be70]
movaps xmm5, xmmword [str.1111]
movaps xmm6, xmmword [0x1004be60]
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
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
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x10], 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
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x18]
xorps xmm1, xmm0
movq qword [esp + esi*2 + 0x18], xmm1
add esi, 8
cmp esi, 0x20
jl 0x100029c0
cmp esi, 0x25
jge 0x10002acc
mov eax, 0x5397829d
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x31
sub ecx, eax
add ecx, 0x38
xor word [esp + esi*2 + 0x10], cx
inc esi
cmp esi, 0x25
jl 0x10002aa6
lea ecx, [esp + 0x10]
call fcn.10001af0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1005374c]
call fcn.10008400
test eax, eax
je 0x10002c86
movups xmm0, xmmword [0x1004b960]
mov ax, word [0x1004b9a8]
xor esi, esi
cmp dword [0x10052c78], 2
movups xmmword [esp + 0x10], xmm0
mov word [esp + 0x58], ax
movups xmm0, xmmword [0x1004b970]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [0x1004b980]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x1004b990]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [0x1004b9a0]
movq qword [esp + 0x50], xmm0
jl 0x10002c50
movaps xmm4, xmmword [0x1004be40]
movaps xmm3, xmmword [0x1004be70]
movaps xmm5, xmmword [str.1111]
movaps xmm6, xmmword [0x1004be60]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
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
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x10], 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
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x18]
xorps xmm1, xmm0
movq qword [esp + esi*2 + 0x18], xmm1
add esi, 8
cmp esi, 0x20
jl 0x10002b63
cmp esi, 0x25
jge 0x10002c76
nop dword [eax]
mov eax, 0x5397829d
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x31
sub ecx, eax
add ecx, 0x38
xor word [esp + esi*2 + 0x10], cx
inc esi
cmp esi, 0x25
jl 0x10002c50
lea ecx, [esp + 0x10]
call fcn.10001af0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10053740]
mov edx, 0x10002290
push 0x10053760
call fcn.10008140
test eax, eax
je 0x10002e2c
movups xmm0, xmmword [0x1004bb08]
xor esi, esi
cmp dword [0x10052c78], 2
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [0x1004bb18]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [0x1004bb28]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x1004bb38]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [0x1004bb48]
movq qword [esp + 0x50], xmm0
jl 0x10002df6
movaps xmm4, xmmword [0x1004be40]
movaps xmm3, xmmword [0x1004be70]
movaps xmm5, xmmword [str.1111]
movaps xmm6, xmmword [0x1004be60]
nop dword [eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
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
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x10], 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
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x18]
xorps xmm1, xmm0
movq qword [esp + esi*2 + 0x18], xmm1
add esi, 8
cmp esi, 0x20
jl 0x10002d10
cmp esi, 0x24
jge 0x10002e1c
mov eax, 0x5397829d
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x31
sub ecx, eax
add ecx, 0x38
xor word [esp + esi*2 + 0x10], cx
inc esi
cmp esi, 0x24
jl 0x10002df6
lea ecx, [esp + 0x10]
call fcn.10001af0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10053740]
call fcn.10008400
test eax, eax
je 0x10002fcc
movups xmm0, xmmword [0x1004bb80]
xor esi, esi
cmp dword [0x10052c78], 2
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [0x1004bb90]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [0x1004bba0]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x1004bbb0]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [0x1004bbc0]
movq qword [esp + 0x50], xmm0
jl 0x10002f96
movaps xmm4, xmmword [0x1004be40]
movaps xmm3, xmmword [0x1004be70]
movaps xmm5, xmmword [str.1111]
movaps xmm6, xmmword [0x1004be60]
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
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
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x10], 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
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x18]
xorps xmm1, xmm0
movq qword [esp + esi*2 + 0x18], xmm1
add esi, 8
cmp esi, 0x20
jl 0x10002eb0
cmp esi, 0x24
jge 0x10002fbc
mov eax, 0x5397829d
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x31
sub ecx, eax
add ecx, 0x38
xor word [esp + esi*2 + 0x10], cx
inc esi
cmp esi, 0x24
jl 0x10002f96
lea ecx, [esp + 0x10]
call fcn.10001af0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x10053758], 0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret