Function at 0x140029d00
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x100
mov qword [r11 - 0x80], 0xfffffffffffffffe
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov rax, qword [0x1400fd258]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rcx
and qword [rsp + 0x38], 0
and qword [rsp + 0x48], 0
movups xmm0, xmmword [0x1400b1c60]
movdqu xmmword [r11 - 0x28], xmm0
lea rsi, [rcx + 0x160]
mov rax, qword [rsi]
cmp dword [rax - 8], 0
jne 0x140029d64
mov eax, 0x80004001
jmp 0x14002a11f
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
test byte [0x1400fecc0], 4
je 0x140029d8b
lea rdx, [0x1400b2280]
call fcn.140016f80
mov r8, qword [rdi + 0x130]
add r8, 0xb8
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140025808
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14002a145
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
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 0x14002a15a
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 0x14002a16f
mov rax, qword [rdi + 0x178]
cmp rax, qword [0x1400b1c60]
jne 0x140029e4c
mov rax, qword [rdi + 0x180]
cmp rax, qword [0x1400b1c68]
je 0x140029e76
mov rax, qword [rdi + 0x178]
cmp rax, qword [rsp + 0xe0]
jne 0x14002a061
mov rax, qword [rdi + 0x180]
cmp rax, qword [rsp + 0xe8]
jne 0x14002a061
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._E_t_]
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14002a184
lea r14, [rdi + 0x190]
mov r9, r14
mov r8, qword [rsp + 0x48]
lea rdx, [0x1400b1cb0]
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 0x14002a199
mov esi, 0x48
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x90], esi
movups xmm0, xmmword [rsp + 0xe0]
movdqu xmmword [rsp + 0x98], xmm0
mov rax, qword [r14]
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 0x140029f85
test byte [rcx + 0x160], 1
je 0x140029f6f
mov eax, dword [rcx + 0x164]
mov dword [rsp + 0xc0], eax
mov eax, dword [rcx + 0x140]
cmp eax, edx
jne 0x140029f85
test byte [rcx + 0x160], 2
je 0x140029f85
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._E_t_]
mov esi, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14002a1ae
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
mov rax, qword [rax + 0xb0]
call qword [str._E_t_]
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x70], 0x20
mov edx, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xa8]
call fcn.140062ca4
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x14002a02f
mov dword [rdi + 0x188], 1
jmp 0x14002a05f
test r14, r14
je 0x14002a04d
mov rcx, qword [r14]
test rcx, rcx
je 0x14002a049
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._E_t_]
and qword [r14], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
nop dword [rax + rax]
nop
jmp 0x14002a0ae
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 0x14002a08b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._E_t_]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002a0a3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._E_t_]
nop
mov eax, 0x80070057
jmp 0x14002a11f
mov rcx, qword [rsp + 0x40]
cmp dword [rcx - 8], 0
je 0x14002a0c5
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test byte [0x1400fecc0], 4
je 0x14002a0db
lea rdx, [0x1400b2388]
call fcn.140016f80
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 0x14002a105
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._E_t_]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002a11d
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [str._E_t_]
nop
mov eax, esi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400929d0
lea r11, [rsp + 0x100]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
mov dword [rsp + 0x50], eax
lea rdx, [0x1400f3540]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x54], eax
lea rdx, [0x1400f3540]
lea rcx, [rsp + 0x54]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x58], eax
lea rdx, [0x1400f3540]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x5c], eax
lea rdx, [0x1400f3540]
lea rcx, [rsp + 0x5c]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x60], eax
lea rdx, [0x1400f3540]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x64], eax
lea rdx, [0x1400f3540]
lea rcx, [rsp + 0x64]
call sub.msvcrt.dll__CxxThrowException
int3