Function at 0x140003cb0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rbp + 0x40], r15d
mov r14d, 0x100
nop dword [rax]
mov edx, r14d
mov rcx, r12
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov qword [rbp - 0x18], rax
mov edx, 0x2f
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_COleControl::ReleaseCaches]
test eax, eax
js 0x140003d25
lea r8d, [rax + 1]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCToolBar::LoadState]
jmp 0x140003d33
mov rdx, rbx
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
mov edx, 0x2f
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_COleControl::ReleaseCaches]
test eax, eax
js 0x140003d57
mov r8d, eax
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
jmp 0x140003d61
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
or esi, 0xb
mov rax, qword [rbp - 0x40]
cmp dword [rax - 0x10], 0
je 0x140003d7d
mov rax, qword [r13 + 0x18]
cmp dword [rax - 0x10], 0
je 0x140003d7d
mov dil, 1
jmp 0x140003d80
xor dil, dil
and esi, 0xfffffffd
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov edx, 0x2f
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_COleControl::ReleaseCaches]
test dil, dil
je 0x140003e2c
test eax, eax
js 0x140003dba
mov r8d, eax
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
jmp 0x140003dc5
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [r13 + 0x18]
lea r8, [0x140044bf0]
lea rcx, [rbp - 0x20]
call fcn.140005e70
mov rdi, rax
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
or esi, 0x50
mov dword [rbp + 0x40], esi
mov r9, qword [rbp - 0x38]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rdi]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
and esi, 0xffffffbf
or esi, 4
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x38]
jmp 0x140003e96
test eax, eax
js 0x140003e42
mov r8d, eax
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
jmp 0x140003e4d
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [r13 + 0x18]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
or esi, 0x180
mov dword [rbp + 0x40], esi
mov r9, qword [rbp - 0x30]
mov eax, dword [r9 - 0x10]
mov rdx, qword [r13 + 0x18]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
btr esi, 8
or esi, 4
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [r13 + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, qword [rbp - 0x18]
lea r8, str.D2D90953_6E3B_4a5c_818C_1A0DA77231B8
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov edx, edi
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseMove]
lea rdx, str.D2D90953_6E3B_4a5c_818C_1A0DA77231B8
mov rcx, r12
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x14000400b
lea eax, [rdi + 1]
cmp eax, r14d
jb 0x140003f0d
add r14d, r14d
jmp 0x140003cf0
mov rdx, r12
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rdi, rax
mov qword [rbp - 0x28], rax
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
jne 0x140003f39
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
jmp 0x140003fe5
xor edx, edx
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
cmp ax, 0x3e
je 0x140003f5c
mov rdx, rdi
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
jmp 0x140003fe5
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDHtmlDialog::DDX_DHtml_Radio]
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [rdi]
cmp dword [rax - 0x10], 0
jle 0x140003fcb
nop
mov r9d, 4
mov r8d, r15d
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMouseManager::LoadState]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov ebx, eax
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movzx edx, bx
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_1665]
add r15d, 4
mov rax, qword [rdi]
cmp r15d, dword [rax - 0x10]
jl 0x140003f80
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rdx, [rbp + 0x40]
mov rcx, r12
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, 1
jmp 0x14000400d
xor al, al
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret