Function at 0x1400143ac
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14007d370]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.140022cd0
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea rdx, str.Program_FilesCommon_FilesMcAfeePlatformCore_trusted.js
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r15d, 1
xor r14d, r14d
test eax, eax
je 0x14001447e
lea rcx, [rbp - 0x10]
call fcn.140013c64
test eax, eax
je 0x14001447e
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], rax
jne 0x14001445c
mov edx, r15d
mov rcx, rdi
call fcn.140014170
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rcx
test rcx, rcx
je 0x140014479
lea rdx, [rbp - 0x10]
call fcn.1400123f4
nop
add qword [rdi + 8], 0x20
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.1400123f4
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400148a0
nop
lea rdx, [0x14005ca38]
lea rcx, [rsp + 0x70]
call fcn.140010db0
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400112e0
mov rbx, rax
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x70]
call fcn.140003a60
cmp qword [rbx + 0x18], 8
jb 0x1400144d4
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140014523
mov rcx, rbx
call fcn.140013c64
test eax, eax
je 0x140014523
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], rax
jne 0x140014502
mov rdx, r15
mov rcx, rdi
call fcn.140014170
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x14001451e
mov rdx, rbx
call fcn.140010db0
nop
add qword [rdi + 8], 0x20
lea rcx, [rsp + 0x30]
call fcn.14001467c
nop
mov rbx, qword [rsp + 0x30]
jmp 0x14001461f
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140003460
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400148a0
nop
lea rdx, [0x14005ca38]
lea rcx, [rbp - 0x30]
call fcn.140010db0
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400112e0
mov rsi, rax
xor r8d, r8d
mov dl, r15b
lea rcx, [rbp - 0x30]
call fcn.140003a60
cmp qword [rsi + 0x18], 8
jb 0x1400145ab
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400145fa
mov rcx, rsi
call fcn.140013c64
test eax, eax
je 0x1400145fa
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], rax
jne 0x1400145d9
mov rdx, r15
mov rcx, rdi
call fcn.140014170
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x1400145f5
mov rdx, rsi
call fcn.140010db0
nop
add qword [rdi + 8], 0x20
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x70]
call fcn.140003a60
nop
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x50]
call fcn.140003a60
add rbx, 0x20
cmp rbx, qword [rsp + 0x38]
jne 0x140014538
lea rcx, [rsp + 0x30]
call fcn.1400141ec
nop
xor r8d, r8d
mov dl, r15b
lea rcx, [rbp - 0x70]
call fcn.140003a60
nop
xor r8d, r8d
mov dl, r15b
lea rcx, [rbp - 0x50]
call fcn.140003a60
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140021430
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret