Function at 0x7ff605166460
Capabilities:
Disable system features via registry on windows
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rdx, [0x7ff605749a90]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x7ff6051664b0
lea rcx, [rsp + 0x70]
call fcn.7ff605163830
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
add r8, rdx
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.7ff605162610
nop
lea rcx, [rsp + 0x70]
call fcn.7ff605162330
nop
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
mov rcx, qword [rsp + 0x60]
sub rax, rcx
cmp rax, 0x22
jb 0x7ff60516685a
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
lea r9, [0x7ff605629c30]
lea rcx, [rbp - 0x30]
call fcn.7ff605163df0
nop
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 4
jb 0x7ff605166860
cmp qword [rbx + 0x18], 7
jbe 0x7ff605166574
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 4
lea r9, [0x7ff605629c78]
lea rcx, [rbp - 0x70]
call fcn.7ff605163df0
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegCreateKeyW]
test eax, eax
je 0x7ff6051665c5
lea rdx, [0x7ff605629c88]
jmp 0x7ff605166611
mov eax, dword [rbp - 0x60]
add eax, eax
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, [0x7ff605629ca8]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.advapi32.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x7ff605166675
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rdx, [0x7ff605629cc0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff605162760
lea rdx, [0x7ff6051625d0]
mov rcx, rax
call qword [0x7ff605431740]
xor bl, bl
lea rcx, [rbp - 0x70]
call fcn.7ff6051622c0
nop
lea rcx, [rbp - 0x30]
call fcn.7ff6051622c0
nop
lea rcx, [rsp + 0x50]
call fcn.7ff6051622c0
movzx eax, bl
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.7ff60542acb0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x28], 4
lea rax, [0x7ff605629fec]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [0x7ff605629cf0]
xor edx, edx
call qword [sym.imp.advapi32.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x7ff6051666b9
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rdx, [0x7ff605629d00]
jmp 0x7ff605166611
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rcx, [0x7ff60551e478]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x7ff60516662d
lea rdx, [0x7ff605629d28]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rbx, rax
lea rdx, [0x7ff605629d40]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rsi, rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rbx
test eax, eax
jns 0x7ff60516671e
lea rdx, [0x7ff605629d50]
jmp 0x7ff605166611
mov rcx, qword [rsp + 0x60]
sub rdi, rcx
cmp rdi, 0x34
jb 0x7ff605166854
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, [0x7ff605629dc0]
lea rcx, [rbp - 0x50]
call fcn.7ff605163df0
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x10]
call rsi
mov ebx, eax
lea rdx, [0x7ff605629e30]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff605162760
lea rdx, [0x7ff60515e0a0]
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_ios_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ios_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x7ff6051625d0]
mov rcx, rax
call qword [0x7ff605431740]
cmp ebx, 0xc0000603
jne 0x7ff605166848
lea rdx, [0x7ff605629e50]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff605162760
lea rdx, [0x7ff6051625d0]
mov rcx, rax
call qword [0x7ff605431740]
lea rdx, [0x7ff605629ef0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff605162760
lea rdx, [0x7ff6051625d0]
mov rcx, rax
call qword [0x7ff605431740]
lea rdx, [0x7ff605629f68]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff605162760
lea rdx, [0x7ff6051625d0]
mov rcx, rax
call qword [0x7ff605431740]
shr ebx, 0x1f
xor bl, 1
lea rcx, [rbp - 0x50]
call fcn.7ff6051622c0
jmp 0x7ff60516662f
cmp ebx, 0xc000010e
jne 0x7ff605166834
mov bl, 1
jmp 0x7ff60516683a
call fcn.7ff60515dfc0
nop
call fcn.7ff60515dfc0
nop
call fcn.7ff60515dfc0
int3