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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.14028e7e0
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]
mov r15d, 1
xor r14d, r14d
test eax, eax
je 0x1401033b2
lea rcx, [rbp - 0x10]
call fcn.140102a84
test eax, eax
je 0x1401033b2
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], rax
jne 0x140103390
mov edx, r15d
mov rcx, rdi
call fcn.1401030a4
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rcx
test rcx, rcx
je 0x1401033ad
lea rdx, [rbp - 0x10]
call fcn.140100e10
nop
add qword [rdi + 8], 0x20
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140100e10
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.1401039e4
nop
lea rdx, [0x1402e66d8]
lea rcx, [rsp + 0x70]
call fcn.1400f0f40
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400f1470
mov rbx, rax
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x70]
call fcn.14002e680
cmp qword [rbx + 0x18], 8
jb 0x140103408
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140103457
mov rcx, rbx
call fcn.140102a84
test eax, eax
je 0x140103457
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], rax
jne 0x140103436
mov rdx, r15
mov rcx, rdi
call fcn.1401030a4
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x140103452
mov rdx, rbx
call fcn.1400f0f40
nop
add qword [rdi + 8], 0x20
lea rcx, [rsp + 0x30]
call fcn.1401035b0
nop
mov rbx, qword [rsp + 0x30]
jmp 0x140103553
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14002ddd0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1401039e4
nop
lea rdx, [0x1402e66d8]
lea rcx, [rbp - 0x30]
call fcn.1400f0f40
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400f1470
mov rsi, rax
xor r8d, r8d
mov dl, r15b
lea rcx, [rbp - 0x30]
call fcn.14002e680
cmp qword [rsi + 0x18], 8
jb 0x1401034df
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14010352e
mov rcx, rsi
call fcn.140102a84
test eax, eax
je 0x14010352e
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], rax
jne 0x14010350d
mov rdx, r15
mov rcx, rdi
call fcn.1401030a4
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x140103529
mov rdx, rsi
call fcn.1400f0f40
nop
add qword [rdi + 8], 0x20
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x70]
call fcn.14002e680
nop
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x50]
call fcn.14002e680
add rbx, 0x20
cmp rbx, qword [rsp + 0x38]
jne 0x14010346c
lea rcx, [rsp + 0x30]
call fcn.140103120
nop
xor r8d, r8d
mov dl, r15b
lea rcx, [rbp - 0x70]
call fcn.14002e680
nop
xor r8d, r8d
mov dl, r15b
lea rcx, [rbp - 0x50]
call fcn.14002e680
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14026d870
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret