Function at 0x489180
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adb5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xec], esp
push str.localappdata
call fcn.00415700
lea eax, [ebp - 0x154]
push eax
call fcn.00462a10
add esp, 0x1c
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf4], esp
push 0x5bba6c
call fcn.00415700
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00462a10
add esp, 0x1c
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb8], esp
push str.MicrosoftEdgeUser_DataDefaultHistory
call fcn.00415700
lea edx, [ebp - 0x124]
push edx
call fcn.00462a10
add esp, 0x1c
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str.HRDR_History.sqlite
call fcn.00415700
lea eax, [ebp - 0x10c]
push eax
call fcn.00462a10
add esp, 0x1c
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x364]
call fcn.00487cf0
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x124]
push edx
call fcn.004155f0
lea eax, [ebp - 0x20c]
push eax
call fcn.004625e0
add esp, 0x1c
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea eax, [ebp - 0x154]
push eax
call fcn.004155f0
lea ecx, [ebp - 0x1f4]
push ecx
call fcn.004625e0
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
call fcn.0042b160
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.0048ad90
add esp, 8
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x354]
push eax
call fcn.00486520
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.00486520
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1dc]
call fcn.00419200
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1f4]
call fcn.00419200
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20c]
call fcn.00419200
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea eax, [ebp - 0x10c]
push eax
call fcn.004155f0
lea ecx, [ebp - 0x254]
push ecx
call fcn.004625e0
add esp, 0x1c
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd4], esp
lea edx, [ebp - 0x13c]
push edx
call fcn.004155f0
lea eax, [ebp - 0x23c]
push eax
call fcn.004625e0
add esp, 0x1c
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x54]
call fcn.0042b160
push eax
lea edx, [ebp - 0x224]
push edx
call fcn.0048ad90
add esp, 8
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.004092d0
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x224]
call fcn.00419200
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x23c]
call fcn.00419200
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x254]
call fcn.00419200
lea ecx, [ebp - 0xb0]
call fcn.0042b160
push eax
call fcn.0058e0c8
add esp, 4
lea ecx, [ebp - 0xb0]
call fcn.0042b160
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x364]
call fcn.0048b150
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x6c]
call fcn.0042b160
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.00488940
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x26c]
call fcn.00419200
lea ecx, [ebp - 0x28]
call fcn.00416930
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0042b160
push eax
call fcn.004afcd0
add esp, 8
test eax, eax
je 0x489556
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00461420
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.00419910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.00419200
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x364]
call fcn.00488800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
call fcn.00419200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00419200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00419200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.00419200
mov eax, dword [ebp + 8]
jmp 0x4898b9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd8], esp
push 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
call fcn.00415700
lea eax, [ebp - 0x16c]
push eax
call fcn.00462a10
add esp, 0x1c
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe0], esp
lea edx, [ebp - 0x16c]
push edx
call fcn.004155f0
lea eax, [ebp - 0x284]
push eax
call fcn.004625e0
add esp, 0x1c
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x80]
call fcn.0042b160
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
push 0x100
lea edx, [ebp - 0x464]
push edx
call fcn.00442cc0
add esp, 0x14
lea ecx, [ebp - 0x284]
call fcn.00419200
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push str.SELECT_url__title__visit_count__last_visit_time_FROM_urls
call fcn.00415700
lea eax, [ebp - 0x184]
push eax
call fcn.00462a10
add esp, 0x1c
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0x12
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x464]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004b0630
add esp, 0x14
test eax, eax
je 0x4896fe
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00461420
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x184]
call fcn.00419200
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x16c]
call fcn.00419200
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.00419910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.00419200
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x364]
call fcn.00488800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
call fcn.00419200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00419200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00419200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.00419200
mov eax, dword [ebp + 8]
jmp 0x4898b9
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b1230
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x64
jne 0x4897ee
lea ecx, [ebp - 0x1c4]
call fcn.00487e30
mov byte [ebp - 4], 0x13
push 0
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x29c]
push edx
call fcn.004890e0
add esp, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.00451af0
lea ecx, [ebp - 0x29c]
call fcn.00419200
push 1
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x2b4]
push edx
call fcn.004890e0
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00451af0
lea ecx, [ebp - 0x2b4]
call fcn.00419200
push 2
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004b1460
add esp, 8
mov dword [ebp - 0x194], eax
push 3
mov edx, dword [ebp - 0x10]
push edx
call fcn.004b14a0
add esp, 8
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048ae80
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1c4]
call fcn.00419bf0
jmp 0x489705
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004b1820
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004ae4a0
add esp, 4
lea ecx, [ebp - 0xb0]
call fcn.0042b160
push eax
call fcn.0058e0c8
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00461420
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x184]
call fcn.00419200
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x16c]
call fcn.00419200
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.00419910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.00419200
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x364]
call fcn.00488800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
call fcn.00419200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00419200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00419200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.00419200
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4