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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rdi, rcx
mov qword [rsp + 0x60], rdx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp]
call fcn.14026c200
mov edx, 0x104
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea rdx, str.Program_FilesCommon_FilesMcAfeePlatformCore_trusted.js
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1402417c1
lea rcx, [rbp]
call fcn.140240e28
test eax, eax
je 0x1402417c1
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x1402417b2
xor r8d, r8d
lea rdx, [rbp]
mov rcx, rax
call fcn.14023ea88
add qword [rdi + 8], 0x20
jmp 0x1402417c1
lea r8, [rbp]
mov rdx, rax
mov rcx, rdi
call fcn.14023eda4
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.14023eabc
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rax, qword [rbp - 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.1402413a4
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140113b10
nop
xor r8d, r8d
lea rdx, [0x1402e6a28]
lea rcx, [rbp - 0x80]
call fcn.14023ea88
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.14023f32c
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.140025de0
cmp qword [rbx + 0x18], 8
jb 0x140241850
mov rbx, qword [rbx]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14024189f
mov rcx, rbx
call fcn.140240e28
test eax, eax
je 0x14024189f
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14024188f
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140097e90
add qword [rdi + 8], 0x20
jmp 0x14024189f
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.14023ec34
lea rcx, [rsp + 0x30]
call fcn.140241a3c
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x1402419f5
and qword [rbp - 0x80], 0
and qword [rbp - 0x70], 0
and qword [rbp - 0x68], 0
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140032480
nop
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.1402413a4
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140113b10
nop
xor r8d, r8d
lea rdx, [0x1402e6a28]
lea rcx, [rsp + 0x60]
call fcn.14023ea88
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.14023f32c
mov rsi, rax
lea rcx, [rsp + 0x60]
call fcn.140025de0
cmp qword [rsi + 0x18], 8
jb 0x140241956
mov rsi, qword [rsi]
mov qword [rsp + 0x60], rsi
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1402419a6
mov rcx, rsi
call fcn.140240e28
test eax, eax
je 0x1402419a6
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140241995
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140097e90
add qword [rdi + 8], 0x20
jmp 0x1402419a6
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.14023ec34
nop
lea rcx, [rbp - 0x40]
call fcn.140025de0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1402419ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402419e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140241a35
call fcn.140269844
add rbx, 0x20
jmp 0x1402418af
lea rcx, [rsp + 0x30]
call fcn.1402414bc
nop
lea rcx, [rbp - 0x20]
call fcn.140025de0
nop
lea rcx, [rbp - 0x60]
call fcn.140025de0
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140269300
mov rbx, qword [rsp + 0x350]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
call fcn.140277ff8
nop
int3