Function at 0x14017c860
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push r12
sub rsp, 0x150
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1402a3450]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea r8, str.History
mov rdx, rcx
lea rcx, [r11 - 0x68]
call fcn.1400a1390
nop
mov edx, 1
mov rcx, rbx
call fcn.14017d5a0
mov qword [rsp + 0xa0], rax
lea r8, [rax + 1]
or rsi, 0xffffffffffffffff
mov r9, rsi
lea rdx, [rsp + 0x118]
mov rcx, rbx
call fcn.1400c5d70
nop
lea r8, [rsp + 0x118]
mov r10, qword [rsp + 0x118]
mov r9, qword [rsp + 0x130]
cmp r9, 0x10
cmovae r8, r10
add r8, qword [rsp + 0x128]
mov qword [rsp + 0xb8], r8
lea rdx, [rsp + 0x118]
cmp r9, 0x10
cmovae rdx, r10
mov qword [rsp + 0xb0], rdx
lea rcx, [rsp + 0xc8]
call fcn.14009daa0
nop
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
cmovae rcx, qword [rsp + 0xf0]
call qword [0x1401dc5a0]
cmp eax, 0xffffffff
jne 0x14017c989
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400cc0f0
mov al, 1
jmp 0x14017cfa9
lea rbx, [0x1402ab540]
mov rdx, rbx
cmp qword [0x1402ab558], 0x10
cmovae rdx, qword [0x1402ab540]
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
cmovae rcx, qword [rsp + 0xf0]
xor r8d, r8d
call qword [0x1401dc268]
test eax, eax
jne 0x14017ca73
cmp qword [0x1402ab558], 0x10
cmovae rbx, qword [0x1402ab540]
lea rax, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
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.ChromeHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x4d
lea rdx, str.ChromeHistoryCollector.cpp
lea rcx, [0x1402ab4b0]
mov rax, qword [0x1402ab4b0]
call qword [rax]
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400cc0f0
xor al, al
jmp 0x14017cfa9
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rdx, qword [rsp + 0xc8]
lea r8, [0x1402ab418]
mov ecx, 2
call fcn.140183cd0
test al, al
jne 0x14017cb36
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_Chrome_profile__s
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 1
lea r9, str.ChromeHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x53
lea rdx, str.ChromeHistoryCollector.cpp
lea rcx, [0x1402ab4b0]
mov rax, qword [0x1402ab4b0]
call qword [rax]
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400cc0f0
xor al, al
jmp 0x14017cfa9
mov rdi, qword [0x1402ab418]
xor r12d, r12d
test rdi, rdi
jne 0x14017cb5c
mov eax, dword [0x1402ab420]
cmp byte [0x1402ab212], r12b
cmove eax, r12d
mov dword [0x1402ab420], eax
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0x60], r12
mov rcx, rbx
cmp qword [0x1402ab558], 0x10
cmovae rcx, qword [0x1402ab540]
mov qword [rsp + 0x98], rcx
xor r9d, r9d
lea r8d, [r9 + 6]
lea rdx, [rsp + 0x60]
call fcn.14015d510
test eax, eax
je 0x14017cc2d
cmp qword [0x1402ab558], 0x10
cmovae rbx, qword [0x1402ab540]
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.ChromeHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x61
lea rdx, str.ChromeHistoryCollector.cpp
lea rcx, [0x1402ab4b0]
mov rax, qword [0x1402ab4b0]
call qword [rax]
mov rcx, qword [rsp + 0x60]
call fcn.14015b420
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400cc0f0
xor al, al
jmp 0x14017cfa9
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], r12
lea rdx, str.SELECT_MAX_10__visits.visit_time__AS_max_ts_FROM_visits
lea rcx, [rsp + 0x58]
call fcn.14017db20
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
xor r9d, r9d
lea r8, [0x14017c830]
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 0x14017cd4e
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.ChromeHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x6c
lea rdx, str.ChromeHistoryCollector.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 0x14017cd1e
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400cc0f0
xor al, al
jmp 0x14017cfa9
mov r8, qword [0x1402ab418]
cmp rdi, r8
je 0x14017cf48
cmp dword [0x1402ab420], 0
je 0x14017ce64
mov r8, rdi
lea rdx, str.SELECT_urls.url___10__visits.visit_time__AS_visit_ts_FROM_visits_INNER_JOIN_urls_ON_visits.url__urls.id_WHERE_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, [0x14017c6d0]
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov rcx, r12
call fcn.140138f10
mov dword [rsp + 0x68], eax
test eax, eax
je 0x14017ce5d
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.ChromeHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x79
lea rdx, str.ChromeHistoryCollector.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 0x14017ce2d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400cc0f0
xor al, al
jmp 0x14017cfa9
mov r8, qword [0x1402ab418]
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rdx, qword [rsp + 0xc8]
mov ecx, 2
call fcn.140183a70
test al, al
jne 0x14017cf48
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_Chrome_profile__s
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 1
lea r9, str.ChromeHistoryCollector::AddSpecificProfileHistory
mov r8d, 0x82
lea rdx, str.ChromeHistoryCollector.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 0x14017cf1b
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400cc0f0
xor al, al
jmp 0x14017cfa9
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 0x14017cf7a
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0xc8]
call fcn.140002b40
nop
lea rcx, [rsp + 0x118]
call fcn.1400cc0f0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400cc0f0
mov al, 1
jmp 0x14017cfa9
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401bc610
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret