Function at 0x1400298c0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx]
cmp dword [rax - 0x10], 0
jne 0x140029902
xor eax, eax
jmp 0x140029b1d
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14009b800
lea r8, str._has_iptc
lea rdx, [rsp + 0x38]
lea rcx, [rbx + 0x10]
call fcn.1400aba20
nop
xor r8d, r8d
lea rdx, str._has_iptc
lea rcx, [rbx + 0x10]
call fcn.1400af8c0
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x88]
mov r15d, eax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
xor esi, esi
mov qword [rsp + 0x70], rsi
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rdi]
call sub.mfc140u.dll_Ordinal_6707
test eax, eax
je 0x1400299a7
mov rcx, qword [rsp + 0x78]
mov qword [rbx + 0xf8], rcx
jmp 0x1400299be
mov r9, qword [rdi]
lea r8, str.ProcessBinaryAttachement__Cant_find_bin_path:__s
mov edx, 2
mov rcx, rbx
call fcn.140028330
test r15d, r15d
je 0x140029a2c
lea rcx, [rbx + 0x10]
call fcn.1400abe80
test eax, eax
jne 0x1400299dc
cmp dword [rbx + 0x138], 0xc8
jne 0x140029a2c
mov rax, qword [rsp + 0x38]
mov r9d, esi
cmp dword [rax - 0x10], esi
setne r9b
mov dword [rsp + 0x20], r9d
mov r9, qword [rbx + 0x1a0]
lea r8, str.Discovered_image_attachment_as_._s__iptc_d__processing...
mov edx, 5
mov rcx, rbx
call fcn.140028330
mov rax, qword [rsp + 0x38]
cmp dword [rax - 0x10], esi
setne sil
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call fcn.14002a130
mov edi, eax
jmp 0x140029aec
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r9, qword [rbx + 0x28]
mov r8d, dword [rbx + 0x138]
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1401776e0]
call fcn.14006ba60
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140029a96
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov edi, 1
jmp 0x140029aec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.14009d5a0
nop
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rdi]
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
lea r8, str.ProcessBinaryAttachement___s__copying__s_to__s
mov edx, 1
mov rcx, rbx
call fcn.140028330
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov edi, esi
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, edi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400c7c30
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret