Function at 0x18004ea00
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x180176020]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rax, vtable.CRegistryEdit.0
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x78], 0
xor edi, edi
lea rcx, [r11 - 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
nop word [rax + rax]
mov ecx, 0x13880
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
mov rbx, rax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x18004ea99
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9d, [rcx + 8]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionGroup_Policy
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18004eb21
mov rcx, qword [rsp + 0x30]
mov r9d, 0x9c3f
mov r8, rbx
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
je 0x18004ebac
test eax, eax
jne 0x18004eb9d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const____ptr64____ptr64]
inc edi
test rbx, rbx
je 0x18004eada
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
lea rdx, str.S_1_5_21_
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const____ptr64____ptr64]
nop
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__unsigned_long_long_unsigned___int64__const___ptr64]
test rax, rax
je 0x18004eb37
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x18004ea50
test rbx, rbx
je 0x18004ebce
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x18004ebce
mov rcx, qword [rsp + 0x60]
inc rcx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
mov rbx, rax
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
inc rdx
mov rcx, rax
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
mov rax, rbx
jmp 0x18004ebdc
test rbx, rbx
je 0x18004ebce
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x18004ebce
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x18004ebce
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
xor eax, eax
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800e9d70
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret