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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12989eb0
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 0x128fd635
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x128fd635
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.12907ea0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
push ecx
push str.UpdateSogouLastUpDownTime_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 + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, 0x129cd048
call fcn.128e0530
cmp eax, ebx
jne 0x128fd5f4
push 0x129cd044
lea ecx, [esp + 0x34]
call fcn.12907ea0
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__3_AND__s_____
push eax
mov byte [esp + 0x44], 1
call fcn.1290b5c0
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, 0x129cd048
call fcn.128e0550
cmp eax, ebx
jne 0x128fd5a6
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, 0x129cd048
call fcn.128e05e0
cmp eax, 0x64
jne 0x128fd5ae
mov edx, dword [esp + 0x34]
push ebp
push ebx
push edx
mov ecx, 0x129cd048
call fcn.128e0650
mov ebp, eax
mov eax, dword [esp + 0x38]
push 1
push eax
mov ecx, 0x129cd048
mov edi, edx
call fcn.128e0600
test edi, edi
mov ebx, eax
mov dword [esp + 0x20], edx
jl 0x128fd55e
jg 0x128fd531
test ebp, ebp
jbe 0x128fd55e
push edi
push ebp
push str.UpdateSogouLastUpDownTime__UpdateTime__nUpDownLastTime:__I64u_
push str.History
push 0xffffffffffffffff
mov dword [esi + 0x28], ebp
push 0x129cd72c
mov dword [esi + 0x2c], edi
mov dword [esp + 0x28], 1
call fcn.128f8920
mov edx, dword [esp + 0x38]
add esp, 0x18
test edx, edx
pop ebp
jl 0x128fd592
jg 0x128fd569
test ebx, ebx
jbe 0x128fd592
push edx
push ebx
push str.UpdateSogouLastUpDownTime__UpdateID__nUpDownLastID:__I64u_
push str.History
push 0xffffffffffffffff
mov dword [esi + 0x30], ebx
push 0x129cd72c
mov dword [esi + 0x34], edx
mov dword [esp + 0x24], 1
call fcn.128f8920
add esp, 0x18
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.12908640
mov ebx, dword [esp + 0xc]
jmp 0x128fd5d6
push eax
push str.UpdateSogouLastUpDownTime_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
jmp 0x128fd5b4
push eax
push str.UpdateSogouLastUpDownTime_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], 0
call fcn.12908640
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, 0x129cd048
call fcn.128e0720
mov edx, dword [esp + 0x10]
mov ecx, 0x129cd048
push edx
call fcn.128e0700
push ebx
push str.UpdateSogouLastUpDownTime____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.12908640
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