Function at 0x140007cd0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov r15, r9
mov rax, rdx
mov rbx, rcx
xor r13b, r13b
mov dword [r9], 0x80004005
test rdx, rdx
je 0x140008013
cmp byte [rcx + 8], r13b
je 0x140007d6b
add rcx, 0x50
call fcn.140007c30
lea rcx, [rbx + 0x68]
call fcn.140007c30
lea rcx, [rbx + 0x10]
call fcn.140001a60
lea rcx, [rbx + 0x18]
call fcn.140001a60
lea rcx, [rbx + 0x20]
call fcn.140001a60
lea rcx, [rbx + 0x28]
call fcn.140001a60
lea rcx, [rbx + 0x30]
call fcn.140001a60
xor edi, edi
mov dword [rbx + 0xc], edi
mov byte [rbx + 8], dil
jmp 0x140007d6d
xor edi, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov r14d, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x140007d8b
cmp eax, 0x80010106
jne 0x140008013
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400df2f0]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x1400df2e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x34], eax
test eax, eax
js 0x140008008
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140008008
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 0x50]
mov ecx, 8
call fcn.1400cafcc
mov r12, rax
test rax, rax
je 0x140007e0a
lea rax, vtable.CXMLErrorHandler.0
mov qword [r12], rax
mov qword [rsp + 0x58], r12
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0x70]
jmp 0x140007e12
mov r12, rdi
mov qword [rsp + 0x58], rdi
mov ecx, 8
call fcn.1400cafcc
mov rsi, rax
test rax, rax
je 0x140007e43
lea rax, vtable.CXMLDTDHandler.0
mov qword [rsi], rax
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x60]
jmp 0x140007e4b
mov rsi, rdi
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x70]
call fcn.1400386c0
cmp byte [rsp + 0xd0], 0
jne 0x140007f49
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x28], edi
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x50]
mov r8d, 2
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x70]
call fcn.140041810
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rdx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0xc8], eax
mov r8d, eax
mov rdx, qword [rsp + 0x40]
lea rcx, str.ApplicationInfo_Parase
call fcn.1400191f0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
jmp 0x140007f27
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140007f7a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140007f7a
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0xc8]
call qword [rax + 0xa0]
mov dword [rsp + 0x34], eax
mov r8d, eax
mov rdx, qword [rsp + 0xc8]
lea rcx, str.ApplicationInfo_Parase
call fcn.1400191f0
cmp dword [rsp + 0x34], 0
jl 0x140007f9c
cmp byte [rbx + 9], 0
je 0x140007f95
mov r13b, 1
mov word [rbx + 8], 1
mov dword [r15], edi
jmp 0x140007fde
mov dword [r15], 0x80040207
lea rcx, [rbx + 0x50]
call fcn.140007c30
lea rcx, [rbx + 0x68]
call fcn.140007c30
lea rcx, [rbx + 0x10]
call fcn.140001a60
lea rcx, [rbx + 0x18]
call fcn.140001a60
lea rcx, [rbx + 0x20]
call fcn.140001a60
lea rcx, [rbx + 0x28]
call fcn.140001a60
lea rcx, [rbx + 0x30]
call fcn.140001a60
mov dword [rbx + 0xc], edi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + Ordinal_17]
mov qword [rsp + 0x38], rdi
test rsi, rsi
je 0x140007ffb
mov rcx, rsi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test r12, r12
je 0x140008008
mov rcx, r12
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test r14d, r14d
js 0x140008013
call qword [sym.imp.ole32.dll_CoUninitialize]
movzx eax, r13b
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret