Function at 0x449a30
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563056
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x230
push esi
push edi
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x18]
mov ecx, dword [ebx + 0xc]
push 0
push 6
call fcn.0050a0a0
add esp, 8
test eax, eax
jne 0x449fe8
sub esp, 0x18
mov esi, esp
push 0x110
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
call fcn.00532272
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x100
mov ecx, 0x40
mov dword [esi + 0x14], 0x10f
add esp, 4
mov esi, 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
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x90]
mov byte [eax + 0x100], 0
call fcn.004375a0
add esp, 0x18
mov dword [ebp - 4], 0
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x78]
mov edi, dword [eax]
mov esi, dword [eax + 4]
call fcn.004377e0
cmp dword [eax + 0x14], 0x10
jb 0x449af7
mov eax, dword [eax]
push esi
push edi
push eax
lea eax, [ebp - 0x240]
push 0x100
push eax
call fcn.0041d000
mov ecx, dword [ebp - 0x64]
add esp, 0x14
cmp ecx, 0x10
jb 0x449b42
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449b38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449ffd
push ecx
push edx
call fcn.00532241
add esp, 8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
lea edx, [ebp - 0x240]
call fcn.004cf9f0
add esp, 0x14
test eax, eax
jne 0x449fb5
mov esi, dword [ebp - 0x1c]
push esi
call fcn.0048a750
add esp, 4
cmp eax, 0x64
jne 0x449fa2
nop
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
push ecx
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.0044e860
mov byte [ebp - 4], 2
test esi, esi
je 0x449c05
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x449bdd
push eax
call dword [0x59ec10]
add esp, 4
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x449bf2
xor eax, eax
cmp ax, word [esi + 0x98]
jb 0x449c0a
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00463200
mov ecx, 0x57ac10
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x449c27
cmp byte [ecx + 0xa], 1
jne 0x449c27
mov edi, dword [ecx + 0x10]
jmp 0x449c39
test dl, 1
je 0x449c30
xor edi, edi
jmp 0x449c39
mov dl, 1
call fcn.00483ce0
mov edi, eax
test esi, esi
je 0x449c6b
mov ecx, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [ecx + 0x57], 0
jne 0x449c50
test edx, edx
jne 0x449c50
xor eax, eax
jmp 0x449c55
call fcn.004603d0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x449c6b
push eax
call dword [0x59ec18]
add esp, 4
mov edx, edi
lea ecx, [ebp - 0x130]
call fcn.0044d120
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x128]
call fcn.00434bd0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.0044e770
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x50], xmm0
test esi, esi
je 0x449cef
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x449cbf
push eax
call dword [0x59ec10]
add esp, 4
mov eax, dword [esi + 0x80]
test eax, eax
je 0x449cdc
mov ecx, 1
cmp cx, word [esi + 0x98]
jae 0x449cdc
add eax, 0x28
jmp 0x449cf4
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00463200
mov eax, 0x57ac10
movzx eax, word [eax + 8]
and eax, 0x3f
mov al, byte [eax + 0x57d9d8]
mov byte [ebp - 0x11], al
test esi, esi
je 0x449d39
mov ecx, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [ecx + 0x57], 0
jne 0x449d1b
test edx, edx
jne 0x449d1b
xor eax, eax
jmp 0x449d20
call fcn.004603d0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x449d36
push eax
call dword [0x59ec18]
add esp, 4
mov al, byte [ebp - 0x11]
cmp al, 5
je 0x449e3f
push ecx
lea ecx, [ebp - 0x140]
call fcn.0044e860
mov byte [ebp - 4], 3
test esi, esi
je 0x449d9c
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x449d68
push eax
call dword [0x59ec10]
add esp, 4
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x449d89
mov eax, 1
cmp ax, word [esi + 0x98]
jae 0x449d89
add ecx, 0x28
jne 0x449da1
xor edi, edi
jmp 0x449dd0
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00463200
mov ecx, 0x57ac10
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x449dbe
cmp byte [ecx + 0xa], 1
jne 0x449dbe
mov edi, dword [ecx + 0x10]
jmp 0x449dd0
test dl, 1
je 0x449dc7
xor edi, edi
jmp 0x449dd0
mov dl, 1
call fcn.00483ce0
mov edi, eax
test esi, esi
je 0x449e02
mov ecx, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [ecx + 0x57], 0
jne 0x449de7
test edx, edx
jne 0x449de7
xor eax, eax
jmp 0x449dec
call fcn.004603d0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x449e02
push eax
call dword [0x59ec18]
add esp, 4
mov edx, edi
lea ecx, [ebp - 0x130]
call fcn.0044d120
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x128]
call fcn.00434bd0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.0044e770
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x38], xmm0
test esi, esi
je 0x449e86
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x449e56
push eax
call dword [0x59ec10]
add esp, 4
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x449e73
mov eax, 2
cmp ax, word [esi + 0x98]
jae 0x449e73
add ecx, 0x50
jmp 0x449e8b
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00463200
mov ecx, 0x57ac10
call fcn.004830b0
mov edi, eax
test esi, esi
je 0x449ec4
mov ecx, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [ecx + 0x57], 0
jne 0x449ea9
test edx, edx
jne 0x449ea9
xor eax, eax
jmp 0x449eae
call fcn.004603d0
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x449ec4
push eax
call dword [0x59ec18]
add esp, 4
push 3
push esi
mov dword [ebp - 0x30], edi
call fcn.0048b340
mov dword [ebp - 0x28], eax
add esp, 8
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], edx
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x449f1c
lea eax, [ebp - 0x60]
mov dword [ebp - 0x20], edi
push eax
mov ecx, edi
call fcn.004226e0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x18]
push eax
call fcn.004226e0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x3c], ecx
add dword [eax + 4], 0x40
jmp 0x449f28
lea ecx, [ebp - 0x60]
push ecx
push edi
mov ecx, eax
call fcn.0044ce90
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x449f60
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449f56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a002
push ecx
push edx
call fcn.00532241
add esp, 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x449f90
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449f86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a002
push ecx
push edx
call fcn.00532241
add esp, 8
push esi
call fcn.0048a750
add esp, 4
cmp eax, 0x64
je 0x449b80
push esi
call fcn.00489720
mov ecx, dword [ebp - 0x18]
add esp, 4
xor edx, edx
call fcn.00507c40
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x449fe8
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x449fde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a002
push ecx
push edx
call fcn.00532241
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.005370ef
call fcn.005370ef
int3