Function at 0x4af5e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c5aa
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x5873b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
call fcn.0049dee0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov dword [eax], vtable.ModeReplayScene::CModeReplay.0
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
call fcn.0045b310
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
add ecx, 0x30
call fcn.004c6040
mov ecx, dword [ebp - 0x30]
add ecx, 0x64
call fcn.0047fc70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.0047fc70
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
add ecx, 0x7c
call fcn.0047fc70
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
call fcn.00418d70
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.004cc900
mov dword [ebp - 0x38], eax
push 0x53dcac
mov ecx, dword [ebp - 0x30]
add ecx, 0x64
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00440a30
mov byte [ebp - 0x39], al
movzx edx, byte [ebp - 0x39]
test edx, edx
jne 0x4af6bc
mov dword [ebp - 0x18], 1
push 0x55f2f0
lea eax, [ebp - 0x18]
push eax
call fcn.00510f22
push 0x24
call fcn.00510fda
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x20], 0
je 0x4af6ec
mov ecx, dword [ebp - 0x20]
call fcn.00417c20
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
jmp 0x4af6f3
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0x7c
call fcn.0042da50
call fcn.00418eb0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.0041a6c0
mov dword [ebp - 0x50], eax
call fcn.00418eb0
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.00413be0
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x7c
call fcn.00424320
mov dword [ebp - 0x5c], eax
push 1
push 0
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004184c0
mov byte [ebp - 0x5d], al
movzx ecx, byte [ebp - 0x5d]
test ecx, ecx
jne 0x4af774
mov dword [ebp - 0x24], 1
push 0x55f2f0
lea edx, [ebp - 0x24]
push edx
call fcn.00510f22
call fcn.00418d70
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.0041afd0
mov dword [ebp - 0x68], eax
push 1
mov ecx, dword [ebp - 0x68]
call fcn.004518f0
mov dword [ebp - 0x14], 0
jmp 0x4af7a3
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
call fcn.00418d70
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.0041afd0
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.004518d0
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.00428f50
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x78]
jge 0x4af839
push 0xa8
call fcn.00510fda
add esp, 4
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x2c], 0
je 0x4af80e
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004af9c0
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
jmp 0x4af818
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
call fcn.004c30c0
jmp 0x4af79a
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0xc], 0
call fcn.00418eb0
mov dword [ebp - 0x88], eax
push 2
mov ecx, dword [ebp - 0x88]
call fcn.00418e70
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [edx + 4], 0
call fcn.00418eb0
mov dword [ebp - 0x90], eax
push 2
mov ecx, dword [ebp - 0x90]
call fcn.00418e70
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov byte [eax + 9], 0
call fcn.00418eb0
mov dword [ebp - 0x98], eax
push 2
mov ecx, dword [ebp - 0x98]
call fcn.00418e70
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + 0x24], 1
call fcn.00418eb0
mov dword [ebp - 0xa0], eax
push 2
mov ecx, dword [ebp - 0xa0]
call fcn.00418e70
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x25], 0
call fcn.00418eb0
mov dword [ebp - 0xa8], eax
push 2
mov ecx, dword [ebp - 0xa8]
call fcn.00418e70
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov byte [eax + 0x26], 1
call fcn.00418eb0
mov dword [ebp - 0xb0], eax
push 2
mov ecx, dword [ebp - 0xb0]
call fcn.00418e70
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov byte [ecx + 0x27], 1
mov edx, dword [ebp - 0x30]
mov dword [edx + 4], 0xe
call fcn.00418d70
mov dword [ebp - 0xb8], eax
push 1
mov ecx, dword [ebp - 0xb8]
call fcn.004cca30
call fcn.00418d70
mov dword [ebp - 0xbc], eax
push 1
mov ecx, dword [ebp - 0xbc]
call fcn.004cca70
jmp 0x4af992
mov dword [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret