Function at 0x1401fa1e0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rax - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmm6, xmm3
mov r12, r8
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x150], r13d
cmp byte [rcx + 0x18], r13b
je 0x1401fa233
mov byte [rcx + 0x18], r13b
call fcn.1401fa670
movaps xmm1, xmm6
lea rcx, [rsp + 0x70]
call fcn.1401f9f70
mov r8, rax
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.1401f9f90
nop
lea rax, vtable.Core::TimeSpan.0
mov qword [rsp + 0x70], rax
lea rdx, [rdi + 0x20]
mov rcx, r12
call fcn.1400ead10
test al, al
je 0x1401fa274
mov al, 1
jmp 0x1401fa637
mov eax, dword [rsp + 0x68]
cmp eax, dword [rdi + 0x48]
jne 0x1401fa295
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x150], rax
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x30], rax
jmp 0x1401fa2d3
test eax, eax
jne 0x1401fa2b7
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x30], rax
jmp 0x1401fa2d3
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x150], rax
lea rcx, [rdi + 0x40]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
je 0x1401fa26d
cmp dword [rsp + 0x68], 1
jne 0x1401fa2f9
mov rax, qword [rsp + 0x60]
jmp 0x1401fa30f
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x58]
call fcn.140170ce0
mov rax, qword [rax + 8]
movabs rcx, 0xfe624e212ac18000
add rcx, rax
movabs rax, 0x6666666666666667
imul rcx
mov rbx, rdx
sar rbx, 2
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov rcx, r12
call fcn.1401f9fc0
mov r9, rax
mov r8, rbx
lea rdx, str.SELECT_url__visit_date_FROM___moz_places__moz_historyvisits_WHERE__moz_places.id__moz_historyvisits.place_id_AND____visit_date____I64u_AND_visit_date____I64u_
lea rcx, [rsp + 0x80]
call fcn.1401ff700
nop
mov ecx, 0x20
call fcn.1402b968c
mov qword [rsp + 0x150], rax
test rax, rax
je 0x1401fa38d
mov r8, qword [rdi + 0x10]
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140208130
mov r14, rax
jmp 0x1401fa390
mov r14, r13
lea rax, vtable.Core::SharedPtr_class_Core::Data::SqliteCommand_.0
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], r14
mov rbx, r13
mov qword [rsp + 0xb8], rbx
test r14, r14
je 0x1401fa3e7
mov ecx, 4
call fcn.1402b968c
mov rbx, rax
test rax, rax
je 0x1401fa3d6
mov dword [rax], r13d
mov qword [rsp + 0xb8], rax
jmp 0x1401fa3e1
mov rbx, r13
mov qword [rsp + 0xb8], rbx
mov dword [rbx], 1
mov ecx, 0x18
call fcn.1402b968c
mov qword [rsp + 0x150], rax
test rax, rax
je 0x1401fa40e
mov rdx, r14
mov rcx, rax
call fcn.14020f6f0
mov rsi, rax
jmp 0x1401fa411
mov rsi, r13
lea rax, vtable.Core::SharedPtr_class_Core::Data::SqliteDataReader_.0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rsi
mov rdi, r13
mov qword [rsp + 0xa0], r13
test rsi, rsi
je 0x1401fa468
mov ecx, 4
call fcn.1402b968c
mov rdi, rax
test rax, rax
je 0x1401fa457
mov dword [rax], r13d
mov qword [rsp + 0xa0], rax
jmp 0x1401fa462
mov rdi, r13
mov qword [rsp + 0xa0], r13
mov dword [rdi], 1
mov r15, qword [rsp + 0x170]
movsd xmm7, qword [0x140374960]
xorps xmm8, xmm8
nop dword [rax]
mov rcx, qword [rsi + 0x10]
mov rcx, qword [rcx]
call fcn.14023d0f0
cmp eax, 0x64
jne 0x1401fa5c0
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14020fa70
nop
mov edx, 1
mov rcx, rsi
call fcn.14020f950
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1401fa020
nop
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1400cb050
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rax + 8]
divsd xmm0, xmm7
lea rax, vtable.Core::TimeSpan.0
mov qword [rsp + 0x70], rax
comisd xmm8, xmm0
ja 0x1401fa597
comisd xmm6, xmm0
jb 0x1401fa597
movsd qword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401fa528
lea rax, [0x140348ca0]
mov qword [rsp + 0x48], rax
jmp 0x1401fa553
lea rcx, [rsp + 0x48]
call fcn.1401ff260
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call fcn.1402bd21c
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x48]
call fcn.140200570
nop
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.14011cca0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xe0]
mov rcx, r15
call fcn.1401f9e10
nop
cmp dword [rsp + 0x50], 0
jle 0x1401fa597
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
nop
lea rax, vtable.Core::DateTime.0
mov qword [rsp + 0xc0], rax
cmp dword [rsp + 0x38], 0
jle 0x1401fa480
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
jmp 0x1401fa480
test rdi, rdi
je 0x1401fa5ea
mov eax, dword [rdi]
test eax, eax
jle 0x1401fa5cf
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1401fa5ea
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, rdi
call fcn.1402177e0
nop
test rbx, rbx
je 0x1401fa619
mov eax, dword [rbx]
test eax, eax
jle 0x1401fa5f9
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x1401fa619
test r14, r14
je 0x1401fa610
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
mov rcx, rbx
call fcn.1402177e0
nop
cmp dword [rsp + 0x88], 0
jle 0x1401fa631
mov rcx, qword [rsp + 0x80]
call fcn.1402b9c20
nop
mov al, 1
jmp 0x1401fa637
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret