Function at 0x140227220
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xa0
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14d, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rbp + 0x7f]
mov qword [rcx + 0x170], rax
mov qword [rcx + 0x160], r9
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
lea rcx, [rbp + 0x1f]
call qword [sym.imp.accore.dll_public:_void___cdecl_CAcedInetProxy::constructor_void____ptr64]
nop
mov rdx, rbx
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
nop
lea rdx, [rbp + 7]
lea rcx, [rbp + 0xf]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
nop
xor r8d, r8d
lea rdx, [0x14039bdd8]
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
mov ebx, eax
test eax, eax
jle 0x1402273a0
lea r8d, [rax + 1]
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::LoadState]
nop
mov r8d, ebx
lea rdx, [rbp - 1]
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CPngImage::LoadFromBuffer]
mov rdx, rax
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 1]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
lea r8, [rbp + 0xf]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.accore.dll_public:_bool___cdecl_CAcedInetProxy::CreateCacheEntry_wchar_t_const____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64____ptr64]
test al, al
je 0x14022734e
lea rcx, [rbp + 0xf]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rbx, rax
lea rcx, [rbp + 0x17]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14022734e
lea rcx, [rbp + 0x17]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1402273fc
lea rcx, [rbp + 0x17]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor ebx, ebx
lea rcx, [rbp + 0xf]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x1f]
call qword [sym.imp.accore.dll_public:_void___cdecl_CAcedInetProxy::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.acdb24.dll_class_AcDbHostApplicationServices____ptr64___cdecl_acdbHostApplicationServices_void_]
nop
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x1b0]
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
mov rcx, rdi
call rbx
test al, al
je 0x1402273fc
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rbp + 0xf]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.accore.dll_public:_bool___cdecl_CAcedInetProxy::TransferFile_wchar_t_const____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64__int__int____ptr64____ptr64]
test al, al
je 0x140227358
lea rcx, [rbp + 0xf]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140227358
test al, 0x10
jne 0x140227358
lea rdx, [rbp + 0xf]
lea rcx, [0x1404b69d8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
test r14d, r14d
setne bl
lea rcx, [rbp + 0xf]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov byte [rsp + 0x28], bl
mov ebx, 1
mov byte [rsp + 0x20], bl
xor r9d, r9d
mov r8b, bl
call fcn.14006ec60
test rax, rax
je 0x140227358
mov rcx, qword [rsi + 0x170]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsi + 0x170]
mov rax, qword [rsi + 0x168]
mov qword [rcx + 0x18], rax
and qword [rsi + 0x168], 0
and qword [rsi + 0x160], 0
jmp 0x14022735a