Function at 0x4a63d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4eb44b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x30], 0
test esi, esi
jne 0x4a641f
mov ecx, dword [ebp + 0x4c]
inc dword [ebp + 0x5c]
push 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSemaphore::release_int_]
dec dword [ebp + 0x60]
jmp case.default.0x4a656d
mov edi, dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QThread::wait_unsigned_long_int_]
mov ebx, dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QCoreApplication::processEvents_class_QFlags_enum_QEventLoop::ProcessEventsFlag__]
jmp 0x4a6430
push 0x64
mov ecx, esi
call edi
test al, al
jne 0x4a644e
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0
call ebx
add esp, 4
jmp 0x4a6430
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4a6409
mov eax, dword [ebp + 0x44]
mov ebx, dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QObject::disconnect_class_QObject_const___char_const___class_QObject_const___char_const__]
test eax, eax
je 0x4a6485
push str.1increaseMaxByteCount_quint32_
push eax
push str.2increaseMaxByteCount_quint32_
push esi
call ebx
mov eax, dword [ebp + 0x44]
push str.1increaseCurrentProgress_quint32_
push eax
push str.2increaseCurrentProgress_quint32_
push esi
call ebx
add esp, 0x20
push str.1doCancel__
push esi
push str.2Sig_userCancel__
push ebp
call ebx
push str.1finishedDownload_NGLUpdateHandlerDownloadThread__NGLDownloadItem__bool_bool_
push ebp
push str.2downloadFinished_NGLUpdateHandlerDownloadThread__NGLDownloadItem__bool_bool_
push esi
call ebx
push str.1showNoInternetConnectionAvailable_QString_
push ebp
push str.2Sig_NoConnectionTo_QString_
push esi
call ebx
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
add esp, 0x30
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x3c], 0
je 0x4a64d9
lea ecx, [esp + 0x34]
push ecx
lea eax, [ebp + 0x48]
call fcn.004ac0b0
test eax, eax
jl 0x4a6732
push 8
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], 0
test ebx, ebx
je 0x4a651e
lea esi, [esp + 0x14]
mov eax, edi
call fcn.004398e0
mov byte [esp + 0x28], 1
push eax
mov ecx, ebx
mov dword [esp + 0x34], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
mov dword [ebx], vtable.QFile.0
jmp 0x4a6520
xor ebx, ebx
or esi, 0xffffffff
mov dword [esp + 0x28], esi
test byte [esp + 0x30], 1
je 0x4a6538
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test ebx, ebx
je 0x4a6735
cmp byte [esp + 0x38], 0
je 0x4a6676
cmp byte [esp + 0x3c], 0
jne 0x4a6676
cmp byte [ebp + 8], 0
jne 0x4a6676
mov eax, dword [edi + 0x1c]
dec eax
cmp eax, 5
ja case.default.0x4a656d
jmp dword [eax*4 + 0x4a675c]
mov edx, ebx
mov ecx, ebp
call fcn.004a67a0
mov ecx, dword [ebp + 0x4c]
inc dword [ebp + 0x5c]
push 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSemaphore::release_int_]
add dword [ebp + 0x60], esi
jmp 0x4a6632
push ebx
push ebp
call fcn.004a8920
jmp 0x4a657d
mov ecx, ebx
mov edi, ebp
call fcn.004a9920
jmp 0x4a662f
mov ecx, ebx
mov edi, ebp
call fcn.004a9b20
jmp 0x4a662f
push ecx
mov esi, esp
mov eax, edi
mov dword [esp + 0x40], esp
call fcn.004bb9b0
push ecx
mov dword [esp + 0x30], 5
mov esi, esp
mov eax, edi
mov dword [esp + 0x40], esp
call fcn.00409c60
push ecx
mov byte [esp + 0x34], 6
mov esi, esp
mov eax, edi
mov dword [esp + 0x3c], esp
call fcn.004398e0
push ecx
mov byte [esp + 0x38], 7
mov esi, esp
mov eax, edi
mov dword [esp + 0x28], esp
call fcn.0049eed0
push ecx
mov esi, esp
mov eax, edi
mov byte [esp + 0x3c], 8
mov dword [esp + 0x30], esp
call fcn.00417510
mov edi, ebp
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a9ca0
mov ecx, dword [ebp + 0x4c]
inc dword [ebp + 0x5c]
push 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSemaphore::release_int_]
dec dword [ebp + 0x60]
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 1
mov ecx, ebx
call eax
lea ecx, [esp + 0x34]
add ebp, 0x48
push ecx
mov eax, ebp
call fcn.004ac0b0
mov edi, eax
mov esi, ebp
call fcn.004ac080
mov esi, dword [esp + 0x34]
push esi
call fcn.0049eb80
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp case.default.0x4a656d
mov ecx, ebx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QFile::remove_void_]
cmp byte [esp + 0x3c], 0
jne 0x4a66b1
lea edx, [esp + 0x34]
lea esi, [ebp + 0x48]
push edx
mov eax, esi
call fcn.004ac0b0
mov edi, eax
call fcn.004ac080
mov esi, dword [esp + 0x34]
push esi
call fcn.0049eb80
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
or esi, 0xffffffff
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x4a66ca
cmp byte [ebp + 8], 0
jne 0x4a66ca
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
push 0
call edx
mov eax, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [eax]
push eax
mov ecx, 0x56e524
call dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
mov edi, dword [eax + 0x18]
test edi, edi
je 0x4a6735
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4f7e0c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov dword [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x571ab0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov byte [esp + 0x34], 4
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x571ac8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov dword [esp + 0x34], esi
mov esi, edi
call fcn.004a0dd0
or esi, 0xffffffff
mov ecx, dword [ebp + 0x4c]
inc dword [ebp + 0x5c]
push 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSemaphore::release_int_]
add dword [ebp + 0x60], esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10