Function at 0x14002a730
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [rcx]
mov r12, rdx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov rsi, rcx
mov rax, qword [rax + 0x28]
call qword [0x140037098]
mov edi, eax
test eax, eax
jns 0x14002a77d
mov rcx, qword [rbp + 0x38]
lea r8, str.onecoreprintscanAppxPackaginglibCore_srcStreamHelper.hpp
mov r9d, eax
lea edx, [rbx + 0x2d]
call fcn.1400068cc
jmp 0x14002a77f
mov edi, ebx
test edi, edi
jns 0x14002a7b4
cmp qword [0x140076ca8], rbx
je 0x14002a7ad
xor r9d, r9d
lea r8, str.SetStreamPosition_xmlStream__0_
mov edx, edi
mov cl, 1
call fcn.14000153c
cmp qword [0x140076ca8], rbx
je 0x14002a7ad
call fcn.140001754
mov eax, edi
jmp 0x14002aac0
lea r9, [rbp + 0x58]
mov qword [rbp + 0x58], rbx
lea r8, [0x14005a080]
mov rcx, rsi
lea rdx, str.TempXml
call fcn.14002432c
mov rsi, qword [rbp + 0x58]
mov r15d, eax
test eax, eax
jns 0x14002a802
cmp qword [0x140076ca8], rbx
je 0x14002aa9a
xor r9d, r9d
lea r8, str._FileSystemHelper::CreateTempFileFromStream_xmlStream__TempXmlFilePrefix__XmlExtension__tempXmlDump__
mov edx, eax
mov cl, 1
call fcn.14000153c
jmp 0x14002aa9a
lea rcx, [rbp + 0x58]
mov qword [rbp + 0x58], rbx
call fcn.14002a5d8
mov rdi, qword [rbp + 0x58]
mov r15d, eax
test eax, eax
jns 0x14002a851
cmp qword [0x140076ca8], rbx
je 0x14002aa85
xor r9d, r9d
lea r8, str.CreateXmlDocument_localXmlDom_
mov edx, eax
mov cl, 1
call fcn.14000153c
cmp qword [0x140076ca8], rbx
je 0x14002aa85
call fcn.140001754
jmp 0x14002aa85
lea rcx, [rbp - 0x38]
mov word [rbp + 0x40], bx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x14002a89f
mov rcx, qword [rbp + 0x38]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_fileexemptionbuilderbase.cpp
mov r15d, 0x8007000e
mov edx, 0x522
mov r9d, r15d
call fcn.140002204
jmp 0x14002aa76
movsd xmm1, qword [rbp - 0x28]
lea r8, [rbp + 0x40]
mov qword [rbp - 0x30], r14
lea rdx, [rbp - 0x20]
mov eax, 8
movsd qword [rbp - 0x10], xmm1
mov word [rbp - 0x38], ax
mov rcx, rdi
mov rax, qword [rdi]
movups xmm0, xmmword [rbp - 0x38]
mov rax, qword [rax + 0x1d0]
movaps xmmword [rbp - 0x20], xmm0
call qword [0x140037098]
mov r15d, eax
test eax, eax
jns 0x14002a917
cmp qword [0x140076ca8], rbx
je 0x14002aa76
xor r9d, r9d
lea r8, str.localXmlDom__load_varFileName__success_
mov edx, eax
mov cl, 1
call fcn.14000153c
cmp qword [0x140076ca8], rbx
je 0x14002aa76
call fcn.140001754
jmp 0x14002aa76
cmp word [rbp + 0x40], 0xffff
mov rcx, rdi
je 0x14002a9fc
mov qword [rbp + 0x58], rbx
lea rdx, [rbp + 0x58]
mov qword [rbp - 0x40], rbx
mov rax, qword [rdi]
mov rax, qword [rax + 0x1e0]
call qword [0x140037098]
mov r15d, eax
test eax, eax
jns 0x14002a95e
cmp qword [0x140076ca8], rbx
je 0x14002a9d9
lea r8, str.localXmlDom__get_parseError_pXMLErr_
jmp 0x14002a98a
mov rcx, qword [rbp + 0x58]
lea rdx, [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x140037098]
mov r15d, eax
test eax, eax
jns 0x14002a9a6
cmp qword [0x140076ca8], rbx
je 0x14002a9d9
lea r8, str.pXMLErr__get_reason_bstrErr_
xor r9d, r9d
mov edx, eax
mov cl, 1
call fcn.14000153c
cmp qword [0x140076ca8], rbx
je 0x14002a9d9
call fcn.140001754
jmp 0x14002a9d9
mov r8, qword [rbp - 0x40]
lea rdx, str.Failed_to_load_DOM_from_given_xml_Stream__S_n
mov ecx, 1
call fcn.14001f2d0
mov rcx, qword [rbp + 0x38]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_fileexemptionbuilderbase.cpp
mov r15d, 0x8000ffff
mov edx, 0x531
mov r9d, r15d
call fcn.140002204
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14002aa76
mov qword [rbp + 0x58], rbx
jmp 0x14002aa69
mov qword [rbp + 0x50], rbx
lea r8, [rbp + 0x50]
mov rax, qword [rdi]
lea rdx, [0x14006f588]
mov rax, qword [rax]
call qword [0x140037098]
mov r15d, eax
test eax, eax
jns 0x14002aa4e
cmp qword [0x140076ca8], rbx
je 0x14002aa48
xor r9d, r9d
lea r8, str.localXmlDom.As_localNode_
mov edx, eax
mov cl, 1
call fcn.14000153c
cmp qword [0x140076ca8], rbx
je 0x14002aa48
call fcn.140001754
mov rcx, qword [rbp + 0x50]
jmp 0x14002aa60
mov rax, qword [rbp + 0x50]
mov rcx, rbx
mov qword [r12], rax
mov r15d, ebx
mov qword [rbp + 0x50], rbx
test rcx, rcx
je 0x14002aa76
mov qword [rbp + 0x50], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140037098]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test rdi, rdi
je 0x14002aa9a
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [0x140037098]
test rsi, rsi
je 0x14002aaae
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.OLE32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, r15d
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret