Function at 0x100038e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de641
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10115034]
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_urls.url__urls.title__urls.visit_count__datetime_urls.last_visit_time___1000000___11644473600__unixepoch__localtime__as_visit_time__julianday_datetime_visits.visit_duration___1000000___11644473600__unixepoch__localtime__86400___julianday_1601_01_01_08:00:00_86400_FROM_urls__visits_WHERE_urls.id__visits.url_ORDER_BY_visit_time_DESC
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0
push eax
push 0
push 0
push 0xffffffffffffffff
mov dword [ebp - 0xf8], 0
call fcn.10086d30
add esp, 0x14
test eax, eax
je 0x100039be
push eax
push 0x100e858c
push 1
push 0x1b4
push 0x100e8714
push 0x100e873c
call fcn.100d1270
lea eax, [ebp - 0xf8]
mov edx, str.SELECT_url__title__visit_count__datetime_last_visit_time___1000000__unixepoch__localtime__as_visit_time__julianday_datetime_activity_time___1000000__unixepoch__localtime__86400___julianday_1970_01_01_08:00:00_86400_FROM_urls_ORDER_BY_visit_time_DESC
push eax
lea eax, [ebp - 0xf4]
mov ecx, esi
push eax
push 0
push 0
push 0xffffffffffffffff
call fcn.10086d30
add esp, 0x2c
test eax, eax
je 0x100039be
push eax
push 0x100e8754
push 1
push 0x1b9
push 0x100e8880
push str.CChrome::ParseHistoryDB
call fcn.100d1270
add esp, 0x18
xor al, al
jmp 0x10003f32
push dword [ebp - 0xf4]
call fcn.10056ec0
add esp, 4
cmp eax, 0x64
jne 0x10003f22
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x100039e0
push 0
push dword [ebp - 0xf4]
call fcn.10057870
push 1
push dword [ebp - 0xf4]
mov ebx, eax
mov dword [ebp - 0x104], ebx
call fcn.10057870
push 2
push dword [ebp - 0xf4]
mov esi, eax
call fcn.10057720
test esi, esi
mov dword [ebp - 0x100], eax
mov edx, 0x100e8041
cmovne edx, esi
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x10003a3d
xor ecx, ecx
jmp 0x10003a51
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003a42
sub ecx, ebx
mov ebx, dword [ebp - 0x104]
push ecx
push edx
mov ecx, esi
call fcn.10006eb0
lea ecx, [ebp - 0xf0]
call fcn.1002eb10
mov dword [ebp - 4], 0
push 3
push dword [ebp - 0xf4]
call fcn.10057870
push 4
push dword [ebp - 0xf4]
mov dword [ebp - 0x104], eax
call fcn.10057870
push eax
call dword [sym.imp.MSVCR120.dll_atol]
add esp, 0x2c
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.10003600
xor eax, eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], eax
mov word [ebp - 0xa8], ax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], eax
mov word [ebp - 0x90], ax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], eax
mov word [ebp - 0x78], ax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], eax
mov word [ebp - 0x60], ax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], eax
mov word [ebp - 0x48], ax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], eax
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x100]
test ebx, ebx
mov edx, 0x100e8042
mov byte [ebp - 4], 2
cmovne edx, ebx
mov dword [ebp - 0x18], eax
sub esp, 0x18
mov dword [ebp - 0x100], esp
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x10003b5f
xor ecx, ecx
jmp 0x10003b6d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003b64
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.10006eb0
mov ecx, dword [ebp - 0x100]
call fcn.1002eb10
add esp, 0x18
lea ecx, [ebp - 0x120]
call fcn.1002e8a0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0xc0]
cmp eax, esi
je 0x10003c28
cmp dword [ebp - 0xac], 8
jb 0x10003bb6
push dword [ebp - 0xc0]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
cmp dword [esi + 0x14], 8
jae 0x10003bf5
mov eax, dword [esi + 0x10]
inc eax
je 0x10003c03
add eax, eax
push eax
lea eax, [ebp - 0xc0]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10003c03
mov eax, dword [esi]
mov dword [ebp - 0xc0], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xac], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x10c], 8
jb 0x10003c3c
push dword [ebp - 0x120]
call edi
add esp, 4
sub esp, 0x18
lea eax, [ebp - 0xf0]
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.10006b20
lea ecx, [ebp - 0x120]
call fcn.1002e8a0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x90]
cmp eax, esi
je 0x10003cf3
cmp dword [ebp - 0x7c], 8
jb 0x10003c8d
push dword [ebp - 0x90]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
cmp dword [esi + 0x14], 8
jae 0x10003cc6
mov eax, dword [esi + 0x10]
inc eax
je 0x10003cd4
add eax, eax
push eax
lea eax, [ebp - 0x90]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10003cd4
mov eax, dword [esi]
mov dword [ebp - 0x90], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x10c], 8
jb 0x10003d07
push dword [ebp - 0x120]
call edi
add esp, 4
mov eax, dword [ebp - 0x104]
mov edx, 0x100e8043
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 0x10003d36
xor eax, eax
jmp 0x10003d49
mov eax, edx
lea ebx, [eax + 1]
jmp 0x10003d40
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003d40
sub eax, ebx
push eax
push edx
mov ecx, esi
call fcn.10006eb0
lea ecx, [ebp - 0x120]
call fcn.1002e8a0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x10003dd4
cmp dword [ebp - 0x34], 8
jb 0x10003d77
push dword [ebp - 0x48]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [esi + 0x14], 8
jae 0x10003daa
mov eax, dword [esi + 0x10]
inc eax
je 0x10003db5
add eax, eax
push eax
lea eax, [ebp - 0x48]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10003db5
mov eax, dword [esi]
mov dword [ebp - 0x48], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x10c], 8
jb 0x10003de8
push dword [ebp - 0x120]
call edi
add esp, 4
sub esp, 0x18
lea eax, [ebp - 0xd8]
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.10006b20
lea ecx, [ebp - 0x120]
call fcn.1002e8a0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x10003e90
cmp dword [ebp - 0x1c], 8
jb 0x10003e33
push dword [ebp - 0x30]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp dword [esi + 0x14], 8
jae 0x10003e66
mov eax, dword [esi + 0x10]
inc eax
je 0x10003e71
add eax, eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10003e71
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x10c], 8
jb 0x10003ea4
push dword [ebp - 0x120]
call edi
add esp, 4
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0xc0]
push eax
call fcn.10005730
lea ecx, [ebp - 0xc0]
call fcn.10003fd0
cmp dword [ebp - 0xc4], 0x10
jb 0x10003ed5
push dword [ebp - 0xd8]
call edi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xdc], 0x10
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], 0
mov byte [ebp - 0xd8], 0
jb 0x10003f0b
push dword [ebp - 0xf0]
call edi
add esp, 4
push dword [ebp - 0xf4]
call fcn.10056ec0
add esp, 4
cmp eax, 0x64
je 0x100039e0
push dword [ebp - 0xf4]
call fcn.10056140
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.100dc8fb
mov esp, ebp
pop ebp
ret 8