Function at 0x140245510
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14039e2e8]
xor rax, rsp
mov qword [rbp + reloc.mfc140u.dll_COleControlSiteOrWnd::COleControlSiteOrWnd], rax
mov rdi, r9
mov r14, r8
mov qword [rbp + 0x58], r8
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0x70], r8
xor r12d, r12d
xor edx, edx
mov r8d, CChevronOwnerDrawMenu::CChevronOwnerDrawMenu
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x80], CChevronOwnerDrawMenu::CChevronOwnerDrawMenu
mov dword [rbp + 0x88], 1
mov qword [rbp + 0x1ac], 0xffffffffffffffff
mov byte [rbp + 0x1d4], r12b
mov word [rbp + 0x1d6], r12w
mov dword [rsp + 0x58], r12d
mov r13d, r12d
mov r15d, r12d
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov qword [rsi + 0x58], rdi
lea rcx, [rsi + 0x28]
mov rdx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea r14, [rsi + 8]
mov qword [r14 + 8], rbx
mov qword [rsi + 0x20], rdi
lea rdx, [rbp + 0x80]
mov rcx, r14
call fcn.1402469f0
test eax, eax
je 0x140245c4e
mov ecx, dword [rbp + 0x84]
test ecx, ecx
je 0x140245b8d
sub ecx, 2
je 0x140245962
sub ecx, 1
jne 0x140245bf5
cmp dword [rbp + 0x1ac], ecx
je 0x140245be7
cmp dword [rbp + 0x1b0], ecx
je 0x140245be7
mov rax, qword [rsi + 0x40]
test rax, rax
jle 0x140245be7
xor r14b, r14b
lea rcx, [rax - 1]
test rcx, rcx
js 0x140245c91
cmp rcx, rax
jge 0x140245c91
mov rax, qword [rsi + 0x38]
lea rdx, [rax + rcx*8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
lea rcx, [rbp + 0x1b4]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140245664
test rax, rax
je 0x14024586b
call fcn.140169450
test eax, eax
je 0x14024586b
lea rcx, [rbp + 0x300]
call fcn.14012bd40
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__3]
nop
lea rdx, [rbp + 0x1b4]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__1]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CDocManager::CloseAllDocuments]
nop
test eax, eax
je 0x14024579e
mov r13d, 0xfffffffd
mov dword [rsp + 0x58], 1
mov r14b, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x48], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildFileRecieve.cpp
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rdi, rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400af820
nop
mov rbx, qword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400af820
nop
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov r8, qword [rsp + 0x60]
lea rdx, str.MD5_ERROR_Receiving_data_end_for_file:__s__local_md5:__s_remote_md5:__s
lea rcx, [rbp + 0x68]
call fcn.14015b330
nop
lea r8d, [r13 + 0x7b]
mov rdx, rdi
mov rcx, rax
call fcn.14015b880
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x60]
jmp 0x140245835
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildFileRecieve.cpp
lea rcx, [rbp - 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rdi, rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400af820
nop
mov rbx, qword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400af820
nop
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov r8, qword [rsp + 0x60]
lea rdx, str.Receiving_data_end_for_file:__s__MD5_MATCH_local_md5:__s_remote_md5:__s
lea rcx, [rbp - 0x40]
call fcn.14015b330
nop
mov r8d, 0x7c
mov rdx, rdi
mov rcx, rax
call fcn.14015b880
nop
lea rcx, [rbp - 0x38]
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, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XImage::XImage]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XImage::XImage]
nop
lea rcx, [rbp + 0x300]
call fcn.14012bd60
test r14b, r14b
jne 0x140245943
jmp 0x1402458e0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x40], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildFileRecieve.cpp
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rdi, rax
call fcn.140169450
mov ebx, eax
lea rdx, [rbp + 0x1b4]
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__1]
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.1400af820
nop
mov r9d, ebx
mov r8, qword [rax]
lea rdx, str.Not_checking_mdf_on_file_transfer__either_setting_is_off_or_md5_is_not_sent__md5_Passed_In:__s__setting_to_check:__d
lea rcx, [rbp - 0x18]
call fcn.14015b330
nop
mov r8d, 0x81
mov rdx, rdi
mov rcx, rax
call fcn.14015b880
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rbp + 0x1ac]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp + 0x1b0]
mov dword [rbp - 0x6c], eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, CMapStringToOb::HashKey
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x140245943
lea r9, [rbp - 0x70]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp dword [rsp + 0x58], 0
jne 0x140245c4e
lea r14, [rsi + 8]
jmp 0x140245be7
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 8]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__1]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
lea rcx, [rbp + 0x1f8]
mov qword [rbp + 0x1f0], rcx
mov r8d, 0xfde9
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.1400b4770
nop
mov rdx, qword [rbp + 0x1f0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
nop
lea rax, [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1f0]
cmp rcx, rax
je 0x1402459d5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XImage::XImage]
nop
inc r12d
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x140245a6f
call fcn.140150fc0
mov rbx, qword [rsi + 0x58]
mov r9d, r15d
mov r8d, r12d
lea rdx, str.Copying_File__d_of__d
lea rcx, [rbp]
call fcn.14015b330
nop
mov rdx, rax
mov rcx, rbx
call fcn.140150ec0
nop
lea rcx, [rbp]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rsi + 0x58]
mov r8, qword [rsp + 0x50]
lea rdx, str.Copying__s
lea rcx, [rbp + 8]
call fcn.14015b330
nop
mov rdx, rax
mov rcx, rbx
call fcn.140150e90
nop
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsi + 0x58]
call fcn.140150df0
mov rax, qword [rsi + 0x58]
cmp byte [rax + 0x6a0], 0
jne 0x140245c3c
mov edi, dword [rbp + 0x1ac]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildFileRecieve.cpp
lea rcx, [rbp + 0x10]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r12d
mov r9d, edi
mov r8, qword [rsp + 0x50]
lea rdx, str.START_of_receiving_the_file__s__size:__d__File__d_of__d
lea rcx, [rbp + 0x18]
call fcn.14015b330
nop
mov r8d, 0x4c
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea r9, [rsp + 0x78]
mov r8, rax
mov edx, edi
mov rcx, rsi
call fcn.140244fe0
cmp eax, 0xfffffffe
je 0x140245c3c
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildFileRecieve.cpp
test eax, eax
jne 0x140245b3a
lea rax, [rbp + 0x28]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov r8, qword [rsp + 0x50]
lea rdx, str.Error_receiving_the_file__s
lea rcx, [rbp + 0x30]
call fcn.14015b330
nop
mov r8d, 0x57
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
jmp 0x140245b80
lea rax, [rbp + 0x38]
mov qword [rsp + 0x40], rax
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
mov r9d, edi
mov r8, qword [rsp + 0x50]
lea rdx, str.END_of_receiving_the_file__s__size:__d
lea rcx, [rbp + 0x40]
call fcn.14015b330
nop
mov r8d, 0x5b
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
mov r13d, 1
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x140245be7
mov r15d, dword [rbp + 0x1ac]
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x140245ba5
mov edx, r15d
call fcn.140150ef0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildFileRecieve.cpp
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov r8d, r15d
lea rdx, str.Start_receiving_files_File_Count:__d
lea rcx, [rbp - 0x78]
call fcn.14015b330
nop
mov r8d, gethostname
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
cmp byte [0x1403c44f9], 0
jne 0x140245c4e
jmp 0x1402455cd
cmp ecx, 1
je 0x140245c4e
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildFileRecieve.cpp
lea rcx, [rbp - 0x78]
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.::ERROR_unknown_action_type_exiting
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r8d, 0x9a
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
jmp 0x140245c4e
mov r13d, 0xfffffffe
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, r13d
mov rcx, qword [rbp + reloc.mfc140u.dll_COleControlSiteOrWnd::COleControlSiteOrWnd]
xor rcx, rsp
call fcn.1402654f0
mov rbx, qword [rsp + 0x4e8]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call sub.mfc140u.dll_AfxRegDeleteKey
nop
int3