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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14008d7c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
cmp qword [0x14008e558], 0xf
lea rax, [rbp + 0x37]
mov rdi, rcx
lea rdx, [0x14008e540]
cmova rdx, qword [0x14008e540]
mov rcx, 0xffffffff80000001
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x40], rbx
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000aa47
cmp qword [rdi + 0x18], 0xf
mov eax, dword [rdi + 0x10]
lea eax, [rax*2 + 2]
jbe 0x14000a863
mov rdi, qword [rdi]
mov rcx, qword [rbp + 0x37]
lea rdx, [rbp - 0x19]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov byte [rbp - 0x19], bl
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
movups xmm0, xmmword [str.V_JZ]
movups xmmword [rbp - 0x11], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14000aa0d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000a9d1
movdqa xmm0, xmmword [0x140081ee0]
lea rcx, [rbp - 0xd]
movdqa xmm4, xmmword [0x140081e60]
movdqa xmm3, xmmword [0x140081f10]
movdqa xmm5, xmmword [0x140081e80]
movdqa xmm6, xmmword [0x140081eb0]
movdqa xmmword [rbp + 0x17], xmm0
mov edx, dword [rbp + 0x17]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 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, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 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, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14000a8f0
jmp 0x14000aa0d
lea r8, [rbp - 0x11]
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp ebx, 0x10
jl 0x14000a9e0
mov rcx, qword [rbp + 0x37]
lea rax, [0x140081d10]
mov dword [rsp + 0x28], 2
lea rdx, [rbp - 0x11]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000ac3f
cmp byte [0x140081de5], bl
movups xmm0, xmmword [0x140081dc8]
mov eax, dword [0x140081de0]
mov dword [rbp + 7], eax
movzx eax, word [0x140081de4]
movups xmmword [rbp - 0x11], xmm0
mov word [rbp + 0xb], ax
movsd xmm0, qword [0x140081dd8]
movsd qword [rbp - 1], xmm0
je 0x14000ac01
cmp dword [reloc.WS2_32.dll_accept], 2
mov r8d, ebx
jl 0x14000abb9
movdqa xmm0, xmmword [0x140081ee0]
lea rcx, [rbp - 0xd]
movdqa xmm4, xmmword [0x140081e60]
movdqa xmm3, xmmword [0x140081f10]
movdqa xmm5, xmmword [0x140081e80]
movdqa xmm6, xmmword [0x140081eb0]
movdqa xmmword [rbp + 0x17], xmm0
mov edx, dword [rbp + 0x17]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 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, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 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, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x14000aad0
cmp r8d, 0x1e
jge 0x14000ac01
movsxd rax, r8d
lea r9, [rbp - 0x11]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x14000abd0
xorps xmm0, xmm0
mov qword [rbp + 0x27], rbx
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x2f], rbx
lea rax, [rbp - 0x11]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x14000ac20
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0x17]
call fcn.140003ae0
lea rcx, [rbp + 0x17]
call fcn.140008810
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006dc50
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret