Function at 0x413743
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4158e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a65d4]
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 [0x419f50]
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 [0x419f48]
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.00413500
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 0x415f6b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6a65d4]
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], 0x4044f0
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 0x419e18
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.004135b0
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 0x413822
mov eax, dword [esp + 0x10]
cmp eax, 0xe
ja case.default.0x4136aa
jmp dword [eax*4 + 0x4138d0]
mov ecx, dword [esp + 8]
pop esi
jmp fcn.004134e0
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.00413500
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.00413540
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.004135b0
mov esi, dword [esi]
test esi, esi
je case.default.0x4136aa
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.004135f0
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp fcn.00403780
mov ecx, dword [esp + 8]
pop esi
jmp 0x4044f0
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.00402460
mov esi, dword [esi]
test esi, esi
je case.default.0x4136aa
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 0x413879
mov eax, dword [esp + 0x10]
sub eax, 0xb
je 0x413858
dec eax
je 0x413841
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 0x413864
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 0x41386e
mov ecx, dword [esi]
mov dword [ecx], 0xffffffff
pop esi
ret
call fcn.00402b30
mov edx, dword [esi]
mov dword [edx], eax
pop esi
ret
cmp eax, 0xa
jne case.default.0x4136aa
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax], fcn.004134e0
jne 0x413895
mov dword [ecx], 0
cmp dword [eax], fcn.00413500
jne 0x4138a3
mov dword [ecx], 1
cmp dword [eax], fcn.00413540
jne 0x4138b1
mov dword [ecx], 2
cmp dword [eax], fcn.004135b0
jne 0x4138bf
mov dword [ecx], 3
cmp dword [eax], fcn.004135f0
jne case.default.0x4136aa
mov dword [ecx], 4
pop esi
ret