Function at 0x46ea90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov qword [rsp + 0x68], rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov dword [rbp - 0x20], r14d
mov r8, r9
cmp qword [r9 + 0x18], 0x10
jb 0x46ead8
mov r8, qword [r9]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x46eae5
mov rdx, qword [rbx]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
mov r9d, 0x20
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueA]
test eax, eax
jne 0x46ed6d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov qword [rbp - 8], r14
mov edx, dword [rbp - 0x20]
test rdx, rdx
je 0x46eb33
lfence
lea rcx, [rbp - 0x18]
call fcn.00416390
cmp qword [rdi + 0x18], 0x10
jb 0x46eb3d
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 0x10
jb 0x46eb47
mov rbx, qword [rbx]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 0x20
mov r8, rdi
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueA]
test eax, eax
jne 0x46ed1e
mov r8d, dword [rbp - 0x20]
mov r9, qword [rbp - 0x10]
mov rcx, r9
mov rdi, qword [rbp - 0x18]
sub rcx, rdi
cmp r8, rcx
jae 0x46eba0
lea rax, [r8 + rdi]
mov qword [rbp - 0x10], rax
jmp 0x46ebd8
jbe 0x46ebd8
mov rax, qword [rbp - 8]
sub rax, rdi
cmp r8, rax
jbe 0x46ebbf
lfence
mov rdx, r8
lea rcx, [rbp - 0x18]
call fcn.00416390
jmp 0x46ebd4
sub r8, rcx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.004a2370
mov qword [rbp - 0x10], rbx
mov rdi, qword [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov dword [rsp + 0x40], 1
cmp byte [rdi], 0
je 0x46ecbe
nop word [rax + rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x46ec07
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], SafeArrayGetDim
mov byte [rsp + 0x48], 0
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x48]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x46ec65
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov edx, SafeArrayGetDim
mov byte [rsp + 0x48], 0
add qword [rsi + 8], 0x20
jmp 0x46ec77
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.00458660
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x46ecab
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x46eca6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x46ecf2
call fcn.00479330
inc rdi
add rdi, rbx
cmp byte [rdi], 0
jne 0x46ec00
mov rdi, qword [rbp - 0x18]
test rdi, rdi
je 0x46ed01
mov rdx, qword [rbp - 8]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x46ecf9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x46ecf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rdi
call fcn.00479330
mov rax, rsi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.00479310
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.00410790
nop
mov r8, rax
lea rdx, str.Cannot_read_multi_string_from_registry:
lea rcx, [rbp + 0x20]
call fcn.00417a30
nop
lea rcx, [rbp - 0x40]
call sym.AsusSoftwareManager.exe_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64
lea rcx, [rbp + 0x20]
call sym.AsusSoftwareManager.exe_public:_char____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Unchecked_begin_void____ptr64
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.004087c0
lea rdx, [0x004e7aa8]
lea rcx, [rbp - 0x78]
call fcn.004a2510
nop
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.00410790
nop
mov r8, rax
lea rdx, str.Cannot_read_multi_string_from_registry:
lea rcx, [rbp]
call fcn.00417a30
nop
lea rcx, [rbp - 0x60]
call sym.AsusSoftwareManager.exe_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64
lea rcx, [rbp]
call sym.AsusSoftwareManager.exe_public:_char____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Unchecked_begin_void____ptr64
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.004087c0
lea rdx, [0x004e7aa8]
lea rcx, [rsp + 0x70]
call fcn.004a2510
int3