Function at 0x44a356
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004546f0
push 0xffffffffffffffff
push 0x460552
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48d044]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x101c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1020]
mov dword [ebp - 0x28], eax
mov edi, edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [eax], bl
mov byte [edi], bl
mov byte [ebp], bl
push 0xffe
push ebx
lea eax, [ebp + 1]
push eax
call fcn.0044c8f0
push dword [ebp + 0x1010]
push dword [ebp + 0x100c]
push str.select_folder_uid__note_from_note_data_where_uid_I64d
push 0xfff
lea eax, [ebp]
push eax
call fcn.0044ecf0
add esp, 0x20
mov dword [ebp - 0x14], ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call fcn.0044cbc0
pop ecx
push eax
lea eax, [ebp]
push eax
push dword [esi + 0x30]
call sub.PCCS_DBEngine.dll_sqlite3_prepare
add esp, 0x14
mov dword [ebp - 0x18], eax
mov esi, 0x80100010
cmp eax, ebx
je 0x44a41a
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x18], ebx
jl 0x44a507
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_step
pop ecx
cmp eax, 5
jne 0x44a44e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x24], 0x7d0
je 0x44a504
inc dword [ebp - 0x24]
jmp 0x44a41d
cmp eax, 0x64
jne 0x44a4f6
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_count
pop ecx
mov esi, eax
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], esi
jge 0x44a507
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_type
pop ecx
pop ecx
cmp dword [ebp - 0x1c], ebx
jne 0x44a4a8
cmp eax, 1
jne 0x44a4ee
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
pop ecx
cmp eax, dword [ebp + 0x1014]
jne 0x44a4ee
cmp edx, dword [ebp + 0x1018]
jne 0x44a4ee
mov eax, dword [ebp - 0x28]
mov byte [eax], 1
jmp 0x44a4ee
cmp dword [ebp - 0x1c], 1
jne 0x44a4ee
cmp eax, 3
jne 0x44a4e1
push 1
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_text16
pop ecx
pop ecx
cmp eax, ebx
je 0x44a4d7
cmp dword [ebp - 0x20], ebx
je 0x44a4ee
push dword [ebp - 0x20]
push eax
call fcn.0044eeee
pop ecx
pop ecx
test eax, eax
jmp 0x44a4da
cmp dword [ebp - 0x20], ebx
jne 0x44a4ee
mov byte [edi], 1
jmp 0x44a4ee
cmp eax, 5
jne 0x44a4ee
cmp dword [ebp - 0x20], ebx
sete al
mov byte [edi], al
inc dword [ebp - 0x1c]
jmp 0x44a465
cmp eax, 0x65
je 0x44a507
cmp eax, 1
je 0x44a504
cmp eax, ebx
je 0x44a507
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x14], ebx
je 0x44a525
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x44a525
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_finalize
pop ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jge 0x44a531
call fcn.0040426a
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0044c8d7
add ebp, 0x1004
leave
ret 0x18