Function at 0x14000c770
Capabilities:
Delete registry key
Execute command
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400af0c0]
xor rax, rsp
mov qword [rbp - 8], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdx, str.SOFTWAREMicrosoftCryptographyMachineGuid
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea r8d, [rax + 0x6e]
lea rdx, str.REG_ADD__HKLMSYSTEMCurrentControlSetControlSystemInformation___v_ComputerHardwareId__t_REG_SZ__f__NUL_2_NUL
lea rcx, [rbp - 0x28]
call fcn.1400044c0
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x74
jb 0x14000c840
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], reloc.WS2_32.dll_WSACleanup
mov r8d, reloc.WS2_32.dll_WSACleanup
lea rdx, str.REG_ADD__HKLMSYSTEMCurrentControlSetControlSystemInformation___v_ComputerHardwareId__t_REG_MULTI_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x74], 0
jmp 0x14000c855
lea r9, str.REG_ADD__HKLMSYSTEMCurrentControlSetControlSystemInformation___v_ComputerHardwareId__t_REG_MULTI_SZ__f__NUL_2_NUL
mov edx, reloc.WS2_32.dll_WSACleanup
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x60
jb 0x14000c8a3
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x60
mov r8d, 0x60
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_BuildGUID__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x60], 0
jmp 0x14000c8b8
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_BuildGUID__t_REG_SZ__f__NUL_2_NUL
mov edx, 0x60
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x66
jb 0x14000c906
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x66
mov r8d, 0x66
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_BuildGUIDEx__t_REG_BINARY__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x66], 0
jmp 0x14000c91b
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_BuildGUIDEx__t_REG_BINARY__f__NUL_2_NUL
mov edx, 0x66
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x63
jb 0x14000c969
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x63
mov r8d, 0x63
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_CurrentBuild__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x63], 0
jmp 0x14000c97e
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_CurrentBuild__t_REG_SZ__f__NUL_2_NUL
mov edx, 0x63
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x69
jb 0x14000c9cc
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], WSAGetLastError
mov r8d, 0x69
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_CurrentBuildNumber__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x69], 0
jmp 0x14000c9e1
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_CurrentBuildNumber__t_REG_SZ__f__NUL_2_NUL
mov edx, 0x69
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x65
jb 0x14000ca2f
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x65
mov r8d, 0x65
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_CurrentVersion__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x65], 0
jmp 0x14000ca44
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_CurrentVersion__t_REG_SZ__f__NUL_2_NUL
mov edx, 0x65
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x6b
jb 0x14000ca92
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], WSAGetLastError
mov r8d, WSAGetLastError
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_DigitalProductId__t_REG_BINARY__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x6b], 0
jmp 0x14000caa7
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_DigitalProductId__t_REG_BINARY__f__NUL_2_NUL
mov edx, WSAGetLastError
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x6c
jb 0x14000caf5
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], WSAGetLastError
mov r8d, WSAGetLastError
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_DigitalProductId4__t_REG_BINARY__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x6c], 0
jmp 0x14000cb0a
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_DigitalProductId4__t_REG_BINARY__f__NUL_2_NUL
mov edx, WSAGetLastError
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x65
jb 0x14000cb58
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x65
mov r8d, 0x65
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_DisplayVersion__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x65], 0
jmp 0x14000cb6d
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_DisplayVersion__t_REG_SZ__f__NUL_2_NUL
mov edx, 0x65
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x60
jb 0x14000cbbb
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x60
mov r8d, 0x60
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_EditionId__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x60], 0
jmp 0x14000cbd0
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_EditionId__t_REG_SZ__f__NUL_2_NUL
mov edx, 0x60
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x65
jb 0x14000cc1e
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x65
mov r8d, 0x65
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_InstallDate__t_REG_DWORD__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x65], 0
jmp 0x14000cc33
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_InstallDate__t_REG_DWORD__f__NUL_2_NUL
mov edx, 0x65
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x65
jb 0x14000cc81
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x65
mov r8d, 0x65
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_InstallTime__t_REG_QWORD__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x65], 0
jmp 0x14000cc96
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_InstallTime__t_REG_QWORD__f__NUL_2_NUL
mov edx, 0x65
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x60
jb 0x14000cce4
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x60
mov r8d, 0x60
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_ProductId__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x60], 0
jmp 0x14000ccf9
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_ProductId__t_REG_SZ__f__NUL_2_NUL
mov edx, 0x60
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x6d
jb 0x14000cd47
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], WSAGetLastError
mov r8d, WSAGetLastError
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_RegisteredOrganization__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x6d], 0
jmp 0x14000cd5c
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_RegisteredOrganization__t_REG_SZ__f__NUL_2_NUL
mov edx, WSAGetLastError
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x66
jb 0x14000cdaa
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x66
mov r8d, 0x66
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_RegisteredOwner__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x66], 0
jmp 0x14000cdbf
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_RegisteredOwner__t_REG_SZ__f__NUL_2_NUL
mov edx, 0x66
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x60
jb 0x14000ce0d
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x60
mov r8d, 0x60
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_ReleaseId__t_REG_SZ__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x60], 0
jmp 0x14000ce22
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_ReleaseId__t_REG_SZ__f__NUL_2_NUL
mov edx, 0x60
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rbp - 0x10]
cmp rax, 0x5d
jb 0x14000ce70
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x5d
mov r8d, 0x5d
lea rdx, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_UBR__t_REG_DWORD__f__NUL_2_NUL
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x5d], 0
jmp 0x14000ce85
lea r9, str.REG_ADD__HKLMSOFTWAREMicrosoftWindows_NTCurrentVersion___v_UBR__t_REG_DWORD__f__NUL_2_NUL
mov edx, 0x5d
lea rcx, [rbp - 0x28]
call fcn.140004c20
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._4__Spoofed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004000
lea rdx, [0x1400041d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000cefb
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cef6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cef6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089ab4
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140089a50
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret