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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12989ee0
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 0x128fd99a
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x128fd99a
lea eax, [esi + 0x48]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
call fcn.12907ea0
mov ecx, dword [esi + 8]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov dword [esp + 0x34], ebx
call fcn.12907c40
lea eax, [esp + 0x20]
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 + 0x18]
mov byte [esp + 0x28], bl
call fcn.12908640
mov ecx, dword [esp + 0x10]
push ecx
push str.UpdateQQWeiYunLastUpDownTime________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 + 0x1c]
push edx
push eax
mov ecx, 0x129cd048
call fcn.128e0530
cmp eax, ebx
jne 0x128fd96b
push 0x129cd044
lea ecx, [esp + 0x1c]
call fcn.12907ea0
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
push 6
push ecx
mov ecx, dword [edi + 0x10]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push str.SELECT_max__s___count___FROM__s_WHERE__s______AND__s___lu
push edx
mov byte [esp + 0x44], 2
call fcn.1290b5c0
add esp, 0x1c
lea ecx, [esp + 0x14]
push 0x129cd044
call fcn.12907ea0
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
push 5
push eax
mov eax, dword [edi + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push str.SELECT_max__s___count___FROM__s_WHERE__s______AND__s___lu
push ecx
mov byte [esp + 0x44], 3
call fcn.1290b5c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 0x30]
push ebx
push edx
push 0xffffffffffffffff
push eax
push ecx
mov ecx, 0x129cd048
call fcn.128e0550
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x14]
push ebx
push edx
push 0xffffffffffffffff
push eax
push ecx
mov ecx, 0x129cd048
call fcn.128e0550
cmp eax, ebx
jne 0x128fd908
cmp edi, ebx
jne 0x128fd908
mov edx, dword [esp + 0x30]
mov ecx, 0x129cd048
push edx
call fcn.128e05e0
cmp eax, 0x64
jne 0x128fd855
mov eax, dword [esp + 0x30]
push 0
push eax
mov ecx, 0x129cd048
call fcn.128e0600
mov ecx, dword [esp + 0x30]
push 1
push ecx
mov ecx, 0x129cd048
mov ebp, eax
mov edi, edx
call fcn.128e0600
test edi, edi
jl 0x128fd82c
jg 0x128fd821
test ebp, ebp
jbe 0x128fd82c
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], edi
mov ebx, 1
test edx, edx
jl 0x128fd841
jg 0x128fd836
test eax, eax
jbe 0x128fd841
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov ebx, 1
mov edx, dword [esp + 0x30]
mov ecx, 0x129cd048
push edx
call fcn.128e05e0
cmp eax, 0x64
je 0x128fd7f1
mov eax, dword [esp + 0x34]
mov ecx, 0x129cd048
push eax
call fcn.128e05e0
cmp eax, 0x64
jne 0x128fd8cd
mov ecx, dword [esp + 0x34]
push 0
push ecx
mov ecx, 0x129cd048
call fcn.128e0600
mov edi, edx
mov edx, dword [esp + 0x34]
push 1
push edx
mov ecx, 0x129cd048
mov ebp, eax
call fcn.128e0600
test edi, edi
jl 0x128fd8a4
jg 0x128fd899
test ebp, ebp
jbe 0x128fd8a4
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], edi
mov ebx, 1
test edx, edx
jl 0x128fd8b9
jg 0x128fd8ae
test eax, eax
jbe 0x128fd8b9
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov ebx, 1
mov eax, dword [esp + 0x34]
mov ecx, 0x129cd048
push eax
call fcn.128e05e0
cmp eax, 0x64
je 0x128fd869
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x38]
push edx
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
push str.UpdateQQWeiYunLastUpDownTime__UpdateTime__nDownLastTime:__I64u__nLastDownId__I64u__nUpLastTime:__I64u__nUpLastId__I64u_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x30
jmp 0x128fd922
push ebx
push str.UpdateQQWeiYunLastUpDownTime_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.12908640
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.12908640
mov eax, dword [esp + 0x30]
mov ecx, 0x129cd048
push eax
call fcn.128e0720
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, 0x129cd048
call fcn.128e0720
mov edx, dword [esp + 0x1c]
mov ecx, 0x129cd048
push edx
call fcn.128e0700
push ebx
push str.UpdateQQWeiYunLastUpDownTime____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.12908640
mov eax, ebx
jmp 0x128fd99c
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