Function at 0x12424930
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x124d36f8
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebp, ebp
push edi
cmp esi, ebp
je 0x12424fc9
mov edi, dword [esp + 0x3c]
cmp edi, ebp
je 0x12424fc9
lea eax, [esi + 0x48]
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
call fcn.12456050
mov ecx, dword [esi + 8]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov dword [esp + 0x3c], ebp
call fcn.12455df0
lea eax, [esp + 0x40]
push eax
call fcn.124297c0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call fcn.12456980
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov ecx, dword [esp + 0x14]
push ecx
push str.UpdateLastVisitTime________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 + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, 0x12516288
call fcn.1242fa00
cmp eax, ebp
jne 0x12424f6e
mov ecx, dword [0x124de7fc]
mov dword [esp + 0x38], ecx
mov bl, 2
push str.SELECT_max_
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], bl
call fcn.12455ef0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x34], 3
call fcn.124574a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x38]
push eax
call fcn.12457440
push 0x124f4a40
lea ecx, [esp + 0x40]
call fcn.12455ef0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 4
push ecx
lea ecx, [esp + 0x3c]
call fcn.124574a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.124567f0
push str.max_
lea ecx, [esp + 0x40]
call fcn.12455ef0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x34], 5
call fcn.124574a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x38]
push eax
call fcn.12457440
push str.__FROM
lea ecx, [esp + 0x40]
call fcn.12455ef0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 6
push ecx
lea ecx, [esp + 0x3c]
call fcn.124574a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov edx, dword [edi + 4]
lea ecx, [esp + 0x38]
push edx
call fcn.12457440
push str._WHERE
lea ecx, [esp + 0x40]
call fcn.12455ef0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x38]
push eax
mov byte [esp + 0x34], 7
call fcn.124574a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x3c]
call fcn.12457440
push str.____
lea ecx, [esp + 0x40]
call fcn.12455ef0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x34], 8
call fcn.124574a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push ebp
push eax
push 0xffffffffffffffff
push ecx
push edx
mov ecx, 0x12516288
call fcn.1242fa20
cmp eax, ebp
jne 0x12424c23
mov eax, dword [esp + 0x10]
mov ecx, 0x12516288
push eax
call fcn.1242fab0
cmp eax, 0x64
jne 0x12424c2b
mov ecx, dword [esp + 0x10]
push ebp
push ecx
mov ecx, 0x12516288
call fcn.1242fad0
mov ebx, edx
mov edx, dword [esp + 0x10]
push 1
push edx
mov ecx, 0x12516288
mov ebp, eax
call fcn.1242fad0
test ebx, ebx
jl 0x12424bd0
jg 0x12424bca
test ebp, ebp
jbe 0x12424bd0
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebx
test edx, edx
jl 0x12424be0
jg 0x12424bda
test eax, eax
jbe 0x12424be0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
push str.UpdateLastVisitTime__UpdateTime__nLastVisitTime:__I64u__nID__I64u_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x20
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 1
mov byte [esp + 0x30], 0
call fcn.124567f0
xor ebp, ebp
jmp 0x12424c53
push eax
push str.UpdateLastVisitTime_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
jmp 0x12424c31
push eax
push str.UpdateLastVisitTime_sqlite3_step__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.124567f0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, 0x12516288
call fcn.1242fbf0
cmp dword [esi + 0x24], ebp
jl 0x12424f5b
jg 0x12424c76
cmp dword [esi + 0x20], ebp
jbe 0x12424f5b
mov edx, dword [0x124de7fc]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], edx
mov bl, 9
push str.SELECT
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.12455ef0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x38]
push eax
mov byte [esp + 0x34], 0xa
call fcn.124574a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov ecx, dword [edi + 8]
push ecx
lea ecx, [esp + 0x3c]
call fcn.12457440
push 0x124f489c
lea ecx, [esp + 0x20]
call fcn.12455ef0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x34], 0xb
call fcn.124574a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x38]
push eax
call fcn.12457440
push str._FROM
lea ecx, [esp + 0x20]
call fcn.12455ef0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xc
push ecx
lea ecx, [esp + 0x3c]
call fcn.124574a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov edx, dword [edi + 4]
lea ecx, [esp + 0x38]
push edx
call fcn.12457440
push str._WHERE__
lea ecx, [esp + 0x20]
call fcn.12455ef0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x38]
push eax
mov byte [esp + 0x34], 0xd
call fcn.124574a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.124567f0
cmp dword [esi + 8], 0x16
jne 0x12424d9d
push str.visit_count___0__AND__
lea ecx, [esp + 0x20]
call fcn.12455ef0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xe
push ecx
lea ecx, [esp + 0x3c]
call fcn.124574a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x38]
push edx
call fcn.12457440
push str.______AND__
lea ecx, [esp + 0x20]
call fcn.12455ef0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x38]
push eax
mov byte [esp + 0x34], 0xf
call fcn.124574a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov ecx, dword [edi + 0x14]
push ecx
lea ecx, [esp + 0x3c]
call fcn.12457440
push str.__1__ORDER_BY
lea ecx, [esp + 0x20]
call fcn.12455ef0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x34], 0x10
call fcn.124574a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x38]
push eax
call fcn.12457440
push str._DESC
lea ecx, [esp + 0x20]
call fcn.12455ef0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0x11
push ecx
lea ecx, [esp + 0x3c]
call fcn.124574a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.124567f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push ebp
push edx
push 0xffffffffffffffff
push eax
push ecx
mov ecx, 0x12516288
call fcn.1242fa20
cmp eax, ebp
jne 0x12424f24
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 1
push ecx
mov ecx, 0x12516288
call fcn.1242fa50
mov edx, dword [esp + 0x3c]
mov ecx, 0x12516288
push edx
call fcn.1242fab0
cmp eax, 0x64
jne 0x12424f3e
mov eax, dword [esp + 0x3c]
push ebp
push eax
mov ecx, 0x12516288
call fcn.1242fb00
push eax
lea ecx, [esp + 0x24]
call fcn.12456050
mov ecx, dword [esp + 0x3c]
push 1
push ecx
mov ecx, 0x12516288
mov byte [esp + 0x38], 0x12
call fcn.1242fb00
push eax
lea ecx, [esp + 0x20]
call fcn.12456050
mov edx, dword [esp + 0x20]
push 0x103
lea eax, [esi + 0x460]
push edx
push eax
call fcn.1246f6a5
mov ecx, dword [esp + 0x28]
push 0x103
lea edx, [esi + 0x668]
push ecx
push edx
call fcn.1246f6a5
add esp, 0x18
lea ecx, [esp + 0x1c]
call fcn.124567f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.124567f0
jmp 0x12424f3e
push eax
push str.UpdateLastVisitTime_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.124567f0
mov eax, dword [esp + 0x3c]
mov ecx, 0x12516288
push eax
call fcn.1242fbf0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, 0x12516288
call fcn.1242fbd0
mov ebx, dword [esp + 0x24]
push ebx
push str.UpdateLastVisitTime____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
add esp, 0x14
lea edx, [esi + 0x458]
push ebp
push ebp
push edx
push eax
push ecx
mov ecx, 0x125162b8
call fcn.1242fca0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.124567f0
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret