Function at 0x1400d0720
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x798
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x430]
mov qword [rsp + 0x68], rax
lea rdx, str.localappdata
mov rcx, qword [rsp + 0x68]
call fcn.1400140c0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x260]
call fcn.1400aabf0
nop
lea rax, [rsp + 0x450]
mov qword [rsp + 0x78], rax
lea rdx, [0x1402bbb98]
mov rcx, qword [rsp + 0x78]
call fcn.1400140c0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x240]
call fcn.1400aabf0
nop
lea rax, [rsp + 0x470]
mov qword [rsp + 0x88], rax
lea rdx, str.MicrosoftEdgeUser_DataDefaultHistory
mov rcx, qword [rsp + 0x88]
call fcn.1400140c0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x220]
call fcn.1400aabf0
nop
lea rax, [rsp + 0x490]
mov qword [rsp + 0x98], rax
lea rdx, str.HRDR_History.sqlite
mov rcx, qword [rsp + 0x98]
call fcn.1400140c0
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x200]
call fcn.1400aabf0
nop
mov edx, 1
lea rcx, [rsp + 0x590]
call fcn.1400cf5b0
nop
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0xa8]
call fcn.140014020
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x330]
call fcn.1400aa6e0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x4d0]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0xc8]
call fcn.140014020
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x310]
call fcn.1400aa6e0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400299a0
mov rdx, rax
lea rcx, [rsp + 0x2f0]
call fcn.1400d1e50
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x5a0]
mov rdx, qword [rsp + 0xf0]
mov rcx, rax
call fcn.1400ce0f0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call fcn.1400ce0f0
nop
lea rcx, [rsp + 0x2f0]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x310]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x330]
call fcn.140016cb0
nop
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x108]
call fcn.140014020
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x390]
call fcn.1400aa6e0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x510]
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x128]
call fcn.140014020
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x370]
call fcn.1400aa6e0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call fcn.1400299a0
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.1400d1e50
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x1e0]
call fcn.14000bd10
nop
lea rcx, [rsp + 0x350]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x370]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x390]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400299a0
mov rcx, rax
call fcn.1402776a8
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400299a0
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x590]
call fcn.1400d1fb0
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.1400299a0
mov qword [rsp + 0x178], rax
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
call fcn.1400cfd20
nop
lea rcx, [rsp + 0x3b0]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x50]
call fcn.140015210
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400299a0
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14011a340
test eax, eax
je 0x1400d0c32
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x7a8]
call fcn.1400a91f0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.14008cb30
nop
lea rcx, [rsp + 0x1e0]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x590]
call fcn.1400cfc20
nop
lea rcx, [rsp + 0x200]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x220]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x240]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x260]
call fcn.140016cb0
mov rax, qword [rsp + 0x7a8]
jmp 0x1400d102d
mov eax, 4
mov eax, eax
mov ecx, dword [0x14033cf38]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140333318], eax
jle 0x1400d0cc7
lea rcx, [0x140333318]
call fcn.1402612d8
cmp dword [0x140333318], 0xffffffff
jne 0x1400d0cc7
lea rax, [rsp + 0x530]
mov qword [rsp + 0x180], rax
lea rdx, str.SELECT_url__title__visit_count__last_visit_time__1000000___11644473600_AS_last_visit_time_FROM_urls_WHERE_last_visit_time__1000000___11644473600____d_ORDER_BY_last_visit_time_DESC
mov rcx, qword [rsp + 0x180]
call fcn.1400140c0
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [0x1403332f8]
call fcn.1400aabf0
nop
lea rcx, [0x1402ad270]
call fcn.140261218
nop
lea rcx, [0x140333318]
call fcn.14026126c
nop
mov rax, qword [rsp + 0x7a0]
mov rax, qword [rax]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0x550]
mov qword [rsp + 0x190], rax
lea rdx, [0x1403332f8]
mov rcx, qword [rsp + 0x190]
call fcn.140014020
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x3d0]
call fcn.1400aa6e0
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.1400299a0
mov qword [rsp + 0x1b0], rax
mov r9, qword [rsp + 0x1a8]
mov r8, qword [rsp + 0x1b0]
mov edx, 0x100
lea rcx, [rsp + 0x690]
call fcn.140032100
lea rcx, [rsp + 0x3d0]
call fcn.140016cb0
nop
lea rax, [rsp + 0x570]
mov qword [rsp + 0x1b8], rax
lea rdx, str.SELECT_url__title__visit_count__last_visit_time_FROM_urls
mov rcx, qword [rsp + 0x1b8]
call fcn.1400140c0
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x280]
call fcn.1400aabf0
nop
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov r8d, 0xffffffff
lea rdx, [rsp + 0x690]
mov rcx, qword [rsp + 0x48]
call fcn.14011aee0
test eax, eax
je 0x1400d0e6e
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x7a8]
call fcn.1400a91f0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x280]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x50]
call fcn.14008cb30
nop
lea rcx, [rsp + 0x1e0]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x590]
call fcn.1400cfc20
nop
lea rcx, [rsp + 0x200]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x220]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x240]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x260]
call fcn.140016cb0
mov rax, qword [rsp + 0x7a8]
jmp 0x1400d102d
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x38]
call fcn.14011bdd0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x64
jne 0x1400d0f73
lea rcx, [rsp + 0x2a0]
call fcn.1400cf7a0
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x3f0]
call fcn.1400d0680
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x2a0]
call fcn.140017b00
lea rcx, [rsp + 0x3f0]
call fcn.140016cb0
nop
mov r8d, 1
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x410]
call fcn.1400d0680
mov qword [rsp + 0x1d0], rax
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x2c0]
call fcn.140017b00
lea rcx, [rsp + 0x410]
call fcn.140016cb0
nop
mov edx, 2
mov rcx, qword [rsp + 0x38]
call fcn.14011c030
mov dword [rsp + 0x2e0], eax
mov edx, 3
mov rcx, qword [rsp + 0x38]
call fcn.14011c070
mov qword [rsp + 0x2e8], rax
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x50]
call fcn.1400d1f60
nop
lea rcx, [rsp + 0x2a0]
call fcn.14008cb50
nop
jmp 0x1400d0e76
mov rcx, qword [rsp + 0x38]
call fcn.14011c270
mov rcx, qword [rsp + 0x48]
call fcn.1401187f0
lea rcx, [rsp + 0x1e0]
call fcn.1400299a0
mov rcx, rax
call fcn.1402776a8
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x7a8]
call fcn.1400a91f0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x280]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x50]
call fcn.14008cb30
nop
lea rcx, [rsp + 0x1e0]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x590]
call fcn.1400cfc20
nop
lea rcx, [rsp + 0x200]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x220]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x240]
call fcn.140016cb0
nop
lea rcx, [rsp + 0x260]
call fcn.140016cb0
mov rax, qword [rsp + 0x7a8]
add rsp, 0x798
ret