Function at 0x140051a60
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 rax, r9
mov rbx, rcx
xor r13b, r13b
mov dword [r9], 0x80004005
test rdx, rdx
je 0x140051f49
cmp byte [rcx + 8], r13b
je 0x140051baf
add rcx, 0xd8
call fcn.140007c30
lea rcx, [rbx + 0xf0]
call fcn.140007c30
lea rcx, [rbx + 0x108]
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 + 0x38]
call fcn.140001a60
lea rcx, [rbx + 0x40]
call fcn.140001a60
lea rcx, [rbx + 0x48]
call fcn.140001a60
lea rcx, [rbx + 0x50]
call fcn.140001a60
lea rcx, [rbx + 0x58]
call fcn.140001a60
lea rcx, [rbx + 0x60]
call fcn.140001a60
lea rcx, [rbx + 0x68]
call fcn.140001a60
lea rcx, [rbx + 0x70]
call fcn.140001a60
lea rcx, [rbx + 0x78]
call fcn.140001a60
lea rcx, [rbx + 0x80]
call fcn.140001a60
lea rcx, [rbx + 0x88]
call fcn.140001a60
lea rcx, [rbx + 0x90]
call fcn.140001a60
lea rcx, [rbx + 0x98]
call fcn.140001a60
lea rcx, [rbx + 0xa0]
call fcn.140001a60
lea rcx, [rbx + 0xa8]
call fcn.140001a60
lea rcx, [rbx + 0xb0]
call fcn.140001a60
lea rcx, [rbx + 0xb8]
call fcn.140001a60
xor r14d, r14d
mov dword [rbx + 0xc], r14d
mov byte [rbx + 8], r14b
jmp 0x140051bb2
xor r14d, r14d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov r15d, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140051bd0
cmp eax, 0x80010106
jne 0x140051f49
mov qword [rsp + 0x38], r14
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 edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
js 0x140051f3e
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140051f3e
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 0x50]
mov ecx, 8
call fcn.1400cafcc
mov r12, rax
test rax, rax
je 0x140051c51
lea rax, vtable.CXMLErrorHandler.0
mov qword [r12], rax
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0x70]
jmp 0x140051c59
mov r12, r14
mov qword [rsp + 0x60], r14
mov ecx, 8
call fcn.1400cafcc
mov rsi, rax
test rax, rax
je 0x140051c8a
lea rax, vtable.CXMLDTDHandler.0
mov qword [rsi], rax
mov qword [rsp + 0x58], rsi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x60]
jmp 0x140051c92
mov rsi, r14
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x70]
call fcn.1400386c0
cmp byte [rsp + 0xd0], 0
jne 0x140051d99
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rcx, qword [0x14011e220]
mov rax, qword [rcx]
call qword [rax + 0xc0]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x48]
mov r8d, 1
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x70]
call fcn.140041810
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rdx
test al, al
je 0x140051d3f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov edi, eax
mov dword [rsp + 0x40], eax
mov r8d, eax
mov rdx, qword [rsp + 0xc8]
lea rcx, str.MachineInfo_Parase
call fcn.1400191f0
mov rdx, qword [rsp + 0xc8]
jmp 0x140051d49
mov rax, qword [rsp + 0xd8]
mov dword [rax], edi
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
jmp 0x140051d77
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140051dc8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140051dc8
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0xc8]
call qword [rax + 0xa0]
mov edi, eax
mov r8d, eax
mov rdx, qword [rsp + 0xc8]
lea rcx, str.MachineInfo_Parase
call fcn.1400191f0
mov edx, edi
lea rcx, str.pIReaderDocument__parseURL_hRet:__x
call fcn.1400191f0
test edi, edi
js 0x140051e20
mov rax, qword [rsp + 0xd8]
cmp byte [rbx + 9], 0
je 0x140051df9
mov word [rbx + 8], 1
mov r13b, 1
mov dword [rax], r14d
jmp 0x140051f14
mov dword [rax], 0xa0110011
lea rcx, [rbx + 0xd8]
call fcn.140007c30
lea rcx, [rbx + 0xf0]
call fcn.140007c30
lea rcx, [rbx + 0x108]
jmp 0x140051e3f
lea rcx, [rbx + 0xd8]
call fcn.140007c30
lea rcx, [rbx + 0x108]
call fcn.140007c30
lea rcx, [rbx + 0xf0]
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 + 0x38]
call fcn.140001a60
lea rcx, [rbx + 0x40]
call fcn.140001a60
lea rcx, [rbx + 0x48]
call fcn.140001a60
lea rcx, [rbx + 0x50]
call fcn.140001a60
lea rcx, [rbx + 0x58]
call fcn.140001a60
lea rcx, [rbx + 0x60]
call fcn.140001a60
lea rcx, [rbx + 0x68]
call fcn.140001a60
lea rcx, [rbx + 0x70]
call fcn.140001a60
lea rcx, [rbx + 0x78]
call fcn.140001a60
lea rcx, [rbx + 0x80]
call fcn.140001a60
lea rcx, [rbx + 0x88]
call fcn.140001a60
lea rcx, [rbx + 0x90]
call fcn.140001a60
lea rcx, [rbx + 0x98]
call fcn.140001a60
lea rcx, [rbx + 0xa0]
call fcn.140001a60
lea rcx, [rbx + 0xa8]
call fcn.140001a60
lea rcx, [rbx + 0xb0]
call fcn.140001a60
lea rcx, [rbx + 0xb8]
call fcn.140001a60
mov dword [rbx + 0xc], r14d
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + Ordinal_17]
mov qword [rsp + 0x38], r14
test rsi, rsi
je 0x140051f31
mov rcx, rsi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test r12, r12
je 0x140051f3e
mov rcx, r12
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test r15d, r15d
js 0x140051f49
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