Function at 0x14020d8d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r13, r8
mov r12, rdx
mov rsi, rcx
mov rax, qword [rcx]
call qword [rax + 0x30]
xor r14d, r14d
test al, al
jne 0x14020d91f
lea rcx, [rsi - 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
jmp 0x14020dddf
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, r14d
cmp eax, 0xffffffff
setne dil
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
je 0x14020dddf
or rbx, 0xffffffffffffffff
mov qword [rbp - 0x29], rbx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 0xc0000000
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.140021fb8
test eax, eax
sete dil
mov rcx, qword [rbp - 0x29]
cmp rcx, rbx
je 0x14020d989
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
jne 0x14020dddf
lea rdx, str.Databases.db
lea rcx, [r13 + 0x2c]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x14020da21
lea rax, vtable.Piriform::CChromeStorageDatabases.0
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
lea rcx, [rsi + 0xb0]
call fcn.14000bff0
mov dword [rsi + 0xd0], r14d
lea rax, [rsi - 8]
test rax, rax
lea r9, [rsi + 0x68]
jne 0x14020d9dd
mov r9, r14
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 0x21]
call fcn.1401e4300
cmp dword [rsi + 0xd0], r14d
jle 0x14020da1c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test al, al
je 0x14020da1c
mov rax, qword [rsi + 0x18]
cmp byte [rax + 1], r14b
jne 0x14020da1c
lea rdx, [rsi + 0xb0]
mov rcx, r12
call fcn.1401e4160
nop
jmp 0x14020dddf
lea rdx, [0x1403695f8]
lea rcx, [r13 + 0x2c]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x14020dcb3
lea rdx, str..indexeddb
lea rcx, [r13 + 0x2c]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x14020dcb3
lea rdx, [0x1403696e8]
lea rcx, [r13 + 0x2c]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x14020dae2
lea rax, vtable.Piriform::CChromeCookies.0
mov qword [rbp - 9], rax
mov qword [rbp - 1], r14
mov qword [rbp + 7], r14
lea rcx, [rsi + 0xb0]
call fcn.14000bff0
mov dword [rsi + 0xd0], r14d
lea rax, [rsi - 8]
test rax, rax
lea r9, [rsi + 0x68]
jne 0x14020da9e
mov r9, r14
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 9]
call fcn.1401e50f0
cmp dword [rsi + 0xd0], r14d
jle 0x14020dadd
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test al, al
je 0x14020dadd
mov rax, qword [rsi + 0x18]
cmp byte [rax + 1], r14b
jne 0x14020dadd
lea rdx, [rsi + 0xb0]
mov rcx, r12
call fcn.1401e4e00
nop
jmp 0x14020dddf
lea rdx, [0x1403696f8]
lea rcx, [r13 + 0x2c]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x14020db71
lea rax, vtable.Piriform::CChromeCookies.0
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], r14
lea rcx, [rsi + 0xb0]
call fcn.14000bff0
mov dword [rsi + 0xd0], r14d
lea rax, [rsi - 8]
test rax, rax
lea r9, [rsi + 0x68]
jne 0x14020db2d
mov r9, r14
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp + 0xf]
call fcn.1401e50f0
cmp dword [rsi + 0xd0], r14d
jle 0x14020db6c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test al, al
je 0x14020db6c
mov rax, qword [rsi + 0x18]
cmp byte [rax + 1], r14b
jne 0x14020db6c
lea rdx, [rsi + 0xb0]
mov rcx, r12
call fcn.1401e4e00
nop
jmp 0x14020dddf
lea rdx, str.databaseshttp__0
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x14020db9d
lea rdx, str.databaseshttps__0
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x14020dddf
mov rdx, r12
lea rcx, [rbp + 0x67]
call fcn.1401e10d0
nop
mov rax, qword [rbp + 0x67]
cmp dword [rax - 0x10], r14d
je 0x14020dcaa
lea rdx, [rsi + 0x70]
lea rcx, [rbp + 0x67]
call fcn.1401f1564
test al, al
jne 0x14020dcaa
mov ecx, 0x88
call fcn.1400be454
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14020dbee
mov rdx, qword [rsi + 8]
mov rcx, rax
call fcn.14006de38
jmp 0x14020dbf1
mov rax, r14
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400186f8
nop
mov r9, qword [rbp - 0x39]
test r12, r12
jne 0x14020dc0c
mov ecx, r14d
jmp 0x14020dc1d
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r12
lea rcx, [r9 + 0x20]
call fcn.14000c9f8
mov edx, dword [r13 + 0x1c]
shl rdx, 0x20
mov eax, dword [r13 + 0x20]
or rdx, rax
mov rax, qword [rbp - 0x39]
mov qword [rax + 0x28], rdx
mov rax, qword [rbp - 0x39]
mov dword [rax + 0x30], 1
mov rax, qword [rsi]
lea rdx, [rbp - 0x39]
mov rcx, rsi
call qword [rax + 0x68]
mov rax, qword [rsi + 0x18]
mov rcx, rsi
lea rdx, [rbp - 0x39]
cmp byte [rax + 1], r14b
mov rax, qword [rsi]
je 0x14020dc74
call qword [rax + 0x60]
jmp 0x14020dc78
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
nop
mov rdi, qword [rbp - 0x31]
test rdi, rdi
je 0x14020dcaa
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, ebx
jne 0x14020dcaa
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
add eax, ebx
jne 0x14020dcaa
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
mov rdx, qword [rbp + 0x67]
jmp 0x14020ddc5
lea rdx, [r13 + 0x2c]
lea rcx, [rbp + 0x7f]
call fcn.1401e1320
nop
mov rax, qword [rbp + 0x7f]
cmp dword [rax - 0x10], r14d
je 0x14020ddc1
lea rdx, [rsi + 0x70]
lea rcx, [rbp + 0x7f]
call fcn.1401f1564
test al, al
jne 0x14020ddc1
mov ecx, 0x88
call fcn.1400be454
mov qword [rbp + 0x67], rax
test rax, rax
je 0x14020dd05
mov rdx, qword [rsi + 8]
mov rcx, rax
call fcn.14006de38
jmp 0x14020dd08
mov rax, r14
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.1400186f8
nop
mov r9, qword [rbp - 0x49]
test r12, r12
jne 0x14020dd23
mov ecx, r14d
jmp 0x14020dd34
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r12
lea rcx, [r9 + 0x20]
call fcn.14000c9f8
mov edx, dword [r13 + 0x1c]
shl rdx, 0x20
mov eax, dword [r13 + 0x20]
or rdx, rax
mov rax, qword [rbp - 0x49]
mov qword [rax + 0x28], rdx
mov rax, qword [rbp - 0x49]
mov dword [rax + 0x30], 1
mov rax, qword [rsi]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call qword [rax + 0x68]
mov rax, qword [rsi + 0x18]
mov rcx, rsi
lea rdx, [rbp - 0x49]
cmp byte [rax + 1], r14b
mov rax, qword [rsi]
je 0x14020dd8b
call qword [rax + 0x60]
jmp 0x14020dd8f
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
nop
mov rdi, qword [rbp - 0x41]
test rdi, rdi
je 0x14020ddc1
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, ebx
jne 0x14020ddc1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
add eax, ebx
jne 0x14020ddc1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14020dddf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret