Function at 0x140063a40
Capabilities:
Delete file

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov r14, rdx
mov rbx, rcx
xor dil, dil
mov byte [rsp + 0x30], dil
mov r15, qword [rsp + 0xe0]
mov dword [r15], 0x80004005
test rdx, rdx
je 0x140063d4c
cmp byte [rcx + 8], dil
je 0x140063aa3
call fcn.1400637d0
mov byte [rbx + 8], dil
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov r13d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x140063ac1
cmp eax, 0x80010106
jne 0x140063d4c
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 + 0x48], eax
test eax, eax
js 0x140063d41
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140063d41
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 0x50]
mov ecx, 8
call fcn.1400cafcc
test rax, rax
je 0x140063b41
lea rcx, vtable.CXMLErrorHandler.0
mov qword [rax], rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x38]
mov r8, qword [rcx]
mov rdx, rax
call qword [r8 + 0x70]
jmp 0x140063b4a
mov qword [rsp + 0x58], 0
mov ecx, 8
call fcn.1400cafcc
test rax, rax
je 0x140063b79
lea rcx, vtable.CXMLDTDHandler.0
mov qword [rax], rcx
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x38]
mov r8, qword [rcx]
mov rdx, rax
call qword [r8 + 0x60]
jmp 0x140063b82
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x70]
call fcn.1400386c0
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
xor r12d, r12d
cmp byte [rsp + 0xd0], r12b
jne 0x140063c68
mov rcx, qword [0x14011e220]
mov rax, qword [rcx]
call qword [rax + 0xc0]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x50]
lea r8d, [r12 + 3]
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140041810
mov r12, qword [rsp + 0x50]
mov qword [rsp + 0x48], r12
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0xa0]
mov r14d, eax
mov dword [rsp + 0xc8], eax
mov r8d, eax
mov rdx, r12
lea rcx, str.PatchInfo_Parase
call fcn.1400191f0
nop
cmp byte [rsp + 0xd8], 0
je 0x140063c3d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov qword [rsp + 0x48], r12
jmp 0x140063c93
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0xa0]
mov r14d, eax
mov r8d, eax
mov rdx, qword [rsp + 0xc8]
lea rcx, str.PatchInfo_Parase
call fcn.1400191f0
test r14d, r14d
js 0x140063cc3
cmp byte [rbx + 9], 0
je 0x140063cb0
mov dword [r15], 0
mov word [rbx + 8], 1
mov dil, 1
jmp 0x140063cee
test r12, r12
je 0x140063cbf
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
jmp 0x140063ce6
test r12, r12
je 0x140063cd2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
jmp 0x140063ce6
mov rcx, rbx
call fcn.1400637d0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + Ordinal_17]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140063d11
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140063d21
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140063d41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test r13d, r13d
js 0x140063d4c
call qword [sym.imp.ole32.dll_CoUninitialize]
movzx eax, dil
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret