Function at 0x140029410
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov r12d, r9d
mov rbx, r8
mov r14, rdx
mov r15, rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor esi, esi
mov dword [rsp + 0x40], esi
xor edx, edx
mov rcx, r14
call fcn.14009cff0
test eax, eax
je 0x140029604
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
nop
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_COleControl::ReleaseCaches]
cmp eax, 0xffffffff
jle 0x1400294b1
lea r8d, [rax + 1]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::LoadState]
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rsp + 0x50]
cmp dword [rax - 0x10], 0
jne 0x1400294cf
lea rdx, str.no_name
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x58], rax
lea r8, str._m__d__Y__H__M__S
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.140019e10
mov rdi, rax
mov rcx, qword [r15 + 8]
movzx ebx, word [rcx + 0xc]
mov rcx, qword [0x1401776e0]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov r8, rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9, str.GetWirequeue_bad
lea rdx, str._s_sport__d___s___s
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rax, str.Copy
lea r9, str.Move
test r12d, r12d
cmovne r9, rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r8, str._s_file_to_bad_queue:__s_to__s
mov edx, 2
mov rcx, r15
call fcn.140028330
mov rdx, qword [rsp + 0x48]
mov rcx, r14
test r12d, r12d
jne 0x1400295ae
lea r8d, [r12 + 3]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400295e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.Error__d_moving__s_to__s
jmp 0x1400295c8
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400295e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.Error__d_copying__s_to__s
mov r9d, eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov edx, 1
mov rcx, r15
call fcn.140028330
jmp 0x1400295f2
mov esi, 1
mov dword [rsp + 0x40], esi
jmp 0x1400295f8
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, esi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret