Function at 0x14000c740
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 [0x1400ae0c0]
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.140004490
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 0x14000c810
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 0x14000c825
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.140004bf0
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 0x14000c873
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 0x14000c888
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.140004bf0
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 0x14000c8d6
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 0x14000c8eb
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.140004bf0
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 0x14000c939
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 0x14000c94e
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.140004bf0
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 0x14000c99c
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 0x14000c9b1
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.140004bf0
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 0x14000c9ff
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 0x14000ca14
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.140004bf0
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 0x14000ca62
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 0x14000ca77
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.140004bf0
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 0x14000cac5
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 0x14000cada
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.140004bf0
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 0x14000cb28
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 0x14000cb3d
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.140004bf0
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 0x14000cb8b
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 0x14000cba0
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.140004bf0
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 0x14000cbee
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 0x14000cc03
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.140004bf0
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 0x14000cc51
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 0x14000cc66
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.140004bf0
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 0x14000ccb4
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 0x14000ccc9
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.140004bf0
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 0x14000cd17
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 0x14000cd2c
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.140004bf0
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 0x14000cd7a
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 0x14000cd8f
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.140004bf0
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 0x14000cddd
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 0x14000cdf2
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.140004bf0
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 0x14000ce40
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 0x14000ce55
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.140004bf0
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.140003fd0
lea rdx, [0x1400041a0]
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 0x14000cecb
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cec6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cec6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089574
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140089510
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret