Function at 0x140085fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, r9
mov r15, r8
mov r14, rdx
mov rbp, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xf8]
mov r12, qword [rsp + 0x100]
mov ecx, 0x13880
call fcn.14015562c
mov rdi, rax
mov dword [rsp + 0x48], 0x9c40
mov ecx, 0x9c40
call fcn.14015562c
mov rbx, rax
mov dword [rsp + 0x40], 0x9c40
lea rcx, [rsp + 0x58]
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
cmp qword [rsi], 0
jne 0x14008607e
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14008607e
test rdi, rdi
je 0x14008605e
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x14008606c
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rcx, [rsp + 0x58]
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]
xor al, al
jmp 0x1400861bd
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
mov r8, rdi
mov edx, dword [rbp]
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x1400860f3
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsi], r14
test rdi, rdi
je 0x1400860d3
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x1400860e1
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rcx, [rsp + 0x58]
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]
xor al, al
jmp 0x1400861bd
test eax, eax
je 0x140086124
test rdi, rdi
je 0x140086104
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x140086112
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rcx, [rsp + 0x58]
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]
xor al, al
jmp 0x1400861bd
mov rdx, rdi
mov rcx, r13
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]
cmp dword [rsp + 0x40], r14d
je 0x14008616e
cmp byte [rbx], r14b
je 0x14008616e
mov eax, dword [rsp + 0x44]
cmp eax, 1
jne 0x140086155
mov rdx, rbx
lea rcx, [rsp + 0x58]
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]
jmp 0x14008616e
cmp eax, 4
jne 0x14008616e
mov r8d, dword [rbx]
lea rdx, [0x1401d270c]
lea rcx, [rsp + 0x58]
call fcn.1400736f0
lea rax, [rsp + 0x58]
cmp r12, rax
je 0x140086192
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov rcx, r12
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 dword [rbp]
test rdi, rdi
je 0x1400861a2
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x1400861b0
mov rcx, rbx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rcx, [rsp + 0x58]
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]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140155650
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret