Function at 0x180061150
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movups xmm3, xmmword [0x1800fc180]
mov esi, dword [0x18011f090]
xor ebx, ebx
movaps xmmword [rax - 0x28], xmm6
mov r8d, ebx
movaps xmmword [rax - 0x38], xmm7
movq xmm7, qword [0x1800fc190]
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
movzx eax, word [0x1800fc198]
mov word [rbp + 0x1f], ax
movq qword [rbp + 0x17], xmm7
movups xmmword [rbp + 7], xmm3
cmp esi, 2
jl 0x1800612e7
movdqa xmm4, xmmword [0x18010bf40]
mov r8d, 0xc
movdqa xmm2, xmmword [0x18010ba90]
movdqa xmm5, xmmword [0x18010bb60]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [str.11111111]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x18010bab0]
paddw xmm2, xmm6
xorps xmm2, xmm1
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rbp + 7], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x18010bac0]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp + 0xf]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm6
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movq qword [rbp + 0xf], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, xmm7
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
xorps xmm2, xmm0
movq qword [rbp + 0x17], xmm2
mov eax, r8d
lea r9, [rbp + 7]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x180061300
movzx eax, word [0x1800fc460]
lea r14, [rbp + 0x6f]
mov word [rbp + 0x67], ax
xorps xmm0, xmm0
movzx eax, byte [0x1800fc462]
mov ecx, 8
xor byte [rbp + 0x68], 0x32
xor al, 0x33
mov byte [rbp + 0x69], al
lea rax, [rbp + 0x67]
mov qword [rbp + 0x6f], rax
mov byte [rbp + 0x67], 0x45
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rbx
call fcn.1800c4130
mov r8d, 8
mov qword [rbp - 0x11], rax
mov rdx, r14
mov qword [rbp - 9], rax
mov rdi, rax
lea rcx, [rax + 8]
mov qword [rbp - 1], rcx
mov rcx, rax
call fcn.1800eac60
cmp byte [0x1800fc211], bl
lea rax, [rdi + 8]
movups xmm3, xmmword [str.wRYP]
mov r14, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xd0]
mov qword [rbp - 9], rax
movzx eax, word [0x1800fc210]
mov word [rbp - 0x19], ax
movups xmmword [rbp - 0x29], xmm3
je 0x1800615bd
cmp esi, 2
jl 0x180061579
movdqa xmm5, xmmword [0x18010bf40]
movdqa xmm2, xmmword [0x18010ba90]
movdqa xmm6, xmmword [0x18010bb60]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x18010bc10]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm7, xmmword [0x18010bc70]
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x18010bac0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rbp - 0x29], xmm2
movdqa xmm2, xmmword [0x18010bab0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x25]
andps xmm2, xmm4
pmuldq xmm1, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rbp - 0x25], xmm2
movdqa xmm2, xmmword [0x18010bad0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x21]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm5
paddb xmm3, xmm7
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x21], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
mov ebx, 0x10
movd xmm0, dword [rbp - 0x1d]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rbp - 0x1d], xmm2
mov eax, ebx
lea r8, [rbp - 0x29]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x12
jl 0x180061590
lea r8, [rbp + 7]
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x29]
call fcn.18005ba10
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0xa0
pop rsi
pop rbx
pop rbp
ret