Function at 0x140002df1
Capabilities:
Query environment variable

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x708
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x6c0], rcx
mov qword [rbp + 0x6c8], rdx
mov qword [rbp + 0x6d0], r8
mov qword [rbp + 0x6d8], r9
lea rax, [rbp + 0x3e0]
mov r8d, 2
lea rdx, str.temp.db
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_char__8___std::filesystem::__cxx11.path__char_const_____8___std::filesystem::__cxx11::path::format_
lea rax, [rbp + 0x3e0]
mov rcx, rax
call method.std::filesystem.remove_std::filesystem::__cxx11::path_const_
lea rax, [rbp + 0x3e0]
mov rcx, rax
call fcn.1400aaba0
lea rax, [rbp + 0x410]
mov r8d, 2
lea rdx, str.temp.db
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_char__8___std::filesystem::__cxx11.path__char_const_____8___std::filesystem::__cxx11::path::format_
lea rax, str.USERPROFILE
mov rcx, rax
call sym.getenv
mov rdx, rax
lea rax, [rbp + 0x470]
mov rcx, qword [rbp + 0x6c8]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rdx, [rbp + 0x470]
lea rax, [rbp + 0x440]
mov r8d, 2
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::filesystem::__cxx11.path__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::filesy
lea rdx, [rbp + 0x410]
lea rax, [rbp + 0x440]
mov r8d, 2
mov rcx, rax
call method.std::filesystem.copy_file_std::filesystem::__cxx11::path_const__std::filesystem::__cxx11::path_const__std::filesystem::copy_options_
lea rax, [rbp + 0x440]
mov rcx, rax
call fcn.1400aaba0
lea rax, [rbp + 0x470]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x410]
mov rcx, rax
call fcn.1400aaba0
lea rax, [rbp + 0x3c0]
mov rcx, rax
call fcn.1400e2ad0
lea rax, [rbp + 0x3b8]
mov rdx, rax
lea rax, str.temp.db
mov rcx, rax
call sym.sqlite3_open
mov rax, qword [rbp + 0x3b8]
lea rdx, [rbp + 0x3b0]
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0xffffffff
lea rdx, str.SELECT_url__title__datetime_last_visit_time___1000000__strftime__s__1601_01_01___unixepoch__localtime__FROM_urls
mov rcx, rax
call sym.sqlite3_prepare_v2
jmp 0x1400030d1
lea rax, [rbp + 0x49d]
mov rcx, rax
call fcn.140079680
mov rax, qword [rbp + 0x3b0]
mov edx, 0
mov rcx, rax
call sym.sqlite3_column_text
mov rdx, rax
lea rcx, [rbp + 0x49d]
lea rax, [rbp - 0x50]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x49d]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x49e]
mov rcx, rax
call fcn.140079680
mov rax, qword [rbp + 0x3b0]
mov edx, 1
mov rcx, rax
call sym.sqlite3_column_text
mov rdx, rax
lea rcx, [rbp + 0x49e]
lea rax, [rbp - 0x30]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x49e]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x49f]
mov rcx, rax
call fcn.140079680
mov rax, qword [rbp + 0x3b0]
mov edx, 2
mov rcx, rax
call sym.sqlite3_column_text
mov rdx, rax
lea rcx, [rbp + 0x49f]
lea rax, [rbp - 0x10]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x49f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x4a0]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x30]
lea rdx, [rbp + 0x4a0]
lea rcx, [rdx + 0x20]
mov rdx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x10]
lea rdx, [rbp + 0x4a0]
lea rcx, [rdx + 0x40]
mov rdx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rdx, [rbp + 0x4a0]
lea rax, [rbp + 0x3c0]
mov rcx, rax
call method.std::vector_ENTRY__std::allocator_ENTRY___.push_back_ENTRY_
lea rax, [rbp + 0x4a0]
mov rcx, rax
call method.ENTRY.ENTRY__
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov rax, qword [rbp + 0x3b0]
mov rcx, rax
call sym.sqlite3_step
cmp eax, 0x64
sete al
test al, al
jne 0x140002f66
mov rax, qword [rbp + 0x3b0]
mov rcx, rax
call sym.sqlite3_finalize
mov rax, qword [rbp + 0x3b8]
mov rcx, rax
call sym.sqlite3_close
lea rax, [rbp + 0x500]
mov r8d, 2
lea rdx, str.temp.db
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_char__8___std::filesystem::__cxx11.path__char_const_____8___std::filesystem::__cxx11::path::format_
lea rax, [rbp + 0x500]
mov rcx, rax
call method.std::filesystem.remove_std::filesystem::__cxx11::path_const_
lea rax, [rbp + 0x500]
mov rcx, rax
call fcn.1400aaba0
mov rdx, qword [rbp + 0x6d0]
lea rax, [rbp + 0x1e0]
mov r8d, 0x10
mov rcx, rax
call fcn.1400d0fa0
lea rax, [rbp + 0x10]
mov r8d, 0x10
lea rdx, str.matches.txt
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream_char_const__std::_Ios_Openmode_
mov dword [rbp + 0x67c], 0
mov rdx, qword [rbp + 0x6d8]
lea rax, [rbp + 0x550]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x530]
lea rdx, [rbp + 0x550]
mov rcx, rax
call sym.ToLower_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rdx, [rbp + 0x530]
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x530]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x550]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x3c0]
mov rcx, rax
call method.std::vector_ENTRY__std::allocator_ENTRY___.size___const
sub eax, 1
mov dword [rbp + 0x678], eax
jmp 0x1400034c8
mov eax, dword [rbp + 0x678]
movsxd rdx, eax
lea rax, [rbp + 0x3c0]
mov rcx, rax
call method.std::vector_ENTRY__std::allocator_ENTRY___.operator___unsigned_long_long_
mov rdx, rax
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov eax, dword [rbp + 0x678]
movsxd rdx, eax
lea rax, [rbp + 0x3c0]
mov rcx, rax
call method.std::vector_ENTRY__std::allocator_ENTRY___.operator___unsigned_long_long_
lea rdx, [rax + 0x20]
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov eax, dword [rbp + 0x678]
movsxd rdx, eax
lea rax, [rbp + 0x3c0]
mov rcx, rax
call method.std::vector_ENTRY__std::allocator_ENTRY___.operator___unsigned_long_long_
lea rdx, [rax + 0x40]
lea rax, [rbp - 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x1e0]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov rcx, rax
lea rax, [0x14010f0e2]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
lea rax, [rbp - 0x30]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov rcx, rax
lea rax, [0x14010f0e2]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
lea rax, [rbp - 0x10]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov rcx, rax
lea rax, [0x14010f0e2]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov ebx, 0
mov esi, 0
mov edi, 0
mov r12d, 0
mov rax, qword [rbp + 0x6d8]
lea rdx, str.kword_all
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
test al, al
jne 0x1400033be
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x590]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov ebx, 1
lea rax, [rbp + 0x570]
lea rdx, [rbp + 0x590]
mov rcx, rax
call sym.ToLower_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov esi, 1
mov rdx, qword [rbp + 0x6d8]
lea rax, [rbp + 0x570]
mov r8d, 0
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.find_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__unsigned_long_long__const
cmp rax, 0xffffffffffffffff
jne 0x1400033be
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x5d0]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov edi, 1
lea rax, [rbp + 0x5b0]
lea rdx, [rbp + 0x5d0]
mov rcx, rax
call sym.ToLower_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov r12d, 1
mov rdx, qword [rbp + 0x6d8]
lea rax, [rbp + 0x5b0]
mov r8d, 0
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.find_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__unsigned_long_long__const
cmp rax, 0xffffffffffffffff
je 0x1400033c6
mov r13d, 1
jmp 0x1400033cc
mov r13d, 0
test r12b, r12b
je 0x1400033e0
lea rax, [rbp + 0x5b0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test dil, dil
je 0x1400033f4
lea rax, [rbp + 0x5d0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test sil, sil
je 0x140003408
lea rax, [rbp + 0x570]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test bl, bl
je 0x14000341b
lea rax, [rbp + 0x590]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test r13b, r13b
je 0x14000349d
lea rax, [rbp + 0x10]
lea rdx, [0x14010f278]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
lea rax, [rbp - 0x10]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov rcx, rax
lea rax, [0x14010f27a]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
lea rax, [rbp - 0x30]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov rcx, rax
lea rax, [0x14010f27e]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
lea rax, [rbp - 0x50]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov rcx, rax
lea rax, [0x14010f0e2]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
add dword [rbp + 0x67c], 1
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
sub dword [rbp + 0x678], 1
cmp dword [rbp + 0x678], 0xffffffff
jne 0x140003202
lea rax, [rbp + 0x1e0]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.close__
lea rax, [rbp + 0x10]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.close__
lea rax, [rbp + 0x5f0]
mov edx, dword [rbp + 0x67c]
mov rcx, rax
call method.std::__cxx11.to_string_int_
lea rax, [rbp + 0x3c0]
mov rcx, rax
call method.std::vector_ENTRY__std::allocator_ENTRY___.size___const
mov rdx, rax
lea rax, [rbp + 0x650]
mov rcx, rax
call method.std::__cxx11.to_string_unsigned_long_long_
lea rax, [rbp + 0x630]
lea rdx, [rbp + 0x650]
mov r8, rdx
lea rdx, str.Entries:
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x610]
lea rdx, [rbp + 0x630]
lea r8, str.__Matches:
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
mov rax, qword [rbp + 0x6c0]
lea rcx, [rbp + 0x5f0]
lea rdx, [rbp + 0x610]
mov r8, rcx
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std::allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
nop
lea rax, [rbp + 0x610]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x630]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x650]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x5f0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x10]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream__
lea rax, [rbp + 0x1e0]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream__
lea rax, [rbp + 0x3c0]
mov rcx, rax
call method.std::vector_ENTRY__std::allocator_ENTRY___.vector__
jmp 0x1400038a5
mov rax, qword [rbp + 0x6c0]
add rsp, 0x708
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
ret