Function at 0x180006060
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0xe0
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
mov rax, qword [0x180025008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [0x180021bf0]
xor eax, eax
movups xmm1, xmmword [0x180021c00]
xor ebx, ebx
mov edi, dword [0x180025018]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x180021c10]
movups xmmword [rsp + 0x50], xmm1
lea esi, [rbx + 6]
movups xmm1, xmmword [0x180021c20]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x180021c30]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x180021c40]
mov qword [rsp + 0x38], rax
mov eax, dword [0x180021c58]
mov dword [r11 - 0x40], eax
movzx eax, word [0x180021c5c]
movups xmmword [r11 - 0x68], xmm0
movsd xmm0, qword [0x180021c50]
movsd qword [r11 - 0x48], xmm0
mov qword [rsp + 0x30], rcx
movups xmmword [r11 - 0x58], xmm1
mov word [r11 - 0x3c], ax
test ax, ax
je 0x180006232
mov ecx, ebx
cmp edi, 2
jl 0x180006202
movdqa xmm5, xmmword [0x1800220f0]
lea rdx, [rsp + 0x40]
movdqa xmm6, xmmword [str.____]
movdqa xmm7, xmmword [0x180022110]
movd xmm4, esi
nop word [rax + rax]
xorps xmm0, xmm0
movd xmm1, ecx
pshufd xmm1, xmm1, 0
lea eax, [rcx + 4]
paddd xmm1, xmm5
lea rdx, [rdx + 0x10]
pcmpgtd xmm0, xmm1
movq xmm2, xmm7
pand xmm0, xmm6
add ecx, 8
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
movd xmm1, eax
paddw xmm3, xmm2
pshufd xmm1, xmm1, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
xorps xmm0, xmm0
paddd xmm1, xmm5
movq xmm2, xmm7
pcmpgtd xmm0, xmm1
pand xmm0, xmm6
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x30
jl 0x180006150
cmp ecx, 0x37
jge 0x180006232
movsxd rax, ecx
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rax*2]
nop
mov eax, ecx
and eax, 0x8000003f
jge 0x180006220
dec eax
or eax, 0xffffffc0
inc eax
add ax, 0x36
inc ecx
xor word [rdx], ax
add rdx, 2
cmp ecx, 0x37
jl 0x180006210
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.180007e70
mov rcx, qword [0x1800279b0]
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.180001200
cmp word [rsp + 0xac], bx
jne 0x180006372
cmp edi, 2
jl 0x180006342
movdqa xmm5, xmmword [0x1800220f0]
lea rcx, [rsp + 0x40]
movdqa xmm6, xmmword [str.____]
movdqa xmm7, xmmword [0x180022110]
movd xmm4, esi
nop word [rax + rax]
xorps xmm0, xmm0
movd xmm1, ebx
pshufd xmm1, xmm1, 0
lea eax, [rbx + 4]
paddd xmm1, xmm5
lea rcx, [rcx + 0x10]
pcmpgtd xmm0, xmm1
movq xmm2, xmm7
pand xmm0, xmm6
add ebx, 8
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
movd xmm1, eax
paddw xmm3, xmm2
pshufd xmm1, xmm1, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
xorps xmm0, xmm0
paddd xmm1, xmm5
movq xmm2, xmm7
pcmpgtd xmm0, xmm1
pand xmm0, xmm6
paddd xmm0, xmm1
psrad xmm0, xmm4
pslld xmm0, xmm4
psubd xmm1, xmm0
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x30
jl 0x180006290
cmp ebx, 0x37
jge 0x180006372
movsxd rax, ebx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
nop
mov eax, ebx
and eax, 0x8000003f
jge 0x180006360
dec eax
or eax, 0xffffffc0
inc eax
add ax, 0x36
inc ebx
xor word [rcx], ax
add rcx, 2
cmp ebx, 0x37
jl 0x180006350
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180008760
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret