Function at 0x1401fdcb0
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.1402bcb4c
mov rsi, rax
mov qword [rsp + 0xe0], rax
test rax, rax
je 0x1401fdd9f
mov qword [rsp + 0x28], rbx
lea edx, [rbx + 0x7f]
lea rcx, [rsp + 0x20]
call fcn.1402028a0
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.1402c06dc
lea edx, [rbx + 0x7f]
lea rcx, [rsp + 0x20]
call fcn.140203bb0
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 0x1401fdd68
lea rax, [0x14034d1a0]
mov qword [rsi + 8], rax
jmp 0x1401fdd8c
lea rcx, [rsi + 8]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x2c]
lea rcx, [rsi + 8]
call fcn.140203bb0
mov qword [rsi + 0x18], r15
jmp 0x1401fdda2
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 0x1401fdde9
mov ecx, 4
call fcn.1402bcb4c
mov rdi, rax
test rax, rax
je 0x1401fdddb
mov dword [rax], ebx
mov qword [rsp + 0x40], rax
jmp 0x1401fdde3
mov rdi, rbx
mov qword [rsp + 0x40], rbx
mov dword [rdi], 1
test r14b, 1
je 0x1401fde00
cmp dword [rsp + 0x28], 0
jle 0x1401fde00
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
mov ecx, 0x18
call fcn.1402bcb4c
mov qword [rsp + 0xd8], rax
test rax, rax
je 0x1401fde27
mov rdx, rsi
mov rcx, rax
call fcn.140212cc0
mov r14, rax
jmp 0x1401fde2a
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 0x1401fde6b
mov ecx, 4
call fcn.1402bcb4c
test rax, rax
je 0x1401fde60
mov dword [rax], ebx
mov rbx, rax
mov qword [rsp + 0x58], rax
jmp 0x1401fde65
mov qword [rsp + 0x58], rbx
mov dword [rbx], 1
mov rcx, qword [r14 + 0x10]
mov rcx, qword [rcx]
call fcn.140240730
cmp eax, 0x64
jne 0x1401fdeeb
xor edx, edx
mov rcx, r14
call fcn.140212f20
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1401fd660
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400ec380
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.140212f20
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1401fd660
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.1400ec380
mov rcx, qword [rax + 8]
mov qword [r13 + 0x40], rcx
mov eax, dword [rax + 0x10]
mov dword [r13 + 0x48], eax
test rbx, rbx
je 0x1401fdf15
mov eax, dword [rbx]
test eax, eax
jle 0x1401fdefa
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x1401fdf15
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
mov rcx, rbx
call fcn.14021ae20
nop
test rdi, rdi
je 0x1401fdf44
mov eax, dword [rdi]
test eax, eax
jle 0x1401fdf24
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1401fdf44
test rsi, rsi
je 0x1401fdf3b
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, rdi
call fcn.14021ae20
nop
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret