Function at 0x7ff794c47910
Capabilities:
Delete registry key
Encode data using xor
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
lea rdx, [0x7ff794c65f18]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff794c438e0
lea rdx, [0x7ff794c43ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp + 0x67]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.7ff794c5d380
cmp byte [rbp + 0x67], 0x79
jne 0x7ff794c47dbe
lea rdx, [0x7ff794c65f40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff794c65fc0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff794c438e0
movups xmm0, xmmword [0x7ff794c68548]
movups xmmword [rbp - 9], xmm0
mov eax, dword [0x7ff794c68558]
mov dword [rbp + 7], eax
xor esi, esi
lea r14d, [rsi + 1]
lea r15d, [rsi + 0x1f]
mov edi, dword [0x7ff794c70018]
cmp byte [0x7ff794c6855b], sil
je 0x7ff794c47b4c
mov ecx, esi
cmp edi, 2
jl 0x7ff794c47b17
movdqa xmm5, xmmword [0x7ff794c689a0]
movdqa xmm4, xmmword [0x7ff794c689f0]
movd xmm6, r14d
movdqa xmm7, xmmword [0x7ff794c689d0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x7ff794c68a00]
movdqa xmmword [rbp - 0x29], xmm0
lea rdx, [rbp - 5]
mov r8d, dword [rbp - 0x29]
movd xmm2, ecx
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x7ff794c689e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x7ff794c689e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x7ff794c47a13
cmp ecx, 0x14
jge 0x7ff794c47b4c
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, 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, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x14
jl 0x7ff794c47b21
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 0xf
lea rax, [rbp - 9]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff794c47b70
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.7ff794c435b0
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.ucrtbase.dll_system]
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x7ff794c47bd9
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff794c47bd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff794c47bd4
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff794c61b74
mov rax, qword [0x7ff794c68318]
mov qword [rbp + 0x67], rax
cmp byte [0x7ff794c6831f], 0
je 0x7ff794c47d3f
cmp edi, 2
jl 0x7ff794c47cfc
movdqa xmm4, xmmword [0x7ff794c689f0]
movd xmm6, r14d
movd xmm5, r15d
movdqa xmm2, xmmword [0x7ff794c689a0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff794c689d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x7ff794c689e0]
packuswb xmm2, xmm2
mov eax, dword [0x7ff794c68a00]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x67]
pxor xmm2, xmm1
movd dword [rbp + 0x67], xmm2
movdqa xmm3, xmmword [0x7ff794c689b0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff794c689d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x7ff794c689e0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x6b]
pxor xmm2, xmm1
movd dword [rbp + 0x6b], xmm2
jmp 0x7ff794c47d3f
lea r9, [rbp + 0x67]
mov r8d, esi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x7ff794c47d10
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], 0xf
lea rax, [rbp + 0x67]
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff794c47d53
mov r8, rbx
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 9]
call fcn.7ff794c435b0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.ucrtbase.dll_system]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x7ff794c47dbe
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff794c47db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff794c47db9
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff794c61b74
lea rcx, [0x7ff794c66028]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
jmp qword [sym.imp.ucrtbase.dll_system]