Function at 0x14000c770
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov r13, rcx
xor ebx, ebx
mov dword [rcx + 0xb68], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
mov rcx, qword [rcx + 0xbc0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rsi, [r13 + 0xb80]
mov rax, qword [r13 + 0xb78]
test rax, rax
mov r9d, ebx
je 0x14000c7c6
mov r9, qword [rax + 8]
xor r8d, r8d
mov edx, 0x402
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_4724]
mov r12, rbx
mov qword [rbp - 0x78], rbx
mov dword [rbp - 0x70], ebx
mov qword [rbp - 0x68], rbx
lea rdx, [0x140044c40]
lea rcx, [rbp]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringViewT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov rdi, rax
lea rcx, [rbp + 0x70]
call qword [sym.imp.CrlConfig.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_INIGetRegistryProductKey_void_]
nop
mov rcx, qword [rdi]
mov qword [rsp + 0x78], rcx
mov ecx, dword [rdi + 8]
mov dword [rbp - 0x80], ecx
mov rdx, rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringViewT_wchar_t_::constructor_class_CrlPlatform::CrlStringT_wchar_t__const____ptr64____ptr64]
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rbp + 0x68]
call qword [sym.imp.CrlPlatform.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_CrlPlatform::operator_wchar_t__class_CrlPlatform::CrlStringViewT_wchar_t___class_CrlPlatform::CrlStringViewT_wchar_t__]
lea rcx, [rbp + 0x68]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
nop
mov qword [rbp + 0x60], rbx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c87d
mov eax, ebx
mov r12, qword [rbp + 0x60]
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], ebx
test eax, eax
sete dil
lea rcx, [rbp + 0x68]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
test dil, dil
je 0x14000ccf5
mov r15d, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
nop
mov dword [rbp + 0x68], operator
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::GetBuffer_int____ptr64]
lea rcx, [rbp]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x68]
mov r8, rax
mov edx, r15d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r14d, eax
mov dword [rsp + 0x60], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::ReleaseBuffer_int____ptr64]
test r14d, r14d
jne 0x14000cccb
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdi, rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.CrlConfig.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_INIGetProgramsDir_void_]
nop
mov rcx, rax
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
mov r8, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.CrlUtils.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_SystemIO::Path::Combine_wchar_t_const____ptr64__wchar_t_const____ptr64_]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_class_CrlPlatform::CrlStringT_wchar_t_____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_class_CrlPlatform::CrlStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::File::Exists_wchar_t_const____ptr64_]
test al, al
jne 0x14000c99c
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::Empty_void____ptr64]
xor al, al
jmp 0x14000c99e
mov al, 1
test al, al
je 0x14000cccb
mov rsi, rbx
mov qword [rbp - 0x60], rbx
mov dword [rbp - 0x58], ebx
mov qword [rbp - 0x50], rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
nop
mov qword [rbp + 0x60], rbx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c9f3
mov eax, ebx
mov rsi, qword [rbp + 0x60]
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x58], ebx
test eax, eax
jne 0x14000ccbc
lea rcx, [rsp + 0x48]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_void____ptr64]
nop
mov edx, 0x104
lea rcx, [rsp + 0x48]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::GetBuffer_int____ptr64]
mov r14, rax
mov dword [rbp + 0x60], 0x208
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x70]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14000ca8d
mov eax, dword [rbp + 0x70]
dec eax
cmp eax, 1
jbe 0x14000ca64
mov edi, 0xd
jmp 0x14000ca8d
test r14, r14
je 0x14000ca8b
mov eax, dword [rbp + 0x60]
test eax, eax
je 0x14000ca87
test al, 1
jne 0x14000ca80
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x14000ca8b
mov edi, 0xd
jmp 0x14000ca8d
mov word [r14], bx
mov edi, ebx
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::ReleaseBuffer_int____ptr64]
test edi, edi
je 0x14000cae7
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
test rsi, rsi
je 0x14000cac8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
inc r15d
jmp 0x14000c8a4
mov edx, 0x104
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::GetBuffer_int____ptr64]
mov r14, rax
mov dword [rbp + 0x60], 0x208
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x78]
xor r8d, r8d
lea rdx, str.ProgID
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14000cb66
mov eax, dword [rbp + 0x78]
dec eax
cmp eax, 1
jbe 0x14000cb3d
mov edi, 0xd
jmp 0x14000cb66
test r14, r14
je 0x14000cb64
mov eax, dword [rbp + 0x60]
test eax, eax
je 0x14000cb60
test al, 1
jne 0x14000cb59
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x14000cb64
mov edi, 0xd
jmp 0x14000cb66
mov word [r14], bx
mov edi, ebx
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::ReleaseBuffer_int____ptr64]
test edi, edi
jne 0x14000caa1
lea ecx, [rdi + 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov r14, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000cbca
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdi, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [r14 + 8]
mov rdx, rdi
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
jmp 0x14000cbcd
mov r14, rbx
mov qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_ExtractIconExW]
mov rcx, qword [r13 + 0xb78]
mov r8, qword [rsp + 0x68]
mov edx, 0xffffffff
mov rcx, qword [rcx + 8]
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edi, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyIcon]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x48], 0x27
xor r9d, r9d
xor r8d, r8d
mov edx, 0x146
mov rcx, qword [r13 + 0xbc0]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
mov qword [rbp - 0x40], rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::GetBuffer_void____ptr64]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x2c], edi
mov dword [rbp - 0x28], edi
mov qword [rbp - 0x18], r14
lea rdx, [rbp - 0x48]
lea rcx, [r13 + 0xb80]
call qword [sym.imp.mfc140u.dll_CMFCAutoHideBar::GetVisibleCount]
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::ReleaseBuffer_int____ptr64]
mov dword [r13 + 0xb68], 1
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
mov r14d, dword [rsp + 0x60]
test rsi, rsi
je 0x14000cccb
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
inc r15d
test r14d, r14d
je 0x14000c8a4
lea rsi, [r13 + 0xb80]
cmp dword [r13 + 0x1c8], 0
je 0x14000cd0e
cmp dword [r13 + 0xb68], 0
je 0x14000cd0e
mov ebx, 1
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 0x646
mov rcx, r13
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
mov edx, dword [r13 + 0xb68]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
nop
test r12, r12
je 0x14000cd46
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret