Function at 0x1401f7f50
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.1402b6dbc
mov rsi, rax
mov qword [rsp + 0xe0], rax
test rax, rax
je 0x1401f803f
mov qword [rsp + 0x28], rbx
lea edx, [rbx + 0x7f]
lea rcx, [rsp + 0x20]
call fcn.1401fcb40
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.1402ba94c
lea edx, [rbx + 0x7f]
lea rcx, [rsp + 0x20]
call fcn.1401fde50
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 0x1401f8008
lea rax, [0x140346ce0]
mov qword [rsi + 8], rax
jmp 0x1401f802c
lea rcx, [rsi + 8]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rsp + 0x2c]
lea rcx, [rsi + 8]
call fcn.1401fde50
mov qword [rsi + 0x18], r15
jmp 0x1401f8042
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 0x1401f8089
mov ecx, 4
call fcn.1402b6dbc
mov rdi, rax
test rax, rax
je 0x1401f807b
mov dword [rax], ebx
mov qword [rsp + 0x40], rax
jmp 0x1401f8083
mov rdi, rbx
mov qword [rsp + 0x40], rbx
mov dword [rdi], 1
test r14b, 1
je 0x1401f80a0
cmp dword [rsp + 0x28], 0
jle 0x1401f80a0
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
mov ecx, 0x18
call fcn.1402b6dbc
mov qword [rsp + 0xd8], rax
test rax, rax
je 0x1401f80c7
mov rdx, rsi
mov rcx, rax
call fcn.14020d000
mov r14, rax
jmp 0x1401f80ca
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 0x1401f810b
mov ecx, 4
call fcn.1402b6dbc
test rax, rax
je 0x1401f8100
mov dword [rax], ebx
mov rbx, rax
mov qword [rsp + 0x58], rax
jmp 0x1401f8105
mov qword [rsp + 0x58], rbx
mov dword [rbx], 1
mov rcx, qword [r14 + 0x10]
mov rcx, qword [rcx]
call fcn.14023aa00
cmp eax, 0x64
jne 0x1401f818b
xor edx, edx
mov rcx, r14
call fcn.14020d260
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1401f7900
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400e9b70
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.14020d260
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1401f7900
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.1400e9b70
mov rcx, qword [rax + 8]
mov qword [r13 + 0x40], rcx
mov eax, dword [rax + 0x10]
mov dword [r13 + 0x48], eax
test rbx, rbx
je 0x1401f81b5
mov eax, dword [rbx]
test eax, eax
jle 0x1401f819a
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x1401f81b5
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
mov rcx, rbx
call fcn.1402150f0
nop
test rdi, rdi
je 0x1401f81e4
mov eax, dword [rdi]
test eax, eax
jle 0x1401f81c4
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1401f81e4
test rsi, rsi
je 0x1401f81db
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, rdi
call fcn.1402150f0
nop
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret