Function at 0x140145690
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
mov r13, rcx
mov rdx, rcx
lea rcx, [rbp + 0x77]
call fcn.1401787d0
nop
mov rcx, r13
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
je 0x140145700
lea rcx, [rbp + 0x6f]
call fcn.140146150
nop
mov rdx, rax
mov rcx, r13
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rdx, r13
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rcx, rax
call fcn.14016fa30
mov rcx, r13
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140145881
mov dword [rbp + 0x6f], 0
mov r8b, 1
lea rdx, [rbp + 0x6f]
lea rcx, [rbp + 0x77]
call fcn.140179e20
mov ebx, eax
lea rcx, [rbp + 0x77]
call fcn.140179970
cmp ebx, 6
je 0x140145866
lea ecx, [rbx - 1]
cmp ecx, 1
ja 0x14014575e
cmp ax, 0x41
jb 0x14014575e
cmp ax, 0x43
jne 0x140145866
mov rdx, r13
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rcx, rax
call fcn.140145c80
mov ebx, eax
mov rcx, r13
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140145aaa
lea rcx, [rbp - 0x39]
call fcn.140146150
nop
mov rdx, rax
mov rcx, r13
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rdx, r13
lea rcx, [rbp - 0x41]
call fcn.1401787d0
nop
mov r8b, 1
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x41]
call fcn.140179cc0
nop
mov r8d, 2
lea rdx, [rbp + 0x7f]
mov rcx, rax
call fcn.14017a050
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
jne 0x140145826
mov rcx, r13
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140145826
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, r13
lea rcx, [rbp - 0x31]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rcx, rax
call fcn.14016fa30
mov rdx, r13
lea rcx, [rbp - 0x31]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rcx, rax
call fcn.140145c80
mov ebx, eax
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x41]
jmp 0x140145aa4
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, r13
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
jmp 0x140145adb
mov rdx, r13
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov edx, 1
mov rcx, rax
call fcn.140147560
test eax, eax
jne 0x140145aae
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rdx, r13
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea r8, str._BAD.
lea rdx, [0x1402cf77c]
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
lea rcx, [rbp - 0x41]
call fcn.140146150
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r15, qword [rbp - 0x41]
lea rax, [rbp - 0x31]
mov qword [rbp - 0x21], rax
lea rdx, str.and_a_new_database_will_be_created
lea rcx, [rbp - 0x31]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str.New_Database
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x49]
lea rcx, [0x1403c4780]
call fcn.14015c950
nop
mov rsi, qword [rax]
mov r14, qword [rbp + 0x6f]
lea rax, [rbp - 0x19]
mov qword [rbp - 0x29], rax
lea rdx, str.the_file_will_be_renamed
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str.File_Renamed
lea rcx, [rbp - 0x11]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r9, rbx
mov r8, rax
lea rdx, [rbp + 0xf]
lea rcx, [0x1403c4780]
call fcn.14015c950
nop
mov rbx, qword [rax]
mov rdi, qword [r13]
lea rax, [rbp - 9]
mov qword [rbp - 0x29], rax
lea rdx, str.Unrecognized_Database_Format
lea rcx, [rbp - 9]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov r12, rax
lea rdx, str.Database_Format
lea rcx, [rbp - 1]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r9, r12
mov r8, rax
lea rdx, [rbp + 7]
lea rcx, [0x1403c4780]
call fcn.14015c950
nop
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov r9, rdi
mov r8, qword [rax]
lea rdx, str._s___s___n_s___s___n_s__n__s_
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
nop
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0xf]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
xor r8d, r8d
xor edx, edx
call sub.mfc140u.dll_AfxInitNetworkAddressControl
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rbx, rax
mov rcx, r13
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call sub.mfc140u.dll_CMemFile::Realloc
lea rdx, [rbp - 0x41]
mov rcx, r13
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rdx, r13
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rcx, rax
call fcn.140145c80
mov ebx, eax
mov rdx, r13
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rcx, rax
call fcn.14016fa30
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
je 0x140145ac5
mov rdx, r13
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rcx, rax
call fcn.140146340
mov ebx, eax
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, r13
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret