Function at 0x10019450
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f16b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x101a5034]
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.100d3e10
add esp, 0x14
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x100194f2
mov eax, dword [ebp - 0x100]
push eax
push 0x10160874
push 1
push 0xd5
push 0x1016090c
push str.CFirefox::ParseHistoryDB
call fcn.101426f0
add esp, 0x18
xor al, al
jmp 0x100198dd
lea ecx, [ebp - 0x28]
call fcn.1000cbb0
mov dword [ebp - 4], 0
mov dword [ebp - 0xf8], 0xffffffff
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.100a3e10
add esp, 4
cmp eax, 0x64
jne 0x100198b2
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.100a47c0
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.100a47c0
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.100a4670
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.1001b900
test eax, eax
je 0x10019602
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x28]
call fcn.10009f70
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0xf8], ecx
jmp 0x10019611
mov edx, dword [ebp - 0xf8]
sub edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0x10c], 0
jne 0x10019626
mov dword [ebp - 0xfc], 0x1015d45f
jmp 0x10019632
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.1000ccc0
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0x40]
call fcn.1007bb90
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.100a47c0
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.100a4670
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.10008a20
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0xf4], 0
jne 0x10019706
mov dword [ebp - 0x108], 0x1015d482
jmp 0x10019712
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.1000ccc0
mov dword [ebp - 0x15c], eax
mov ecx, esi
call fcn.1007bb90
add esp, 0x18
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x17c], eax
lea ecx, [ebp - 0x194]
call fcn.1007b9b0
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.10002230
lea ecx, [ebp - 0x194]
call fcn.10002d10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x164], esp
lea eax, [ebp - 0x40]
push eax
call fcn.1000c9d0
mov dword [ebp - 0x170], eax
lea ecx, [ebp - 0x1c4]
call fcn.1007b9b0
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.10002230
lea ecx, [ebp - 0x1c4]
call fcn.10002d10
cmp dword [ebp - 0x110], 0
jne 0x100197ff
mov dword [ebp - 0x104], 0x1015d483
jmp 0x1001980b
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.1000ccc0
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x1ac]
call fcn.1007b9b0
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.10002230
lea ecx, [ebp - 0x1ac]
call fcn.10002d10
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.10003ae0
movzx ecx, al
test ecx, ecx
jne 0x10019892
lea edx, [ebp - 0xe0]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1000a2d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.10008ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000cd00
jmp 0x1001950b
mov eax, dword [ebp - 0xe4]
push eax
call fcn.100a3090
add esp, 4
mov byte [ebp - 0xed], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000cd00
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.1014c66b
mov esp, ebp
pop ebp
ret 8