Function at 0x140018f46
Capabilities:
Get hostname
Query or enumerate registry value

Disassembly:
jmp 0x1400234f0
push rbp
push rdi
sub rsp, 0x758
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x136
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140061040]
xor rax, rbp
mov qword [rbp + 0x708], rax
lea rcx, [0x14006d100]
call fcn.140019685
mov dword [rbp + 0x34], 0x10
lea rdx, [rbp + 0x34]
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edx, 0x20
lea rcx, [rbp + 0x58]
call fcn.140018cdf
lea rcx, [rbp + 0x58]
call fcn.1400182b2
nop
mov dword [rbp + 0x94], 0
jmp 0x140023574
mov eax, dword [rbp + 0x94]
inc eax
mov dword [rbp + 0x94], eax
mov eax, dword [rbp + 0x34]
cmp dword [rbp + 0x94], eax
jae 0x1400235a3
movsxd rax, dword [rbp + 0x94]
movsx eax, byte [rbp + rax + 8]
mov dword [rbp + 0x6a4], eax
lea rdx, [rbp + 0x6a4]
lea rcx, [rbp + 0x58]
call fcn.140018942
jmp 0x140023566
xor ecx, ecx
call fcn.140023a00
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
mov qword [rbp + 0xb8], 0
lea rax, [rbp + 0x58]
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0xd8]
call fcn.1400186b3
mov qword [rbp + 0xf8], rax
mov rcx, qword [rbp + 0xd8]
call fcn.140018816
mov qword [rbp + 0x118], rax
jmp 0x140023602
mov rax, qword [rbp + 0xf8]
add rax, 4
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x118]
cmp qword [rbp + 0xf8], rax
je 0x14002365b
mov rax, qword [rbp + 0xf8]
mov eax, dword [rax]
mov dword [rbp + 0x134], eax
movsxd rax, dword [rbp + 0x134]
mov qword [rbp + 0x6f8], rax
call qword [sym.imp.ucrtbased.dll_rand]
cdqe
mov rcx, qword [rbp + 0x6f8]
imul rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xb8], rax
jmp 0x1400235f0
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x55d4a81
idiv ecx
mov eax, edx
add eax, 0x989680
cdqe
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0xb8]
imul rax, qword [rbp + 0x158]
mov qword [rbp + 0x178], rax
lea rdx, str.The_key_result_is
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400182c1
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x700], rax
mov rdx, qword [rbp + 0x700]
mov rcx, qword [rbp + 0x6f8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov dl, 0xa
mov rcx, rax
call fcn.1400190c7
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x178]
call fcn.140019612
movzx eax, al
test eax, eax
jne 0x140023726
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Cant_connect_to_the_Internet._Exit_with_Status_1
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x6c4], 1
lea rcx, [rbp + 0x58]
call fcn.140018ce9
mov eax, dword [rbp + 0x6c4]
jmp 0x1400238c3
mov rdx, qword [rbp + 0x178]
lea rcx, [rbp + 0x198]
call fcn.140018280
nop
lea rcx, [rbp + 0x198]
call fcn.14001865e
mov dword [rbp + 0x1f4], 0x104
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140023856
lea rax, [rbp + 0x1f4]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x220]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, str.ProductId
xor edx, edx
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rbp + 0x444], eax
cmp dword [rbp + 0x444], 0
jne 0x14002380c
lea rdx, str.Product_ID:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140018ba4
lea rdx, [rbp + 0x220]
mov rcx, rax
call fcn.140018ba4
mov qword [rbp + 0x6f8], rax
lea rdx, [0x140018af0]
mov rcx, qword [rbp + 0x6f8]
call qword [sym.imp.MSVCP140D.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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x140023854
lea rdx, str.Unable_to_read_registry_value._Error_code:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400182c1
mov qword [rbp + 0x6f8], rax
mov edx, dword [rbp + 0x444]
mov rcx, qword [rbp + 0x6f8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rbp + 0x700], rax
lea rdx, [0x1400180ff]
mov rcx, qword [rbp + 0x700]
call qword [sym.imp.MSVCP140D.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]
jmp 0x140023884
lea rdx, str.Unable_to_open_registry_key.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400182c1
mov qword [rbp + 0x6f8], rax
lea rdx, [0x1400180ff]
mov rcx, qword [rbp + 0x6f8]
call qword [sym.imp.MSVCP140D.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]
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1400619c0]
call fcn.140018019
mov dword [rbp + 0x6e4], 0
lea rcx, [rbp + 0x198]
call fcn.14001845b
nop
lea rcx, [rbp + 0x58]
call fcn.140018ce9
mov eax, dword [rbp + 0x6e4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400512c0]
call fcn.1400192b1
mov rax, rdi
mov rcx, qword [rbp + 0x708]
xor rcx, rbp
call fcn.140018acd
lea rsp, [rbp + 0x718]
pop rdi
pop rbp
ret