Function at 0x4a84b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5252da
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x57e9a8]
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.00495a80
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.004a83d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
add ecx, 0x30
call fcn.004bf070
mov ecx, dword [ebp - 0x30]
add ecx, 0x64
call fcn.004bacb0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.004bacb0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
add ecx, 0x7c
call fcn.004bacb0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
call fcn.00415190
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.0043ba60
mov dword [ebp - 0x38], eax
push 0x536b34
mov ecx, dword [ebp - 0x30]
add ecx, 0x64
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.0043bb20
mov byte [ebp - 0x39], al
movzx edx, byte [ebp - 0x39]
test edx, edx
jne 0x4a858c
mov dword [ebp - 0x18], 1
push 0x557c48
lea eax, [ebp - 0x18]
push eax
call fcn.00509f58
push 0x24
call fcn.0050a010
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 0x4a85bc
mov ecx, dword [ebp - 0x20]
call fcn.00414040
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
jmp 0x4a85c3
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.00428d80
call fcn.00415330
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.00501f90
mov dword [ebp - 0x50], eax
call fcn.00415330
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.00502100
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x7c
call fcn.0041da00
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.004148c0
mov byte [ebp - 0x5d], al
movzx ecx, byte [ebp - 0x5d]
test ecx, ecx
jne 0x4a8644
mov dword [ebp - 0x24], 1
push 0x557c48
lea edx, [ebp - 0x24]
push edx
call fcn.00509f58
call fcn.00415190
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.0049bc00
mov dword [ebp - 0x68], eax
push 1
mov ecx, dword [ebp - 0x68]
call fcn.0044cdd0
mov dword [ebp - 0x14], 0
jmp 0x4a8673
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
call fcn.00415190
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.0049bc00
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.0044cdb0
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.0041d760
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x78]
jge 0x4a8709
push 0xa8
call fcn.0050a010
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 0x4a86de
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004a8890
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
jmp 0x4a86e8
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.004bc970
jmp 0x4a866a
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0xc], 0
call fcn.00415330
mov dword [ebp - 0x88], eax
push 2
mov ecx, dword [ebp - 0x88]
call fcn.004152f0
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [edx + 4], 0
call fcn.00415330
mov dword [ebp - 0x90], eax
push 2
mov ecx, dword [ebp - 0x90]
call fcn.004152f0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov byte [eax + 9], 0
call fcn.00415330
mov dword [ebp - 0x98], eax
push 2
mov ecx, dword [ebp - 0x98]
call fcn.004152f0
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + 0x24], 1
call fcn.00415330
mov dword [ebp - 0xa0], eax
push 2
mov ecx, dword [ebp - 0xa0]
call fcn.004152f0
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov byte [edx + 0x25], 0
call fcn.00415330
mov dword [ebp - 0xa8], eax
push 2
mov ecx, dword [ebp - 0xa8]
call fcn.004152f0
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov byte [eax + 0x26], 1
call fcn.00415330
mov dword [ebp - 0xb0], eax
push 2
mov ecx, dword [ebp - 0xb0]
call fcn.004152f0
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.00415190
mov dword [ebp - 0xb8], eax
push 1
mov ecx, dword [ebp - 0xb8]
call fcn.004c6800
call fcn.00415190
mov dword [ebp - 0xbc], eax
push 1
mov ecx, dword [ebp - 0xbc]
call fcn.004c6840
jmp 0x4a8862
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