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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov r14, rcx
lea r9, [rbp + 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400315b0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xor r15d, r15d
test eax, eax
je 0x1400028d7
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [0x14003f34c]
jmp 0x1400028db
mov rdx, qword [rbp + 0x58]
mov ebx, 7
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], rbx
mov word [rbp - 0x40], r15w
lea rcx, [rbp - 0x40]
call fcn.1400067f4
nop
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.140006870
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140001f18
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 0x19
jb 0x140002de6
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 0x19
lea rax, str.MicrosoftEdgeUser_Data
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp]
call fcn.140006f04
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400029b1
test al, 0x10
je 0x1400029b1
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea rdx, [rbp]
lea rcx, [rbp - 0x80]
call fcn.140006870
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140006200
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x140002b53
mov rdi, qword [rsp + 0x60]
mov esi, eax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], rbx
mov word [rsp + 0x60], r15w
lea rdx, [0x14003f34c]
lea rcx, [rsp + 0x60]
call fcn.1400067f4
nop
lea rax, [rbp - 0x80]
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], rbx
lea rdx, str.Application
lea rcx, [rbp - 0x80]
call fcn.1400067f4
nop
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140006870
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.140002128
test al, al
jne 0x140002b3b
lea rax, [rbp - 0x60]
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], rbx
lea rdx, str.History
lea rcx, [rbp - 0x60]
call fcn.1400067f4
nop
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140006870
nop
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140002128
test al, al
jne 0x140002b3b
lea rax, [rbp - 0x20]
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], rbx
lea rdx, str.Temp
lea rcx, [rbp - 0x20]
call fcn.1400067f4
nop
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140006870
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.140002128
test al, al
jne 0x140002b3b
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140006870
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call fcn.140002dec
test al, al
je 0x140002b3b
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140006870
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.140006200
nop
lea rcx, [rsp + 0x60]
call fcn.140006790
add rdi, 0x20
sub rsi, 1
jne 0x1400029c4
lea r9, [rbp + 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400315a0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x140002b80
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [0x14003f34c]
jmp 0x140002b84
mov rdx, qword [rbp + 0x58]
movdqa xmm0, xmmword [0x1400409a0]
mov qword [rsp + 0x60], r15
movdqu xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x60]
call fcn.1400067f4
lea rcx, [rbp - 0x40]
call fcn.140006790
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x30], xmm1
movdqa xmm0, xmmword [0x1400409a0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r15w
lea rcx, [rsp + 0x60]
call fcn.140006790
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140006870
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140001f18
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
psrldq xmm0, 8
movd eax, xmm0
test eax, eax
jle 0x140002dbc
mov rdi, qword [rsp + 0x60]
mov esi, eax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], rbx
mov word [rsp + 0x60], r15w
lea rdx, [0x14003f34c]
lea rcx, [rsp + 0x60]
call fcn.1400067f4
nop
lea rax, [rsp + 0x40]
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rbx
lea rdx, str.Application
lea rcx, [rsp + 0x40]
call fcn.1400067f4
nop
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140006870
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140002128
test al, al
jne 0x140002da4
lea rax, [rbp - 0x20]
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], rbx
lea rdx, str.History
lea rcx, [rbp - 0x20]
call fcn.1400067f4
nop
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140006870
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.140002128
test al, al
jne 0x140002da4
lea rax, [rsp + 0x40]
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rbx
lea rdx, str.Temp
lea rcx, [rsp + 0x40]
call fcn.1400067f4
nop
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140006870
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140002128
test al, al
jne 0x140002da4
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140006870
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call fcn.140002dec
test al, al
je 0x140002da4
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140006870
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.140006200
nop
lea rcx, [rsp + 0x60]
call fcn.140006790
add rdi, 0x20
sub rsi, 1
jne 0x140002c26
lea rcx, [rbp]
call fcn.140006790
nop
lea rcx, [rbp - 0x40]
call fcn.140006790
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140001740
nop