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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x124d4e48
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
xor ebx, ebx
cmp edi, ebx
je 0x1244b759
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x1244b759
lea eax, [esi + 0x48]
lea ecx, [esp + 0x10]
push eax
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], ebx
call fcn.12456050
mov ecx, dword [esi + 8]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x34], ebx
call fcn.12455df0
lea eax, [esp + 0x38]
push eax
call fcn.124297c0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.12456980
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.124567f0
mov ecx, dword [esp + 0x10]
push ecx
push str.UpdateChromeLastUpDownTime_wstrFilePath:__s_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
mov ecx, 0x12516288
call fcn.1242f850
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, 0x12516288
call fcn.1242fa00
cmp eax, ebx
jne 0x1244b722
push 0x12516280
lea ecx, [esp + 0x34]
call fcn.12456050
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
push ecx
mov ecx, dword [edi + 0x10]
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push str.SELECT_max__s____s_FROM__s_WHERE__s__1
push edx
mov byte [esp + 0x40], 2
call fcn.12459770
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
add esp, 0x18
lea eax, [esp + 0x34]
push ebx
push eax
push 0xffffffffffffffff
push ecx
push edx
mov ecx, 0x12516288
call fcn.1242fa20
cmp eax, ebx
jne 0x1244b6d5
mov eax, dword [esp + 0x34]
mov ecx, 0x12516288
push eax
call fcn.1242fab0
cmp eax, 0x64
jne 0x1244b6dd
mov ecx, dword [esp + 0x34]
push ebx
push ecx
mov ecx, 0x12516288
call fcn.1242fad0
mov edi, edx
mov edx, dword [esp + 0x34]
push 1
push edx
mov ecx, 0x12516288
mov dword [esp + 0x20], eax
call fcn.1242fad0
cmp edi, ebx
jl 0x1244b6be
jg 0x1244b6af
cmp dword [esp + 0x18], ebx
jbe 0x1244b6be
mov ecx, dword [esp + 0x18]
mov ebp, 1
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edi
cmp edx, ebx
jl 0x1244b6f7
jg 0x1244b6c8
cmp eax, ebx
jb 0x1244b6f7
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov ebp, 1
jmp 0x1244b6f7
push eax
push str.UpdateChromeLastUpDownTime_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
jmp 0x1244b6e3
push eax
push str.UpdateChromeLastUpDownTime_sqlite3_step__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.124567f0
mov edx, dword [esp + 0x34]
mov ecx, 0x12516288
push edx
call fcn.1242fbf0
mov eax, dword [esp + 0x14]
mov ecx, 0x12516288
push eax
call fcn.1242fbd0
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
push ebp
push ecx
push edx
push str.UpdateChromeLastUpDownTime_nUpDownLastTime__I64u__bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x1c
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.124567f0
mov eax, ebp
jmp 0x1244b75b
xor eax, eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8