Function at 0x14000c720
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 0x14000c776
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, [0x140044c30]
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 0x14000c82d
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 0x14000cca5
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 0x14000cc7b
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 0x14000c94c
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::Empty_void____ptr64]
xor al, al
jmp 0x14000c94e
mov al, 1
test al, al
je 0x14000cc7b
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 0x14000c9a3
mov eax, ebx
mov rsi, qword [rbp + 0x60]
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x58], ebx
test eax, eax
jne 0x14000cc6c
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 0x14000ca3d
mov eax, dword [rbp + 0x70]
dec eax
cmp eax, 1
jbe 0x14000ca14
mov edi, 0xd
jmp 0x14000ca3d
test r14, r14
je 0x14000ca3b
mov eax, dword [rbp + 0x60]
test eax, eax
je 0x14000ca37
test al, 1
jne 0x14000ca30
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x14000ca3b
mov edi, 0xd
jmp 0x14000ca3d
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 0x14000ca97
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 0x14000ca78
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 0x14000c854
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 0x14000cb16
mov eax, dword [rbp + 0x78]
dec eax
cmp eax, 1
jbe 0x14000caed
mov edi, 0xd
jmp 0x14000cb16
test r14, r14
je 0x14000cb14
mov eax, dword [rbp + 0x60]
test eax, eax
je 0x14000cb10
test al, 1
jne 0x14000cb09
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x14000cb14
mov edi, 0xd
jmp 0x14000cb16
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 0x14000ca51
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 0x14000cb7a
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 0x14000cb7d
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 0x14000cc7b
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 0x14000c854
lea rsi, [r13 + 0xb80]
cmp dword [r13 + 0x1c8], 0
je 0x14000ccbe
cmp dword [r13 + 0xb68], 0
je 0x14000ccbe
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 0x14000ccf6
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