Function at 0x43aef1
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004546f0
push 0xffffffffffffffff
push 0x460dd7
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 0x43b15f
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x43b15f
cmp esi, ebx
je 0x43b158
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x43b158
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_from_calendar_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 0x43afd0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x18], ebx
jl 0x43b0f6
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_step
pop ecx
cmp eax, 5
jne 0x43b007
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x20], 0x7d0
je 0x43b0f3
inc dword [ebp - 0x20]
jmp 0x43afd6
cmp eax, 0x65
je 0x43b0f6
cmp eax, 0x64
jne 0x43b0ea
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_count
pop ecx
mov dword [ebp - 0x28], eax
xor edi, edi
xor ebx, ebx
inc ebx
mov dword [ebp - 0x24], edi
cmp edi, dword [ebp - 0x28]
jge 0x43b0c3
push edi
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_type
pop ecx
pop ecx
test edi, edi
jne 0x43b060
cmp eax, ebx
jne 0x43b0e4
push edi
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x43b0e2
cmp edi, ebx
jne 0x43b079
cmp eax, ebx
jne 0x43b0e4
push ebx
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
jmp 0x43b0e2
cmp edi, 2
jne 0x43b093
cmp eax, ebx
jne 0x43b0e4
push edi
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x43b0e2
cmp edi, 3
jne 0x43b0ca
cmp eax, 4
jne 0x43b0e4
push edi
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_blob
pop ecx
pop ecx
test eax, eax
je 0x43b0e4
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 0x43b0e4
inc dword [ebp - 0x1c]
xor ebx, ebx
jmp 0x43b0f6
cmp edi, 4
jne 0x43b0e4
cmp eax, ebx
jne 0x43b0e4
push edi
push dword [ebp - 0x14]
call sub.PCCS_DBEngine.dll_sqlite3_column_int64
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
pop ecx
pop ecx
inc edi
jmp 0x43b02a
cmp eax, 1
je 0x43b0f3
cmp eax, ebx
je 0x43b0f6
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x14], ebx
je 0x43b114
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x43b114
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 0x43b120
call fcn.0040426a
cmp dword [ebp - 0x1c], ebx
jne 0x43b12c
mov eax, 0x80100025
jmp 0x43b11b
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 0x43b11b
mov eax, 0x80100004
jmp 0x43b11b