Function at 0x180050070
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 [0x180176020]
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 0x18005014e
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 0x18005014e
test rdi, rdi
je 0x18005012e
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x18005013c
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 0x18005028d
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 0x1800501c3
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsi], r14
test rdi, rdi
je 0x1800501a3
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x1800501b1
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 0x18005028d
test eax, eax
je 0x1800501f4
test rdi, rdi
je 0x1800501d4
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x1800501e2
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 0x18005028d
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 0x18005023e
cmp byte [rbx], r14b
je 0x18005023e
mov eax, dword [rsp + 0x44]
cmp eax, 1
jne 0x180050225
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 0x18005023e
cmp eax, 4
jne 0x18005023e
mov r8d, dword [rbx]
lea rdx, [0x1801319a4]
lea rcx, [rsp + 0x58]
call fcn.180047d80
lea rax, [rsp + 0x58]
cmp r12, rax
je 0x180050262
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 0x180050272
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
test rbx, rbx
je 0x180050280
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.1800e9d70
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret