Function at 0x48a110
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adcd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004afcd0
add esp, 8
test eax, eax
je 0x48a14a
jmp 0x48a327
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.SELECT_moz_places.url__moz_places.title__moz_places.visit_count__moz_historyvisits.visit_date_1000000_AS_visit_time_FROM_moz_places_JOIN_moz_historyvisits_WHERE_moz_places.id__moz_historyvisits.place_id_AND_visit_time_1000000____d_ORDER_BY_visit_time_DESC
call fcn.00415700
lea edx, [ebp - 0x5c]
push edx
call fcn.00462a10
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x5c]
push eax
call fcn.004155f0
lea ecx, [ebp - 0xb4]
push ecx
call fcn.004625e0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
call fcn.0042b160
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 0x100
lea eax, [ebp - 0x1e4]
push eax
call fcn.00442cc0
add esp, 0x14
lea ecx, [ebp - 0xb4]
call fcn.00419200
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x1e4]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004b0630
add esp, 0x14
test eax, eax
je 0x48a212
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00419200
jmp 0x48a327
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004b1230
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x64
jne 0x48a300
lea ecx, [ebp - 0x9c]
call fcn.00487e30
mov byte [ebp - 4], 1
push 0
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.004890e0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00451af0
lea ecx, [ebp - 0xcc]
call fcn.00419200
push 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.004b17e0
add esp, 8
cmp eax, 5
je 0x48a2b8
push 1
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.004890e0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x84]
call fcn.00451af0
lea ecx, [ebp - 0xe4]
call fcn.00419200
push 2
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b1460
add esp, 8
mov dword [ebp - 0x6c], eax
push 3
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004b14a0
add esp, 8
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
lea edx, [ebp - 0x9c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0048ae80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.00419bf0
jmp 0x48a219
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b1820
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004ae4a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00419200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8