Function at 0x14012b460
Capabilities:
Check if file exists
Reference sql statements

Disassembly:
mov cl, 1
jmp fcn.1401466c0
test edx, edx
je 0x14012b48c
sub edx, 1
je 0x14012b487
sub edx, 1
je 0x14012b482
sub edx, 1
je 0x14012b47d
cmp edx, 1
jne 0x14012b491
jmp 0x14012b4a0
jmp 0x14012b9a0
jmp 0x14012b5e0
jmp 0x14012b5d0
jmp 0x14012b450
ret
push rbx
sub rsp, 0x470
movaps xmmword [rsp + reloc.mfc140u.dll_CDockingManager::CDockingManager], xmm6
mov rax, qword [0x14039e2e8]
xor rax, rsp
mov qword [rsp + CDHtmlControlSink::~CDHtmlControlSink], rax
call fcn.14015a5f0
movaps xmm6, xmm0
call fcn.14016f080
movd xmm1, eax
cvtdq2pd xmm1, xmm1
comisd xmm1, xmm6
jbe 0x14012b5a1
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.140169cd0
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call fcn.140158e20
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
lea rcx, [rbx - 0x400]
cqo
idiv rcx
lea ebx, [rdx + 1]
lea rcx, [rsp + 0x28]
call sub.mfc140u.dll_CEnumArray::CEnumArray
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rdx, rax
xor r9d, r9d
lea r8d, [r9 + 0x40]
lea rcx, [rsp + 0x28]
call sub.mfc140u.dll_COleControl::OnSysKeyDown
test eax, eax
je 0x14012b58b
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x28]
call sub.mfc140u.dll_CMDIFrameWndEx::RemovePaneFromDockManager
mov r8d, 0x400
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call sub.mfc140u.dll_COleLinkingDoc::XOleItemContainer::ParseDisplayName
lea rcx, [rsp + 0x28]
call sub.mfc140u.dll_CWinAppEx::CleanState
nop
lea rcx, [rsp + 0x28]
call sub.mfc140u.dll_CDockingManager::CDockingManager
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1402654f0
movaps xmm6, xmmword [rsp + reloc.mfc140u.dll_CDockingManager::CDockingManager]
add rsp, 0x470
pop rbx
ret
mov ecx, 1
jmp fcn.1401585c0
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r13, rcx
mov ecx, gethostname
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov rdi, rax
mov qword [rbp + 0x40], rax
xor r14d, r14d
test rax, rax
je 0x14012b63e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], rax
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.14000cf80
lea rax, vtable.CClipList.0
mov qword [rdi], rax
jmp 0x14012b641
mov rdi, r14
mov r15d, r14d
lea rsi, [r13 + 0x60]
mov qword [rbp - 0x40], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x38], 1
mov rbx, qword [r13 + 0x90]
test rbx, rbx
je 0x14012b68b
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov r15d, dword [rdx + 0xb0]
mov rcx, rdi
call fcn.14000d260
test rbx, rbx
jne 0x14012b670
lea rcx, [r13 + 0x88]
call fcn.14000d550
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov r9d, 0x86
mov r8, rax
xor edx, edx
lea rcx, str.SaveCopyClips_Before_AddToDb
call fcn.14015b6c0
mov dl, 1
mov rcx, rdi
call fcn.1400fb750
mov r12d, eax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x50], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov r8d, r12d
lea rdx, str.SaveCopyclips_After_AddToDb__Count:__d
lea rcx, [rbp + 0x48]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, 0x8a
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test r12d, r12d
jle 0x14012b95b
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14012b98c
mov rax, qword [rax + 0x10]
mov esi, dword [rax + 8]
lea rax, [rbp + 0x40]
mov qword [rbp + 0x50], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov r8d, esi
lea rdx, str.SaveCopyclips_After_AddToDb__Id:__d_Before_OnCopyCopyCompleted
lea rcx, [rbp + 0x48]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, 0x90
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov r9d, r15d
mov r8d, r12d
mov edx, esi
lea rcx, [0x1403c4350]
call fcn.14010bc10
lea rax, [rbp + 0x40]
mov qword [rbp + 0x50], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov r8d, esi
lea rdx, str.SaveCopyclips_After_AddToDb__Id:__d_After_OnCopyCopyCompleted
lea rcx, [rbp + 0x48]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, __WSAFDIsSet
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14012b98c
mov rax, qword [rax + 0x10]
cmp dword [rax + 0xb0], 1
jne 0x14012b943
call fcn.14016dd40
test eax, eax
je 0x14012b943
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14012b992
mov rax, qword [rax + 0x10]
mov r9d, dword [rax + 0x54]
lea r8, str.SELECT_mText_FROM_Main_WHERE_lID___d
lea rdx, [rbp - 0x30]
lea rcx, [0x1403c44c8]
call fcn.140143da0
nop
lea rcx, [rbp - 0x30]
call fcn.1401437b0
test al, al
jne 0x14012b89e
lea r8, [0x1402ac320]
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140144660
mov rdx, rax
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov ecx, 8
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
test rax, rax
je 0x14012b8b9
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov r14, rax
mov rbx, qword [rbp + 0x40]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14012b998
mov rcx, qword [rcx + 0x10]
add rcx, 0x48
mov r8d, 0x23
lea rdx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore_1]
nop
mov r9, rbx
mov r8, qword [rax]
lea rdx, str.Saved_new_clip___s__r_ndirectly_to_the_group___s_
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14012b986
mov rax, qword [rax + 0x10]
movsxd r9, dword [rax + 0x54]
mov r8, r14
mov edx, 0x4e2
mov rcx, qword [0x1403c4510]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rcx, [rbp - 0x30]
call fcn.140143000
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp dword [0x1403c5378], 0
jle 0x14012b95b
lea rcx, [r13 + 0xf8]
mov rdx, rdi
call fcn.14000d2b0
test rdi, rdi
je 0x14012b96e
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call sub.mfc140u.dll_AfxRegDeleteKey
nop
call sub.mfc140u.dll_AfxRegDeleteKey
nop
call sub.mfc140u.dll_AfxRegDeleteKey
nop
call sub.mfc140u.dll_AfxRegDeleteKey
int3
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x38
mov r15, rcx
lea rax, [rbp + 0x38]
mov qword [rbp + 0x48], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str._________Start_of_OnSaveRemoteClips
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r8d, 0xb1
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
mov ecx, gethostname
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov rdi, rax
mov qword [rbp + 0x38], rax
xor r14d, r14d
test rax, rax
je 0x14012ba36
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], rax
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.14000cf80
lea rax, vtable.CClipList.0
mov qword [rdi], rax
jmp 0x14012ba39
mov rdi, r14
lea rsi, [r15 + 0x60]
mov qword [rbp - 0x18], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x10], 1
mov rbx, qword [r15 + 0xc8]
test rbx, rbx
je 0x14012ba74
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov rcx, rdi
call fcn.14000d260
test rbx, rbx
jne 0x14012ba60
lea rcx, [r15 + 0xc0]
call fcn.14000d550
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rbp + 0x38]
mov qword [rbp + 0x48], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str._________OnSaveRemoteClips___Before_AddToDB
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r8d, CreateErrorInfo
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
mov dl, 1
mov rcx, rdi
call fcn.1400fb750
lea rax, [rbp + 0x38]
mov qword [rbp + 0x48], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str._________OnSaveRemoteClips___After_AddToDB
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r8d, 0xcb
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x14012bcd1
mov rsi, qword [rsi + 0x10]
call fcn.14016dcf0
test rsi, rsi
je 0x14012bc63
test eax, eax
je 0x14012bbbb
test byte [rsi + 0x70], 2
je 0x14012bbbb
mov ecx, 8
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
test rax, rax
je 0x14012bb5a
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov r14, rax
lea rcx, [rsi + 0x48]
mov r8d, 0xe1
lea rdx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore_1]
nop
mov r8, qword [rax]
lea rdx, str.Received_remote_clip_r_n_r_n_s
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14012bccb
mov rax, qword [rax + 0x10]
movsxd r9, dword [rax + 0x54]
mov r8, r14
mov edx, 0x4e2
mov rcx, qword [0x1403c4510]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
test byte [rsi + 0x70], 1
je 0x14012bc63
lea rax, [rbp + 0x38]
mov qword [rbp + 0x48], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str._________OnSaveRemoteClips___Before_Posting_msg_to_main_thread_to_set_clipboard
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r8d, 0xde
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
xor r9d, r9d
mov r8, rsi
mov edx, 0x4d6
mov rcx, qword [0x1403c4508]
call qword [sym.imp.USER32.dll_PostMessageW]
lea rax, [rbp + 0x38]
mov qword [rbp + 0x48], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str._________OnSaveRemoteClips___After_Posting_msg_to_main_thread_to_set_clipboard
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r8d, 0xe5
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
mov rcx, rdi
call fcn.14012bce0
xor edx, edx
lea rcx, [0x1403c4350]
call fcn.14010c130
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp + 0x38]
mov qword [rbp + 0x48], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMainFrmThread.cpp
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str._________End_of_OnSaveRemoteClips
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r8d, 0xee
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call sub.mfc140u.dll_AfxRegDeleteKey
int3
call sub.mfc140u.dll_AfxRegDeleteKey
int3