Function at 0x10006020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
movups xmm0, xmmword [0x1000d34c]
mov ax, word [0x1000d36c]
xor ecx, ecx
push esi
mov esi, dword [0x10010670]
mov word [esp + 0x3c], ax
mov dword [esp + 8], ecx
movups xmmword [esp + 0x1c], xmm0
push edi
movups xmm0, xmmword [0x1000d35c]
movups xmmword [esp + 0x30], xmm0
cmp esi, 2
jl 0x100061a0
movaps xmm0, xmmword [str.5555555555555555]
movaps xmm4, xmmword [0x1000d470]
movaps xmm3, xmmword [0x1000d4c0]
movaps xmm5, xmmword [0x1000d490]
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1000d4a0]
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
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 [0x1000d4a0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x24]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x24], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x10006090
mov dword [esp + 0xc], ecx
cmp ecx, 0x22
jge 0x100061d7
nop dword [eax + eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0xc]
add al, 0x35
xor byte [esp + ecx + 0x20], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x22
jl 0x100061a0
lea eax, [esp + 0x20]
push eax
call fcn.100054f0
add esp, 4
call fcn.10007a00
cmp dword [0x10010698], 0
jne 0x10006211
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
mov dword [0x10010698], eax
test eax, eax
mov ecx, 9
cmovne ecx, edx
jmp 0x10006216
mov ecx, 1
xor eax, eax
mov edi, 0x10010694
xchg dword [edi], eax
test ecx, ecx
je 0x100063c9
movups xmm0, xmmword [0x1000d438]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [0x1000d448]
movups xmmword [esp + 0x30], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100063bc
xor ecx, ecx
mov dword [esp + 0xc], ecx
cmp esi, 2
jl 0x10006385
movaps xmm0, xmmword [str.5555555555555555]
movaps xmm4, xmmword [0x1000d470]
movaps xmm3, xmmword [0x1000d4c0]
movaps xmm5, xmmword [0x1000d490]
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1000d4a0]
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
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 [0x1000d4a0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x24]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x24], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x10006284
jmp 0x100063bc
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0xc]
add al, 0x35
xor byte [esp + ecx + 0x20], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x20
jl 0x10006385
lea eax, [esp + 0x20]
push eax
call fcn.100054f0
add esp, 4
push ecx
call fcn.10007a50
test eax, eax
je 0x10006594
movups xmm0, xmmword [0x1000d3d4]
mov eax, dword [0x1000d3ec]
xor ecx, ecx
mov dword [esp + 0x38], eax
mov ax, word [0x1000d3f0]
mov word [esp + 0x3c], ax
mov al, byte [0x1000d3f2]
mov byte [esp + 0x3e], al
mov dword [esp + 0xc], ecx
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [0x1000d3e4]
movq qword [esp + 0x30], xmm0
cmp esi, 2
jl 0x10006550
movaps xmm0, xmmword [str.5555555555555555]
movaps xmm4, xmmword [0x1000d470]
movaps xmm3, xmmword [0x1000d4c0]
movaps xmm5, xmmword [0x1000d490]
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1000d4a0]
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
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 [0x1000d4a0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x24]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x24], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x10006442
mov dword [esp + 0xc], ecx
cmp ecx, 0x1f
jge 0x10006587
nop word [eax + eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0xc]
add al, 0x35
xor byte [esp + ecx + 0x20], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x1f
jl 0x10006550
lea eax, [esp + 0x20]
push eax
call fcn.100054f0
add esp, 4
call fcn.10007a00
cmp dword [0x10010698], 0
je 0x100065ab
call fcn.10007870
mov ecx, eax
jmp 0x100065b0
mov ecx, 2
xor eax, eax
xchg dword [edi], eax
test ecx, ecx
je 0x1000675e
cmp byte [0x1000d3d3], 0
movups xmm0, xmmword [0x1000d3b8]
mov eax, dword [0x1000d3d0]
mov dword [esp + 0x38], eax
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [0x1000d3c8]
movq qword [esp + 0x30], xmm0
je 0x10006751
xor ecx, ecx
cmp esi, 2
jl 0x10006724
movaps xmm0, xmmword [str.5555555555555555]
movaps xmm4, xmmword [0x1000d470]
movaps xmm3, xmmword [0x1000d4c0]
movaps xmm5, xmmword [0x1000d490]
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1000d4a0]
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
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 [0x1000d4a0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x24]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x24], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x10006620
cmp ecx, 0x1c
jge 0x10006751
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, al
shl dl, 3
sub dl, al
mov al, cl
shl dl, 3
sub al, dl
add al, 0x35
xor byte [esp + ecx + 0x20], al
inc ecx
cmp ecx, 0x1c
jl 0x10006724
lea eax, [esp + 0x20]
push eax
call fcn.100054f0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret