Function at 0x1401fa670
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13, rcx
xor ebx, ebx
mov r14d, ebx
mov dword [rax + 0x10], ebx
lea ecx, [rbx + 0x20]
call fcn.1402b968c
mov rsi, rax
mov qword [rsp + 0xe0], rax
test rax, rax
je 0x1401fa75f
mov qword [rsp + 0x28], rbx
lea edx, [rbx + 0x7f]
lea rcx, [rsp + 0x20]
call fcn.1401ff260
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r9d, [rbx + 0x7f]
lea r8, str.SELECT_MIN_visit_date___MAX_visit_date__FROM___moz_places__moz_historyvisits_WHERE__moz_places.id__moz_historyvisits.place_id_
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
lea edx, [rbx + 0x7f]
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
mov r14d, 1
mov dword [rsp + 0xd8], r14d
mov r15, qword [r13 + 0x10]
lea rax, vtable.Core::Data::SqliteCommand.0
mov qword [rsi], rax
mov qword [rsi + 0x10], rbx
mov edx, dword [rsp + 0x2c]
test edx, edx
jne 0x1401fa728
lea rax, [0x140348ca0]
mov qword [rsi + 8], rax
jmp 0x1401fa74c
lea rcx, [rsi + 8]
call fcn.1401ff260
movsxd r9, dword [rsp + 0x2c]
mov eax, dword [rsi + 0x10]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsi + 8]
call fcn.1402bd21c
mov edx, dword [rsp + 0x2c]
lea rcx, [rsi + 8]
call fcn.140200570
mov qword [rsi + 0x18], r15
jmp 0x1401fa762
mov rsi, rbx
lea rax, vtable.Core::SharedPtr_class_Core::Data::SqliteCommand_.0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov rdi, rbx
mov qword [rsp + 0x40], rbx
test rsi, rsi
je 0x1401fa7a9
mov ecx, 4
call fcn.1402b968c
mov rdi, rax
test rax, rax
je 0x1401fa79b
mov dword [rax], ebx
mov qword [rsp + 0x40], rax
jmp 0x1401fa7a3
mov rdi, rbx
mov qword [rsp + 0x40], rbx
mov dword [rdi], 1
test r14b, 1
je 0x1401fa7c0
cmp dword [rsp + 0x28], 0
jle 0x1401fa7c0
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
mov ecx, 0x18
call fcn.1402b968c
mov qword [rsp + 0xd8], rax
test rax, rax
je 0x1401fa7e7
mov rdx, rsi
mov rcx, rax
call fcn.14020f6f0
mov r14, rax
jmp 0x1401fa7ea
mov r14, rbx
lea rax, vtable.Core::SharedPtr_class_Core::Data::SqliteDataReader_.0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbx
test r14, r14
je 0x1401fa82b
mov ecx, 4
call fcn.1402b968c
test rax, rax
je 0x1401fa820
mov dword [rax], ebx
mov rbx, rax
mov qword [rsp + 0x58], rax
jmp 0x1401fa825
mov qword [rsp + 0x58], rbx
mov dword [rbx], 1
mov rcx, qword [r14 + 0x10]
mov rcx, qword [rcx]
call fcn.14023d0f0
cmp eax, 0x64
jne 0x1401fa8ab
xor edx, edx
mov rcx, r14
call fcn.14020f950
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1401fa020
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400eae10
mov rcx, qword [rax + 8]
mov qword [r13 + 0x28], rcx
mov eax, dword [rax + 0x10]
mov dword [r13 + 0x30], eax
mov edx, 1
mov rcx, r14
call fcn.14020f950
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1401fa020
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.1400eae10
mov rcx, qword [rax + 8]
mov qword [r13 + 0x40], rcx
mov eax, dword [rax + 0x10]
mov dword [r13 + 0x48], eax
test rbx, rbx
je 0x1401fa8d5
mov eax, dword [rbx]
test eax, eax
jle 0x1401fa8ba
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x1401fa8d5
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
mov rcx, rbx
call fcn.1402177e0
nop
test rdi, rdi
je 0x1401fa904
mov eax, dword [rdi]
test eax, eax
jle 0x1401fa8e4
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1401fa904
test rsi, rsi
je 0x1401fa8fb
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, rdi
call fcn.1402177e0
nop
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret