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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x14018d080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movups xmm0, xmmword [str.bk__pkLHIYSJ__61_]
xor ebx, ebx
mov eax, dword [str.prs9]
mov r9, rcx
movups xmm1, xmmword [0x140172a60]
mov rdi, rdx
mov esi, dword [reloc.WS2_32.dll_accept]
mov ecx, ebx
movups xmmword [rbp - 0x49], xmm0
movups xmm0, xmmword [0x140172a70]
mov dword [rbp - 1], eax
movzx eax, word [0x140172a9c]
movups xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [0x140172a90]
movups xmmword [rbp - 0x39], xmm1
movups xmm1, xmmword [0x140172a80]
mov word [rbp + 3], ax
movzx eax, byte [0x140172a9e]
movsd qword [rbp - 9], xmm0
movups xmmword [rbp - 0x19], xmm1
mov byte [rbp + 5], al
cmp esi, 2
jl 0x1400b01a4
movdqa xmm0, xmmword [0x140177040]
lea rdx, [rbp - 0x45]
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177210]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
movaps xmmword [rsp + 0xd0], xmm6
movdqa xmm6, xmmword [0x140176f50]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x48
jl 0x1400b0090
movaps xmm6, xmmword [rsp + 0xd0]
cmp ecx, 0x4f
jge 0x1400b01df
movsxd rax, ecx
lea r8, [rbp - 0x49]
add r8, rax
nop
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x4f
jl 0x1400b01b0
lea rax, [rbp - 0x49]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], bl
jne 0x1400b01f0
mov rdx, qword [r9 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x1400b0452
cmp qword [r9 + 0x18], 0xf
jbe 0x1400b021c
mov r9, qword [r9]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r9
lea r9, [rbp - 0x49]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0xf]
call fcn.140061800
cmp qword [rbp + 0x27], 0xf
lea rax, [rbp + 7]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x20], rax
cmova rdx, qword [rbp + 0xf]
mov r9d, 0x102
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400b042a
mov eax, dword [0x140172b60]
mov r9d, dword [rdi + 0x10]
movsd xmm0, qword [0x140172b58]
inc r9d
cmp qword [rdi + 0x18], 0xf
mov dword [rbp - 0x51], eax
movzx eax, word [0x140172b64]
mov word [rbp - 0x4d], ax
movzx eax, byte [0x140172b66]
mov byte [rbp - 0x4b], al
movsd qword [rbp - 0x59], xmm0
jbe 0x1400b02a9
mov rdi, qword [rdi]
cmp esi, 2
jl 0x1400b03b8
movdqa xmm2, xmmword [0x140176ee0]
mov ebx, 8
movdqa xmm3, xmmword [0x140176f00]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140177210]
movdqa xmm0, xmm2
mov eax, dword [0x140177040]
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, xmmword [0x140176f50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140172b58]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x59], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140176f50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
movd xmm1, dword [rbp - 0x55]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x55], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x1400b03d0
mov rcx, qword [rbp + 7]
lea rdx, [rbp - 0x59]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov r9d, 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0xf]
call fcn.14003d5f0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401482c0
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret
call fcn.1400508f0
int3