Function at 0x14024031c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp ecx, 2
jne 0x140240356
call fcn.1400440f0
xor eax, eax
jmp 0x1402404f6
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.adhostableui.dll_public:_void___cdecl_AdHostTaskDialog::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x38]
call fcn.1402417f8
xor esi, esi
test al, al
je 0x1402404df
lea rax, str.Prodname
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov qword [rbp - 0x18], rax
call qword [sym.imp.adhostableui.dll_public:_static_wchar_t____ptr64___cdecl_AdHostTaskDialog::getTaskDialogSource_void_]
mov rdx, rax
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x20]
lea r8, str.AutoCAD.OfflineHelpNotInstalled
lea rcx, [rbp - 0x30]
call qword [sym.imp.adhostableui.dll_public_virtual:_bool___cdecl_AdHostTaskDialog::loadFromFile_wchar_t_const____ptr64__wchar_t_const____ptr64__struct_AdHostTaskDialogKeyValue_const____ptr64__int____ptr64]
test al, al
je 0x1402404df
xor edx, edx
lea rcx, [rbp - 0x40]
call qword [sym.imp.AcPal.dll_public:_void___cdecl_Autodesk::AutoCAD::PAL::WindowingSystem::WindowHandle::constructor_void____ptr64____ptr64]
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.adhostableui.dll_public_virtual:_int___cdecl_AdHostTaskDialog::showDialog_class_Autodesk::AutoCAD::PAL::WindowingSystem::WindowHandle_const____ptr64____ptr64]
mov ebx, eax
lea rcx, [rbp - 0x40]
call qword [sym.imp.AcPal.dll_public:_void___cdecl_Autodesk::AutoCAD::PAL::WindowingSystem::WindowHandle::destructor_void____ptr64]
cmp ebx, 0x3e9
jne 0x140240405
call fcn.140241cf4
jmp 0x1402404df
cmp ebx, 0x3ea
jne 0x14024041c
mov cl, 1
call fcn.140240b40
or esi, 0xffffffff
jmp 0x1402404df
cmp ebx, 0x3eb
jne 0x1402404df
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x40]
call fcn.140241384
test al, al
je 0x1402404d4
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
inc eax
movsxd rdi, eax
add rdi, rdi
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
mov r8, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.accore.dll_struct_HWND______ptr64___cdecl_AcadGetCurrentDwgView_void_]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1402404d4
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1402404d4
mov rdx, r14
mov ecx, SafeArrayDestroy
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x1402404cd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.adhostableui.dll_public_virtual:_void___cdecl_AdHostTaskDialog::destructor_void____ptr64]
mov eax, esi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret