Function at 0x14017e450
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
sub rsp, 0x150
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1402a3450]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea r8, str.places.sqlite
mov rdx, rcx
lea rcx, [r11 - 0x78]
call fcn.140007020
nop
mov r8d, 1
lea rdx, [0x1401e6620]
mov rcx, rbx
call fcn.140006f30
mov qword [rsp + 0xa0], rax
lea r8, [rax + 1]
or rsi, 0xffffffffffffffff
mov r9, rsi
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.140006ee0
nop
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rcx, qword [rsp + 0xf0]
call qword [0x1401dc6d8]
cmp eax, 0xffffffff
jne 0x14017e51c
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0xf0]
call fcn.140002b40
mov al, 1
jmp 0x14017eb7e
lea rbx, [0x1402ab588]
mov rdx, rbx
cmp qword [0x1402ab5a0], 8
cmovae rdx, qword [0x1402ab588]
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rcx, qword [rsp + 0xf0]
xor r8d, r8d
call qword [0x1401dc5f8]
test eax, eax
jne 0x14017e5f8
cmp qword [0x1402ab5a0], 8
cmovae rbx, qword [0x1402ab588]
lea rax, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rax, qword [rsp + 0xf0]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
lea rax, str.unable_to_copy__S_to__S
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 1
lea r9, str.FirefoxHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x4d
lea rdx, str.FirefoxHistoryCollector.cpp
lea rcx, [0x1402ab4b0]
mov rax, qword [0x1402ab4b0]
call qword [rax]
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0xf0]
call fcn.140002b40
xor al, al
jmp 0x14017eb7e
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rdx, qword [rsp + 0xc8]
lea r8, [0x1402ab428]
mov ecx, 4
call fcn.140183cd0
test al, al
jne 0x14017e6ad
lea rax, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
lea rax, str.Couldnt_find_max_time_stamp_at_registry_for_Firefox_profile__s
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 1
lea r9, str.FirefoxHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x53
lea rdx, str.FirefoxHistoryCollector.cpp
lea rcx, [0x1402ab4b0]
mov rax, qword [0x1402ab4b0]
call qword [rax]
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0xf0]
call fcn.140002b40
xor al, al
jmp 0x14017eb7e
mov r13, qword [0x1402ab428]
xor edi, edi
test r13, r13
jne 0x14017e6d1
mov eax, dword [0x1402ab424]
cmp byte [0x1402ab213], dil
cmove eax, edi
mov dword [0x1402ab424], eax
mov qword [rsp + 0xb8], r13
mov rcx, rbx
mov r10, qword [0x1402ab588]
mov r9, qword [0x1402ab5a0]
cmp r9, 8
cmovae rcx, r10
mov rax, qword [0x1402ab598]
lea r8, [rcx + rax*2]
mov qword [rsp + 0xb0], r8
mov rdx, rbx
cmovae rdx, r10
mov qword [rsp + 0xc0], rdx
lea rcx, [rsp + 0x118]
call fcn.1400a3bc0
nop
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x118]
cmp qword [rsp + 0x130], 0x10
cmovae rcx, qword [rsp + 0x118]
mov qword [rsp + 0x98], rcx
xor r9d, r9d
lea r8d, [r9 + 6]
lea rdx, [rsp + 0x60]
call fcn.14015d510
test eax, eax
je 0x14017e7f2
cmp qword [0x1402ab5a0], 8
cmovae rbx, qword [0x1402ab588]
mov qword [rsp + 0x38], rbx
lea rax, str.Couldnt_open_sql_history_file__S
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 1
lea r9, str.FirefoxHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x63
lea rdx, str.FirefoxHistoryCollector.cpp
lea rcx, [0x1402ab4b0]
mov rax, qword [0x1402ab4b0]
call qword [rax]
mov rcx, qword [rsp + 0x60]
call fcn.14015b420
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0xf0]
call fcn.140002b40
xor al, al
jmp 0x14017eb7e
lea rcx, [0x1402a3400]
mov rax, qword [0x1402a3400]
call qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
add rax, 0x18
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rdi
movabs rdi, 0x19db1ded53e8000
mov r8, rdi
lea rdx, str.SELECT_MAX_10__moz_historyvisits.visit_date___lld__AS_max_ts_FROM_moz_historyvisits
lea rcx, [rsp + 0x58]
call fcn.14017db20
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
xor r9d, r9d
lea r8, [0x14017e420]
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov r12, qword [rsp + 0x60]
mov rcx, r12
call fcn.140138f10
mov dword [rsp + 0x68], eax
test eax, eax
je 0x14017e920
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x38], rdi
lea rax, str.SQLite_error:__s
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 1
lea r9, str.FirefoxHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x6f
lea rdx, str.FirefoxHistoryCollector.cpp
lea rcx, [0x1402ab4b0]
mov rax, qword [0x1402ab4b0]
call qword [rax]
mov rcx, rdi
call fcn.1400e9140
mov rcx, r12
call fcn.14015b420
nop
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x80], rbx
lock xadd dword [rbx + 0x10], esi
dec esi
test esi, esi
jg 0x14017e8f0
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0xf0]
call fcn.140002b40
xor al, al
jmp 0x14017eb7e
mov r8, qword [0x1402ab428]
cmp r13, r8
je 0x14017eb1d
cmp dword [0x1402ab424], 0
je 0x14017ea39
mov r9, r13
mov r8, rdi
lea rdx, str.SELECT_moz_places.url___10__moz_historyvisits.visit_date___lld__AS_visit_ts_FROM_moz_places__moz_historyvisits_WHERE_moz_places.id__moz_historyvisits.place_id_AND_visit_ts_____lld_ORDER_BY_visit_ts_ASC
lea rcx, [rsp + 0x58]
call fcn.14017db20
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
xor r9d, r9d
lea r8, [0x14017e2c0]
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov rcx, r12
call fcn.140138f10
mov dword [rsp + 0x68], eax
test eax, eax
je 0x14017ea32
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x38], rdi
lea rax, str.SQLite_error:__s
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 1
lea r9, str.FirefoxHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x7c
lea rdx, str.FirefoxHistoryCollector.cpp
lea rcx, [0x1402ab4b0]
mov rax, qword [0x1402ab4b0]
call qword [rax]
mov rcx, rdi
call fcn.1400e9140
mov rcx, r12
call fcn.14015b420
nop
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x70], rbx
lock xadd dword [rbx + 0x10], esi
dec esi
test esi, esi
jg 0x14017ea02
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0xf0]
call fcn.140002b40
xor al, al
jmp 0x14017eb7e
mov r8, qword [0x1402ab428]
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rdx, qword [rsp + 0xc8]
mov ecx, 4
call fcn.140183a70
test al, al
jne 0x14017eb1d
lea rax, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
lea rax, str.Couldnt_save_max_time_stamp_to_registry_for_Firefox_profile__s
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 1
lea r9, str.FirefoxHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x84
lea rdx, str.FirefoxHistoryCollector.cpp
lea rcx, [0x1402ab4b0]
mov rax, qword [0x1402ab4b0]
call qword [rax]
mov rcx, r12
call fcn.14015b420
nop
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x78], rbx
lock xadd dword [rbx + 0x10], esi
dec esi
test esi, esi
jg 0x14017eaf0
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0xf0]
call fcn.140002b40
xor al, al
jmp 0x14017eb7e
mov rcx, r12
call fcn.14015b420
nop
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x88], rbx
lock xadd dword [rbx + 0x10], esi
dec esi
test esi, esi
jg 0x14017eb4f
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0xf0]
call fcn.140002b40
mov al, 1
jmp 0x14017eb7e
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401bc610
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret