Function at 0x18004fc20
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 [0x180175020]
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 sub.MSVCR90.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
mov rdi, rax
mov dword [rsp + 0x48], 0x9c40
mov ecx, 0x9c40
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
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 0x18004fcfe
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 0x18004fcfe
test rdi, rdi
je 0x18004fcde
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x18004fcec
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 0x18004fe3d
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 0x18004fd73
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsi], r14
test rdi, rdi
je 0x18004fd53
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x18004fd61
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 0x18004fe3d
test eax, eax
je 0x18004fda4
test rdi, rdi
je 0x18004fd84
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x18004fd92
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 0x18004fe3d
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 0x18004fdee
cmp byte [rbx], r14b
je 0x18004fdee
mov eax, dword [rsp + 0x44]
cmp eax, 1
jne 0x18004fdd5
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 0x18004fdee
cmp eax, 4
jne 0x18004fdee
mov r8d, dword [rbx]
lea rdx, [0x1801309a4]
lea rcx, [rsp + 0x58]
call fcn.180047a80
lea rax, [rsp + 0x58]
cmp r12, rax
je 0x18004fe12
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 0x18004fe22
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x18004fe30
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.1800e9aa0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret