Function at 0x14000a630
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 [0x1400aa0c0]
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.140014cd0
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 0x14000a700
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 0x14000a715
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.1400154a0
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 0x14000a763
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 0x14000a778
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.1400154a0
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 0x14000a7c6
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 0x14000a7db
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.1400154a0
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 0x14000a829
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 0x14000a83e
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.1400154a0
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 0x14000a88c
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 0x14000a8a1
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.1400154a0
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 0x14000a8ef
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 0x14000a904
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.1400154a0
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 0x14000a952
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 0x14000a967
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.1400154a0
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 0x14000a9b5
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 0x14000a9ca
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.1400154a0
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 0x14000aa18
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 0x14000aa2d
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.1400154a0
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 0x14000aa7b
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 0x14000aa90
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.1400154a0
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 0x14000aade
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 0x14000aaf3
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.1400154a0
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 0x14000ab41
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 0x14000ab56
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.1400154a0
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 0x14000aba4
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 0x14000abb9
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.1400154a0
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 0x14000ac07
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 0x14000ac1c
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.1400154a0
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 0x14000ac6a
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 0x14000ac7f
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.1400154a0
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 0x14000accd
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 0x14000ace2
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.1400154a0
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 0x14000ad30
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 0x14000ad45
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.1400154a0
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.140013620
lea rdx, [0x1400137f0]
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 0x14000adbb
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000adb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000adb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140085540
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140085210
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret