Function at 0x140071e80
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.cTGCTDRdtSXNRMP5]
xor r10d, r10d
movups xmm1, xmmword [0x1401024f0]
mov ecx, r10d
mov r9d, dword [0x140110090]
mov eax, dword [0x140102530]
movdqa xmm7, xmmword [0x140103ff0]
movdqa xmm5, xmmword [0x140103fc0]
movdqa xmm4, xmmword [0x140104360]
movdqa xmm6, xmmword [0x140103fa0]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x140102500]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x140102520]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x140102510]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x20], r10
movups xmmword [rbp - 0x50], xmm1
mov dword [rbp - 0x30], eax
cmp r9d, 2
jl 0x140072024
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 0x140071f30
cmp ecx, 0x2a
jge 0x140072063
movsxd rax, ecx
lea r8, [rbp - 0x80]
lea r8, [r8 + rax*2]
nop
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x30
xor word [r8 - 2], ax
cmp ecx, 0x2a
jl 0x140072030
movups xmm1, xmmword [0x140101f78]
movups xmm0, xmmword [str.sD_AQ_BdQWSHHXL_]
pextrw eax, xmm1, 7
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm1
test ax, ax
je 0x1400721d8
cmp r9d, 2
jl 0x140072191
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 0x1400720a0
jmp 0x1400721d8
lea r9, [rsp + 0x58]
mov r8d, r10d
nop dword [rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x10
jl 0x1400721a0
cmp word [0x140102056], r10w
mov eax, dword [0x140102054]
mov dword [rsp + 0x50], eax
je 0x1400721fb
mov eax, 0x31
xor word [rsp + 0x52], ax
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 0x140072285
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140072242
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.140090680
movaps xmm6, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0xf0]
add rsp, 0x110
pop rbp
ret