Function at 0x40cc10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x416b5c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
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
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edi, dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push ebx
push 0x418e54
mov dword [esp + 0x40], ebx
call edi
add esp, 8
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 1
mov dword [esp + 0x18], 1
cmp dword [eax + 4], ebx
jle 0x40cc82
push 0x418e54
lea ecx, [esp + 0x44]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
mov byte [esp + 0x17], 1
test al, al
jne 0x40cc87
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x40cce3
mov ecx, esi
call fcn.0040b280
push ecx
mov dword [esp + 0x20], esp
mov ebp, esp
push 0x10
push str.GameManifest.xml
call edi
mov dword [ebp], eax
add esp, 4
mov dword [esp + 0x20], esp
mov ebp, esp
push ebx
push 0x418e54
mov byte [esp + 0x48], 2
call edi
mov dword [ebp], eax
add esp, 8
mov ecx, esi
mov byte [esp + 0x40], 0
call fcn.004131c0
jmp 0x40ce18
push str.GameManifest.xml
lea ecx, [esp + 0x44]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x40cd02
mov ecx, esi
call fcn.0040c850
jmp 0x40ce18
push 0x418c10
lea ecx, [esp + 0x44]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
jne 0x40ce11
push ebx
push ecx
mov ecx, esp
lea eax, [esi + 0x50]
mov dword [esp + 0x24], esp
push eax
lea edi, [esi + 0x4c]
push edi
push ecx
call fcn.00401000
add esp, 0xc
mov ecx, esi
call fcn.00404bc0
mov edx, dword [esi + 0x70]
mov ebp, dword [sym.imp.QL_Widgets.dll_public:_void___thiscall_QProgressBar::setValue_int_]
mov dword [esi + 0x24], ebx
mov ecx, dword [edx + 4]
push ebx
call ebp
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x70]
mov ecx, dword [ecx + 4]
push eax
push ebx
mov ebx, dword [sym.imp.QL_Widgets.dll_public:_void___thiscall_QProgressBar::setRange_int__int_]
call ebx
mov eax, dword [esi + 0x60]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
lea ecx, [esi + 0x60]
test edx, edx
jle 0x40cdd9
lea eax, [esp + 0x20]
push eax
call fcn.0040c450
mov ebx, eax
push ebx
mov ecx, edi
call dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebx + 4]
push ecx
lea ecx, [edi + 4]
call dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov edx, dword [ebx + 8]
mov dword [edi + 8], edx
mov al, byte [ebx + 0xc]
lea ecx, [esp + 0x20]
mov byte [edi + 0xc], al
call fcn.004045f0
push ecx
lea eax, [esi + 0x50]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, esi
call fcn.004131c0
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x70]
push ecx
mov ecx, dword [edx + 4]
call ebp
jmp 0x40ce18
call fcn.00408710
mov eax, dword [esi + 0x70]
push 0x64
mov byte [esi + 0x8d], 0
mov ecx, dword [eax + 4]
push 0
call ebx
mov ecx, dword [esi + 0x70]
mov ecx, dword [ecx + 4]
push 0x64
call ebp
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 0x1c]
push 0x64
push 0
call ebx
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0x1c]
push 0x64
call ebp
mov ecx, esi
call fcn.0040bf00
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4