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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12989e38
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 0x128fce39
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x128fce39
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.12907ea0
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.12907c40
lea eax, [esp + 0x38]
push eax
call fcn.128d9e00
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.129087d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.12908640
mov ecx, dword [esp + 0x10]
push ecx
push str.UpdateChromeLastUpDownTime_wstrFilePath:__s_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
mov ecx, 0x129cd048
call fcn.128e0380
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, 0x129cd048
call fcn.128e0530
cmp eax, ebx
jne 0x128fce02
push 0x129cd044
lea ecx, [esp + 0x34]
call fcn.12907ea0
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.1290b5c0
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, 0x129cd048
call fcn.128e0550
cmp eax, ebx
jne 0x128fcdb5
mov eax, dword [esp + 0x34]
mov ecx, 0x129cd048
push eax
call fcn.128e05e0
cmp eax, 0x64
jne 0x128fcdbd
mov ecx, dword [esp + 0x34]
push ebx
push ecx
mov ecx, 0x129cd048
call fcn.128e0600
mov edi, edx
mov edx, dword [esp + 0x34]
push 1
push edx
mov ecx, 0x129cd048
mov dword [esp + 0x20], eax
call fcn.128e0600
cmp edi, ebx
jl 0x128fcd9e
jg 0x128fcd8f
cmp dword [esp + 0x18], ebx
jbe 0x128fcd9e
mov ecx, dword [esp + 0x18]
mov ebp, 1
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edi
cmp edx, ebx
jl 0x128fcdd7
jg 0x128fcda8
cmp eax, ebx
jb 0x128fcdd7
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov ebp, 1
jmp 0x128fcdd7
push eax
push str.UpdateChromeLastUpDownTime_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
jmp 0x128fcdc3
push eax
push str.UpdateChromeLastUpDownTime_sqlite3_step__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.12908640
mov edx, dword [esp + 0x34]
mov ecx, 0x129cd048
push edx
call fcn.128e0720
mov eax, dword [esp + 0x14]
mov ecx, 0x129cd048
push eax
call fcn.128e0700
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 0x129cd72c
call fcn.128f8920
add esp, 0x1c
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.12908640
mov eax, ebp
jmp 0x128fce3b
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