Function at 0x439706
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004546f0
push 0xffffffffffffffff
push 0x460ee2
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x30]
cmp eax, ebx
je 0x4399b5
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x4399b5
cmp esi, ebx
je 0x4399ae
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x4399ae
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_from_bookmark_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 [edi + 0x30]
call sub.PCCS_DBEngine.dll_sqlite3_prepare
add esp, 0x14
mov dword [ebp - 0x18], eax
mov edi, 0x80100010
cmp eax, ebx
je 0x4397e5
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x18], ebx
jl 0x43994c
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_step
pop ecx
cmp eax, 5
jne 0x43981c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x20], 0x7d0
je 0x439949
inc dword [ebp - 0x20]
jmp 0x4397eb
cmp eax, 0x65
je 0x43994c
cmp eax, 0x64
jne 0x439940
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 0x4398e8
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_type
pop ecx
pop ecx
test ebx, ebx
jne 0x439872
cmp eax, 1
jne 0x43993a
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x439939
xor ecx, ecx
inc ecx
cmp ebx, ecx
jne 0x439896
cmp eax, ecx
jne 0x43993a
push ecx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
jmp 0x439939
cmp ebx, 2
jne 0x4398b8
cmp eax, ecx
jne 0x43993a
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x439939
cmp ebx, 3
jne 0x4398ef
cmp eax, 4
jne 0x43993a
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_blob
pop ecx
pop ecx
test eax, eax
je 0x43993a
push eax
push dword [esi + 0x10]
lea eax, [esi + 0x18]
push eax
call fcn.0044bc43
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
jge 0x43993a
inc dword [ebp - 0x1c]
xor ebx, ebx
jmp 0x43994c
cmp ebx, 4
jne 0x43990a
cmp eax, ecx
jne 0x43993a
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
pop ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
jmp 0x439939
cmp ebx, 5
jne 0x43993a
cmp eax, 3
jne 0x43993a
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_text16
pop ecx
pop ecx
mov edi, eax
test edi, edi
je 0x43993a
push edi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x43993a
push edi
call fcn.0044a580
mov dword [esi + 0x28], eax
pop ecx
inc ebx
jmp 0x43983a
cmp eax, 1
je 0x439949
cmp eax, ebx
je 0x43994c
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x14], ebx
je 0x43996a
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x43996a
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 0x439976
call fcn.0040426a
cmp dword [ebp - 0x1c], ebx
jne 0x439982
mov eax, 0x80100025
jmp 0x439971
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 0x439971
mov eax, 0x80100004
jmp 0x439971