Function at 0x100198b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015325b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], 0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xe4]
push ecx
push 0xffffffffffffffff
push str.SELECT_moz_places.url_moz_places.title_moz_places.visit_count_datetime_datetime_moz_places_metadata.created_at___1000__unixepoch__localtime___AS_visit_time__updated_at___1000___created_at___1000__AS_visit_duration_FROM_moz_places__moz_places_metadata_WHERE_moz_places.visit_count___0_AND_moz_places.id__moz_places_metadata.place_id_AND_moz_places.hidden__0_ORDER_BY_moz_places.url_DESC__moz_places.visit_count_DESC__visit_time_DESC
mov edx, dword [ebp + 8]
push edx
call fcn.100d5600
add esp, 0x14
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x10019952
mov eax, dword [ebp - 0x100]
push eax
push 0x10165834
push 1
push 0xd5
push 0x101658cc
push str.CFirefox::ParseHistoryDB
call fcn.10145f00
add esp, 0x18
xor al, al
jmp 0x10019d3d
lea ecx, [ebp - 0x28]
call fcn.1000d8b0
mov dword [ebp - 4], 0
mov dword [ebp - 0xf8], 0xffffffff
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.100a5600
add esp, 4
cmp eax, 0x64
jne 0x10019d12
mov dword [ebp - 0xec], 0
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.100a5fb0
add esp, 8
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xec]
add edx, 1
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
call fcn.100a5fb0
add esp, 8
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xec]
add eax, 1
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0xe4]
push eax
call fcn.100a5e60
add esp, 8
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0xec]
add ecx, 1
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x28]
call fcn.1001bca0
test eax, eax
je 0x10019a62
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000ad50
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0xf8], ecx
jmp 0x10019a71
mov edx, dword [ebp - 0xf8]
sub edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0x10c], 0
jne 0x10019a86
mov dword [ebp - 0xfc], 0x101624bd
jmp 0x10019a92
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xfc], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x158], esp
mov edx, dword [ebp - 0xfc]
push edx
call fcn.100029e0
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0x40]
call fcn.1007d350
add esp, 0x18
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
call fcn.100a5fb0
add esp, 8
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xec]
add eax, 1
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0xe4]
push eax
call fcn.100a5e60
add esp, 8
cdq
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], edx
mov ecx, dword [ebp - 0xec]
add ecx, 1
mov dword [ebp - 0xec], ecx
lea ecx, [ebp - 0xe0]
call fcn.10009800
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0xf4], 0
jne 0x10019b66
mov dword [ebp - 0x108], 0x101624be
jmp 0x10019b72
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x108], eax
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x150], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x174], esp
mov edx, dword [ebp - 0x108]
push edx
call fcn.100029e0
mov dword [ebp - 0x15c], eax
mov ecx, esi
call fcn.1007d350
add esp, 0x18
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x17c], eax
lea ecx, [ebp - 0x194]
call fcn.1007d170
add esp, 0x18
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
push edx
lea ecx, [ebp - 0xe0]
call fcn.10003480
lea ecx, [ebp - 0x194]
call fcn.10003e00
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x164], esp
lea eax, [ebp - 0x40]
push eax
call fcn.1000d6d0
mov dword [ebp - 0x170], eax
lea ecx, [ebp - 0x1c4]
call fcn.1007d170
add esp, 0x18
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0xb0]
call fcn.10003480
lea ecx, [ebp - 0x1c4]
call fcn.10003e00
cmp dword [ebp - 0x110], 0
jne 0x10019c5f
mov dword [ebp - 0x104], 0x101624bf
jmp 0x10019c6b
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x104], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x16c], esp
mov edx, dword [ebp - 0x104]
push edx
call fcn.100029e0
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x1ac]
call fcn.1007d170
add esp, 0x18
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x68]
call fcn.10003480
lea ecx, [ebp - 0x1ac]
call fcn.10003e00
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x68]
call fcn.10001f20
movzx ecx, al
test ecx, ecx
jne 0x10019cf2
lea edx, [ebp - 0xe0]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1000b0d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.100098a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10001f50
jmp 0x1001996b
mov eax, dword [ebp - 0xe4]
push eax
call fcn.100a4880
add esp, 4
mov byte [ebp - 0xed], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001f50
mov al, byte [ebp - 0xed]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 8