Function at 0x14005fe44
Capabilities:
Query or enumerate registry key
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov rax, qword [0x140164008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r13, rdx
mov r12, qword [rdx + 0x170]
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x40]
call sub.mfc140u.dll_CSmartDockingStandaloneGuideWnd::CSmartDockingStandaloneGuideWnd
nop
call sub.mfc140u.dll_AfxFieldText
mov rcx, qword [rax + 8]
xor edi, edi
cmp qword [rcx + 0xb0], rdi
mov ecx, 0x800
je 0x14005ff54
call sub.mfc140u.dll_operator
mov rbx, rax
mov esi, edi
call sub.mfc140u.dll_AfxFieldText
xor edx, edx
mov rcx, qword [rax + 8]
call sub.mfc140u.dll_CPropertySet::Get
mov r14, rax
test rax, rax
je 0x1400602cc
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r14d, [rdi + 1]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14005ff4c
mov r15d, 0x400
xor edx, edx
jmp 0x14005ff31
mov edx, esi
add esi, r14d
mov r8, rbx
lea rcx, [rsp + 0x40]
call sub.mfc140u.dll_COleControlSite::SafeSetProperty
mov edx, esi
mov rcx, qword [rsp + 0x30]
mov r9d, r15d
mov r8, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x14005ff18
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
jmp 0x14006000f
call sub.mfc140u.dll_operator
mov r15, rax
lea r8, [0x140130d34]
mov edx, 0x7f
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [0x140130d34]
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscpy
call sub.mfc140u.dll_AfxFieldText
mov r9, qword [rax + 8]
mov r9, qword [r9 + 0xd8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call sub.mfc140u.dll_AfxFieldText
mov rcx, qword [rax + 8]
mov rax, qword [rcx + 0xd8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x3ff
mov r9, r15
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, edi
movsxd r12, eax
mov r14d, 1
test eax, eax
jle 0x14006000c
mov rbx, rdi
mov esi, r14d
cmp word [r15 + rbx*2], di
jne 0x140060001
movsxd rax, ecx
lea r8, [r15 + rax*2]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call sub.mfc140u.dll_COleControlSite::SafeSetProperty
mov ecx, esi
add esi, r14d
add rbx, r14
cmp rbx, r12
jl 0x14005ffe2
mov rcx, r15
call fcn.14002fa87
cmp qword [rsp + 0x50], rdi
je 0x1400602cc
mov dword [rsp + 0x30], edi
jle 0x140060241
mov r12, rdi
mov rsi, rdi
mov rcx, qword [r13 + 0x10]
call sub.mfc140u.dll_CMFCOutlookBarPane::CreateObject
mov r15, rax
call sub.mfc140u.dll_AfxFieldText
mov rdx, qword [rax + 8]
mov rcx, qword [r15]
mov rax, qword [rcx + 0x60]
mov qword [rsp + 0x70], rax
cmp qword [rdx + 0xb0], rdi
je 0x1400600e6
test rsi, rsi
js 0x140060314
cmp rsi, qword [rsp + 0x50]
jge 0x140060314
lea rcx, [rsi*8]
mov qword [rsp + 0x78], rcx
mov rbx, qword [rsp + 0x48]
add rbx, rcx
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
mov r8d, VarDateFromDisp
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14005e86c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140005730
nop
mov r8, r13
mov rdx, qword [rax]
mov rcx, r15
call qword [rsp + VarBstrFromDisp]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x68]
jmp 0x14006016a
test rsi, rsi
js 0x14006030e
cmp rsi, qword [rsp + 0x50]
jge 0x14006030e
lea rcx, [rsi*8]
mov qword [rsp + 0x78], rcx
mov rbx, qword [rsp + 0x48]
add rbx, rcx
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
mov r8d, 0x2e
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14005e86c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140005730
nop
mov r8, r13
mov rdx, qword [rax]
mov rcx, r15
call qword [rsp + VarBstrFromDisp]
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp rsi, qword [rsp + 0x50]
jge 0x140060308
mov rdx, qword [rsp + 0x48]
add rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
cmp ax, 0x23
jne 0x1400601dd
mov r8d, r14d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::LoadState]
nop
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
mov edx, eax
xor r9d, r9d
mov r8, r15
mov rcx, r13
call fcn.14003fe74
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x140060208
test r12, r12
js 0x14006031a
cmp r12, qword [rsp + 0x50]
jge 0x14006031a
mov rax, qword [rsp + 0x48]
xor r9d, r9d
mov r8, r15
mov rdx, qword [rax + r12*8]
mov rcx, r13
call fcn.14003ff64
test r15, r15
je 0x14006021a
mov rax, qword [r15]
mov edx, r14d
mov rcx, r15
call qword [rax + VariantCopy]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov ebx, dword [rsp + 0x30]
add ebx, r14d
mov dword [rsp + 0x30], ebx
add r12, r14
movsxd rsi, ebx
cmp rsi, qword [rsp + 0x50]
jl 0x14006002f
mov edx, 0xce20
mov rcx, r13
call fcn.14003fd18
mov word [r13 + 8], ax
mov edx, 0xce22
mov rcx, r13
call fcn.14003fd18
mov word [r13 + 0xa], ax
mov edx, 0xce21
mov rcx, r13
call fcn.14003fd18
mov word [r13 + 0xc], ax
lea r8, [rbp - 0x80]
movzx edx, word [r13 + 8]
mov rcx, r13
call fcn.14003fe28
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax]
mov rcx, rax
call sub.mfc140u.dll_CMFCOutlookBarPane::CreateObject
mov rbx, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x40]
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x70]
mov r8d, r14d
mov rdx, rbx
call r9
mov rcx, qword [rbx]
mov r8, qword [rcx + 8]
mov edx, r14d
mov rcx, rbx
call r8
mov edi, r14d
lea rcx, [rsp + 0x40]
call sub.mfc140u.dll_CSemaphore::CSemaphore
mov eax, edi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14002fdd0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call sub.mfc140u.dll_AfxRegDeleteKey
nop
call sub.mfc140u.dll_AfxRegDeleteKey
int3
call sub.mfc140u.dll_AfxRegDeleteKey
nop
call sub.mfc140u.dll_AfxRegDeleteKey
int3