Function at 0x140005350
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6c00]
mov eax, 0x6d00
call fcn.14000db30
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x6d38], rbx
mov qword [rsp + 0x6d40], rsi
mov qword [rsp + 0x6d48], rdi
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rbp + 0x6bf0], rax
mov r15, rcx
mov qword [rbp - 0x50], rcx
xor eax, eax
mov dword [rsp + 0x54], eax
mov byte [rsp + 0x78], al
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x7c], al
mov byte [rsp + 0x52], 1
xor sil, sil
mov byte [rsp + 0x51], al
mov dword [rsp + 0x58], eax
mov r13d, eax
mov r14d, eax
mov r12d, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x38], rax
lea rcx, [rbp + 0x10]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [r15 + 0x6e0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
lea edi, [r12 + 1]
test eax, eax
jle 0x14000551a
mov rcx, r15
call qword [sym.imp.mfc140u.dll_Ordinal_2514]
lea rcx, [r15 + 0x6a0]
lea r8, [rbp + 0x10]
mov edx, ebx
call qword [sym.imp.mfc140u.dll_CMFCMenuBar::GetHelpCombobox]
cmp ebx, edi
jne 0x140005444
lea rdx, [0x140010806]
lea rcx, [rbp - 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
mov ebx, edi
jmp 0x140005458
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
nop
mov ebx, 2
mov dword [rsp + 0x54], ebx
lea r8, [rbp - 0x38]
mov rdx, qword [rax]
call fcn.140007db0
test al, al
sete dil
test bl, 2
je 0x140005485
and ebx, 0xfffffffd
mov dword [rsp + 0x54], ebx
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
test bl, 1
je 0x140005494
lea rcx, [rbp - 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test dil, dil
je 0x140005511
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x7f
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x7a
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov r9d, 0x30
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x40]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonStatusBar::LoadState]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCColorMenuButton::EnableAutomaticButton]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400054fd
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x40]
jmp 0x140006557
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCColorMenuButton::EnableAutomaticButton]
mov rdi, qword [rbp + 0x10]
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14000556c
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov eax, 1
mov dword [rbx + 0x10], eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14000556e
test rdi, rdi
je 0x14000556e
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
xor ebx, ebx
test rbx, rbx
jne 0x14000557e
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp - 0x68], rax
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400055d4
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400055b0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400055c7
call qword [sym.imp.mfc140u.dll_operator]
mov qword [rbx + 8], 0
mov edx, 0x18
mov rcx, rbx
call fcn.14000c2f4
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [r15 + 0x7c8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp eax, 0xffffffff
jne 0x140005620
mov edx, dword [r15 + 0xb64]
mov ebx, edx
lea rcx, [r15 + 0x788]
mov r9d, 2
mov r8d, r9d
call qword [sym.imp.mfc140u.dll_CMFCEditBrowseCtrl::SetBrowseButtonImage]
cmp ebx, 0xffffffff
je 0x14000648f
lea rcx, [r15 + 0x788]
mov edx, ebx
call qword [sym.imp.mfc140u.dll_CPaneContainerManager::GetFirstPane]
mov rsi, rax
mov rdi, qword [rax]
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rsp + 0x68], rax
xor r14d, r14d
lea r12d, [r14 + 1]
test rax, rax
je 0x140005686
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov dword [rbx + 0x10], r12d
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140005689
test rdi, rdi
je 0x140005689
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
mov rbx, r14
test rbx, rbx
jne 0x140005699
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x70], rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x1400056e4
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400056c4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400056d7
call qword [sym.imp.mfc140u.dll_operator]
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.14000c2f4
mov rdi, qword [rsi + 8]
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140005732
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov dword [rbx + 0x10], r12d
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140005735
test rdi, rdi
je 0x140005735
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
mov rbx, r14
test rbx, rbx
jne 0x140005745
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x78], rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140005790
mov rcx, qword [rbx]
test rcx, rcx
je 0x140005770
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140005783
call qword [sym.imp.mfc140u.dll_operator]
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.14000c2f4
mov rdi, qword [rsi + 0x18]
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rsp + 0x68], rax
mov esi, 1
test rax, rax
je 0x1400057e2
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov dword [rbx + 0x10], esi
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1400057e5
test rdi, rdi
je 0x1400057e5
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
mov rbx, r14
test rbx, rbx
jne 0x1400057f5
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12, rax
mov qword [rsp + 0x70], rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140005844
mov rcx, qword [rbx]
test rcx, rcx
je 0x140005824
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140005837
call qword [sym.imp.mfc140u.dll_operator]
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.14000c2f4
lea rcx, [r15 + 0x300]
lea rdx, [r15 + 0xb58]
call qword [sym.imp.mfc140u.dll_CMFCOutlookBarToolBar::GetMessageMap]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x6f
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov rdx, qword [rbp + 0x28]
lea rcx, [r15 + 0xb58]
call qword [sym.imp.mfc140u.dll_CFileFind::CloseContext]
test eax, eax
je 0x140005939
mov rdi, qword [r15 + 0xb58]
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400058db
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov dword [rbx + 0x10], esi
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1400058de
test rdi, rdi
je 0x1400058de
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
mov rbx, r14
test rbx, rbx
jne 0x1400058ee
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x80], rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140005939
mov rcx, qword [rbx]
test rcx, rcx
je 0x140005919
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000592c
call qword [sym.imp.mfc140u.dll_operator]
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.14000c2f4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [r15 + 0x998]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov qword [rsp + 0x68], rax
xor edx, edx
mov r8d, 0x308
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov edx, ebx
lea rcx, [rbp + 0x80]
call fcn.14000ae20
nop
mov r13d, r14d
test ebx, ebx
jle 0x14000643c
nop word [rax + rax]
cmp byte [rbp + 0x380], 0
jne 0x140006437
mov edx, r13d
lea rcx, [r15 + 0x958]
call qword [sym.imp.mfc140u.dll_CPaneContainerManager::GetFirstPane]
mov r12, rax
mov qword [rsp + 0x60], rax
mov r8, qword [rax]
mov rdx, qword [rax + 8]
lea rcx, [rbp + 0x390]
call fcn.140002210
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140005a2b
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0xc8]
test eax, eax
je 0x140005a21
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400059e8
jmp 0x140005a2b
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x140005a4b
mov ebx, r14d
nop
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov edx, ebx
call qword [rax + 0xd0]
inc ebx
test eax, eax
jne 0x140005a30
lea rdx, [rbp + 0x390]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::SetOrigButtons]
xor r9d, r9d
xor r8d, r8d
mov edx, CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
mov rcx, qword [rbp + 0x2d8]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp word [rbp + 0x390], 0
jne 0x140005a8b
mov word [rbp + reloc.mfc140u.dll_ControlBarCleanUp], r14w
jmp 0x140005aed
lea rdx, [rbp + 0x2bf0]
lea rcx, [rbp + 0x390]
call fcn.140002400
lea rcx, [rbp + 0x2bf0]
or rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140005ab0
lea r8, [rbp + 0x390]
lea r8, [r8 + rax*2]
cmp word [r8], 0x5c
jne 0x140005adb
nop dword [rax]
add r8, 2
cmp word [r8], 0x5c
je 0x140005ad0
mov edx, 0x400
lea rcx, [rbp + reloc.mfc140u.dll_ControlBarCleanUp]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x2e
lea rcx, [rbp + reloc.mfc140u.dll_ControlBarCleanUp]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
test rax, rax
je 0x140005b51
lea r8, [rax + 2]
mov edx, 0x400
lea rcx, [rbp + 0x33f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2 + 2], 0
jne 0x140005b21
test ecx, ecx
je 0x140005b51
lea rdx, [0x140010808]
lea rcx, [rbp + 0x33f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
sete al
test al, al
jne 0x140005cf9
cmp word [rbp + 0x390], 0
jne 0x140005b65
mov word [rbp + 0x13f0], r14w
jmp 0x140005bbd
lea rdx, [rbp + 0x3bf0]
lea rcx, [rbp + 0x390]
call fcn.140002400
lea rcx, [rbp + 0x3bf0]
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140005b83
lea r8, [rbp + 0x390]
lea r8, [r8 + rax*2]
cmp word [r8], 0x5c
jne 0x140005bab
add r8, 2
cmp word [r8], 0x5c
je 0x140005ba0
mov edx, 0x400
lea rcx, [rbp + 0x13f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x2e
lea rcx, [rbp + 0x13f0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
test rax, rax
je 0x140005c21
lea r8, [rax + 2]
mov edx, 0x400
lea rcx, [rbp + 0x43f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2 + 2], 0
jne 0x140005bf1
test ecx, ecx
je 0x140005c21
lea rdx, [0x140010810]
lea rcx, [rbp + 0x43f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
sete al
test al, al
jne 0x140005cf9
cmp word [rbp + 0x390], 0
jne 0x140005c35
mov word [rbp + 0x1bf0], r14w
jmp 0x140005c8d
lea rdx, [rbp + 0x4bf0]
lea rcx, [rbp + 0x390]
call fcn.140002400
lea rcx, [rbp + 0x4bf0]
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140005c53
lea r8, [rbp + 0x390]
lea r8, [r8 + rax*2]
cmp word [r8], 0x5c
jne 0x140005c7b
add r8, 2
cmp word [r8], 0x5c
je 0x140005c70
mov edx, 0x400
lea rcx, [rbp + 0x1bf0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x2e
lea rcx, [rbp + 0x1bf0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
test rax, rax
je 0x140005d9a
lea r8, [rax + 2]
mov edx, 0x400
lea rcx, [rbp + 0x53f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2 + 2], 0
jne 0x140005cc5
test ecx, ecx
je 0x140005d9a
lea rdx, [0x140010818]
lea rcx, [rbp + 0x53f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
sete al
test al, al
je 0x140005d9a
lea rcx, [rbp + 0x390]
call fcn.14000a290
test eax, eax
jne 0x140005d9a
lea rax, str.PathAndFilename
mov qword [rbp + 0xb90], rax
lea rax, [rbp + 0x390]
mov qword [rbp + 0xb98], rax
xor eax, eax
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.AdApplicationFrame.dll_public:_void___cdecl_AdTaskDialog::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], esi
lea r9, [rbp + 0xb90]
lea r8, str.DigitalSignatures.UnsupportedDrawingFormat
lea rdx, str._AcTaskDialogs_component_TaskDialogs.xaml
lea rcx, [rbp - 0x28]
call qword [sym.imp.AdApplicationFrame.dll_public:_int___cdecl_AdTaskDialog::LoadFromFile_wchar_t_const____ptr64__wchar_t_const____ptr64__struct_TASKDIALOG_KEYVALUE_const____ptr64__int____ptr64]
test eax, eax
je 0x140005d8b
lea rdx, [0x140005320]
lea rcx, [rbp - 0x28]
call qword [sym.imp.AdApplicationFrame.dll_public:_int___cdecl_AdTaskDialog::SetCallback_bool____cdecl___class_AdActiveTaskDialog____ptr64__struct_AdTaskDialogEventArgs_const____ptr64__long_long___int64______ptr64]
mov rdx, qword [r15 + 0x40]
lea rcx, [rbp - 0x28]
call qword [sym.imp.AdApplicationFrame.dll_public:_int___cdecl_AdTaskDialog::ShowDialog_struct_HWND______ptr64____ptr64]
cmp eax, 0x3e9
jne 0x14000640f
lea rcx, [rbp - 0x28]
call qword [sym.imp.AdApplicationFrame.dll_public:_void___cdecl_AdTaskDialog::destructor_void____ptr64]
jmp 0x140006400
xor r14b, r14b
cmp word [rbp + 0x390], 0
jne 0x140005dac
or eax, 0xffffffff
jmp 0x140005db9
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x140005f31
mov r14d, dword [rsp + 0x78]
test r14b, r14b
je 0x140005e1e
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x80
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov r9, qword [rbp - 0x10]
mov r8d, 3
mov edx, r13d
lea rcx, [r15 + 0x958]
call qword [sym.imp.mfc140u.dll_CTagManager::SetBuffer]
lea rcx, [r12 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1400063fd
cmp byte [rsp + 0x50], 0
je 0x140005f2e
lea rax, str.FullPathToFileName
mov qword [rbp + 0xba0], rax
lea rax, [rbp + 0x390]
mov qword [rbp + 0xba8], rax
lea rax, str.FileName
mov qword [rbp + 0xbb0], rax
mov rax, qword [r12]
mov qword [rbp + 0xbb8], rax
xor eax, eax
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.AdApplicationFrame.dll_public:_void___cdecl_AdTaskDialog::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 2
lea r9, [rbp + 0xba0]
lea r8, str.AcSignApply.DigitalSignatureReadOnlyFile
lea rdx, str._AcTaskDialogs_component_TaskDialogs.xaml
lea rcx, [rbp - 0x20]
call qword [sym.imp.AdApplicationFrame.dll_public:_int___cdecl_AdTaskDialog::LoadFromFile_wchar_t_const____ptr64__wchar_t_const____ptr64__struct_TASKDIALOG_KEYVALUE_const____ptr64__int____ptr64]
test eax, eax
je 0x140005f19
xor eax, eax
mov ebx, eax
call qword [sym.imp.mfc140u.dll_AfxFullPath]
test rax, rax
je 0x140005ec2
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf8]
test rax, rax
je 0x140005ec2
mov rbx, qword [rax + 0x40]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call qword [sym.imp.AdApplicationFrame.dll_public:_int___cdecl_AdTaskDialog::ShowDialog_struct_HWND______ptr64____ptr64]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
je 0x140005f14
cmp rcx, 0x3e9
je 0x140005f19
cmp rcx, 0x3ea
je 0x140005f0d
movzx r14d, r14b
cmp rcx, 0x3ec
cmove r14d, esi
mov dword [rsp + 0x78], r14d
lea rcx, [rbp - 0x20]
call qword [sym.imp.AdApplicationFrame.dll_public:_void___cdecl_AdTaskDialog::destructor_void____ptr64]
jmp 0x1400063fd
mov byte [rsp + 0x50], 0
jmp 0x140005f19
mov byte [rsp + 0x51], 1
lea rcx, [rbp - 0x20]
call qword [sym.imp.AdApplicationFrame.dll_public:_void___cdecl_AdTaskDialog::destructor_void____ptr64]
cmp byte [rsp + 0x51], 0
jne 0x140006437
mov r14b, 1
xor ebx, ebx
mov esi, ebx
mov rax, qword [0x140019d30]
cmp dword [rax - 0x10], ebx
je 0x140006069
lea rcx, [0x140019d30]
xor r15d, r15d
lea r12, [0x140019d30]
nop word [rax + rax]
mov rbx, qword [rcx]
cmp word [rbp + 0x390], r15w
jne 0x140005f77
mov word [rbp + 0x23f0], r15w
jmp 0x140005fcf
lea rdx, [rbp + 0x5bf0]
lea rcx, [rbp + 0x390]
call fcn.140002400
lea rcx, [rbp + 0x5bf0]
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], r15w
jne 0x140005f95
lea r8, [rbp + 0x390]
lea r8, [r8 + rax*2]
cmp word [r8], 0x5c
jne 0x140005fbd
add r8, 2
cmp word [r8], 0x5c
je 0x140005fb2
mov edx, 0x400
lea rcx, [rbp + 0x23f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x2e
lea rcx, [rbp + 0x23f0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x140006043
lea r8, [rax + 2]
mov edx, 0x400
lea rcx, [rbp + 0x63f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdi + rcx*2 + 2], r15w
jne 0x140006003
test ecx, ecx
je 0x140006043
cmp word [rbx], 0x2e
jne 0x14000602a
nop dword [rax + rax]
add rbx, 2
cmp word [rbx], 0x2e
je 0x140006020
mov rdx, rbx
lea rcx, [rbp + 0x63f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
sete al
test al, al
jne 0x14000605e
inc rsi
lea rcx, [rsi + rsi*2]
shl rcx, 4
add rcx, r12
mov rax, qword [rcx]
cmp dword [rax - 0x10], r15d
jne 0x140005f60
mov r15, qword [rbp - 0x50]
mov r12, qword [rsp + 0x60]
xor ebx, ebx
lea rax, [rsi + rsi*2]
shl rax, 4
lea rsi, [0x140019d30]
add rsi, 0x10
add rsi, rax
mov r8, qword [rsi]
lea rdx, [rbp + 0x390]
mov rcx, r15
call fcn.140008950
test al, al
je 0x1400061bf
mov edi, dword [rsp + 0x7c]
test dil, dil
jne 0x1400063f8
cmp byte [rsp + 0x52], dil
je 0x1400061bf
lea rax, str.FullPathToFileName
mov qword [rbp + 0xbc0], rax
lea rax, [rbp + 0x390]
mov qword [rbp + 0xbc8], rax
lea rax, str.FileName
mov qword [rbp + 0xbd0], rax
mov rax, qword [r12]
mov qword [rbp + 0xbd8], rax
lea rax, str.NameOfSigned
mov qword [rbp + 0xbe0], rax
mov rax, qword [r15 + 0xb28]
mov qword [rbp + 0xbe8], rax
xor eax, eax
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.AdApplicationFrame.dll_public:_void___cdecl_AdTaskDialog::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0xbc0]
lea r8, str.AcSignApply.DigitalSignaturePreviouslySignedFile
lea rdx, str._AcTaskDialogs_component_TaskDialogs.xaml
lea rcx, [rbp - 0x30]
call qword [sym.imp.AdApplicationFrame.dll_public:_int___cdecl_AdTaskDialog::LoadFromFile_wchar_t_const____ptr64__wchar_t_const____ptr64__struct_TASKDIALOG_KEYVALUE_const____ptr64__int____ptr64]
test eax, eax
je 0x1400061b5
call qword [sym.imp.mfc140u.dll_AfxFullPath]
test rax, rax
je 0x14000615e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf8]
test rax, rax
je 0x14000615e
mov rbx, qword [rax + 0x40]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call qword [sym.imp.AdApplicationFrame.dll_public:_int___cdecl_AdTaskDialog::ShowDialog_struct_HWND______ptr64____ptr64]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
je 0x140006415
cmp rcx, 0x3e9
je 0x1400061b5
cmp rcx, 0x3ea
je 0x1400061b0
movzx edi, dil
cmp rcx, 0x3ec
mov esi, 1
cmove edi, esi
mov dword [rsp + 0x7c], edi
lea rcx, [rbp - 0x30]
call qword [sym.imp.AdApplicationFrame.dll_public:_void___cdecl_AdTaskDialog::destructor_void____ptr64]
jmp 0x1400063fd
mov byte [rsp + 0x52], 0
lea rcx, [rbp - 0x30]
call qword [sym.imp.AdApplicationFrame.dll_public:_void___cdecl_AdTaskDialog::destructor_void____ptr64]
test r14b, r14b
je 0x1400061d6
mov edx, 0x80
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rbp - 0x40], rax
xor r14d, r14d
test rax, rax
je 0x140006220
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov eax, 1
mov dword [rbx + 0x10], eax
lea rcx, [rbp + 0x390]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14000641b
jmp 0x140006223
mov rbx, r14
test rbx, rbx
je 0x140006426
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140006276
mov rcx, qword [rbx]
test rcx, rcx
je 0x140006256
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140006269
call qword [sym.imp.mfc140u.dll_operator]
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.14000c2f4
mov rcx, qword [rsi]
mov r10, qword [rcx]
mov qword [rsp + 0x40], r14
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x78]
mov r8, qword [rbp - 0x70]
mov rdx, rdi
call qword [r10 + 0x20]
test eax, eax
jns 0x140006388
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x83
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
lea rcx, [rbp - 8]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea r8, [rbp + 0x390]
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x7a
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov r9d, 0x30
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp - 8]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonStatusBar::LoadState]
mov edx, 0x8e
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov r9, qword [rbp - 0x18]
mov r8d, 3
mov edx, r13d
lea rcx, [r15 + 0x958]
call qword [sym.imp.mfc140u.dll_CTagManager::SetBuffer]
lea rcx, [r12 + 0x18]
lea rdx, [rbp - 8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov esi, 1
jmp 0x1400063ed
lea rcx, [rbp]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x78
lea rcx, [rbp]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov r9, qword [rbp]
mov r8d, 3
mov edx, r13d
lea rcx, [r15 + 0x958]
call qword [sym.imp.mfc140u.dll_CTagManager::SetBuffer]
lea rcx, [r12 + 0x18]
lea rdx, [rbp]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov esi, 1
mov edx, esi
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc dword [rsp + 0x58]
lea rcx, [rbp]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140006400
mov esi, 1
xor r14d, r14d
inc r13d
cmp r13d, dword [rsp + 0x68]
jge 0x140006437
jmp 0x140005990
lea rcx, [rbp - 0x28]
jmp 0x140006431
lea rcx, [rbp - 0x30]
jmp 0x140006431
mov ecx, 0x8007000e
call fcn.14000d1f0
nop
mov ecx, 0x8007000e
call fcn.14000d1f0
int3
call qword [sym.imp.AdApplicationFrame.dll_public:_void___cdecl_AdTaskDialog::destructor_void____ptr64]
mov r12, qword [rsp + 0x70]
movzx esi, byte [rbp + 0x380]
lea rax, vtable.CWaitDialog.0
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x298]
call qword [sym.imp.mfc140u.dll_COlePasteSpecialDialog::COlePasteSpecialDialog]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.mfc140u.dll_CRichEditCtrl::CRichEditCtrl]
lea rcx, [rbp + 0x80]
call qword [sym.imp.mfc140u.dll_CD2DResource::CD2DResource]
nop
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov r14, qword [rbp - 0x78]
mov r13, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14000649e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x77
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 8]
test sil, sil
mov edx, 0x8b
jne 0x140006522
mov edx, 0x8a
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
xor r9d, r9d
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x38]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonStatusBar::LoadState]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x30]
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 + 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rbp + 0x6bf0]
xor rcx, rsp
call fcn.14000c2d0
lea r11, [rsp + 0x6d00]
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