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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movups xmm0, xmmword [0x1401cd938]
movzx eax, byte [0x1401cd950]
xor r9d, r9d
cmp dword [reloc.WS2_32.dll_accept], 2
mov rbx, rcx
movups xmmword [rbp + 0x17], xmm0
mov ecx, r9d
mov byte [rbp + 0x2f], al
movsd xmm0, qword [0x1401cd948]
movsd qword [rbp + 0x27], xmm0
jl 0x1400b5cde
movdqa xmm0, xmmword [0x1401d7fb0]
lea rdx, [rbp + 0x1b]
movdqa xmm4, xmmword [0x1401d7e10]
movdqa xmm3, xmmword [0x1401d82e0]
movdqa xmm5, xmmword [0x1401d7e60]
movdqa xmmword [rbp + 7], xmm0
mov r8d, dword [rbp + 7]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x1401d7f20]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400b5bf0
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x19
jge 0x1400b5d1d
movsxd rax, ecx
lea r8, [rbp + 0x17]
add r8, rax
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x1400b5cf0
mov qword [rsp + 0x40], r9
lea rax, [rbp + 0x37]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x30], r9
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400b5ddf
mov ecx, dword [rbx + 0x10]
inc ecx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400b5d68
mov rbx, qword [rbx]
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
movsd xmm0, qword [str.QTDCz_O_]
movzx eax, word [0x1401cd058]
movsd qword [rbp + 7], xmm0
mov word [rbp + 0xf], ax
je 0x1400b5db1
xor byte [rbp + 8], 0x34
xor byte [rbp + 9], 0x35
xor byte [rbp + 0xa], 0x36
xor byte [rbp + 0xb], 0x37
xor byte [rbp + 0xc], 0x38
xor byte [rbp + 0xd], 0x39
xor byte [rbp + 0xe], 0x3a
xor byte [rbp + 0xf], 0x3b
xor byte [rbp + 0x10], 0x3c
mov byte [rbp + 7], 0x48
mov dword [rsp + 0x28], ecx
lea rdx, [rbp + 7]
mov rcx, qword [rbp + 0x37]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x37]
test eax, eax
je 0x1400b5de3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b5deb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140175100
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret