Function at 0x140058b00
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 r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov r15, r9
mov rax, rdx
mov rbx, rcx
xor r12b, r12b
mov byte [rsp + 0x30], r12b
mov dword [r9], 0x80004005
test rdx, rdx
je 0x140058dd0
cmp byte [rcx + 8], r12b
je 0x140058b5d
call fcn.140058950
mov byte [rbx + 8], r12b
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov r14d, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x140058b7b
cmp eax, 0x80010106
jne 0x140058dd0
mov qword [rsp + 0x38], 0
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 0x140058dc5
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140058dc5
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 0x50]
mov ecx, 8
call fcn.1400cafcc
mov rsi, rax
test rax, rax
je 0x140058bfd
lea rax, vtable.CXMLErrorHandler.0
mov qword [rsi], rax
mov qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x70]
jmp 0x140058c04
xor esi, esi
mov qword [rsp + 0x50], rsi
mov ecx, 8
call fcn.1400cafcc
mov rdi, rax
test rax, rax
je 0x140058c35
lea rax, vtable.CXMLDTDHandler.0
mov qword [rdi], rax
mov qword [rsp + 0x58], rdi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x60]
jmp 0x140058c3c
xor edi, edi
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x70]
call fcn.1400386c0
cmp byte [rsp + 0xd0], 0
jne 0x140058d3f
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [0x14011e220]
mov rax, qword [rcx]
call qword [rax + 0xc0]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x40]
mov r8d, 4
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x70]
call fcn.140041810
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x60], 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 + 0x60]
lea rcx, str.Notification_Parase
call fcn.1400191f0
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
jmp 0x140058d1d
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140058d70
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140058d70
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.Notification_Parase
call fcn.1400191f0
cmp dword [rsp + 0x34], 0
jl 0x140058d8f
cmp byte [rbx + 9], 0
je 0x140058d8f
mov dword [r15], 0
mov word [rbx + 8], 1
mov r12b, 1
jmp 0x140058d97
mov rcx, rbx
call fcn.140058950
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + Ordinal_17]
mov qword [rsp + 0x38], 0
test rdi, rdi
je 0x140058db8
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test rsi, rsi
je 0x140058dc5
mov rcx, rsi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test r14d, r14d
js 0x140058dd0
call qword [sym.imp.ole32.dll_CoUninitialize]
movzx eax, r12b
add rsp, 0x88
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret