Function at 0x1000254b0
Capabilities:
Delete file
Move file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1000f6188]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rsi, rcx
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x60], rdi
mov rbx, qword [rcx + reloc.MFC42u.dll_CDaoRecordView::CDaoRecordView]
mov qword [rsp + 0x50], rdi
lea rdx, [rcx + 0x180]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
call fcn.100025780
cmp eax, edi
jne 0x10003559a
mov qword [rsp + 0x78], rdi
mov rcx, rbx
call fcn.100024c24
cmp eax, edi
je 0x1000255fc
mov r13d, 7
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xb0], rdi
mov word [rsp + 0xa0], di
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.100026c68
cmp eax, edi
jne 0x1000355dc
lea r8, [rsi + 0x1d0]
lea rdx, [rsp + 0x40]
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.1000263e0
mov ecx, edi
mov rax, qword [rsp + 0x40]
cmp rax, qword [rbx + 8]
setne cl
cmp ecx, edi
je 0x1000255ed
lea rdx, [rax + 0x40]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x98]
call fcn.10000649c
lea rdx, [rsi + 0x1d0]
mov rcx, qword [rsp + 0x78]
call fcn.100026628
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x98]
mov rcx, rsi
call fcn.100025780
cmp eax, edi
jne 0x10003564e
cmp qword [rsp + 0xb8], 8
jae 0x1000356c0
mov dword [rsp + 0x70], edi
xor eax, eax
mov dword [rsp + 0x74], eax
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1000251b0
cmp eax, edi
jne 0x100035998
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x68], edi
cmp dword [0x1000fb1f4], edi
jne 0x1000356d3
movabs r12, 0x8000000000000000
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.1000274a8
cmp eax, edi
jne 0x100035736
movdqu xmm0, xmmword [0x1000cc8a8]
movdqu xmmword [rsp + 0x80], xmm0
mov rdx, qword [rsi + 0x130]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov r8, qword [rdx + 0xc8]
mov rdx, qword [rdx + 0xd0]
mov rcx, qword [rsp + 0x40]
call fcn.100026f70
mov ebx, eax
cmp eax, edi
jl 0x100035778
cmp dword [rsp + 0x68], edi
jne 0x1000256f0
mov r9, qword [rsp + 0x60]
cmp r9, rdi
je 0x1000256f0
mov rax, qword [rsi + 0x130]
mov rcx, qword [rax + 0xd0]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsi + 0x1f8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x40]
call fcn.100026d60
mov ebx, eax
jmp 0x1000256f2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
cmp dword [0x1000fb1f4], edi
jne 0x10003594a
mov rcx, qword [rsp + 0x60]
cmp rcx, rdi
je 0x100025724
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x100025735
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, rdi
je 0x100025745
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, ebx
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1000011e0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, eax
call fcn.10007f3b0
mov ebx, eax
mov rcx, qword [rsp + 0x60]
cmp rcx, rdi
je 0x1000355b4
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000355c5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, rdi
je 0x1000355d5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, ebx
jmp 0x100025747
mov ecx, eax
call fcn.10007f3b0
mov ebx, eax
cmp qword [rsp + 0xb8], 8
jb 0x1000355fd
mov rcx, qword [rsp + 0xa0]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xb0], rdi
mov word [rsp + 0xa0], di
mov rcx, qword [rsp + 0x60]
cmp rcx, rdi
je 0x100035626
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x100035637
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, rdi
je 0x100035647
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, ebx
jmp 0x100025747
mov ecx, eax
call fcn.10007f3b0
mov ebx, eax
cmp qword [rsp + 0xb8], 8
jb 0x10003566f
mov rcx, qword [rsp + 0xa0]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xb0], rdi
mov word [rsp + 0xa0], di
mov rcx, qword [rsp + 0x60]
cmp rcx, rdi
je 0x100035698
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000356a9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, rdi
je 0x1000356b9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, ebx
jmp 0x100025747
mov rcx, qword [rsp + 0xa0]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
nop
jmp 0x1000255fc
mov al, byte [0x1000fb1f8]
cmp al, 4
jae 0x1000356f1
cmp al, dil
je 0x1000356f1
movabs r12, 0x8000000000000000
jmp 0x10002563a
movabs r12, 0x8000000000000000
test qword [0x1000fb1e0], r12
je 0x10002563a
mov rcx, qword [0x1000fb1e8]
mov rax, rcx
and rax, r12
cmp rax, rcx
jne 0x10002563a
lea rdx, [0x1000ccf78]
mov rcx, qword [0x1000fc250]
call fcn.100054630
jmp 0x10002563a
mov ecx, eax
call fcn.10007f3b0
mov ebx, eax
mov rcx, qword [rsp + 0x60]
cmp rcx, rdi
je 0x100035750
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x100035761
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, rdi
je 0x100035771
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, ebx
jmp 0x100025747
mov r13, qword [rsp + 0x50]
mov rax, qword [r13]
mov r14d, dword [rax - 8]
mov edx, 0x2f
mov rcx, r13
call sub.MFC42u.dll_COleControlContainer::XOleIPFrame::SetMenu
sub r14d, eax
lea r8d, [r14 - 1]
lea rdx, [rsp + 0x50]
mov rcx, r13
call sub.MFC42u.dll_CFormView::SetOccDialogInfo
nop
mov ecx, 0x7ffffffe
mov r8, qword [rsp + 0x40]
mov r11d, 0x104
mov rdx, r11
lea rax, [rsp + 0xc0]
mov r10, rdi
cmp rdx, rdi
je 0x1000357f0
cmp rcx, rdi
je 0x1000357f4
movzx r9d, word [r8]
cmp r9w, di
je 0x1000357f4
mov word [rax], r9w
add rax, 2
add r8, 2
dec rdx
dec rcx
inc r10
jmp 0x1000357c5
sub rax, 2
mov word [rax], di
mov r8, qword [rsp + 0x50]
mov rdx, r11
lea rcx, [rsp + 0xc0]
call fcn.1000159d0
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov r15d, eax
mov rcx, qword [rsi + 0x130]
mov rdx, qword [rcx + 0xd0]
mov rcx, qword [rdx + 0x80]
mov r8, qword [rcx]
xor edx, edx
call qword [r8 + CEnumFormatEtc::~CEnumFormatEtc]
mov r14, rax
mov dword [rax + 0xe4], 1
cmp r15d, edi
je 0x1000358aa
mov qword [rsp + 0x28], rdi
mov word [rsp + 0x20], di
mov r9d, 1
lea r8, [0x1000cc8a8]
lea rdx, [rsp + 0xc0]
mov rcx, rax
call sub.MFC42u.dll_CProcessLocal__AFX_MAIL_STATE_::CreateObject
cmp eax, edi
je 0x1000358aa
mov rcx, qword [rsi + 0x130]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rcx + 0xd0]
call fcn.100087428
mov ebx, eax
mov rcx, r14
call sub.MFC42u.dll_CStringList::InsertAfter
mov dword [r14 + 0xe4], edi
cmp ebx, edi
jne 0x1000358b2
mov ebx, edi
jmp 0x1000358f2
cmp ebx, edi
jge 0x1000358f2
cmp qword [rsi + 0x1a0], 8
jb 0x1000358c9
mov r9, qword [rsi + 0x188]
jmp 0x1000358d0
lea r9, [rsi + 0x188]
mov r8d, 0x8ee
lea rdx, str.CDocxOleObject::HandleEmbeddedObject
lea rcx, str.Ignoring_Error:_Func__s_Line__d:_skipping_this_oleobject
call fcn.10002025c
xor ecx, ecx
call fcn.10001d998
mov ebx, edi
mov edx, 1
mov rcx, r14
call sub.MFC42u.dll_CDaoDatabase::DeleteRelation
cmp r13, rdi
je 0x100035914
mov rcx, r13
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, r13
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
cmp r15d, edi
je 0x100035928
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x1000256f0
mov al, byte [0x1000fb1f8]
cmp al, 4
jae 0x10003595d
cmp al, dil
jne 0x100025713
test qword [0x1000fb1e0], r12
je 0x100025713
mov rcx, qword [0x1000fb1e8]
mov rax, rcx
and rax, r12
cmp rax, rcx
jne 0x100025713
lea rdx, [0x1000ccf88]
mov rcx, qword [0x1000fc250]
call fcn.100054630
jmp 0x100025713
mov ebx, edi
lea r9, [0x10009df50]
mov r8d, 0x91e
lea rdx, str.CDocxOleObject::HandleEmbeddedObject
lea rcx, str.Ignoring_Error:_Func__s_Line__d:_OLE_Object_has_size_0.Skipping_OLE_Object.
call fcn.10002025c
xor ecx, ecx
call fcn.10001d998
nop
jmp 0x100025713