Function at 0x14001ce00
Capabilities:
Check if file exists
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, rcx
xor esi, esi
mov dword [rbp - 0x19], esi
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rsi
mov word [rcx], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400ef1d8]
call fcn.140011850
mov dword [rbp - 0x19], 1
mov cl, 1
call fcn.14003635c
mov rcx, rax
mov qword [rbp - 0x31], rax
cmp qword [rbx + 0x10], rsi
je 0x14001ce91
cmp qword [rbx + 0x18], 8
jb 0x14001ce78
mov rcx, qword [rbx]
jmp 0x14001ce7b
mov rcx, rbx
lea rdx, [rbp - 0x39]
call fcn.140018b10
mov rcx, qword [rbp - 0x31]
test al, al
jne 0x14001ce91
xor dil, dil
jmp 0x14001ce94
mov dil, 1
test rcx, rcx
je 0x14001ceb2
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14001ceb2
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
test dil, dil
je 0x14001cffe
lea rcx, [rbp - 0x59]
call fcn.14001c8a0
nop
lea r8, str..PdsmqConfig.xml
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.14001e930
mov rdi, rax
cmp rbx, rax
je 0x14001cf13
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14001cef8
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140012760
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rdx, rdi
mov rcx, rbx
call fcn.1400119a0
nop
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x14001cf2d
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.140012760
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rsi
mov word [rbp - 0x39], si
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x14001cf57
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.140012760
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], rsi
mov word [rbp - 0x59], si
cmp qword [rbx + 0x18], 8
jb 0x14001cf73
mov rcx, qword [rbx]
jmp 0x14001cf76
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001cffe
lea rcx, [rbp - 0x39]
call fcn.14001c980
nop
lea r8, [0x1400ef138]
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.14001c4f0
nop
mov rdx, rax
mov rcx, rbx
call fcn.14000e130
nop
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x14001cfc4
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.140012760
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], rsi
mov word [rbp - 0x59], si
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x14001cfee
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.140012760
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rsi
mov word [rbp - 0x39], si
mov r8, rbx
lea rdx, str.TRACE:_FactorySettingsPath_is_
lea rcx, [rbp - 0x39]
call fcn.14001ed10
nop
lea r8, [0x1400bf940]
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.14001e930
nop
cmp qword [rax + 0x18], 8
jb 0x14001d030
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x14001d054
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.140012760
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], rsi
mov word [rbp - 0x59], si
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x14001d07e
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.140012760
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rsi
mov word [rbp - 0x39], si
cmp qword [rbx + 0x18], 8
jb 0x14001d09a
mov rcx, qword [rbx]
jmp 0x14001d09d
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001d12e
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], rsi
mov word [rbp - 0x59], si
lea r8d, [rax + 0x1e]
lea rdx, str.No_factory_settings_file_found
lea rcx, [rbp - 0x59]
call fcn.140011700
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 9]
call fcn.140019f50
nop
lea rax, vtable.HP::Pdsmq::Common::FileNotFoundException.0
mov qword [rbp - 9], rax
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], rsi
mov qword [rbp + 0x47], 7
mov qword [rbp + 0x3f], rsi
mov word [rbp + 0x2f], si
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x2f]
call fcn.140011850
nop
lea rdx, [0x1400e7338]
lea rcx, [rbp - 9]
call fcn.140075a20
nop
mov rax, rbx
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret