Function at 0x1247ba90
Capabilities:
Get number of processors
Reference sql statements

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12505fe0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
xor ebx, ebx
cmp edi, ebx
je 0x1247bcd5
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x1247bcd5
lea eax, [esi + 0x48]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], ebx
call fcn.12486370
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
push ecx
push str.UpdateFireFoxLastUpDownTime_wstrFilePath:__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
mov ecx, 0x12547908
call fcn.1245fb40
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fcf0
cmp eax, ebx
jne 0x1247bc94
push 0x12547904
lea ecx, [esp + 0x34]
call fcn.12486370
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x18]
push ecx
mov ecx, dword [edi + 0xc]
push edx
mov edx, dword [edi + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x44]
push str.SELECT_max__s____s_FROM__s_WHERE__s__0_AND__s_____
push eax
mov byte [esp + 0x44], 1
call fcn.12489a90
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
add esp, 0x1c
lea ecx, [esp + 0x34]
push ebx
push ecx
push 0xffffffffffffffff
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fd10
cmp eax, ebx
jne 0x1247bc46
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
jne 0x1247bc4e
mov edx, dword [esp + 0x34]
push ebp
push ebx
push edx
mov ecx, 0x12547908
call fcn.1245fdc0
mov ebp, eax
mov eax, dword [esp + 0x38]
push 1
push eax
mov ecx, 0x12547908
mov edi, edx
call fcn.1245fdc0
test edi, edi
mov ebx, eax
mov dword [esp + 0x20], edx
jl 0x1247bbfe
jg 0x1247bbd1
test ebp, ebp
jbe 0x1247bbfe
push edi
push ebp
push str.UpdateFireFoxLastUpDownTime__UpdateTime__nUpDownLastTime:__I64u_
push str.History
push 0xffffffffffffffff
mov dword [esi + 0x28], ebp
push 0x12547fec
mov dword [esi + 0x2c], edi
mov dword [esp + 0x28], 1
call fcn.12478010
mov edx, dword [esp + 0x38]
add esp, 0x18
test edx, edx
pop ebp
jl 0x1247bc32
jg 0x1247bc09
test ebx, ebx
jbe 0x1247bc32
push edx
push ebx
push str.UpdateFireFoxLastUpDownTime__UpdateID__nUpDownLastID:__I64u_
push str.History
push 0xffffffffffffffff
mov dword [esi + 0x30], ebx
push 0x12547fec
mov dword [esi + 0x34], edx
mov dword [esp + 0x24], 1
call fcn.12478010
add esp, 0x18
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.12486b10
mov ebx, dword [esp + 0xc]
jmp 0x1247bc76
push eax
push str.UpdateFireFoxLastUpDownTime_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
jmp 0x1247bc54
push eax
push str.UpdateFireFoxLastUpDownTime_sqlite3_step__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.12486b10
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, 0x12547908
call fcn.1245fee0
mov edx, dword [esp + 0x10]
mov ecx, 0x12547908
push edx
call fcn.1245fec0
push ebx
push str.UpdateLastVisitTime____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.12486b10
pop edi
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8