Function at 0x526ec0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fee7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [esi], vtable.CGameResourceManager.0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
lea ecx, [esi + 0x130]
push ecx
mov dword [ebp - 0x14], esp
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], esp
call fcn.00530a10
lea ecx, [esi + 0x140]
push ecx
mov dword [ebp - 0x14], esp
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esp
call fcn.00530a10
lea ecx, [esi + 0x150]
push ecx
mov dword [ebp - 0x14], esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], esp
call fcn.00530a10
lea ecx, [esi + 0x160]
push ecx
mov dword [ebp - 0x14], esp
mov byte [ebp - 4], 9
mov dword [ebp - 0x14], esp
call fcn.00530a10
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x6420], ebx
mov dword [esi + 0x6424], ebx
mov dword [esi + 0x6428], ebx
mov dword [esi + 0x642c], ebx
mov dword [esi + 0x6430], ebx
mov dword [esi + 0x6434], ebx
mov dword [esi + 0x6654], ebx
mov dword [esi + 0x6658], ebx
mov dword [esi + 0x665c], ebx
mov dword [esi + 0x6660], ebx
mov dword [esi + 0x6664], ebx
mov dword [esi + 0x6668], ebx
mov dword [esi + 0x66be], ebx
mov dword [esi + 0x66c2], ebx
mov dword [esi + 0x66c6], ebx
mov dword [esi + 0x66ca], ebx
mov dword [esi + 0x66ce], ebx
mov dword [esi + 0x66d2], ebx
mov dword [esi + 0x18d00], ebx
mov dword [esi + 0x18d04], ebx
mov dword [esi + 0x18d08], ebx
mov dword [esi + 0x18d0c], ebx
mov dword [esi + 0x18d10], ebx
mov dword [esi + 0x18d14], ebx
mov dword [esi + 0x18d24], ebx
mov dword [esi + 0x18d28], ebx
mov dword [esi + 0x18d2c], ebx
mov dword [esi + 0x18d30], ebx
mov dword [esi + 0x18d34], ebx
mov dword [esi + 0x18d38], ebx
push fcn.0052ffa0
push 0x52ff90
push 2
push 0xc
lea eax, [esi + 0x18d48]
push eax
mov byte [ebp - 4], 0x10
call fcn.0057c40c
push fcn.0052ffa0
push 0x52ff90
push 2
push 0xc
lea ecx, [esi + 0x18d60]
push ecx
mov byte [ebp - 4], 0x11
call fcn.0057c40c
push fcn.0052ffa0
push 0x52ff90
push 2
push 0xc
lea edx, [esi + 0x18d78]
push edx
mov byte [ebp - 4], 0x12
call fcn.0057c40c
mov dword [esi + 0x18da4], ebx
mov dword [esi + 0x18d9c], ebx
mov dword [esi + 0x18da0], ebx
push fcn.0052ffa0
push 0x52ff90
push 1
push 0xc
lea eax, [esi + 0x18da8]
push eax
mov byte [ebp - 4], 0x14
call fcn.0057c40c
lea ecx, [esi + 0x18db4]
mov byte [ebp - 4], 0x15
call fcn.00530010
mov dword [esi + 0x18f00], ebx
mov dword [esi + 0x18f04], ebx
mov dword [esi + 0x18f08], ebx
mov dword [esi + 0x18f0c], ebx
mov dword [esi + 0x18f10], ebx
mov dword [esi + 0x18f14], ebx
push 0xa
lea ecx, [esi + 0x18f24]
mov byte [ebp - 4], 0x16
call fcn.00574770
push 0xa
lea ecx, [esi + 0x18f40]
mov byte [ebp - 4], 0x17
call fcn.00574770
mov dword [esi + 0x18f60], ebx
mov dword [esi + 0x18f64], ebx
mov dword [esi + 0x18f68], ebx
mov dword [esi + 0x18f6c], ebx
mov dword [esi + 0x18f70], ebx
mov dword [esi + 0x18f74], ebx
mov dword [esi + 0x18f84], ebx
mov dword [esi + 0x18f88], ebx
mov dword [esi + 0x18f8c], ebx
mov dword [esi + 0x18f90], ebx
mov dword [esi + 0x18f94], ebx
mov dword [esi + 0x18f98], ebx
mov dword [esi + 0x18fa8], ebx
mov dword [esi + 0x18fac], ebx
mov dword [esi + 0x18fb0], ebx
mov dword [esi + 0x18fb4], ebx
mov dword [esi + 0x18fb8], ebx
mov dword [esi + 0x18fbc], ebx
lea ecx, [esi + 0x18fcc]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0x1d
mov ecx, dword [ebp - 0x10]
call fcn.005300d0
add dword [ebp - 0x10], 0x58
dec dword [ebp - 0x14]
jns 0x527250
xor edx, edx
push 0x64
lea ecx, [esi + 0x66be]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x194], edx
call fcn.005466f0
push 0x32
lea ecx, [esi + 0x6420]
call fcn.005466f0
push 0xa
lea ecx, [esi + 0x18fa8]
mov dword [esi + 0x6490], ebx
mov dword [esi + 0x19a20], ebx
call fcn.005466f0
push 4
lea ecx, [esi + 0x18f00]
call fcn.005466f0
push 0x19
lea ecx, [esi + 0x18f60]
call fcn.005466f0
push 0xa
lea ecx, [esi + 0x18f84]
mov dword [esi + 0x18f5c], ebx
call fcn.005466f0
push 0x32
lea ecx, [esi + 0x18d00]
call fcn.005466f0
push 0x1e
lea ecx, [esi + 0x18d24]
call fcn.005466f0
push 0x190
call fcn.0057a150
add esp, 4
cmp eax, ebx
je 0x527316
mov dword [eax], vtable.CMemoryPoolTempl_struct_LEV_PENALTY_.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov byte [eax + 0x10], bl
mov edi, eax
jmp 0x527318
xor edi, edi
push 0x80
lea ecx, [edi + 0x10]
push str.LevPenalty
push ecx
mov dword [esi + 0x20], edi
call fcn.0057c070
lea eax, [edi + 4]
add esp, 0xc
mov dword [edi + 0xc], 0xa
cmp dword [eax], ebx
jne 0x527350
push 0x63
push eax
call fcn.00530cc0
mov edx, dword [edi + 4]
add esp, 8
mov dword [edi + 8], edx
push 0x63
lea ecx, [esi + 0x24]
call fcn.005466f0
push 4
lea ecx, [esi + 0x6654]
call fcn.005466f0
push 0x64
lea ecx, [esi + 0x48]
mov dword [esi + 0x1c], ebx
call fcn.005466f0
push 0x64
lea ecx, [esi + 0x6c]
call fcn.005466f0
push 0x80
lea ecx, [esi + 0x104]
call fcn.005466f0
push 0x64
lea ecx, [esi + 0xbc]
call fcn.005466f0
push 0x64
lea ecx, [esi + 0xe0]
call fcn.005466f0
push 0xc8
lea ecx, [esi + 0x170]
call fcn.005466f0
mov ecx, esi
call fcn.00527900
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret