Function at 0x14001e310
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, rcx
mov qword [rbp - 8], rcx
xor r15d, r15d
mov dword [rsp + 0x60], r15d
lea rcx, [rbp + 0x20]
call fcn.14001df00
nop
mov qword [r14], r15
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x20], r14
lea r9, [0x1400bfd80]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x1400bfd40]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x14001e3f3
mov qword [r14], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
lea r8d, [r15 + 0x37]
lea rdx, str.Failed_to_create_an_instance_of_COM_DOMDocument30_class
lea rcx, [rsp + 0x40]
call fcn.140011970
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14001a6e0
nop
lea rax, vtable.HP::Pdsmq::Common::ComException.0
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x38], ebx
lea rdx, [0x1400e6dc8]
lea rcx, [rbp - 0x70]
call fcn.140075be0
nop
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001e8b7
lea rbx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rbx, qword [rbp + 0x20]
mov eax, 8
mov word [rsp + 0x68], ax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x14001e44a
test rbx, rbx
je 0x14001e44a
mov ecx, 0x8007000e
call fcn.140057660
nop
mov rbx, qword [r14]
test rbx, rbx
jne 0x14001e45d
mov ecx, 0x80004003
call fcn.140057660
int3
mov word [rbp], r15w
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rsp + 0x50], xmm1
mov rax, qword [rbx]
lea r8, [rbp]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x1d0]
test eax, eax
jns 0x14001e4a2
lea r8, [0x1400bfd80]
mov rdx, rbx
mov ecx, eax
call fcn.140057690
cmp word [rbp], 0
sete bl
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
je 0x14001e54c
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
mov r8d, 0x21
lea rdx, str.Error_parsing_local_settings_file
lea rcx, [rsp + 0x40]
call fcn.140011970
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14001a6e0
nop
lea rax, vtable.HP::Pdsmq::Common::FileFormatException.0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r15
mov word [rbp - 0x38], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x38]
call fcn.140011ac0
nop
lea rdx, [0x1400e6da8]
lea rcx, [rbp - 0x70]
call fcn.140075be0
nop
xor eax, eax
mov qword [rbp + 8], rax
mov rcx, qword [r14]
test rcx, rcx
jne 0x14001e565
mov ecx, 0x80004003
call fcn.140057660
int3
lea rdx, [rbp + 8]
call fcn.14001b780
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
jne 0x14001e583
mov ecx, 0x80004003
call fcn.140057660
int3
lea rdx, [rbp + 0x10]
call fcn.14001b540
nop
mov r8, qword [rax]
test r8, r8
je 0x14001e59a
mov r8, qword [r8]
jmp 0x14001e59d
mov r8, r15
cmp word [r8], 0
jne 0x14001e5a9
mov r9, r15
jmp 0x14001e5bb
or r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp word [r8 + r9*2], 0
jne 0x14001e5b0
lea rcx, [0x1400ef1e8]
cmp qword [0x1400ef200], 8
cmovae rcx, qword [0x1400ef1e8]
mov rdx, qword [0x1400ef1f8]
call fcn.1400113b0
mov ebx, eax
lea rcx, [rbp + 0x10]
call fcn.14001ae50
test ebx, ebx
jne 0x14001e8ae
xor eax, eax
mov qword [rbp + 0x18], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rdx, [0x1400ef1c8]
cmp qword [0x1400ef1e0], 8
cmovae rdx, qword [0x1400ef1c8]
lea rcx, [rbp - 0x80]
call fcn.14001ada0
nop
mov rcx, qword [r14]
test rcx, rcx
jne 0x14001e634
mov ecx, 0x80004003
call fcn.140057660
nop
mov r8, rax
lea rdx, [rbp + 0x18]
call fcn.14001b810
nop
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14001e8a3
nop
mov word [rbp], r15w
mov rax, qword [rbx]
lea rdx, [rbp]
mov rcx, rbx
call qword [rax + 0xb0]
test eax, eax
jns 0x14001e67a
lea r8, [0x1400bfdb0]
mov rdx, rbx
mov ecx, eax
call fcn.140057690
mov rcx, qword [rbp + 8]
cmp word [rbp], 0
je 0x14001e6f4
test rcx, rcx
je 0x14001e6e9
lea rdx, [rsp + 0x30]
call fcn.14001b100
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14001e6de
mov r8, qword [rax]
lea rdx, [rsp + 0x38]
call fcn.14001b2b0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001e6bc
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001e6cc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rbp + 8]
test rbx, rbx
jne 0x14001e650
jmp 0x14001e8a3
mov ecx, 0x80004003
call fcn.140057660
nop
mov ecx, 0x80004003
call fcn.140057660
int3
xor eax, eax
mov qword [rbp + 0x10], rax
test rcx, rcx
jne 0x14001e70a
mov ecx, 0x80004003
call fcn.140057660
int3
lea rdx, [rbp + 0x10]
call fcn.14001b190
nop
mov ebx, r15d
mov rdi, qword [rbp + 0x10]
test rdi, rdi
jne 0x14001e72b
mov ecx, 0x80004003
call fcn.140057660
int3
mov dword [rbp], r15d
mov rax, qword [rdi]
lea rdx, [rbp]
mov rcx, rdi
call qword [rax + 0x58]
test eax, eax
jns 0x14001e751
lea r8, [0x1400bfda0]
mov rdx, rdi
mov ecx, eax
call fcn.140057690
mov edi, dword [rbp]
test edi, edi
jle 0x14001e81c
nop dword [rax]
xor eax, eax
mov qword [rbp], rax
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14001e811
mov r8d, ebx
lea rdx, [rbp]
call fcn.14001b4b0
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp]
test rcx, rcx
je 0x14001e806
lea rdx, [rsp + 0x40]
call fcn.14001afb0
mov rsi, rax
mov rcx, qword [rbp]
test rcx, rcx
je 0x14001e7fb
lea rdx, [rsp + 0x30]
call fcn.14001aee0
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14001e7f0
mov r8, rsi
mov rdx, rax
call fcn.14001b6f0
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x14001e7e4
mov rax, qword [rcx]
call qword [rax + 0x10]
inc ebx
cmp ebx, edi
jl 0x14001e760
jmp 0x14001e81c
mov ecx, 0x80004003
call fcn.140057660
nop
mov ecx, 0x80004003
call fcn.140057660
nop
mov ecx, 0x80004003
call fcn.140057660
nop
mov ecx, 0x80004003
call fcn.140057660
int3
mov rcx, qword [rbp + 8]
test rcx, rcx
jne 0x14001e830
mov ecx, 0x80004003
call fcn.140057660
int3
lea rdx, [rsp + 0x38]
call fcn.14001b070
nop
mov rcx, qword [rax]
test rcx, rcx
jne 0x14001e84e
mov ecx, 0x80004003
call fcn.140057660
int3
mov r9, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
lea rdx, [rsp + 0x30]
call fcn.14001b220
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001e871
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001e882
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14001e892
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14001e8ae
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14001e8ae
mov ecx, 0x80004003
call fcn.140057660
nop
mov rcx, qword [rbp + 8]
jmp 0x14001eade
xor eax, eax
mov qword [rbp + 0x18], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x30], rax
lea rdi, [0x1400ef1c8]
cmp qword [0x1400ef1e0], 8
cmovae rdi, qword [0x1400ef1c8]
mov ecx, SafeArrayPutElement
call fcn.1400562a4
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14001e929
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14001e92c
test rdi, rdi
je 0x14001e92c
mov ecx, 0x8007000e
call fcn.140057660
int3
mov rbx, r15
mov qword [rbp + 8], rbx
test rbx, rbx
jne 0x14001e940
mov ecx, 0x8007000e
call fcn.140057660
nop
mov rcx, qword [r14]
test rcx, rcx
jne 0x14001e953
mov ecx, 0x80004003
call fcn.140057660
nop
lea r8, [rbp + 8]
lea rdx, [rbp + 0x18]
call fcn.14001b810
nop
lea rbx, [0x1400ef168]
cmp qword [0x1400ef180], 8
cmovae rbx, qword [0x1400ef168]
mov eax, 8
mov word [rsp + 0x68], ax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x14001e9a5
test rbx, rbx
je 0x14001e9a5
mov ecx, 0x8007000e
call fcn.140057660
nop
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], rax
lea rdi, [0x1400ef208]
cmp qword [0x1400ef220], 8
cmovae rdi, qword [0x1400ef208]
mov ecx, SafeArrayPutElement
call fcn.1400562a4
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14001ea11
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14001ea14
test rdi, rdi
je 0x14001ea14
mov ecx, 0x8007000e
call fcn.140057660
int3
mov rbx, r15
mov qword [rbp + 0x10], rbx
test rbx, rbx
jne 0x14001ea28
mov ecx, 0x8007000e
call fcn.140057660
int3
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov rbx, qword [rbp + 0x18]
test rbx, rbx
jne 0x14001ea45
mov ecx, 0x80004003
call fcn.140057660
nop
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rsp + 0x50], xmm1
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x14001ea69
mov rdx, qword [rax]
jmp 0x14001ea6c
mov rdx, r15
mov rax, qword [rbx]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x168]
test eax, eax
jns 0x14001ea93
lea r8, [0x1400bfd90]
mov rdx, rbx
mov ecx, eax
call fcn.140057690
nop
lea rcx, [rbp + 0x10]
call fcn.14001ae50
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [r14]
test rcx, rcx
jne 0x14001eabb
mov ecx, 0x80004003
call fcn.140057660
int3
mov r8, qword [rbp + 0x18]
lea rdx, [rsp + 0x30]
call fcn.14001b2b0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001eada
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14001eaea
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov r8, qword [rbp + 0x38]
cmp r8, 8
jb 0x14001eb04
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400129b0
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r15
mov word [rbp + 0x20], r15w
mov rax, r14
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140056280
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret