Function at 0x140024eac
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 [0x14009d2d0]
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.1400464e0
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 0x140024f61
lea rcx, [rbp]
call fcn.140024400
test eax, eax
je 0x140024f61
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140024f52
xor r8d, r8d
lea rdx, [rbp]
mov rcx, rax
call fcn.140021d60
add qword [rdi + 8], 0x20
jmp 0x140024f61
lea r8, [rbp]
mov rdx, rax
mov rcx, rdi
call fcn.14002210c
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140021d94
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.140024ab8
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140021dd0
nop
xor r8d, r8d
lea rdx, [0x1400753f8]
lea rcx, [rbp - 0x80]
call fcn.140021d60
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.140022904
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14000f210
cmp qword [rbx + 0x18], 8
jb 0x140024ff0
mov rbx, qword [rbx]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14002503f
mov rcx, rbx
call fcn.140024400
test eax, eax
je 0x14002503f
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14002502f
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140021d94
add qword [rdi + 8], 0x20
jmp 0x14002503f
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.140021f9c
lea rcx, [rsp + 0x30]
call fcn.1400251dc
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x140025195
and qword [rbp - 0x80], 0
and qword [rbp - 0x70], 0
and qword [rbp - 0x68], 0
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14000c650
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.140024ab8
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140021dd0
nop
xor r8d, r8d
lea rdx, [0x1400753f8]
lea rcx, [rsp + 0x60]
call fcn.140021d60
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140022904
mov rsi, rax
lea rcx, [rsp + 0x60]
call fcn.14000f210
cmp qword [rsi + 0x18], 8
jb 0x1400250f6
mov rsi, qword [rsi]
mov qword [rsp + 0x60], rsi
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140025146
mov rcx, rsi
call fcn.140024400
test eax, eax
je 0x140025146
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140025135
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140021d94
add qword [rdi + 8], 0x20
jmp 0x140025146
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.140021f9c
nop
lea rcx, [rbp - 0x40]
call fcn.14000f210
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14002518c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025187
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400251d5
call fcn.140043780
add rbx, 0x20
jmp 0x14002504f
lea rcx, [rsp + 0x30]
call fcn.140024bd0
nop
lea rcx, [rbp - 0x20]
call fcn.14000f210
nop
lea rcx, [rbp - 0x60]
call fcn.14000f210
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140043760
mov rbx, qword [rsp + 0x350]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
call fcn.14004fbe0
nop
int3