Function at 0x140029ae0
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push r15
sub rsp, 0x110
mov qword [r11 - 0x98], 0xfffffffffffffffe
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r14
mov rax, qword [0x1400ebe98]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rcx
and qword [rsp + 0x38], 0
and qword [rsp + 0x48], 0
movups xmm0, xmmword [0x1400a2ad0]
movdqu xmmword [r11 - 0x38], xmm0
lea r14, [rcx + 0x160]
mov rax, qword [r14]
cmp dword [rax - 8], 0
jne 0x140029b47
mov eax, 0x80004001
jmp 0x140029f24
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
test byte [0x1400ed740], 4
je 0x140029b81
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [0x1400a30d8]
call fcn.140016e58
mov r8, qword [rdi + 0x130]
add r8, 0xb8
mov rdx, r14
lea rcx, [rsp + 0xf0]
call fcn.140025608
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140029f4b
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xf0]
call sub.msvcrt.dll_free
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 0x12]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_StgOpenStorage]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140029f60
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_ReadClassStg]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140029f75
mov rax, qword [rdi + 0x178]
cmp rax, qword [0x1400a2ad0]
jne 0x140029c4b
mov rax, qword [rdi + 0x180]
cmp rax, qword [0x1400a2ad8]
je 0x140029c75
mov rax, qword [rdi + 0x178]
cmp rax, qword [rsp + 0xe0]
jne 0x140029e4e
mov rax, qword [rdi + 0x180]
cmp rax, qword [rsp + 0xe8]
jne 0x140029e4e
mov rax, qword [rdi + 0x130]
mov rcx, qword [rax + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
mov rax, qword [rax + 0x18]
call qword [str._N_b_]
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140029f8a
lea r15, [rdi + 0x190]
mov r9, r15
mov r8, qword [rsp + 0x48]
lea rdx, [0x1400a2b20]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_OleLoad]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140029f9f
and qword [rsp + 0xd0], 0
mov dword [rsp + 0x90], 0x48
movups xmm0, xmmword [rsp + 0xe0]
movdqu xmmword [rsp + 0x98], xmm0
mov rax, qword [r15]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb8], rax
and dword [rsp + 0xc4], 0
and dword [rsp + 0xc0], 0
mov rcx, qword [rdi + reloc.MFC42u.dll_CDaoRecordView::CDaoRecordView]
mov eax, dword [rcx + 0x140]
mov edx, 0x4d7
cmp eax, edx
jne 0x140029d7a
test byte [rcx + 0x160], 1
je 0x140029d64
mov eax, dword [rcx + 0x164]
mov dword [rsp + 0xc0], eax
mov eax, dword [rcx + 0x140]
cmp eax, edx
jne 0x140029d7a
test byte [rcx + 0x160], 2
je 0x140029d7a
mov eax, dword [rcx + 0x168]
mov dword [rsp + 0xc4], eax
or dword [rsp + 0x94], 0xffffffff
mov dword [rsp + 0xc8], 1
mov dword [rsp + 0xcc], 1
mov rax, qword [rdi + 0x130]
mov rcx, qword [rax + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x90]
mov rax, qword [rax + 0x38]
call qword [str._N_b_]
mov r14d, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x140029fb4
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
mov rax, qword [rax + 0xb0]
call qword [str._N_b_]
and dword [rsp + 0x6c], 0
and qword [rsp + 0x78], 0
mov dword [rsp + 0x68], 0x20
mov edx, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xa8]
call fcn.140056a4c
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x140029e1c
mov dword [rdi + 0x188], 1
jmp 0x140029e4c
test r15, r15
je 0x140029e3a
mov rcx, qword [r15]
test rcx, rcx
je 0x140029e36
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._N_b_]
and qword [r15], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
nop dword [rax + rax]
nop
jmp 0x140029e9f
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140029e78
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._N_b_]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140029e90
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._N_b_]
nop
mov eax, 0x80070057
jmp 0x140029f24
mov rcx, qword [rsp + 0x40]
cmp dword [rcx - 8], 0
je 0x140029eb6
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test byte [0x1400ed740], 4
je 0x140029edf
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [0x1400a31f0]
call fcn.140016e58
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140029f09
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._N_b_]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140029f21
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [str._N_b_]
nop
mov eax, r14d
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140083280
lea r11, [rsp + 0x110]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop r15
ret
mov dword [rsp + 0x50], eax
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x54], eax
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x54]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x58], eax
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x5c], eax
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x5c]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x60], eax
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x64], eax
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x64]
call sub.msvcrt.dll__CxxThrowException
int3