Function at 0x140070fcc
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 [0x140150a10]
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.1400ae360
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 0x140071081
lea rcx, [rbp]
call fcn.140070564
test eax, eax
je 0x140071081
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140071072
xor r8d, r8d
lea rdx, [rbp]
mov rcx, rax
call fcn.14006e2ec
add qword [rdi + 8], 0x20
jmp 0x140071081
lea r8, [rbp]
mov rdx, rax
mov rcx, rdi
call fcn.14006e69c
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.14006e320
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.140070c1c
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14006e35c
nop
xor r8d, r8d
lea rdx, [0x1401008b8]
lea rcx, [rbp - 0x80]
call fcn.14006e2ec
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.14006ea68
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.140008bf0
cmp qword [rbx + 0x18], 8
jb 0x140071110
mov rbx, qword [rbx]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007115f
mov rcx, rbx
call fcn.140070564
test eax, eax
je 0x14007115f
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14007114f
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14006e320
add qword [rdi + 8], 0x20
jmp 0x14007115f
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.14006e52c
lea rcx, [rsp + 0x30]
call fcn.1400712fc
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x1400712b5
and qword [rbp - 0x80], 0
and qword [rbp - 0x70], 0
and qword [rbp - 0x68], 0
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14000a180
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.140070c1c
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14006e35c
nop
xor r8d, r8d
lea rdx, [0x1401008b8]
lea rcx, [rsp + 0x60]
call fcn.14006e2ec
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.14006ea68
mov rsi, rax
lea rcx, [rsp + 0x60]
call fcn.140008bf0
cmp qword [rsi + 0x18], 8
jb 0x140071216
mov rsi, qword [rsi]
mov qword [rsp + 0x60], rsi
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140071266
mov rcx, rsi
call fcn.140070564
test eax, eax
je 0x140071266
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140071255
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14006e320
add qword [rdi + 8], 0x20
jmp 0x140071266
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.14006e52c
nop
lea rcx, [rbp - 0x40]
call fcn.140008bf0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400712ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400712a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400712f5
call fcn.1400ab6e0
add rbx, 0x20
jmp 0x14007116f
lea rcx, [rsp + 0x30]
call fcn.140070d34
nop
lea rcx, [rbp - 0x20]
call fcn.140008bf0
nop
lea rcx, [rbp - 0x60]
call fcn.140008bf0
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400ab6c0
mov rbx, qword [rsp + 0x350]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b2bb8
nop
int3