Function at 0x140081f18
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 [0x14017b278]
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.14009b2d0
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 0x140081fd6
lea rcx, [rbp - 0x10]
call fcn.140081770
test eax, eax
je 0x140081fd6
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140081fc7
mov r8b, r12b
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.14007f12c
add qword [rdi + 8], 0x20
jmp 0x140081fd6
lea r8, [rbp - 0x10]
mov rdx, rax
mov rcx, rdi
call fcn.14007f560
mov r8b, r12b
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.14007f174
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.140081c34
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14007f1c0
nop
lea rdx, [0x14011b878]
lea rcx, [rbp - 0x30]
call fcn.14007f9fc
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x14008204b
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14008209a
mov rcx, rbx
call fcn.140081770
test eax, eax
je 0x14008209a
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14008208a
mov r8b, r12b
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140072170
add qword [rdi + 8], 0x20
jmp 0x14008209a
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rdi
call fcn.14007f3f0
lea rcx, [rsp + 0x30]
call fcn.1400822a0
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x1400821f6
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14001f510
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.140081c34
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14007f1c0
nop
lea rdx, [0x14011b878]
lea rcx, [rbp - 0x70]
call fcn.14007f9fc
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x140082130
mov rsi, qword [rax]
mov qword [rsp + 0x20], rsi
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140082180
mov rcx, rsi
call fcn.140081770
test eax, eax
je 0x140082180
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14008216f
mov r8b, r12b
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140072170
add qword [rdi + 8], 0x20
jmp 0x140082180
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rdi
call fcn.14007f3f0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14008219b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.140026990
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400821ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400821e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082299
call fcn.14008739c
add rbx, 0x20
jmp 0x1400820aa
cmp qword [rsp + 0x30], r12
je 0x14008222a
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14007f230
mov rdx, qword [rsp + 0x40]
sub rdx, qword [rsp + 0x30]
and rdx, 0xffffffffffffffe0
mov rcx, qword [rsp + 0x30]
call fcn.140026990
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140082245
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.140026990
movdqa xmm0, xmmword [0x140158fe0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r12w
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140082272
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
call fcn.140026990
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140086e90
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.14009f9b0
nop
int3