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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x124d4ea0
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x1244bcf1
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x1244bcf1
lea eax, [edi + 0x48]
lea ecx, [esp + 0x18]
push eax
xor ebp, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.12456050
mov ecx, dword [edi + 8]
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov dword [esp + 0x44], ebx
call fcn.12455df0
lea eax, [esp + 0x48]
push eax
call fcn.124297c0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.12456980
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], bl
call fcn.124567f0
mov ecx, dword [esp + 0x18]
push ecx
push str.UpdateBaiduNetDiskLastUpDownTime________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 + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, 0x12516288
call fcn.1242fa00
cmp eax, ebx
jne 0x1244bcc2
push 0x12516280
lea ecx, [esp + 0x48]
call fcn.12456050
push 0x12516280
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call fcn.12456050
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push str.SELECT_max__s___count___FROM__s_WHERE__s_____
push ecx
mov byte [esp + 0x4c], 3
call fcn.12459770
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x10]
add esp, 0x14
push edx
push eax
push ecx
lea edx, [esp + 0x4c]
push str.SELECT_max__s___count___FROM__s_WHERE__s_____
push edx
call fcn.12459770
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 0x10]
push ebx
push eax
push 0xffffffffffffffff
push ecx
push edx
mov ecx, 0x12516288
call fcn.1242fa20
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov esi, eax
lea eax, [esp + 0x14]
push ebx
push eax
push 0xffffffffffffffff
push ecx
push edx
mov ecx, 0x12516288
call fcn.1242fa20
cmp esi, ebx
jne 0x1244bc5f
cmp eax, ebx
jne 0x1244bc5f
mov eax, dword [esp + 0x10]
mov ecx, 0x12516288
push eax
call fcn.1242fab0
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
mov ecx, 0x12516288
call fcn.1242fab0
cmp esi, 0x64
jne 0x1244bc56
cmp eax, esi
jne 0x1244bc56
mov edx, dword [esp + 0x10]
push ebx
push edx
mov ecx, 0x12516288
call fcn.1242fad0
mov ebp, eax
mov eax, dword [esp + 0x10]
push 1
push eax
mov ecx, 0x12516288
mov esi, edx
call fcn.1242fad0
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, 0x12516288
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call fcn.1242fad0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x14]
push 1
push edx
mov ecx, 0x12516288
mov dword [esp + 0x30], eax
call fcn.1242fad0
cmp esi, ebx
jl 0x1244bbea
jg 0x1244bbe4
cmp ebp, ebx
jbe 0x1244bbea
mov dword [edi + 0x28], ebp
mov dword [edi + 0x2c], esi
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jl 0x1244bc04
jg 0x1244bbfa
cmp dword [esp + 0x20], ebx
jbe 0x1244bc04
mov esi, dword [esp + 0x20]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jl 0x1244bc1e
jg 0x1244bc14
cmp dword [esp + 0x28], ebx
jbe 0x1244bc1e
mov esi, dword [esp + 0x28]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], ecx
cmp edx, ebx
jl 0x1244bc2e
jg 0x1244bc28
cmp eax, ebx
jbe 0x1244bc2e
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], edx
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
push eax
push ecx
push str.UpdateBaiduNetDiskLastUpDownTime__UpdateTime__nUpDownLastTime:__I64u_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x18
mov ebp, 1
jmp 0x1244bc7a
push eax
push esi
push str.UpdateBaiduNetDiskLastUpDownTime_sqlite3_step__Failed__nDownSqlRet:__d_nUpSqlRet:__d_
jmp 0x1244bc66
push eax
push esi
push str.UpdateBaiduNetDiskLastUpDownTime_sqlite3_prepare16_v2__Failed__nDownSqlRet:__d_nUpSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x18
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 2
call fcn.124567f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], bl
call fcn.124567f0
mov edx, dword [esp + 0x10]
mov ecx, 0x12516288
push edx
call fcn.1242fbf0
mov eax, dword [esp + 0x14]
mov ecx, 0x12516288
push eax
call fcn.1242fbf0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, 0x12516288
call fcn.1242fbd0
push ebp
push str.UpdateBaiduNetDiskLastUpDownTime____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.124567f0
mov eax, ebp
jmp 0x1244bcf3
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8