Function at 0x412e20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x414fa9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5b55d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray___thiscall_QIODevice::readAll_void_]
mov ecx, dword [esi + 0x24]
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.QL_Core.dll_public:_long_long___int64____thiscall_QIODevice::write_class_QByteArray_const__]
lea ecx, [esp + 0xc]
mov edi, eax
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ecx, dword [esi + 0x2c]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QTimer::stop_void_]
mov eax, dword [esi + 0x2c]
or dword [eax + 0x14], 1
mov ecx, dword [esi + 0x2c]
push 0x1388
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QTimer::start_int_]
add dword [esi + 0x10], edi
add dword [esi + 0x18], edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
sub esp, 0xc
push esi
mov esi, ecx
fild dword [esi + 0x18]
mov ecx, dword [esi + 0x28]
fmul qword [0x418dc0]
fstp qword [esp + 8]
call dword [sym.imp.QL_Core.dll_public:_int___thiscall_QTime::restart_void_]
mov dword [esp + 4], eax
fild dword [esp + 4]
mov ecx, dword [esi + 0x30]
push 0x3e8
mov dword [esi + 0x18], 0
fdiv qword [0x418db8]
fdivr qword [esp + 0xc]
fstp dword [esi + 8]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QTimer::start_int_]
pop esi
add esp, 0xc
ret
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
fld dword [esi + 8]
sub eax, dword [esi + 0x14]
push ecx
fstp dword [esp]
push eax
call fcn.00412c90
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x34]
push 0x64
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QTimer::start_int_]
pop esi
ret
push 0xffffffffffffffff
push 0x41557b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5b55d4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.QL_Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.Downloader::Reconnect
mov ecx, eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.QL_Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov ecx, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QTimer::timeout_struct_QTimer::QPrivateSignal_]
mov edx, dword [sym.imp.QL_Core.dll_struct_QMetaObject_const_QTimer::staticMetaObject]
mov eax, dword [esi + 0x2c]
mov edi, dword [sym.imp.QL_Core.dll_private:_static_bool___cdecl_QObject::disconnectImpl_class_QObject_const___void____class_QObject_const___void____struct_QMetaObject_const__]
push edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x20], 0x404110
call edi
mov ecx, dword [sym.imp.QL_Network.dll_struct_QMetaObject_const_QNetworkAccessManager::staticMetaObject]
mov eax, dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkAccessManager::finished_class_QNetworkReply__]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x44]
push ecx
push eax
mov dword [esp + 0x38], fcn.00401d40
call edi
mov ecx, dword [esi + 0x44]
add esp, 0x28
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QObject::deleteLater_void_]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QDir::currentPath_void_]
add esp, 4
lea edi, [esi + 0x48]
push eax
mov ecx, edi
call dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x418e98
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00401070
push str.Temp_
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x50], 1
call fcn.00401070
add esp, 0x18
push edi
push eax
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00412d40
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
call fcn.00403420
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
mov eax, dword [esp + 8]
push esi
test eax, eax
jne 0x412fb2
mov eax, dword [esp + 0x10]
cmp eax, 0xe
ja case.default.0x412e3a
jmp dword [eax*4 + 0x413060]
mov ecx, dword [esp + 8]
pop esi
jmp fcn.00412c70
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
fld dword [ecx]
mov edx, dword [eax + 4]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0xc]
fstp dword [esp]
push eax
call fcn.00412c90
pop esi
ret
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0xc]
call fcn.00412cd0
pop esi
ret
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esp + 0xc]
push edx
call fcn.00412d40
mov esi, dword [esi]
test esi, esi
je case.default.0x412e3a
mov byte [esi], al
pop esi
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
movzx edx, byte [ecx]
mov eax, dword [eax + 4]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0x10]
call fcn.00412d80
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp fcn.00403420
mov ecx, dword [esp + 8]
pop esi
jmp 0x404110
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0xc]
call fcn.004032e0
pop esi
ret
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [esi + 4]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0x10]
call fcn.004021d0
mov esi, dword [esi]
test esi, esi
je case.default.0x412e3a
mov byte [esi], al
pop esi
ret
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [esi + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0x10]
call fcn.00402b80
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp 0x4018f0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
push eax
call fcn.00401980
pop esi
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
push eax
call fcn.00401d40
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp 0x401cd0
mov ecx, dword [esp + 8]
pop esi
jmp 0x401c80
cmp eax, 0xc
jne 0x413009
mov eax, dword [esp + 0x10]
sub eax, 0xb
je 0x412fe8
dec eax
je 0x412fd1
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov dword [edx], 0xffffffff
pop esi
ret
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
cmp dword [eax], 0
jne 0x412ff4
call fcn.00401f10
mov edx, dword [esi]
mov dword [edx], eax
pop esi
ret
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
cmp dword [eax], 0
je 0x412ffe
mov ecx, dword [esi]
mov dword [ecx], 0xffffffff
pop esi
ret
call fcn.00401fd0
mov edx, dword [esi]
mov dword [edx], eax
pop esi
ret
cmp eax, 0xa
jne case.default.0x412e3a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax], fcn.00412c70
jne 0x413025
mov dword [ecx], 0
cmp dword [eax], fcn.00412c90
jne 0x413033
mov dword [ecx], 1
cmp dword [eax], fcn.00412cd0
jne 0x413041
mov dword [ecx], 2
cmp dword [eax], fcn.00412d40
jne 0x41304f
mov dword [ecx], 3
cmp dword [eax], fcn.00412d80
jne case.default.0x412e3a
mov dword [ecx], 4
pop esi
ret