Function at 0x48cb80
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x4b0800
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov word [esp + 0x44], ax
mov ebp, 7
xor ebx, ebx
push 0x2a
mov eax, str.CChromeBrowser::GetIdFromMetaTable___start
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
call fcn.00401f30
mov ecx, esi
push ecx
mov dword [esp + 0x68], ebx
call fcn.00403780
add esp, 4
mov dword [esp + 0x64], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x48cbfa
mov edx, dword [esp + 0x44]
push edx
call fcn.00491101
add esp, 4
cmp dword [edi + 0x38], 0x10
jb 0x48cc05
mov eax, dword [edi + 0x24]
jmp 0x48cc08
lea eax, [edi + 0x24]
push ebx
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, 6
call fcn.0047c0b0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x48cc6b
xor edx, edx
push 0x31
mov eax, str.CChromeBrowser::GetIdFromMetaTable___sqlite3_open
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
call fcn.00401f30
mov ecx, edi
mov dword [esp + 0x64], 1
call fcn.00403270
cmp dword [esp + 0x58], 8
jb 0x48cc64
mov eax, dword [esp + 0x44]
push eax
call fcn.00491101
add esp, 4
mov eax, edi
jmp 0x48ce96
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.SELECT_value_FROM_meta_WHERE_keyDefault_Search_Provider_ID
call fcn.004076f0
mov dword [esp + 0x64], 2
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x48cc9e
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00407da0
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0xffffffffffffffff
push eax
push ebp
call fcn.00464b40
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x48cd3e
xor edx, edx
push 0x34
mov eax, str.CChromeBrowser::GetIdFromMetaTable___sqlite3_prepare
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
call fcn.00401f30
mov ecx, edi
mov byte [esp + 0x64], 3
call fcn.00403270
mov byte [esp + 0x64], 2
cmp dword [esp + 0x58], 8
jb 0x48cd06
mov eax, dword [esp + 0x44]
push eax
call fcn.00491101
add esp, 4
push ebp
call fcn.0047ae60
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cd37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x48ce96
mov edi, dword [esp + 0x20]
push edi
mov ebp, 0x10
call fcn.00440750
add esp, 4
cmp eax, 0x64
jne 0x48ce03
cmp edi, ebx
je 0x48cda6
cmp dword [edi + 0x2c], ebx
je 0x48cd82
xor ecx, ecx
cmp cx, word [edi + 0x30]
jae 0x48cd82
mov edx, dword [edi]
mov eax, dword [edx + 0x44]
cmp eax, ebx
je 0x48cd7d
push eax
call dword [0x4d3668]
add esp, 4
mov eax, dword [edi + 0x2c]
jmp 0x48cdab
mov eax, dword [edi]
cmp eax, ebx
je 0x48cda6
mov eax, dword [eax + 0x44]
cmp eax, ebx
je 0x48cd99
push eax
call dword [0x4d3668]
add esp, 4
mov eax, dword [edi]
push ebx
push 0x19
call fcn.00425960
add esp, 8
mov eax, 0x4bb040
push eax
call fcn.0043ff30
add esp, 4
mov esi, eax
call fcn.00440c10
push esi
call fcn.00494e5b
mov esi, dword [esp + 0x70]
mov dword [esi], eax
add esp, 4
mov eax, str.CChromeBrowser::GetIdFromMetaTable___sqlite3_step
lea ecx, [esp + 0x40]
call fcn.00401fe0
mov byte [esp + 0x64], 4
mov ecx, dword [esi]
lea esi, [esp + 0x40]
call fcn.00403270
mov byte [esp + 0x64], 2
cmp dword [esp + 0x58], 8
jb 0x48ce01
mov eax, dword [esp + 0x44]
push eax
call fcn.00491101
add esp, 4
xor ebp, ebp
push edi
call fcn.0043fb90
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call fcn.0047ae60
add esp, 4
xor edx, edx
mov edi, 7
push 0x31
mov eax, str.CChromeBrowser::GetIdFromMetaTable___return_value
lea esi, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
call fcn.00401f30
mov ecx, ebp
mov byte [esp + 0x64], 5
call fcn.00403270
cmp dword [esp + 0x3c], 8
jb 0x48ce5d
mov eax, dword [esp + 0x28]
push eax
call fcn.00491101
add esp, 4
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x18]
xor ecx, ecx
add eax, 0xfffffff0
mov word [esp + 0x28], cx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48ce94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4