Function at 0x140023000
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov r15, rcx
lea rdx, [rcx + 0x1f8]
mov r8d, 1
lea rcx, [rsp + 0x60]
call sub.mfc140u.dll_CRibbonCategoryScroll::CRibbonCategoryScroll
nop
lea rdx, [rsp + 0x160]
mov rcx, r15
call fcn.1400232e0
nop
xor edx, edx
mov rcx, qword [rsp + 0x160]
call fcn.14009cff0
test eax, eax
je 0x1400232b2
xor r8d, r8d
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x78]
call sub.mfc140u.dll_CDynLinkLibrary::CDynLinkLibrary
nop
xor r13d, r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x1000
lea r8d, [r13 + 1]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xa0]
call sub.mfc140u.dll_CAppDestinations::CAppDestinations
nop
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x158], r13d
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0xa0]
call fcn.14000a800
mov r9d, dword [rsp + 0x158]
cmp r9d, 1
je 0x140023118
mov dword [rsp + 0x20], 1
lea r8, str.GW_Trigger_Queue_invalid_serial_ver__d__expecting__d
lea edx, [r13 + 1]
mov rcx, r15
call fcn.140022f10
nop
lea rcx, [rsp + 0xa0]
call sub.mfc140u.dll__AFX_D2D_STATE::_AFX_D2D_STATE
nop
lea rcx, [rsp + 0x78]
call sub.mfc140u.dll_CDockingManager::CDockingManager
nop
lea rcx, [rsp + 0x160]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x60]
call sub.mfc140u.dll_CUserTool::SetToolIcon
jmp 0x1400232cb
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xa0]
call fcn.140022d40
mov rbx, r13
mov qword [rsp + 0x48], rbx
mov r12, qword [rsp + 0x40]
cmp rbx, r12
jge 0x140023273
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.140006680
mov qword [rsp + 0x168], r13
lea rdx, str.PythonTriggerRunInfo
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
jne 0x1400231a8
mov ecx, 0x3a0
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov qword [rsp + 0x158], rax
test rax, rax
je 0x1400231a0
mov rcx, rax
call fcn.140020c30
mov rcx, rax
jmp 0x1400231a3
mov rcx, r13
mov rsi, rcx
jmp 0x1400231cf
mov ecx, operator
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400231c9
mov rcx, rax
call fcn.140024160
mov rcx, rax
jmp 0x1400231cc
mov rcx, r13
mov rsi, rcx
mov qword [rsp + 0x168], rcx
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
call qword [rax + 0x50]
mov qword [rsp + 0x30], r13
lea r8, [rsp + 0x30]
movzx edx, word [rsi + 0x80]
lea rcx, [r15 + 0x230]
call sub.mfc140u.dll_CMFCToolBarButton::IsFirstInGroup
test eax, eax
jne 0x140023248
lea ecx, [rax + 0x38]
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002322a
mov edx, 0xa
mov rcx, rax
call fcn.140022b20
mov rdi, rax
jmp 0x14002322d
mov rdi, r13
mov qword [rsp + 0x30], rdi
movzx edx, word [rsi + 0x80]
lea rcx, [r15 + 0x230]
call sub.mfc140u.dll_Ordinal_1638
mov qword [rax], rdi
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x30]
call fcn.140022f70
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
inc rbx
mov qword [rsp + 0x48], rbx
jmp 0x140023137
mov r9, r12
lea r8, str.GW_Trigger_Queue_read__d_items_from_disk
mov edx, 3
mov rcx, r15
call fcn.140022f10
nop
lea rcx, [rsp + 0xa0]
call sub.mfc140u.dll__AFX_D2D_STATE::_AFX_D2D_STATE
nop
lea rcx, [rsp + 0x78]
call sub.mfc140u.dll_CDockingManager::CDockingManager
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x160]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x60]
call sub.mfc140u.dll_CUserTool::SetToolIcon
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret