Function at 0x14001e160
Capabilities:
Delete file
Get common file path

Disassembly:
jmp 0x14001e160
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6b8]
sub rsp, 0x790
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003c008]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov rsi, rcx
lea rax, [fcn.14001ec50]
mov qword [0x140041ab0], rax
add rcx, 0xac0
mov edx, 1
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0x9d8]
mov edx, 1
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0x1b0]
mov edx, 1
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0xba8]
mov edx, 1
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0x8f0]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0x808]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
xor edx, edx
lea rcx, [rsi + 0xe60]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
xor edx, edx
lea rcx, [rsi + 0xd78]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0xc90]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0x638]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0x550]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0x720]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0xf48]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0x468]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x12c
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
mov r8d, 0x12a
lea rcx, [rsi + 0xe60]
call qword [sym.imp.mfc140u.dll_CMFCOutlookBarTabCtrl::GetMessageMap]
or edx, 0xffffffff
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
mov rdx, qword [rax]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XImage::XImage]
cmp byte [rsp + 0x60], 0
jne 0x14001e35d
mov rdi, qword [rsi + 0x40]
mov edx, 0xfffffffa
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
mov r9d, 0x12c
lea r8, [rbp + 0x90]
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringA]
mov r9d, 0x12c
lea r8, [rbp + 0x1c0]
mov edx, 0xe726
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x1c0]
jmp 0x14001e422
mov edx, 0x12c
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
mov r8d, 0x12a
lea rcx, [rsi + 0xd78]
call qword [sym.imp.mfc140u.dll_CMFCOutlookBarTabCtrl::GetMessageMap]
or edx, 0xffffffff
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
mov rdx, qword [rax]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XImage::XImage]
cmp byte [rbp + 0x2f0], 0
jne 0x14001e458
mov rdi, qword [rsi + 0x40]
mov edx, 0xfffffffa
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
mov r9d, 0x12c
lea r8, [rbp + 0x1c0]
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringA]
mov r9d, 0x12c
lea r8, [rbp + 0x90]
mov edx, 0xe729
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rbp + 0x1c0]
lea rdx, [rbp + 0x90]
mov r9d, 0x10
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [0x140041aa4], 0
je 0x14001e666
cmp dword [0x140041c48], 0
jne 0x14001e666
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x14001e666
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rbx
lea ecx, [rbx + 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov r13, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001e4af
mov word [rax], bx
mov qword [rax + 8], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x14001e4b2
inc eax
movsxd rcx, eax
call qword [sym.imp.mfc140u.dll_operator_1]
mov qword [r13 + 8], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x14001e4b2
mov r13, rbx
mov edx, 1
mov rcx, r13
call fcn.14002a380
mov r15, rax
test rax, rax
jne 0x14001e4d3
lea rdx, str.Unable_to_open_source_file.
jmp 0x14001e650
mov ecx, 0x10
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov r12, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001e525
mov word [rax], bx
mov qword [rax + 8], rbx
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x14001e528
inc eax
movsxd rcx, eax
call qword [sym.imp.mfc140u.dll_operator_1]
mov qword [r12 + 8], rax
lea rdx, [rbp + 0x2f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x14001e528
mov r12, rbx
mov edx, 1
mov rcx, r12
call fcn.14002a380
test rax, rax
je 0x14001e5d5
mov rcx, rax
call fcn.14002a1e0
mov rdi, qword [rsi + 0x40]
mov edx, 0xfffffffa
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
mov r9d, 0x12c
lea r8, [rbp + 0x1c0]
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringA]
mov r9d, 0x12c
lea r8, [rbp + 0x90]
mov edx, 0xe72c
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringA]
mov r9d, 0x14
lea r8, [rbp + 0x1c0]
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, eax
cmp dword [0x140041aa4], 0
je 0x14001e5ca
cmp dword [0x140041c48], 0
jne 0x14001e5ca
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
cmp ebx, 7
je 0x14001e666
xor ebx, ebx
mov edx, 0xb
mov rcx, r12
call fcn.14002a380
mov rdi, rax
test rax, rax
jne 0x14001e5f3
lea rdx, str.Unable_to_create_destination_file.
jmp 0x14001e650
lea rdx, [rbp + 0x420]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r9, [rbp + 0x550]
xor r8d, r8d
lea rdx, [0x140031f28]
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea rcx, [rbp + 0x550]
call fcn.14002a700
mov qword [rsp + 0x50], rax
mov edx, 0xb
mov rcx, rax
call fcn.14002a380
mov r14, rax
test rax, rax
jne 0x14001e677
lea rdx, str.Unable_to_convert_file.
mov r9d, 0x40
lea r8, str.Spell_Utility
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonStatusBar::LoadState]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x318]
jmp case.default.0x14001e6c1
mov dword [rsi + 0x1034], 1
mov dword [rsi + 0x1a8], ebx
inc dword [0x140041c48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rsi + 0xf88]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 8
ja case.default.0x14001e6c1
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x1eab0]
add rcx, rdx
jmp rcx
mov r8, r14
lea rcx, [rsp + 0x60]
call fcn.140023c40
movzx ebx, ax
test ebx, ebx
jne 0x14001e8dc
mov rdx, rdi
mov rcx, r14
call fcn.14000bf70
movzx ebx, ax
jmp 0x14001e8dc
mov rcx, rdi
call fcn.140026d80
test eax, eax
jle 0x14001e717
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400242a0
movzx ebx, ax
mov rcx, rdi
call fcn.140026e50
jmp 0x14001e8dc
mov ebx, 0x6a
jmp 0x14001e8dc
mov edx, 1
mov r8, r14
mov rcx, r15
call fcn.1400248b0
jmp 0x14001e6d0
mov edx, 2
mov r8, r14
mov rcx, r15
call fcn.1400248b0
jmp 0x14001e6d0
mov edx, 4
mov r8, r14
mov rcx, r15
call fcn.1400248b0
jmp 0x14001e6d0
mov rdx, rdi
mov rcx, r15
call fcn.1400239e0
jmp 0x14001e6e6
mov rdx, rdi
mov rcx, r15
call fcn.1400239e0
movzx ebx, ax
test ebx, ebx
jne 0x14001e8dc
mov rcx, rdi
call fcn.14002a1e0
xor edi, edi
lea r9d, [rbx + 3]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.wtli.dll_wsupOpenFile]
cmp eax, 0x10b
jne 0x14001e7cb
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.wtli.dll_wsupConvertData]
neg eax
sbb ebx, ebx
and ebx, 0x6b
jmp 0x14001e7d0
mov ebx, 0x6b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.wtli.dll_wsupClose]
jmp 0x14001e8dc
mov edx, 9
mov r8, r14
mov rcx, r15
call fcn.1400248b0
movzx ebx, ax
test ebx, ebx
jne 0x14001e8dc
mov rcx, rdi
call fcn.14002a1e0
xor edi, edi
lea r9d, [rbx + 3]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.wtli.dll_wsupCreateFile]
test eax, eax
jne 0x14001e7cb
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140023b20
movzx ebx, ax
test ebx, ebx
jne 0x14001e7d0
mov r8, qword [rsp + 0x30]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1400225e0
xor ecx, ecx
mov ebx, 0x6b
test eax, eax
cmove ecx, ebx
mov ebx, ecx
jmp 0x14001e7d0
mov rcx, r15
call fcn.14002a1e0
mov r15, rbx
mov r9d, 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.wtli.dll_wsupOpenFile]
mov ebx, eax
test eax, eax
jne 0x14001e8d7
mov rcx, rdi
call fcn.140026d80
test eax, eax
jle 0x14001e8c2
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call fcn.140022820
mov ebx, 0x6b
test eax, eax
cmovne eax, ebx
mov ebx, eax
mov rcx, rdi
call fcn.140026e50
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.wtli.dll_wsupClose]
jmp 0x14001e8dc
mov ebx, 0x6b
dec dword [0x140041c48]
mov ecx, 0x64
mov r8d, ecx
lea rdx, [0x140031f60]
call fcn.14001ec50
mov rcx, r14
call fcn.14002a1e0
test rdi, rdi
je 0x14001e90b
mov rcx, rdi
call fcn.14002a1e0
test r15, r15
je 0x14001e918
mov rcx, r15
call fcn.14002a1e0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rdi
call fcn.14002a780
mov rcx, r13
call fcn.14002a780
mov rcx, r12
call fcn.14002a780
mov edx, ebx
mov rcx, qword [rsi + 0x40]
call fcn.140020fa0
mov dword [rsi + 0x1034], 0
xor edx, edx
lea rcx, [rsi + 0xac0]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
xor edx, edx
lea rcx, [rsi + 0x9d8]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
xor edx, edx
lea rcx, [rsi + 0x1b0]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
xor edx, edx
lea rcx, [rsi + 0xba8]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0x8f0]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0x808]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0xe60]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0xd78]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0xc90]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0x638]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0x550]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0x720]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0xf48]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 1
lea rcx, [rsi + 0x468]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
mov rcx, qword [rsi + 0x3c0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
mov rcx, qword [rsi + 0x2d8]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.14002c160
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret