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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14009c900]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rcx
mov qword [rbp + 7], rcx
xor edi, edi
mov qword [rbp + 0xf], rdi
movabs r13, 0x7fffffffffffffff
mov r12d, dword [reloc.WS2_32.dll_accept]
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [0x14007b740]
movups xmmword [rbp - 9], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140008ebb
cmp r12d, 2
jl 0x140008e7f
movdqa xmm5, xmmword [0x14007ad70]
mov edx, edi
movdqa xmm4, xmmword [0x14007b6e0]
movdqa xmm6, xmmword [str.7777]
movdqa xmm0, xmmword [0x14007b6f0]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 5]
mov r8d, dword [rbp - 0x29]
nop word [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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
andps xmm2, xmmword [0x14007ad90]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14007ad90]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x140008d80
jmp 0x140008ebb
lea r8, [rbp - 9]
mov ecx, edi
nop word [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x10
jl 0x140008e90
lea r8, [rbp + 0xf]
lea rdx, [rbp - 9]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x140008fd5
cmp eax, 2
jne 0x140009168
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rsi, qword [r14 + 0x10]
mov r15, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140008f01
mov r15, qword [r14]
cmp rsi, r13
ja 0x1400091a2
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
cmp rsi, 0xf
ja 0x140008f32
mov qword [rbp - 0x19], rsi
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.1400096f0
jmp 0x140008d20
mov rbx, rsi
or rbx, 0xf
cmp rbx, r13
jbe 0x140008f51
mov rbx, r13
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140008f78
cmp rbx, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140008f96
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400091a8
mov rcx, rax
call fcn.14007753c
mov rcx, rax
test rax, rax
je 0x140008fce
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140008fa5
test rcx, rcx
je 0x140008fa2
call fcn.14007753c
jmp 0x140008fa5
mov rax, rdi
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rbx
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp - 0x29]
call fcn.1400096f0
jmp 0x140008d20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r10d, dword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140008fe6
mov r9, qword [r14]
mov rax, qword [0x14007b750]
mov qword [rbp + 7], rax
cmp byte [0x14007b757], dil
je 0x14000913c
cmp r12d, 2
jl 0x140009100
movdqa xmm4, xmmword [0x14007b6e0]
movdqa xmm2, xmmword [0x14007ad70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14007ad90]
packuswb xmm2, xmm2
mov eax, dword [0x14007b6f0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp + 7]
xorps xmm2, xmm1
movd dword [rbp + 7], xmm2
movdqa xmm3, xmmword [0x14007c0f0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14007ad90]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0xb]
xorps xmm2, xmm1
movd dword [rbp + 0xb], xmm2
jmp 0x14000913c
lea r8, [rbp + 7]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x94f2095
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, dil
sub al, cl
add al, 0x31
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 8
jl 0x140009110
mov dword [rsp + 0x28], r10d
mov qword [rsp + 0x20], r9
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, r14
call fcn.140007820
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140077370
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140005220
nop
call fcn.140005200
int3