Function at 0x4b28a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d526a
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], str.SELECT_MIN_visit_date___MAX_visit_date__FROM___moz_places__moz_historyvisits_WHERE__moz_places.id__moz_historyvisits.place_id_
push 0x14
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
je 0x4b295f
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004b3550
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa4]
or edx, 1
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 8]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.004ba330
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
jmp 0x4b2969
mov dword [ebp - 0xb8], 0
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00406360
mov dword [ebp - 0xbc], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xa4]
and eax, 1
je 0x4b29ac
and dword [ebp - 0xa4], 0xfffffffe
lea ecx, [ebp - 0x40]
call fcn.004b3860
lea ecx, [ebp - 0x1c]
call fcn.004b9730
mov ecx, eax
call fcn.004ba390
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004a56c0
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.004b9730
mov ecx, eax
call fcn.004c8620
mov byte [ebp - 0xc5], al
movzx edx, byte [ebp - 0xc5]
test edx, edx
je 0x4b2af8
push 0
lea ecx, [ebp - 0x2c]
call fcn.004b9730
mov ecx, eax
call fcn.004c8530
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.004b21c0
add esp, 0xc
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0xd4]
call fcn.004ae680
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0xa8]
add ecx, 0x10
call fcn.00411530
lea ecx, [ebp - 0x70]
call fcn.00407c30
lea ecx, [ebp - 0x58]
call fcn.00407c30
push 1
lea ecx, [ebp - 0x2c]
call fcn.004b9730
mov ecx, eax
call fcn.004c8530
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
mov edx, dword [ebp - 0xdc]
push edx
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.004b21c0
add esp, 0xc
mov dword [ebp - 0xe4], eax
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0xe4]
call fcn.004ae680
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xa8]
add ecx, 0x28
call fcn.00411530
lea ecx, [ebp - 0xa0]
call fcn.00407c30
lea ecx, [ebp - 0x88]
call fcn.00407c30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.004a5700
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004063a0
jmp 0x4b2b1f
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret