Function at 0x1402b8818
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
mov qword [rbp + 0xf], rcx
lea rdx, str.AcSbPlotStatus
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
lea rdx, [rbp - 0x19]
mov rcx, rsi
call sym.ACAD.exe_public:_void___cdecl_AcTrayItem::constructor_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____ptr64____ptr64
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rax, vtable.CAcPlotTrayItem.0
mov qword [rsi], rax
lea rax, vtable.CAcPlotTrayItem.1.0
mov qword [rsi + 0xd8], rax
lea r14, [rsi + 0xf8]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea r15, [rsi + 0x100]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.AcPal.dll_public:_void___cdecl_Autodesk::AutoCAD::PAL::ManageMFCAppState::constructor_void____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call fcn.1400408e0
nop
mov edx, 0x94e
lea rcx, [rbp - 0x11]
call qword [sym.imp.adui24.dll_public:_void___cdecl_CAdUiRmId::constructor_unsigned_int____ptr64]
nop
lea rcx, [rbp - 0x11]
call qword [sym.imp.adui24.dll_public:_static_struct_HICON______ptr64___cdecl_CAdUiRm::Icon_class_CAdUiRmId_const____ptr64_]
mov qword [rsi + 0x120], rax
lea rcx, [rbp - 0x11]
call qword [sym.imp.adui24.dll_public:_void___cdecl_CAdUiRmId::destructor_void____ptr64]
mov edx, 0x94d
lea rcx, [rbp - 0x11]
call qword [sym.imp.adui24.dll_public:_void___cdecl_CAdUiRmId::constructor_unsigned_int____ptr64]
nop
lea rcx, [rbp - 0x11]
call qword [sym.imp.adui24.dll_public:_static_struct_HICON______ptr64___cdecl_CAdUiRm::Icon_class_CAdUiRmId_const____ptr64_]
mov qword [rsi + 0x128], rax
lea rcx, [rbp - 0x11]
call qword [sym.imp.adui24.dll_public:_void___cdecl_CAdUiRmId::destructor_void____ptr64]
mov edi, 0x40
mov dword [rsp + 0x28], edi
lea r9d, [rdi - 0x30]
mov dword [rsp + 0x20], r9d
mov edx, AfxOleLockControl
lea r8d, [rdi - 0x3f]
mov rcx, qword [0x1404b7340]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsi + 0xf0], rax
mov rdx, rax
mov rcx, rsi
call sym.ACAD.exe_public_virtual:_int___cdecl_AcStatusBarItem::SetIcon_struct_HICON______ptr64____ptr64
mov ecx, edi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1402b8985
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call sym.ACAD.exe_public:_void___cdecl_AcTrayItemAnimationControl::constructor_void____ptr64
nop
mov qword [rsi + 0xe0], rax
mov edx, AfxOleUnlockControl
mov r8d, 0xa
mov rcx, qword [0x1404b7340]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1402b89c6
lea rcx, [rbp + 0x17]
call qword [sym.imp.AcPal.dll_public:_bool___cdecl_Autodesk::AutoCAD::PAL::AcRxResourceInstanceImp::setAsGlobalResource_void_const___ptr64]
lea rcx, [rbp + 0x17]
call qword [sym.imp.AcPal.dll_public:_void___cdecl_Autodesk::AutoCAD::PAL::AcRxResourceInstanceImp::destructor_void____ptr64]
nop
jmp 0x1402b8aa0
mov rdx, rbx
mov rcx, qword [0x1404b7340]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
mov rdx, rbx
mov rcx, qword [0x1404b7340]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
call qword [sym.imp.accore.dll_class_AcApStatusBar____ptr64___cdecl_acedGetApplicationStatusBar_void_]
mov qword [rsi + 0x118], rax
mov rcx, qword [rax]
mov r9, qword [rcx + 0x30]
mov r8d, 1
mov rdx, rsi
mov rcx, rax
call r9
mov rcx, qword [rsi + 0x118]
mov rdx, qword [rcx]
call qword [rdx + 0x40]
mov rax, qword [rsi + 0xe0]
mov qword [rax + 8], rdi
mov dword [rax + 0x10], ebx
mov rax, qword [rsi + 0xe0]
and dword [rax + 0x20], 0
mov rax, qword [rsi + 0xe0]
lea rcx, [0x1402c05bc]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rsi
and qword [rsi + 0xe8], 0
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
and dword [rsi + 0x108], 0
mov byte [rsi + 0x10c], 0
or dword [rsi + 0x110], 0xffffffff
mov dword [rsi + 0x130], 0x10000
and word [rsi + 0x134], 0
lea rcx, [rbp + 0x17]
call qword [sym.imp.AcPal.dll_public:_bool___cdecl_Autodesk::AutoCAD::PAL::AcRxResourceInstanceImp::setAsGlobalResource_void_const___ptr64]
lea rcx, [rbp + 0x17]
call qword [sym.imp.AcPal.dll_public:_void___cdecl_Autodesk::AutoCAD::PAL::AcRxResourceInstanceImp::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.AcPal.dll_public:_void___cdecl_Autodesk::AutoCAD::PAL::ManageMFCAppState::destructor_void____ptr64]
nop
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret