Function at 0x44770b
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004546f0
push 0xffffffffffffffff
push 0x460776
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 edi, edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x4479fa
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x4479fa
cmp edi, ebx
je 0x4479f3
push edi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x4479f3
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_uid__folder_uid__binary_data_length__binary_data__modified_time_stamp__generic_text_field__mime_type_from_GENERIC_FILE_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 0x4477ea
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x18], ebx
jl 0x447991
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_step
pop ecx
cmp eax, 5
jne 0x447821
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x20], 0x7d0
je 0x44798e
inc dword [ebp - 0x20]
jmp 0x4477f0
cmp eax, 0x65
je 0x447991
cmp eax, 0x64
jne 0x447985
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_count
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
cmp ebx, dword [ebp - 0x28]
jge 0x4478fb
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_type
pop ecx
pop ecx
test ebx, ebx
jne 0x447877
cmp eax, 1
jne 0x44797f
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x44797e
xor edx, edx
inc edx
cmp ebx, edx
jne 0x44789b
cmp eax, edx
jne 0x44797f
push edx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
jmp 0x44797e
cmp ebx, 2
jne 0x4478bd
cmp eax, edx
jne 0x44797f
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
jmp 0x44797e
push 3
pop ecx
cmp ebx, ecx
jne 0x447905
cmp eax, 4
jne 0x44797f
push ecx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_blob
pop ecx
pop ecx
test eax, eax
je 0x44797f
push eax
push dword [edi + 0x10]
lea eax, [edi + 0x18]
push eax
call fcn.0044bc43
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
jge 0x44797f
inc dword [ebp - 0x1c]
xor ebx, ebx
jmp 0x447991
cmp ebx, 4
jne 0x447920
cmp eax, edx
jne 0x44797f
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], edx
jmp 0x44797e
cmp ebx, 5
jne 0x447950
cmp eax, ecx
jne 0x44797f
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_text16
pop ecx
pop ecx
mov esi, eax
test esi, esi
je 0x44797f
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x44797f
push esi
call fcn.0044a580
mov dword [edi + 0x28], eax
jmp 0x44797e
cmp ebx, 6
jne 0x44797f
cmp eax, ecx
jne 0x44797f
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_text16
pop ecx
pop ecx
mov esi, eax
test esi, esi
je 0x44797f
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x44797f
push esi
call fcn.0044a580
mov dword [edi + 0x2c], eax
pop ecx
inc ebx
jmp 0x44783f
cmp eax, 1
je 0x44798e
cmp eax, ebx
je 0x447991
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x14], ebx
je 0x4479af
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x4479af
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 0x4479bb
call fcn.0040426a
cmp dword [ebp - 0x1c], ebx
jne 0x4479c7
mov eax, 0x80100025
jmp 0x4479b6
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 8
mov eax, 0x80100012
jmp 0x4479b6
mov eax, 0x80100004
jmp 0x4479b6