Function at 0x140071cc0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rbp - 0x18], rax
movups xmm0, xmmword [str.b_U_BWE_ewR_OQL_6]
xor r10d, r10d
movups xmm1, xmmword [0x140101e70]
mov ecx, r10d
mov r9d, dword [0x140110090]
mov eax, dword [0x140101eb0]
movdqa xmm7, xmmword [0x140103fd0]
movdqa xmm5, xmmword [0x140103fb0]
movdqa xmm4, xmmword [0x140104340]
movdqa xmm6, xmmword [0x140103f80]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x140101e80]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x140101ea0]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x140101e90]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x20], r10
movups xmmword [rbp - 0x50], xmm1
mov dword [rbp - 0x30], eax
cmp r9d, 2
jl 0x140071e64
lea rdx, [rbp - 0x80]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm6
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm6
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x28
jl 0x140071d70
cmp ecx, 0x2a
jge 0x140071ea3
movsxd rax, ecx
lea r8, [rbp - 0x80]
lea r8, [r8 + rax*2]
nop
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x39
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x2a
jl 0x140071e70
movups xmm1, xmmword [0x140101de8]
movups xmm0, xmmword [str.rGAFPXCkPTROI_M_gS__GWYL]
pextrw eax, xmm1, 7
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm1
test ax, ax
je 0x140072018
cmp r9d, 2
jl 0x140071fd1
mov edx, r10d
lea rcx, [rsp + 0x58]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm6
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm6
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x10
jl 0x140071ee0
jmp 0x140072018
lea r9, [rsp + 0x58]
mov r8d, r10d
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x10
jl 0x140071fe0
cmp word [str.2PBZ], r10w
mov eax, dword [0x14010305c]
mov dword [rsp + 0x50], eax
je 0x14007203c
xor word [rsp + 0x52], 0x32
mov eax, 0x31
mov word [rsp + 0x50], ax
mov qword [rsp + 0x40], r10
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x30], r10
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r10d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400720c6
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140072083
mov rcx, qword [rbp - 0x20]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x58]
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1400905f0
movaps xmm6, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0xf0]
add rsp, 0x110
pop rbp
ret