Function at 0x14001fed8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x210
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140121c90]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov r15, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
call fcn.14002283c
mov qword [r15], rax
lea rbx, [r15 + 0x10]
mov qword [rsp + 0x140], rbx
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
call fcn.14002283c
mov qword [rbx], rax
lea r14, [r15 + 0x28]
lea r12d, [rdi + 7]
mov qword [r14 + 0x18], r12
mov qword [r14 + 0x10], rdi
mov word [r14], di
lea rsi, [r15 + 0x48]
mov qword [rsi], rdi
call fcn.140021050
lea rcx, [rax + 0x34b0]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.1400212c4
mov eax, dword [rsp + 0x30]
mov dword [r15 + 0x20], eax
mov dword [rsp + 0x140], edi
lea rax, str._unknown_log_level_
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022a60
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022adc
mov dword [rsp + 0x140], 1
lea rax, str.ERROR
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022a60
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022adc
mov dword [rsp + 0x140], 2
lea rax, str.WARNING
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022a60
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022adc
mov dword [rsp + 0x140], 4
lea rax, str.INFO
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022a60
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022adc
mov dword [rsp + 0x140], 8
lea rax, str.DEBUG
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022a60
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022adc
mov dword [rsp + 0x140], 0x20
lea rax, str.SCOPE
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022a60
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022adc
mov dword [rsp + 0x140], 0x10
lea rax, str.PERFORMANCE
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022a60
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, r15
call fcn.140022adc
lea rax, str.Default
mov qword [rsp + 0x140], rax
lea rax, [0x1400d74c0]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.AppAgent
mov qword [rsp + 0x140], rax
lea rax, [0x1400d7510]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.AgentService
mov qword [rsp + 0x140], rax
lea rax, [0x1400d75d0]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.AppAgentCommon
mov qword [rsp + 0x140], rax
lea rax, [0x1400d73e0]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.UevCommon
mov qword [rsp + 0x140], rax
lea rax, [0x1400d7718]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.ChangeManager
mov qword [rsp + 0x140], rax
lea rax, [0x1400d76e8]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, [0x1400de6f0]
mov qword [rsp + 0x140], rax
lea rax, [0x1400d73f8]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.CscChangeManager
mov qword [rsp + 0x140], rax
lea rax, [0x1400d7728]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.CscTool
mov qword [rsp + 0x140], rax
lea rax, [0x1400d76a8]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.LocalStore
mov qword [rsp + 0x140], rax
lea rax, [0x1400d7738]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.Orchestrator
mov qword [rsp + 0x140], rax
lea rax, [0x1400d7570]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.Packager
mov qword [rsp + 0x140], rax
lea rax, [0x1400d7650]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
lea rax, str.TemplateService
mov qword [rsp + 0x140], rax
lea rax, [0x1400d7520]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022c3c
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
mov rcx, rbx
call fcn.140022cc4
mov qword [rsp + 0x1b8], r12
mov qword [rsp + 0x1b0], rdi
mov word [rsp + 0x1a0], di
call fcn.140021050
lea rcx, [rax + 0x3f60]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x1a0]
call fcn.1400210ec
test al, al
je 0x140020826
cmp qword [rsp + 0x1b0], rdi
je 0x140020826
mov qword [rsp + 0x178], r12
mov qword [rsp + 0x170], rdi
mov word [rsp + 0x160], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x160]
call fcn.140003cc4
nop
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x160]
call fcn.1400922ac
cmp qword [rax + 0x18], 8
jb 0x14002058d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400205a8
mov bl, dil
jmp 0x1400205ae
shr bl, 4
and bl, 1
cmp qword [rsp + 0x198], 8
jb 0x1400205cd
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
test bl, bl
je 0x1400207ff
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x160]
call fcn.14009256c
mov rbx, rax
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x160]
call fcn.1400922ac
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.14001fe10
nop
cmp qword [rsp + 0x1d8], 8
jb 0x140020636
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rsp + 0x1d8], r12
mov qword [rsp + 0x1d0], rdi
mov word [rsp + 0x1c0], di
cmp qword [rsp + 0x1f8], 8
jb 0x14002066d
mov rcx, qword [rsp + 0x1e0]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rsp + 0x1f8], r12
mov qword [rsp + 0x1f0], rdi
mov word [rsp + 0x1e0], di
lea rcx, [rsp + 0x50]
call fcn.14000b338
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x160]
call fcn.14009273c
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400206b2
mov rbx, qword [rax]
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 8
cmovae rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x50]
call fcn.1400112d4
lea rdx, [0x1400de7b8]
mov rcx, rax
call fcn.1400112d4
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov edx, eax
mov rcx, r12
call fcn.14001c698
mov rdx, rbx
mov rcx, rax
call fcn.1400112d4
nop
cmp qword [rsp + 0x158], 8
jb 0x140020729
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.14000ee90
nop
lea rax, [rsp + 0x140]
cmp r14, rax
je 0x140020761
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x140]
mov rcx, r14
call fcn.140003cc4
nop
cmp qword [rsp + 0x158], 8
jb 0x140020780
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov ecx, 0x108
call fcn.1400a0a40
mov qword [rsp + 0x140], rax
test rax, rax
je 0x1400207a5
mov rdx, r14
mov rcx, rax
call fcn.140021470
mov rdi, rax
cmp rdi, qword [rsi]
je 0x1400207b5
mov rcx, rsi
call fcn.140022234
mov qword [rsi], rdi
lea rcx, [rsp + 0xd8]
call fcn.14000b2b4
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xd8]
call fcn.1400a1c78
nop
cmp qword [rsp + 0x198], 8
jb 0x1400207ff
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
nop
cmp qword [rsp + 0x178], 8
jb 0x14002081f
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
nop
jmp 0x140020826
cmp qword [rsp + 0x1b8], 8
jb 0x140020846
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
nop
mov rax, r15
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400be5a0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret