Function at 0x1247c6b0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12506090
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 0x1247c8ed
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x1247c8ed
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.12486370
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
push ecx
push str.UpdateJianGuoYunUpDownTime_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 + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fcf0
cmp eax, ebx
jne 0x1247c8ac
push 0x12547904
lea ecx, [esp + 0x34]
call fcn.12486370
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push str.SELECT_max__s___max__s__FROM__s
push ecx
mov byte [esp + 0x3c], 1
call fcn.12489a90
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
add esp, 0x14
lea edx, [esp + 0x34]
push ebx
push edx
push 0xffffffffffffffff
push eax
push ecx
mov ecx, 0x12547908
call fcn.1245fd10
cmp eax, ebx
jne 0x1247c85e
mov edx, dword [esp + 0x34]
mov ecx, 0x12547908
push edx
call fcn.1245fda0
cmp eax, 0x64
jne 0x1247c866
mov eax, dword [esp + 0x34]
push ebp
push ebx
push eax
mov ecx, 0x12547908
call fcn.1245fdc0
mov ecx, dword [esp + 0x38]
push 1
push ecx
mov ecx, 0x12547908
mov ebp, eax
mov edi, edx
call fcn.1245fdc0
test edi, edi
mov ebx, eax
mov dword [esp + 0x20], edx
jl 0x1247c816
jg 0x1247c7e9
test ebp, ebp
jbe 0x1247c816
push edi
push ebp
push str.UpdateJianGuoYunUpDownTime__UpdateTime__nUpDownLastTime:__I64u_
push str.History
push 0xffffffffffffffff
mov dword [esi + 0x28], ebp
push 0x12547fec
mov dword [esi + 0x2c], edi
mov dword [esp + 0x28], 1
call fcn.12478010
mov edx, dword [esp + 0x38]
add esp, 0x18
test edx, edx
pop ebp
jl 0x1247c84a
jg 0x1247c821
test ebx, ebx
jbe 0x1247c84a
push edx
push ebx
push str.UpdateJianGuoYunUpDownTime__UpdateID__nUpDownLastID:__I64u_
push str.History
push 0xffffffffffffffff
mov dword [esi + 0x30], ebx
push 0x12547fec
mov dword [esi + 0x34], edx
mov dword [esp + 0x24], 1
call fcn.12478010
add esp, 0x18
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.12486b10
mov ebx, dword [esp + 0xc]
jmp 0x1247c88e
push eax
push str.UpdateJianGuoYunUpDownTime_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
jmp 0x1247c86c
push eax
push str.UpdateJianGuoYunUpDownTime_sqlite3_step__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.12486b10
mov edx, dword [esp + 0x34]
mov ecx, 0x12547908
push edx
call fcn.1245fee0
mov eax, dword [esp + 0x10]
mov ecx, 0x12547908
push eax
call fcn.1245fec0
push ebx
push str.UpdateJianGuoYunUpDownTime____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.12486b10
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