Function at 0x526760
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5917ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], vtable.CGameResourceManager.0
push edi
mov dword [ebp - 0x10], esi
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 [esi + 0x3c], ebx
mov dword [ebp - 4], 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 + 0x60], 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 + 0x84], 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 + 0xb0], 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 + 0xd4], 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 + 0xf8], 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
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], 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 + 0x188], ebx
mov dword [esi + 0x6428], ebx
mov dword [esi + 0x642c], ebx
mov dword [esi + 0x6430], ebx
mov dword [esi + 0x6434], ebx
mov dword [esi + 0x6438], ebx
mov dword [esi + 0x643c], ebx
mov dword [esi + 0x665c], ebx
mov dword [esi + 0x6660], ebx
mov dword [esi + 0x6664], ebx
mov dword [esi + 0x6668], ebx
mov dword [esi + 0x666c], ebx
mov dword [esi + 0x6670], ebx
mov dword [esi + 0x66c8], ebx
mov dword [esi + 0x66cc], ebx
mov dword [esi + 0x66d0], ebx
mov dword [esi + 0x66d4], ebx
mov dword [esi + 0x66d8], ebx
mov dword [esi + 0x66dc], ebx
mov dword [esi + 0x192c8], ebx
mov dword [esi + 0x192cc], ebx
mov dword [esi + 0x192d0], ebx
mov dword [esi + 0x192d4], ebx
mov dword [esi + 0x192d8], ebx
mov dword [esi + 0x192dc], ebx
mov dword [esi + 0x192ec], ebx
mov dword [esi + 0x192f0], ebx
mov dword [esi + 0x192f4], ebx
mov dword [esi + 0x192f8], ebx
mov dword [esi + 0x192fc], ebx
mov dword [esi + 0x19300], ebx
push 0x527680
push 0x527500
push 2
push 0xc
lea eax, [esi + 0x19310]
push eax
mov byte [ebp - 4], 0x10
call fcn.00570ecc
push 0x527680
push 0x527500
push 2
push 0xc
lea ecx, [esi + 0x19328]
push ecx
mov byte [ebp - 4], 0x11
call fcn.00570ecc
push 0x527680
push 0x527500
push 2
push 0xc
lea edx, [esi + 0x19340]
push edx
mov byte [ebp - 4], 0x12
call fcn.00570ecc
mov dword [esi + 0x1936c], ebx
mov dword [esi + 0x19364], ebx
mov dword [esi + 0x19368], ebx
push 0x527680
push 0x527500
push 1
push 0xc
lea eax, [esi + 0x19370]
push eax
mov byte [ebp - 4], 0x14
call fcn.00570ecc
lea ecx, [esi + 0x1937c]
call fcn.0051dee0
mov dword [esi + 0x194cc], ebx
mov dword [esi + 0x194d0], ebx
mov dword [esi + 0x194d4], ebx
mov dword [esi + 0x194d8], ebx
mov dword [esi + 0x194dc], ebx
mov dword [esi + 0x194e0], ebx
push 0xa
lea ecx, [esi + 0x194f0]
mov byte [ebp - 4], 0x16
call fcn.005692c0
push 0xa
lea ecx, [esi + 0x1950c]
mov byte [ebp - 4], 0x17
call fcn.005692c0
mov dword [esi + 0x1952c], ebx
mov dword [esi + 0x19530], ebx
mov dword [esi + 0x19534], ebx
mov dword [esi + 0x19538], ebx
mov dword [esi + 0x1953c], ebx
mov dword [esi + 0x19540], ebx
mov dword [esi + 0x19550], ebx
mov dword [esi + 0x19554], ebx
mov dword [esi + 0x19558], ebx
mov dword [esi + 0x1955c], ebx
mov dword [esi + 0x19560], ebx
mov dword [esi + 0x19564], ebx
mov dword [esi + 0x19574], ebx
mov dword [esi + 0x19578], ebx
mov dword [esi + 0x1957c], ebx
mov dword [esi + 0x19580], ebx
mov dword [esi + 0x19584], ebx
mov dword [esi + 0x19588], ebx
mov byte [ebp - 4], 0x1b
lea eax, [esi + 0x19598]
lea ecx, [ebx + 0x1d]
lea esp, [esp]
mov edx, 1
mov word [eax + 0x52], dx
mov edx, dword [0x5ab560]
mov dword [eax], edx
mov edx, dword [0x5ab564]
mov dword [eax + 4], edx
mov edx, dword [0x5ab568]
mov dword [eax + 8], edx
mov dx, word [0x5ab56c]
mov word [eax + 0xc], dx
mov edx, 0x190
mov word [eax + 0x10], dx
mov edx, dword [0x5ab574]
mov dword [eax + 0x12], edx
mov dl, byte [0x5ab578]
mov byte [eax + 0x16], dl
mov dword [eax + 0x54], 1
add eax, 0x58
dec ecx
jns 0x526ad0
xor eax, eax
push 0x64
lea ecx, [esi + 0x66c8]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x198], eax
call fcn.00562410
push 0x32
lea ecx, [esi + 0x6428]
call fcn.00562410
push 0xa
lea ecx, [esi + 0x19574]
mov dword [esi + 0x6498], ebx
mov dword [esi + 0x19fec], ebx
call fcn.00562410
push 4
lea ecx, [esi + 0x194cc]
call fcn.00562410
push 0x19
lea ecx, [esi + 0x1952c]
call fcn.00562410
push 0xa
lea ecx, [esi + 0x19550]
mov dword [esi + 0x19528], ebx
call fcn.00562410
push 0x32
lea ecx, [esi + 0x192c8]
call fcn.00562410
push 0x1e
lea ecx, [esi + 0x192ec]
call fcn.00562410
push 0x190
call fcn.0056ee41
add esp, 4
cmp eax, ebx
je 0x526bdb
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 0x526bdd
xor edi, edi
push 0x80
lea edx, [edi + 0x10]
push str.LevPenalty
push edx
mov dword [esi + 0x24], edi
call fcn.00570b30
lea eax, [edi + 4]
add esp, 0xc
mov dword [edi + 0xc], 0xa
cmp dword [eax], ebx
jne 0x526c15
push 0x63
push eax
call fcn.00527510
mov eax, dword [edi + 4]
add esp, 8
mov dword [edi + 8], eax
push 0x63
lea ecx, [esi + 0x28]
call fcn.00562410
push 4
lea ecx, [esi + 0x665c]
call fcn.00562410
push 0x64
lea ecx, [esi + 0x4c]
mov dword [esi + 0x20], ebx
call fcn.00562410
push 0x64
lea ecx, [esi + 0x70]
call fcn.00562410
push 0x80
lea ecx, [esi + 0x108]
call fcn.00562410
push 0x64
lea ecx, [esi + 0xc0]
call fcn.00562410
push 0x64
lea ecx, [esi + 0xe4]
call fcn.00562410
push 0xc8
lea ecx, [esi + 0x174]
call fcn.00562410
mov ecx, esi
call fcn.00521fb0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret