Function at 0x180006610
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x728]
sub rsp, 0x800
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18001e010]
xor rax, rsp
mov qword [rbp + 0x6f0], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp dword [rcx + 0x178], 2
je 0x180006ef6
cmp byte [rcx + 0x158], r14b
jne 0x180006ef6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2d0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4e0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x80], r14
lea r8, [rbp - 0x80]
lea edx, [r14 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18000670d
lea rdx, [rbp + 0xc0]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x18000670d
mov r8d, operator
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, str.glmclientconfig_
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov rax, qword [rsi + 0x190]
cmp dword [rax - 0x10], 0
jne 0x1800069b2
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rsp + 0x30], 1
mov r9, qword [rsi + 0x180]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r12, rax
mov dword [rsp + 0x30], 3
lea rbx, [0x18001537c]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1800067c0
mov rdx, qword [r15]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rsp + 0x30], 7
mov r9, qword [rsi + 0x198]
mov eax, dword [r9 - 0x10]
mov rdx, qword [r12]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r12, rax
mov dword [rsp + 0x30], 0xf
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x180006850
mov rdx, qword [r15]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rsp + 0x30], 0x1f
mov r9, qword [rsi + 0x188]
mov eax, dword [r9 - 0x10]
mov rdx, qword [r12]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rsi, rax
mov dword [rsp + 0x30], 0x3f
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1800068e0
mov rdx, qword [r15]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbx, rax
mov dword [rsp + 0x30], 0x7f
lea r9, str.LicenseManager.ini
nop dword [rax]
inc rdi
cmp word [r9 + rdi*2], 0
jne 0x180006930
mov rdx, qword [rsi]
mov dword [rsp + 0x20], edi
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x78]
jmp 0x180006cc3
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rbp - 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rsp + 0x30], 0x80
mov r9, qword [rsi + 0x180]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x58]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r12, rax
mov dword [rsp + 0x30], 0x180
lea rbx, [0x18001537c]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180006a30
mov rdx, qword [r15]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rsp + 0x30], 0x380
mov r9, qword [rsi + 0x198]
mov eax, dword [r9 - 0x10]
mov rdx, qword [r12]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r12, rax
mov dword [rsp + 0x30], 0x780
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180006ac0
mov rdx, qword [r15]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rsp + 0x30], 0xf80
mov r9, qword [rsi + 0x188]
mov eax, dword [r9 - 0x10]
mov rdx, qword [r12]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r12, rax
mov dword [rsp + 0x30], 0x1f80
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x180006b50
mov rdx, qword [r15]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r15, rax
mov dword [rsp + 0x30], 0x3f80
mov r9, qword [rsi + 0x190]
mov eax, dword [r9 - 0x10]
mov rdx, qword [r12]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rsi, rax
mov dword [rsp + 0x30], 0x7f80
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x180006be0
mov rdx, qword [r15]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbx, rax
mov dword [rsp + 0x30], 0xff80
lea r9, str.LicenseManager.ini
nop dword [rax]
inc rdi
cmp word [r9 + rdi*2], 0
jne 0x180006c30
mov rdx, qword [rsi]
mov dword [rsp + 0x20], edi
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x78]
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]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], operator
lea r9, [rbp + 0x2d0]
lea r8, str.3600000
lea rdx, str.intervalTime
lea rcx, str.checkLicensetime
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
lea r9, [rbp - 0x40]
lea r8, [0x180015e4c]
lea rdx, [0x180015e50]
lea rcx, str.checkLicensetime
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
lea r9, [rbp + 0x40]
lea r8, [0x180015e4c]
lea rdx, [0x180015e58]
lea rcx, str.checkLicensetime
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
cmp dword [0x18001f090], 0
je 0x180006dd9
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ecx, eax
mov eax, r13d
sub eax, dword [0x18001f090]
cmp eax, ecx
jle 0x180006ec3
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r8d, word [rbp - 0x52]
lea rdx, [0x180015374]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
movzx r8d, word [rbp - 0x56]
lea rdx, [0x180015374]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ebx, eax
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
cmp ebx, eax
jne 0x180006e62
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ebx, eax
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
sub ebx, eax
cmp ebx, 7
jl 0x180006eab
mov dword [0x18001f090], r13d
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
lea rdx, [0x180015e50]
lea rcx, str.checkLicensetime
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
lea rdx, [0x180015e58]
lea rcx, str.checkLicensetime
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r14d, 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
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]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movzx eax, r14b
jmp 0x180006ef8
xor al, al
mov rcx, qword [rbp + 0x6f0]
xor rcx, rsp
call fcn.180010b50
lea r11, [rsp + 0x800]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret