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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xe0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, r8
mov r12, rdx
mov r14, rcx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test ebx, ebx
je 0x1401c49a0
lea r13, vtable.CppSQLite3DB.0
mov qword [rsp + 0x20], r13
and qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0x32
mov rdx, r12
lea rcx, [rsp + 0x20]
call fcn.1401a9e20
lea r8, [rsp + 0x20]
mov edx, 2
lea ecx, [rdx + 3]
call fcn.14022e9d4
test al, al
je 0x1401c497f
cmp qword [rsi + 0x10], 0
jne 0x1401c47f4
lea rdx, str.begin_transaction_
lea rcx, [rsp + 0x20]
call fcn.1401aa3d0
lea rdx, str.delete_from_moz_hosts_where_typeoffline_app_and_permission1_
lea rcx, [rsp + 0x40]
call fcn.14000cb18
nop
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x20]
call fcn.1401aa200
lea rcx, [rsp + 0x88]
call fcn.1401a9f00
lea rdx, str.commit_transaction_
lea rcx, [rsp + 0x20]
call fcn.1401aa3d0
nop
mov rdx, qword [rsp + 0x40]
or edi, 0xffffffff
jmp 0x1401c4964
lea rdx, str.select_id__host_from_moz_hosts_where_typeoffline_app_and_permission1_
lea rcx, [rsp + 0x128]
call fcn.14000cb18
nop
mov r8, qword [rsp + 0x128]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.1401aa200
nop
xor r12b, r12b
or edi, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.1401a94e0
cmp byte [rsp + 0x60], 0
jne 0x1401c493a
lea rcx, [r14 + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1401c493a
lea rdx, str.host
lea rcx, [rsp + 0x48]
call fcn.1401a9b20
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000cb18
nop
mov rax, qword [rsp + 0x38]
cmp dword [rax - 0x10], 0
je 0x1401c4907
mov rbx, qword [rsi + 8]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140024df0
cmp qword [rax], rbx
jne 0x1401c4907
xor r8d, r8d
lea rdx, [0x140362054]
lea rcx, [rsp + 0x48]
call fcn.1401a9ab0
mov ebx, eax
test r12b, r12b
jne 0x1401c48c9
mov r12b, 1
lea rdx, str.begin_transaction_
lea rcx, [rsp + 0x20]
call fcn.1401aa3d0
mov r8d, ebx
lea rdx, str.delete_from_moz_hosts_where_id_d_and_typeoffline_app_and_permission1_
lea rcx, [rsp + 0x128]
call fcn.14000d9c8
mov r8, qword [rsp + 0x128]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.1401aa200
lea rcx, [rsp + 0xb0]
call fcn.1401a9f00
lea rcx, [rsp + 0x48]
call fcn.1401aa0c0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1401c4827
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1401c4827
test r12b, r12b
je 0x1401c4951
lea rdx, str.commit_transaction_
lea rcx, [rsp + 0x20]
call fcn.1401aa3d0
nop
lea rcx, [rsp + 0x48]
call fcn.1401a9f00
nop
mov rdx, qword [rsp + 0x128]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1401c497f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1401c4990
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1401a9d90
nop
mov r8, qword [rsi + 8]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140004130
nop
mov rcx, qword [rsi + 8]
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop r14
pop r13
pop r12
pop rdi
pop rsi
jmp fcn.1400be0f4