Function at 0x1000ebd0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee56e
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, 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 ecx, dword [ebp + 8]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0
push eax
push 0
push 0
push 0xffffffffffffffff
mov dword [ebp - 0xe8], 0
call fcn.100926b0
add esp, 0x14
test eax, eax
je 0x1000ec69
push eax
push 0x100fc3bc
push 1
push 0xd5
push 0x100fc454
push str.CFirefox::ParseHistoryDB
call fcn.100e13e0
add esp, 0x18
xor al, al
jmp 0x1000f1ba
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
or eax, 0xffffffff
push dword [ebp - 0xe4]
mov dword [ebp - 0xf0], eax
call fcn.10062850
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp eax, 0x64
jne 0x1000f19c
jmp 0x1000ecb0
push 0
push dword [ebp - 0xe4]
call fcn.10063200
push 1
push dword [ebp - 0xe4]
mov ebx, eax
call fcn.10063200
push 2
push dword [ebp - 0xe4]
mov dword [ebp - 0xf8], eax
call fcn.100630b0
mov dword [ebp - 0xf4], eax
add esp, 0x18
mov al, byte [ebx]
mov byte [ebp - 0xe9], al
test al, al
jne 0x1000ecf8
xor esi, esi
jmp 0x1000ed09
mov esi, ebx
lea ecx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000ed00
sub esi, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov eax, esi
cmovae ecx, dword [ebp - 0x28]
cmp edi, esi
cmovb eax, edi
push eax
push ebx
push ecx
call fcn.100078c0
add esp, 0xc
test eax, eax
jne 0x1000ed42
cmp edi, esi
jb 0x1000ed42
cmp edi, esi
setne al
test eax, eax
jne 0x1000ed42
dec dword [ebp - 0xf0]
jmp 0x1000ed73
cmp byte [ebp - 0xe9], 0
jne 0x1000ed4f
xor ecx, ecx
jmp 0x1000ed5d
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ed54
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.100080d0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf8]
mov edx, 0x100f91cf
test eax, eax
cmovne edx, eax
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x1000eda2
xor ecx, ecx
jmp 0x1000edb0
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000eda7
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.100080d0
lea ecx, [ebp - 0xe0]
call fcn.1003a440
mov byte [ebp - 4], 1
push 3
push dword [ebp - 0xe4]
call fcn.10063200
push 4
push dword [ebp - 0xe4]
mov dword [ebp - 0xf8], eax
call fcn.100630b0
cdq
mov dword [ebp - 0xf4], eax
xor eax, eax
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], eax
mov word [ebp - 0xb0], ax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], eax
mov word [ebp - 0x98], ax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], eax
mov word [ebp - 0x80], ax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], eax
mov word [ebp - 0x68], ax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], eax
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0xf0]
add esp, 0x10
mov edi, esp
mov byte [ebp - 4], 2
sub esp, 0x18
mov dword [ebp - 0x30], eax
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebx], 0
jne 0x1000ee9b
xor ecx, ecx
jmp 0x1000eea9
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000eea0
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.100080d0
mov ecx, edi
call fcn.1003a440
add esp, 0x18
lea ecx, [ebp - 0x11c]
call fcn.1003a1d0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0xc8]
cmp eax, esi
je 0x1000ef64
cmp dword [ebp - 0xb4], 8
jb 0x1000eef2
push dword [ebp - 0xc8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
cmp dword [esi + 0x14], 8
jae 0x1000ef31
mov eax, dword [esi + 0x10]
inc eax
je 0x1000ef3f
add eax, eax
push eax
lea eax, [ebp - 0xc8]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x1000ef3f
mov eax, dword [esi]
mov dword [ebp - 0xc8], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xb4], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x108], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x1000ef7e
push dword [ebp - 0x11c]
call ebx
add esp, 4
sub esp, 0x18
lea eax, [ebp - 0xe0]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10007d40
lea ecx, [ebp - 0x11c]
call fcn.1003a1d0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x98]
cmp eax, esi
je 0x1000f048
cmp dword [ebp - 0x84], 8
jb 0x1000efd6
push dword [ebp - 0x98]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
cmp dword [esi + 0x14], 8
jae 0x1000f015
mov eax, dword [esi + 0x10]
inc eax
je 0x1000f023
add eax, eax
push eax
lea eax, [ebp - 0x98]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x1000f023
mov eax, dword [esi]
mov dword [ebp - 0x98], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x108], 8
jb 0x1000f05c
push dword [ebp - 0x11c]
call ebx
add esp, 4
mov eax, dword [ebp - 0xf8]
mov edx, 0x100f91f3
test eax, eax
cmovne edx, eax
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x1000f08b
xor ecx, ecx
jmp 0x1000f099
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f090
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.100080d0
lea ecx, [ebp - 0x11c]
call fcn.1003a1d0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x1000f124
cmp dword [ebp - 0x3c], 8
jb 0x1000f0c7
push dword [ebp - 0x50]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
cmp dword [esi + 0x14], 8
jae 0x1000f0fa
mov eax, dword [esi + 0x10]
inc eax
je 0x1000f105
add eax, eax
push eax
lea eax, [ebp - 0x50]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x1000f105
mov eax, dword [esi]
mov dword [ebp - 0x50], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x108], 8
jb 0x1000f138
push dword [ebp - 0x11c]
call ebx
add esp, 4
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x34], eax
je 0x1000f162
mov ecx, dword [ebp - 0x104]
lea eax, [ebp - 0xc8]
push eax
call fcn.10006bd0
lea ecx, [ebp - 0xc8]
call fcn.10005460
mov byte [ebp - 4], 0
cmp dword [ebp - 0xcc], 0x10
jb 0x1000f185
push dword [ebp - 0xe0]
call ebx
add esp, 4
push dword [ebp - 0xe4]
call fcn.10062850
add esp, 4
cmp eax, 0x64
je 0x1000ecb0
push dword [ebp - 0xe4]
call fcn.10061ad0
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x1000f1b8
push dword [ebp - 0x28]
call ebx
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 8