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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rcx
mov qword [rsp + 0x20], rdx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.140138ee0
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]
xor r12d, r12d
test eax, eax
je 0x14016c602
lea rcx, [rbp - 0x10]
call fcn.14016bf50
test eax, eax
je 0x14016c602
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14016c5f3
mov r8b, r12b
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.140169f4c
add qword [rdi + 8], 0x20
jmp 0x14016c602
lea r8, [rbp - 0x10]
mov rdx, rax
mov rcx, rdi
call fcn.14016a2e0
mov r8b, r12b
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.140169f94
nop
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400475fc
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14004a5d8
nop
lea rdx, [0x14032aa38]
lea rcx, [rbp - 0x30]
call fcn.14016a488
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x14016c677
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14016c6c6
mov rcx, rbx
call fcn.14016bf50
test eax, eax
je 0x14016c6c6
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14016c6b6
mov r8b, r12b
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400df920
add qword [rdi + 8], 0x20
jmp 0x14016c6c6
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rdi
call fcn.14016a170
lea rcx, [rsp + 0x30]
call fcn.14016c8cc
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x14016c822
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140034c5c
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400475fc
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14004a5d8
nop
lea rdx, [0x14032aa38]
lea rcx, [rbp - 0x70]
call fcn.14016a488
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x14016c75c
mov rsi, qword [rax]
mov qword [rsp + 0x20], rsi
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14016c7ac
mov rcx, rsi
call fcn.14016bf50
test eax, eax
je 0x14016c7ac
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14016c79b
mov r8b, r12b
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400df920
add qword [rdi + 8], 0x20
jmp 0x14016c7ac
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rdi
call fcn.14016a170
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14016c7c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.1400331fc
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14016c819
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14016c814
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016c8c5
call fcn.14011a254
add rbx, 0x20
jmp 0x14016c6d6
cmp qword [rsp + 0x30], r12
je 0x14016c856
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400327e0
mov rdx, qword [rsp + 0x40]
sub rdx, qword [rsp + 0x30]
and rdx, 0xffffffffffffffe0
mov rcx, qword [rsp + 0x30]
call fcn.1400331fc
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14016c871
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.1400331fc
movdqa xmm0, xmmword [0x14037f990]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r12w
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14016c89e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
call fcn.1400331fc
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
call fcn.14013d31c
nop
int3