Function at 0x14002a550
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 [0x1400ff2b8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rcx
and qword [rsp + 0x38], 0
and qword [rsp + 0x48], 0
movups xmm0, xmmword [0x1400b2c90]
movdqu xmmword [r11 - 0x28], xmm0
lea rsi, [rcx + 0x160]
mov rax, qword [rsi]
cmp dword [rax - 8], 0
jne 0x14002a5b4
mov eax, 0x80004001
jmp 0x14002a95f
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
test byte [0x140100d00], 4
je 0x14002a5db
lea rdx, [0x1400b3290]
call fcn.1400177d0
mov r8, qword [rdi + 0x130]
add r8, 0xb8
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140026078
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14002a985
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 0x14002a99a
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 0x14002a9af
mov rax, qword [rdi + 0x178]
cmp rax, qword [0x1400b2c90]
jne 0x14002a69c
mov rax, qword [rdi + 0x180]
cmp rax, qword [0x1400b2c98]
je 0x14002a6c6
mov rax, qword [rdi + 0x178]
cmp rax, qword [rsp + 0xe0]
jne 0x14002a8a1
mov rax, qword [rdi + 0x180]
cmp rax, qword [rsp + 0xe8]
jne 0x14002a8a1
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._S_t_]
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14002a9c4
lea r14, [rdi + 0x190]
mov r9, r14
mov r8, qword [rsp + 0x48]
lea rdx, [0x1400b2ce0]
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 0x14002a9d9
and qword [rsp + 0xd0], 0
mov dword [rsp + 0x90], 0x48
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 0x14002a7cb
test byte [rcx + 0x160], 1
je 0x14002a7b5
mov eax, dword [rcx + 0x164]
mov dword [rsp + 0xc0], eax
mov eax, dword [rcx + 0x140]
cmp eax, edx
jne 0x14002a7cb
test byte [rcx + 0x160], 2
je 0x14002a7cb
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._S_t_]
mov esi, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14002a9ee
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
mov rax, qword [rax + 0xb0]
call qword [str._S_t_]
and dword [rsp + 0x74], 0
and qword [rsp + 0x80], 0
mov dword [rsp + 0x70], 0x20
mov edx, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xa8]
call fcn.140061bd4
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x14002a86f
mov dword [rdi + 0x188], 1
jmp 0x14002a89f
test r14, r14
je 0x14002a88d
mov rcx, qword [r14]
test rcx, rcx
je 0x14002a889
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._S_t_]
and qword [r14], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
nop dword [rax + rax]
nop
jmp 0x14002a8ee
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 0x14002a8cb
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._S_t_]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002a8e3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._S_t_]
nop
mov eax, 0x80070057
jmp 0x14002a95f
mov rcx, qword [rsp + 0x40]
cmp dword [rcx - 8], 0
je 0x14002a905
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test byte [0x140100d00], 4
je 0x14002a91b
lea rdx, [0x1400b33a8]
call fcn.1400177d0
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 0x14002a945
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._S_t_]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002a95d
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [str._S_t_]
nop
mov eax, esi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140093810
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, [0x1400f5180]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x54], eax
lea rdx, [0x1400f5180]
lea rcx, [rsp + 0x54]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x58], eax
lea rdx, [0x1400f5180]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x5c], eax
lea rdx, [0x1400f5180]
lea rcx, [rsp + 0x5c]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x60], eax
lea rdx, [0x1400f5180]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x64], eax
lea rdx, [0x1400f5180]
lea rcx, [rsp + 0x64]
call sub.msvcrt.dll__CxxThrowException
int3