Function at 0x413800
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x415a49
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6945d4]
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 [0x419f60]
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 [0x419f58]
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.00413670
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 0x4160cb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6945d4]
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], 0x404470
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.00402060
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 0x419e28
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.00413720
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.00403780
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 0x413992
mov eax, dword [esp + 0x10]
cmp eax, 0xe
ja case.default.0x41381a
jmp dword [eax*4 + 0x413a40]
mov ecx, dword [esp + 8]
pop esi
jmp fcn.00413650
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.00413670
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.004136b0
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.00413720
mov esi, dword [esi]
test esi, esi
je case.default.0x41381a
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.00413760
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp fcn.00403780
mov ecx, dword [esp + 8]
pop esi
jmp 0x404470
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.00403640
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.004024f0
mov esi, dword [esi]
test esi, esi
je case.default.0x41381a
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.00402e40
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp 0x401c10
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
push eax
call fcn.00401ca0
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.00402060
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp 0x401ff0
mov ecx, dword [esp + 8]
pop esi
jmp 0x401fa0
cmp eax, 0xc
jne 0x4139e9
mov eax, dword [esp + 0x10]
sub eax, 0xb
je 0x4139c8
dec eax
je 0x4139b1
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 0x4139d4
call fcn.00402230
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 0x4139de
mov ecx, dword [esi]
mov dword [ecx], 0xffffffff
pop esi
ret
call fcn.004022f0
mov edx, dword [esi]
mov dword [edx], eax
pop esi
ret
cmp eax, 0xa
jne case.default.0x41381a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax], fcn.00413650
jne 0x413a05
mov dword [ecx], 0
cmp dword [eax], fcn.00413670
jne 0x413a13
mov dword [ecx], 1
cmp dword [eax], fcn.004136b0
jne 0x413a21
mov dword [ecx], 2
cmp dword [eax], fcn.00413720
jne 0x413a2f
mov dword [ecx], 3
cmp dword [eax], fcn.00413760
jne case.default.0x41381a
mov dword [ecx], 4
pop esi
ret