Function at 0x128d6de0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12988778
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
xor ebp, ebp
push edi
cmp esi, ebp
je 0x128d73f9
mov edi, dword [esp + 0x44]
cmp edi, ebp
je 0x128d73f9
lea eax, [esi + 0x48]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
call fcn.12907ea0
mov ecx, dword [esi + 8]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov dword [esp + 0x44], ebp
call fcn.12907c40
lea eax, [esp + 0x48]
push eax
call fcn.128d9e00
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.129087d0
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0
call fcn.12908640
mov eax, dword [0x12993aec]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
push ecx
push edx
push str.UpdateFirstIDInfo________wstrFilePath:__s__dwBroHistory:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
mov byte [esp + 0x50], 3
call fcn.128f8920
add esp, 0x18
mov ecx, 0x129cd048
call fcn.128e0380
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, 0x129cd048
call fcn.128e0530
cmp eax, ebp
jne 0x128d73b5
mov edx, dword [0x12993aec]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edx
mov bl, 4
push str.SELECT_min_
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.12907d40
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x3c], 5
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov ecx, dword [edi + 0x14]
push ecx
lea ecx, [esp + 0x44]
call fcn.12909290
push str.__FROM
lea ecx, [esp + 0x24]
call fcn.12907d40
lea edx, [esp + 0x20]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0x3c], 6
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov eax, dword [edi + 4]
lea ecx, [esp + 0x40]
push eax
call fcn.12909290
push str._WHERE
lea ecx, [esp + 0x24]
call fcn.12907d40
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 7
push ecx
lea ecx, [esp + 0x44]
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x40]
push edx
call fcn.12909290
push str.____
lea ecx, [esp + 0x24]
call fcn.12907d40
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x3c], 8
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ebp
push ecx
push 0xffffffffffffffff
push edx
push eax
mov ecx, 0x129cd048
call fcn.128e0550
cmp eax, ebp
jne 0x128d703e
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, 0x129cd048
call fcn.128e05e0
cmp eax, 0x64
jne 0x128d7058
mov edx, dword [esp + 0x14]
push ebp
push edx
mov ecx, 0x129cd048
call fcn.128e0600
cmp edx, ebp
jl 0x128d7013
jg 0x128d700d
cmp eax, ebp
jbe 0x128d7013
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push eax
push ecx
push str.UpdateFirstIDInfo_nID__I64u_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x18
mov dword [esp + 0x24], 1
jmp 0x128d7058
push eax
push str.UpdateFirstIDInfo_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 3
call fcn.12908640
cmp dword [esi + 0x24], ebp
jl 0x128d7388
jg 0x128d707a
cmp dword [esi + 0x20], ebp
jbe 0x128d7388
mov edx, dword [0x12993aec]
mov dword [esp + 0x40], edx
mov bl, 9
push str.SELECT
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.12907d40
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x3c], 0xa
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov ecx, dword [edi + 8]
push ecx
lea ecx, [esp + 0x44]
call fcn.12909290
push 0x129a9fd0
lea ecx, [esp + 0x24]
call fcn.12907d40
lea edx, [esp + 0x20]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0x3c], 0xb
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x40]
push eax
call fcn.12909290
push 0x129a9fd0
lea ecx, [esp + 0x24]
call fcn.12907d40
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0xc
push ecx
lea ecx, [esp + 0x44]
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0x40]
push edx
call fcn.12909290
push str._FROM
lea ecx, [esp + 0x24]
call fcn.12907d40
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x3c], 0xd
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x44]
call fcn.12909290
push str._WHERE__
lea ecx, [esp + 0x24]
call fcn.12907d40
lea edx, [esp + 0x20]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0x3c], 0xe
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x40]
push eax
call fcn.12909290
push str.______AND__
lea ecx, [esp + 0x24]
call fcn.12907d40
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0xf
push ecx
lea ecx, [esp + 0x44]
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov edx, dword [edi + 0x14]
lea ecx, [esp + 0x40]
push edx
call fcn.12909290
push 0x129aaf3c
lea ecx, [esp + 0x24]
call fcn.12907d40
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x3c], 0x10
call fcn.129092f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
mov ecx, dword [esp + 0x40]
push ecx
push str.UpdateFirstIDInfo_wstrSQL__s_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
add esp, 0x14
lea edx, [esp + 0x44]
push ebp
push edx
push 0xffffffffffffffff
push eax
push ecx
mov ecx, 0x129cd048
call fcn.128e0550
cmp eax, ebp
jne 0x128d7360
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x44]
push edx
push eax
push 1
push ecx
mov ecx, 0x129cd048
call fcn.128e0580
mov edx, dword [esp + 0x44]
mov ecx, 0x129cd048
push edx
call fcn.128e05e0
cmp eax, 0x64
jne 0x128d737a
mov eax, dword [esp + 0x44]
push ebp
push eax
mov ecx, 0x129cd048
call fcn.128e0630
push eax
lea ecx, [esp + 0x24]
call fcn.12907ea0
mov ecx, dword [esp + 0x44]
push 1
push ecx
mov ecx, 0x129cd048
mov byte [esp + 0x40], 0x11
call fcn.128e0630
push eax
lea ecx, [esp + 0x20]
call fcn.12907ea0
mov edx, dword [esp + 0x44]
push 2
push edx
mov ecx, 0x129cd048
mov byte [esp + 0x40], 0x12
call fcn.128e0600
mov edi, eax
mov eax, dword [esp + 0x20]
push 0x103
lea ecx, [esi + 0x460]
mov ebp, edx
push eax
mov dword [esi + 0x18], edi
push ecx
mov dword [esi + 0x1c], ebp
call fcn.12922d15
mov edx, dword [esp + 0x28]
push 0x103
add esi, 0x668
push edx
push esi
call fcn.12922d15
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add esp, 0x18
mov dword [esp + 0x24], 1
push eax
push ecx
push ebp
push edi
push str.UpdateFirstIDInfo___I64d___s___s_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0x11
call fcn.12908640
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.12908640
jmp 0x128d737a
push eax
push str.UpdateFirstIDInfo_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 3
call fcn.12908640
mov edx, dword [esp + 0x14]
mov ecx, 0x129cd048
push edx
call fcn.128e0720
mov eax, dword [esp + 0x44]
mov ecx, 0x129cd048
push eax
call fcn.128e0720
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, 0x129cd048
call fcn.128e0700
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 2
call fcn.12908640
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 0
call fcn.12908640
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.12908640
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret