Function at 0x491122
Capabilities:
Reference sql statements

Disassembly:
push 0x3c
mov eax, 0x533f4e
call fcn.004fa4d4
and dword [ebp - 0x30], 0
mov ebx, 0x53e9ff
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401769
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.00401732
mov ecx, dword [ebp + 0x14]
push ebx
call fcn.00401732
push str._local_appdata_GoogleChromeUser_DataDefaultWeb_Data
lea eax, [ebp - 0x48]
push eax
call fcn.00414f1c
mov byte [ebp - 4], 2
push esi
lea edi, [ebp - 0x44]
call fcn.0041db3b
and dword [ebp - 0x1c], 0
pop ecx
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.00414f1c
mov byte [ebp - 4], 3
push ecx
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.00401b98
mov byte [ebp - 4], 4
push esi
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x1c]
call fcn.004919c5
xor edi, edi
cmp eax, edi
jne 0x4911bf
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00401769
jmp 0x491416
push str.SELECT_value_FROM_meta_WHERE_keyDefault_Search_Provider_ID
lea eax, [ebp - 0x38]
push eax
call fcn.00414f1c
mov byte [ebp - 4], 5
push dword [ebp - 0x34]
lea ecx, [ebp - 0x3c]
call fcn.00401732
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00415022
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
call fcn.00415187
mov byte [ebp - 4], 6
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x1c]
call fcn.004bf5a6
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401898
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.004043a7
cmp esi, edi
je 0x491329
cmp dword [ebp - 0x18], edi
je 0x4912b0
push 1
push 0x191
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.CCoreChrome::GetDefaultSearchUrl
call fcn.00401769
mov byte [ebp - 4], 7
push dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
call fcn.00401769
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push str.sqlite3_get_table_returned_error:
push ecx
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push 1
mov byte [ebp - 4], 0xa
call dword [eax + 0x10]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401898
push dword [ebp - 0x18]
call fcn.004986bf
pop ecx
jmp 0x49131e
lea eax, [ebp - 0x28]
push eax
call fcn.00414eed
mov byte [ebp - 4], 0xb
push esi
mov esi, eax
call fcn.0041516d
cmp eax, edi
je 0x4912ce
lea esi, [eax + 4]
jmp 0x4912d0
xor esi, esi
push 1
push 0x196
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.CCoreChrome::GetDefaultSearchUrl
call fcn.00401769
mov byte [ebp - 4], 0xc
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push esi
push str.sqlite3_get_table_returned_error:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push 1
mov byte [ebp - 4], 0xb
call dword [eax + 0x10]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00415022
mov ecx, dword [ebp + 0x14]
push ebx
call fcn.00401732
jmp 0x49135c
mov eax, dword [ebp - 0x24]
cmp eax, edi
jle 0x49135c
cmp dword [ebp - 0x2c], edi
jle 0x49135c
mov ecx, dword [ebp - 0x20]
push dword [ecx + eax*4]
lea ecx, [ebp - 0x34]
call fcn.00401769
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004044ef
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401898
push dword [ebp - 0x20]
call fcn.004bf701
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
pop ecx
cmp dword [eax - 0xc], edi
je 0x491401
push esi
lea eax, [ebp - 0x2c]
push str.id_
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.00404433
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x11
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x10
mov ebx, dword [ebp + 8]
call fcn.00491ffe
test eax, eax
sete bl
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.00401898
test bl, bl
je 0x4913f5
mov ecx, dword [ebp + 0x14]
mov esi, 0x53e9ff
push esi
call fcn.00401732
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00401732
push esi
lea ecx, [ebp - 0x14]
call fcn.00401732
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00401898
push dword [ebp - 0x1c]
call fcn.004c74d9
pop ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.0040184e
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00415022
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00415022
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401898
mov eax, dword [ebp + 0xc]
call fcn.004fa5ac
ret 0x10