Function at 0x1401e3fb0
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 0x1401e4003
mov byte [rcx + 0x18], r13b
call fcn.1401e4440
movaps xmm1, xmm6
lea rcx, [rsp + 0x70]
call fcn.1401e3ce0
mov r8, rax
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.1401e3d00
nop
lea rax, vtable.Core::TimeSpan.0
mov qword [rsp + 0x70], rax
lea rdx, [rdi + 0x20]
mov rcx, r12
call fcn.1400eb870
test al, al
je 0x1401e4044
mov al, 1
jmp 0x1401e4407
mov eax, dword [rsp + 0x68]
cmp eax, dword [rdi + 0x48]
jne 0x1401e4065
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x150], rax
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x30], rax
jmp 0x1401e40a3
test eax, eax
jne 0x1401e4087
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 0x1401e40a3
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 0x1401e403d
cmp dword [rsp + 0x68], 1
jne 0x1401e40c9
mov rax, qword [rsp + 0x60]
jmp 0x1401e40df
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x58]
call fcn.1401e3d30
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.1401e3d90
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.1401e94c0
nop
mov ecx, 0x20
call fcn.14029806c
mov qword [rsp + 0x150], rax
test rax, rax
je 0x1401e415d
mov r8, qword [rdi + 0x10]
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1401f1d10
mov r14, rax
jmp 0x1401e4160
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 0x1401e41b7
mov ecx, 4
call fcn.14029806c
mov rbx, rax
test rax, rax
je 0x1401e41a6
mov dword [rax], r13d
mov qword [rsp + 0xb8], rax
jmp 0x1401e41b1
mov rbx, r13
mov qword [rsp + 0xb8], rbx
mov dword [rbx], 1
mov ecx, 0x18
call fcn.14029806c
mov qword [rsp + 0x150], rax
test rax, rax
je 0x1401e41de
mov rdx, r14
mov rcx, rax
call fcn.1401f91d0
mov rsi, rax
jmp 0x1401e41e1
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 0x1401e4238
mov ecx, 4
call fcn.14029806c
mov rdi, rax
test rax, rax
je 0x1401e4227
mov dword [rax], r13d
mov qword [rsp + 0xa0], rax
jmp 0x1401e4232
mov rdi, r13
mov qword [rsp + 0xa0], r13
mov dword [rdi], 1
mov r15, qword [rsp + 0x170]
movsd xmm7, qword [0x14034ce50]
xorps xmm8, xmm8
nop dword [rax]
mov rcx, qword [rsi + 0x10]
mov rcx, qword [rcx]
call fcn.140226bd0
cmp eax, 0x64
jne 0x1401e4390
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401f9550
nop
mov edx, 1
mov rcx, rsi
call fcn.1401f9430
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1401e3df0
nop
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1400ca960
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 0x1401e4367
comisd xmm6, xmm0
jb 0x1401e4367
movsd qword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401e42f8
lea rax, [0x140323de0]
mov qword [rsp + 0x48], rax
jmp 0x1401e4323
lea rcx, [rsp + 0x48]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x48]
call fcn.1401ea290
nop
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.14011c630
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xe0]
mov rcx, r15
call fcn.1401e3b80
nop
cmp dword [rsp + 0x50], 0
jle 0x1401e4367
mov rcx, qword [rsp + 0x48]
call fcn.140298600
nop
lea rax, vtable.Core::DateTime.0
mov qword [rsp + 0xc0], rax
cmp dword [rsp + 0x38], 0
jle 0x1401e4250
mov rcx, qword [rsp + 0x30]
call fcn.140298600
jmp 0x1401e4250
test rdi, rdi
je 0x1401e43ba
mov eax, dword [rdi]
test eax, eax
jle 0x1401e439f
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1401e43ba
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, rdi
call fcn.1402012c0
nop
test rbx, rbx
je 0x1401e43e9
mov eax, dword [rbx]
test eax, eax
jle 0x1401e43c9
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x1401e43e9
test r14, r14
je 0x1401e43e0
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
mov rcx, rbx
call fcn.1402012c0
nop
cmp dword [rsp + 0x88], 0
jle 0x1401e4401
mov rcx, qword [rsp + 0x80]
call fcn.140298600
nop
mov al, 1
jmp 0x1401e4407
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