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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], str.SOFTWAREPoliciesMicrosoftWindowsDataCollection
mov bl, 1
mov dword [esp + 0x1c], str.AllowTelemetry
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], str.SOFTWAREPoliciesMicrosoftWindowsDataCollection
mov dword [esp + 0x28], str.DisableUsageTracking
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], str.SOFTWAREPoliciesMicrosoftWindowsDataCollection
mov dword [esp + 0x34], str.AllowWindowsErrorReporting
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], str.SOFTWAREPoliciesMicrosoftWindowsDataCollection
mov dword [esp + 0x40], str.DisableEnhanceErrorReporting
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], str.SOFTWAREPoliciesMicrosoftWindowsExplorer
mov dword [esp + 0x4c], str.DisableCollectTelemetry
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov dword [esp + 0x58], str.EnableCortana
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], str.SYSTEMCurrentControlSetServicesDiagTrack
mov dword [esp + 0x64], str.Start
mov dword [esp + 0x68], 4
nop dword [eax + eax]
mov eax, dword [esi + 8]
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [esi]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x401126
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, 0x403150
push 0x4014c0
push eax
call fcn.00401290
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
xor dl, dl
jmp 0x40117a
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push dword [esi + 4]
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x401172
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Erreur_lors_de_la_modification_de_la_cl
push 0x4014c0
push eax
call fcn.00401290
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push dword [esp + 0x10]
call edi
xor dl, dl
jmp 0x40117a
push dword [esp + 0x10]
call edi
mov dl, 1
xor ecx, ecx
movzx eax, bl
test dl, dl
cmovne ecx, eax
add esi, 0xc
lea eax, [esp + 0x6c]
mov bl, cl
cmp esi, eax
jne 0x4010d0
test bl, bl
je 0x4011a7
push 0x40
push str.Succ
push str.Toutes_les_modifications_de_registre_ont
jmp 0x4011b3
push 0x10
push str.Erreur
push 0x403588
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x74]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004014ef
mov esp, ebp
pop ebp
ret