Function at 0x445f33
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004546f0
push 0xffffffffffffffff
push 0x460881
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 edi, ecx
mov esi, edx
and dword [ebp - 4], 0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x446333
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
call ebx
test eax, eax
jne 0x446333
test esi, esi
je 0x44632c
push esi
call ebx
test eax, eax
jne 0x44632c
mov byte [ebp], al
push 0xffe
push eax
lea eax, [ebp + 1]
push eax
call fcn.0044c8f0
add esp, 0xc
push dword [ebp + 0x1010]
lea eax, [ebp]
push dword [ebp + 0x100c]
cmp byte [ebp + 0x1014], 0
je 0x445fde
push str.select_uid__folder_uid__version__file_name__file_path_device__file_size__file_modified_time__meta_data_len__file_data_len__meta_data_from_files_data_where_uid_I64d
jmp 0x445fe3
push str.select_uid__folder_uid__version__file_name__file_path_device__file_size__file_modified_time__meta_data_len__file_data_len_from_files_data_where_uid_I64d
push 0xfff
push eax
call fcn.0044ecf0
add esp, 0x14
and dword [ebp - 0x14], 0
push 0
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 [edi + 0x30]
call sub.PCCS_DBEngine.dll_sqlite3_prepare
add esp, 0x14
mov dword [ebp - 0x18], eax
mov edi, 0x80100010
test eax, eax
je 0x446024
mov dword [ebp - 0x18], edi
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x18], 0
jl 0x44623e
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_step
pop ecx
cmp eax, 5
jne 0x44605e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x20], 0x7d0
je 0x44623b
inc dword [ebp - 0x20]
jmp 0x44602c
cmp eax, 0x65
je 0x44623e
cmp eax, 0x64
jne 0x446232
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_count
pop ecx
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov dword [ebp - 0x24], ebx
cmp ebx, dword [ebp - 0x28]
jge 0x446227
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_type
pop ecx
pop ecx
cmp eax, 1
jne 0x446165
mov eax, ebx
sub eax, 0
je 0x44614f
dec eax
je 0x446138
dec eax
je 0x446121
sub eax, 3
je 0x44610a
dec eax
je 0x4460f3
dec eax
je 0x4460dc
dec eax
jne 0x446221
push 8
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
pop ecx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
jmp 0x446221
push 7
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
pop ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x446221
push 6
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
pop ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
jmp 0x446221
push 5
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
pop ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
jmp 0x446221
push 2
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
pop ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x446221
push 1
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
pop ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
jmp 0x446221
push 0
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
pop ecx
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x446221
cmp eax, 3
jne 0x4461d2
mov eax, ebx
sub eax, 3
je 0x4461a9
dec eax
jne 0x446221
push 4
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_text16
pop ecx
pop ecx
mov edi, eax
test edi, edi
je 0x446221
push edi
call fcn.0044efbb
pop ecx
test eax, eax
jbe 0x446221
push edi
call fcn.0044a580
pop ecx
mov dword [esi + 0x20], eax
jmp 0x446221
push 3
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_text16
pop ecx
pop ecx
mov edi, eax
test edi, edi
je 0x446221
push edi
call fcn.0044efbb
pop ecx
test eax, eax
jbe 0x446221
push edi
call fcn.0044a580
pop ecx
mov dword [esi + 0x18], eax
jmp 0x446221
cmp eax, 4
jne 0x446221
cmp ebx, 9
jne 0x446221
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_bytes
pop ecx
pop ecx
mov edi, eax
test edi, edi
jle 0x446216
cdq
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_blob
push eax
push edi
call fcn.0043839d
add esp, 0x10
mov dword [esi + 0x58], eax
test eax, eax
jne 0x446221
and dword [esi + 0x50], eax
and dword [esi + 0x54], eax
jmp 0x446221
xor eax, eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
inc ebx
jmp 0x44607e
inc dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
jmp 0x44623e
cmp eax, 1
je 0x44623b
test eax, eax
je 0x44623e
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x14], 0
je 0x44625a
push dword [ebp - 0x14]
call ebx
test eax, eax
jne 0x44625a
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_finalize
pop ecx
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 0
jge 0x4462f3
mov eax, dword [esi + 0x18]
test eax, eax
je 0x44627b
push eax
call ebx
test eax, eax
jne 0x44627b
push dword [esi + 0x18]
call fcn.00439c18
pop ecx
and dword [esi + 0x18], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x446296
push eax
call ebx
test eax, eax
jne 0x446296
push dword [esi + 0x1c]
call fcn.00439c18
pop ecx
and dword [esi + 0x1c], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4462b1
push eax
call ebx
test eax, eax
jne 0x4462b1
push dword [esi + 0x20]
call fcn.00439c18
pop ecx
and dword [esi + 0x20], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4462cc
push eax
call ebx
test eax, eax
jne 0x4462cc
push dword [esi + 0x24]
call fcn.00439c18
pop ecx
and dword [esi + 0x24], 0
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4462e7
push eax
call ebx
test eax, eax
jne 0x4462e7
push dword [esi + 0x58]
call fcn.00440d1a
pop ecx
and dword [esi + 0x58], 0
mov eax, dword [ebp - 0x18]
call fcn.0040426a
cmp dword [ebp - 0x1c], 0
jne 0x446300
mov eax, 0x80100025
jmp 0x4462ee
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 0xc
mov eax, 0x80100012
jmp 0x4462ee
mov eax, 0x80100004
jmp 0x4462ee