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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12506010
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 0x1247c011
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x1247c011
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.12486370
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.12486110
lea eax, [esp + 0x48]
push eax
call fcn.12459800
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.12486ca0
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], bl
call fcn.12486b10
mov ecx, dword [esp + 0x18]
push ecx
push str.UpdateBaiduNetDiskLastUpDownTime________wstrFilePath:__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
mov ecx, 0x12547908
call fcn.1245fb40
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fcf0
cmp eax, ebx
jne 0x1247bfe2
push 0x12547904
lea ecx, [esp + 0x48]
call fcn.12486370
push 0x12547904
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call fcn.12486370
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.12489a90
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.12489a90
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, 0x12547908
call fcn.1245fd10
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, 0x12547908
call fcn.1245fd10
cmp esi, ebx
jne 0x1247bf7f
cmp eax, ebx
jne 0x1247bf7f
mov eax, dword [esp + 0x10]
mov ecx, 0x12547908
push eax
call fcn.1245fda0
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp esi, 0x64
jne 0x1247bf76
cmp eax, esi
jne 0x1247bf76
mov edx, dword [esp + 0x10]
push ebx
push edx
mov ecx, 0x12547908
call fcn.1245fdc0
mov ebp, eax
mov eax, dword [esp + 0x10]
push 1
push eax
mov ecx, 0x12547908
mov esi, edx
call fcn.1245fdc0
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, 0x12547908
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call fcn.1245fdc0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x14]
push 1
push edx
mov ecx, 0x12547908
mov dword [esp + 0x30], eax
call fcn.1245fdc0
cmp esi, ebx
jl 0x1247bf0a
jg 0x1247bf04
cmp ebp, ebx
jbe 0x1247bf0a
mov dword [edi + 0x28], ebp
mov dword [edi + 0x2c], esi
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jl 0x1247bf24
jg 0x1247bf1a
cmp dword [esp + 0x20], ebx
jbe 0x1247bf24
mov esi, dword [esp + 0x20]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jl 0x1247bf3e
jg 0x1247bf34
cmp dword [esp + 0x28], ebx
jbe 0x1247bf3e
mov esi, dword [esp + 0x28]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], ecx
cmp edx, ebx
jl 0x1247bf4e
jg 0x1247bf48
cmp eax, ebx
jbe 0x1247bf4e
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 0x12547fec
call fcn.12478010
add esp, 0x18
mov ebp, 1
jmp 0x1247bf9a
push eax
push esi
push str.UpdateBaiduNetDiskLastUpDownTime_sqlite3_step__Failed__nDownSqlRet:__d_nUpSqlRet:__d_
jmp 0x1247bf86
push eax
push esi
push str.UpdateBaiduNetDiskLastUpDownTime_sqlite3_prepare16_v2__Failed__nDownSqlRet:__d_nUpSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x18
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 2
call fcn.12486b10
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], bl
call fcn.12486b10
mov edx, dword [esp + 0x10]
mov ecx, 0x12547908
push edx
call fcn.1245fee0
mov eax, dword [esp + 0x14]
mov ecx, 0x12547908
push eax
call fcn.1245fee0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, 0x12547908
call fcn.1245fec0
push ebp
push str.UpdateBaiduNetDiskLastUpDownTime____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.12486b10
mov eax, ebp
jmp 0x1247c013
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