Function at 0x140084020
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 [0x14025a030]
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 fcn.14015562c
mov rbx, rax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x1400840b9
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 0x140084141
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 0x1400841cc
test eax, eax
jne 0x1400841bd
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 0x1400840fa
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 [reloc.MSVCP90.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
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 0x140084157
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 0x140084070
test rbx, rbx
je 0x1400841ee
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x1400841ee
mov rcx, qword [rsp + 0x60]
inc rcx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14015562c
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 0x1400841fc
test rbx, rbx
je 0x1400841ee
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x1400841ee
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x1400841ee
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.140155650
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret