Function at 0x1401c49ec
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push r12
push r13
push r14
sub rsp, 0xf0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov rsi, r8
cmp qword [r8 + 0x10], 0
je 0x1401c4c97
lea rcx, [rsp + 0x20]
call fcn.14000cb18
nop
lea rdx, [0x1403679e8]
lea rcx, [rsp + 0x20]
call fcn.14000f884
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401c4c76
lea rdi, vtable.CppSQLite3DB.0
mov qword [rsp + 0x28], rdi
and qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0x32
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1401a9e20
lea r8, [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 4]
call fcn.14022e9d4
test al, al
je 0x1401c4c43
lea rdx, str.begin_transaction_
lea rcx, [rsp + 0x28]
call fcn.1401aa3d0
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
mov qword [rsp + 0x50], rax
lea r13, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
lea r14, [rsp + 0x40]
mov dl, 1
test dl, dl
je 0x1401c4c43
mov rax, qword [r13]
cmp rax, qword [r14]
je 0x1401c4c43
xor dl, dl
lea r12, [rax + 0x18]
test dl, dl
jne 0x1401c4bfa
mov r8, r12
lea rdx, str.delete_from_moz_cache_where_Key_like_http___
lea rcx, [rsp + 0x48]
call fcn.14000d30c
nop
lea r8, [0x1403767f0]
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.14001c3e0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401c4b2c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, qword [rsp + 0x128]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.1401aa200
lea rcx, [rsp + 0x68]
call fcn.1401a9f00
mov r8d, 0x59
lea rdx, str.delete_from_moz_cache_groups_where_ActiveClientID_not_in__Select_ClientID_from_moz_cache_
lea rcx, [rsp + 0x128]
call fcn.14000c9f8
mov r8, qword [rsp + 0x128]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x28]
call fcn.1401aa200
lea rcx, [rsp + 0x90]
call fcn.1401a9f00
mov r8d, 0x57
lea rdx, str.delete_from_moz_cache_namespaces_where_ClientID_not_in__Select_ClientID_from_moz_cache_
lea rcx, [rsp + 0x128]
call fcn.14000c9f8
mov r8, qword [rsp + 0x128]
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x28]
call fcn.1401aa200
lea rcx, [rsp + 0xb8]
call fcn.1401a9f00
nop
mov rdx, qword [rsp + 0x128]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401c4bf3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dl, 1
jmp 0x1401c4ad7
mov rax, qword [r13]
cmp byte [rax + 0x21], 0
jne 0x1401c4abc
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x21], 0
jne 0x1401c4c20
mov rcx, qword [rax]
cmp byte [rcx + 0x21], 0
jne 0x1401c4c3a
mov rax, rcx
jmp 0x1401c4c12
mov rcx, qword [r13]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x21], 0
jne 0x1401c4c3a
cmp rcx, qword [rax + 0x10]
jne 0x1401c4c3a
mov qword [r13], rax
jmp 0x1401c4c20
mov qword [r13], rax
jmp 0x1401c4abc
lea rdx, str.commit_transaction_
lea rcx, [rsp + 0x28]
call fcn.1401aa3d0
nop
jmp 0x1401c4c66
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x28]
call fcn.1401a9d90
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401c4c97
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r8, qword [rsi + 8]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140004130
nop
mov rcx, qword [rsi + 8]
lea r11, [rsp + 0xf0]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop r13
pop r12
jmp fcn.1400be0f4