Function at 0x1402bbcac
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 [0x14039bc30]
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.14013d7a0
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 0x1402bbd61
lea rcx, [rbp]
call fcn.1402bb4dc
test eax, eax
je 0x1402bbd61
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x1402bbd52
xor r8d, r8d
lea rdx, [rbp]
mov rcx, rax
call fcn.1402b9558
add qword [rdi + 8], 0x20
jmp 0x1402bbd61
lea r8, [rbp]
mov rdx, rax
mov rcx, rdi
call fcn.1402b9874
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.1402b958c
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.140032750
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140032990
nop
xor r8d, r8d
lea rdx, [0x140328938]
lea rcx, [rbp - 0x80]
call fcn.1402b9558
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.1400324c0
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.140033a90
cmp qword [rbx + 0x18], 8
jb 0x1402bbdf0
mov rbx, qword [rbx]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1402bbe3f
mov rcx, rbx
call fcn.1402bb4dc
test eax, eax
je 0x1402bbe3f
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x1402bbe2f
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400b2b70
add qword [rdi + 8], 0x20
jmp 0x1402bbe3f
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.1402b9704
lea rcx, [rsp + 0x30]
call fcn.1402bbfdc
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x1402bbf95
and qword [rbp - 0x80], 0
and qword [rbp - 0x70], 0
and qword [rbp - 0x68], 0
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140033900
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.140032750
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140032990
nop
xor r8d, r8d
lea rdx, [0x140328938]
lea rcx, [rsp + 0x60]
call fcn.1402b9558
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.1400324c0
mov rsi, rax
lea rcx, [rsp + 0x60]
call fcn.140033a90
cmp qword [rsi + 0x18], 8
jb 0x1402bbef6
mov rsi, qword [rsi]
mov qword [rsp + 0x60], rsi
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1402bbf46
mov rcx, rsi
call fcn.1402bb4dc
test eax, eax
je 0x1402bbf46
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x1402bbf35
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400b2b70
add qword [rdi + 8], 0x20
jmp 0x1402bbf46
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.1402b9704
nop
lea rcx, [rbp - 0x40]
call fcn.140033a90
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1402bbf8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402bbf87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402bbfd5
call fcn.14013afa0
add rbx, 0x20
jmp 0x1402bbe4f
lea rcx, [rsp + 0x30]
call fcn.1402bba58
nop
lea rcx, [rbp - 0x20]
call fcn.140033a90
nop
lea rcx, [rbp - 0x60]
call fcn.140033a90
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14013af80
mov rbx, qword [rsp + 0x350]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
call fcn.1401421d8
nop
int3