Function at 0x14001a2d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x14004ae08]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov esi, edx
lea rdx, [0x140035fd4]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ebx, ebx
mov edi, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x40], rbx
lea eax, [rsi - 1]
test eax, 0xfffffffd
je 0x14001a448
cmp esi, 2
jne 0x14001a55a
lea rdx, str.SOFTWAREClassesInterface6A222195_F65E_467F_8F77_EB180BD85288TypeLib
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r8, rax
mov rdx, 0xffffffff80000002
mov r9d, 0x20119
lea rcx, [rsp + 0x30]
call fcn.14000e940
test eax, eax
jne 0x14001a4ac
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x48], 0x410
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [0x140035fd4]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a55a
mov eax, dword [rsp + 0x4c]
dec eax
cmp eax, 1
ja 0x14001a55a
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14001a404
test al, 1
jne 0x14001a55a
shr rax, 1
cmp word [rbp + rax*2 - 0x62], bx
je 0x14001a408
jmp 0x14001a55a
mov word [rbp - 0x60], bx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, str.B9AA1F11_F480_4054_A84E_B5D9277E40A8
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::Compare_wchar_t_const____ptr64_const___ptr64]
nop
lea rcx, [rsp + 0x50]
test eax, eax
jne 0x14001a553
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov ebx, 1
jmp 0x14001a55a
lea rdx, str.SOFTWAREClassesInterface6A222195_F65E_467F_8F77_EB180BD85288TypeLib
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r8, rax
mov rdx, 0xffffffff80000002
mov r9d, 0x20219
lea rcx, [rsp + 0x30]
call fcn.14000e940
test eax, eax
je 0x14001a4b6
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r8, rax
mov rdx, 0xffffffff80000002
mov r9d, 0x20119
lea rcx, [rsp + 0x30]
call fcn.14000e940
test eax, eax
je 0x14001a4b6
mov rdi, qword [rsp + 0x30]
jmp 0x14001a55a
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x48], 0x410
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [0x140035fd4]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a55a
mov eax, dword [rsp + 0x4c]
dec eax
cmp eax, 1
ja 0x14001a55a
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14001a527
test al, 1
jne 0x14001a55a
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x14001a52b
jmp 0x14001a55a
mov word [rbp - 0x60], bx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, str.B9AA1F11_F480_4054_A84E_B5D9277E40A8
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::Compare_wchar_t_const____ptr64_const___ptr64]
nop
jmp 0x14001a42b
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
test rdi, rdi
je 0x14001a569
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140027b30
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret