Function at 0x14003b87c
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 [0x1400b0290]
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.14004a0e0
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 0x14003b931
lea rcx, [rbp]
call fcn.14003b104
test eax, eax
je 0x14003b931
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14003b922
xor r8d, r8d
lea rdx, [rbp]
mov rcx, rax
call fcn.140002c14
add qword [rdi + 8], 0x20
jmp 0x14003b931
lea r8, [rbp]
mov rdx, rax
mov rcx, rdi
call fcn.1400391d0
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140038ee8
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.14000b730
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000d6c0
nop
xor r8d, r8d
lea rdx, [0x1400871c8]
lea rcx, [rbp - 0x80]
call fcn.140002c14
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.140001b64
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.140002674
cmp qword [rbx + 0x18], 8
jb 0x14003b9c0
mov rbx, qword [rbx]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14003ba0f
mov rcx, rbx
call fcn.14003b104
test eax, eax
je 0x14003ba0f
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14003b9ff
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14002db10
add qword [rdi + 8], 0x20
jmp 0x14003ba0f
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.140039060
lea rcx, [rsp + 0x30]
call fcn.14003bbac
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x14003bb65
and qword [rbp - 0x80], 0
and qword [rbp - 0x70], 0
and qword [rbp - 0x68], 0
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400027b4
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.14000b730
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14000d6c0
nop
xor r8d, r8d
lea rdx, [0x1400871c8]
lea rcx, [rsp + 0x60]
call fcn.140002c14
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140001b64
mov rsi, rax
lea rcx, [rsp + 0x60]
call fcn.140002674
cmp qword [rsi + 0x18], 8
jb 0x14003bac6
mov rsi, qword [rsi]
mov qword [rsp + 0x60], rsi
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14003bb16
mov rcx, rsi
call fcn.14003b104
test eax, eax
je 0x14003bb16
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14003bb05
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14002db10
add qword [rdi + 8], 0x20
jmp 0x14003bb16
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.140039060
nop
lea rcx, [rbp - 0x40]
call fcn.140002674
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14003bb5c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bb57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bba5
call fcn.140047cd4
add rbx, 0x20
jmp 0x14003ba1f
lea rcx, [rsp + 0x30]
call fcn.14003b62c
nop
lea rcx, [rbp - 0x20]
call fcn.140002674
nop
lea rcx, [rbp - 0x60]
call fcn.140002674
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140047790
mov rbx, qword [rsp + 0x350]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
call fcn.14005391c
nop
int3