Function at 0x4808d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6cc1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x507b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push str.LegalMode::Activate__n
mov ecx, 0x50936c
call fcn.004304a0
mov dword [0x50ad20], ebx
mov ecx, ebx
mov dword [0x4f0ac0], 0x64
mov eax, dword [ebx]
call dword [eax + 0x20]
push 0x224
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x480951
push 0xffff00ff
push 0x4d4934
mov ecx, eax
call fcn.00443230
jmp 0x480953
xor eax, eax
mov dword [ebx + 0x10c], eax
mov ecx, dword [0x509424]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00443410
push 0x224
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x48099a
push 0xffff00ff
push 0x4d4948
mov ecx, eax
call fcn.00443230
jmp 0x48099c
xor eax, eax
mov dword [ebx + 0x118], eax
mov ecx, dword [0x509424]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00443410
mov ecx, dword [0x4f0ac0]
shl ecx, 0x18
mov eax, ecx
or eax, 0xf6f2e6
mov dword [0x5099dc], eax
mov eax, ecx
or eax, 0x9e9c82
or ecx, 0x323232
push 0x170
mov dword [0x5099d8], eax
mov dword [0x5099d4], ecx
call fcn.00498854
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x480a2f
mov ecx, dword [0x509420]
call fcn.0043e2c0
mov ecx, dword [0x509420]
mov esi, eax
call fcn.0043e2d0
push 0
push 0x4d4958
push esi
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00446a10
jmp 0x480a31
xor eax, eax
mov dword [ebx + 0x1a4], eax
mov byte [eax + 0x168], 0
mov eax, dword [ebx + 0x1a4]
push 0x1ac
mov dword [ebp - 4], 0xffffffff
mov byte [eax + 0x139], 1
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x480ac1
mov ecx, dword [0x509420]
call fcn.0043e2c0
mov ecx, dword [0x509420]
mov ebx, eax
call fcn.0043e2d0
mov ecx, dword [0x509420]
mov edi, eax
call fcn.0043e2c0
mov ecx, dword [0x509420]
lea esi, [eax - 0x7f]
call fcn.0043e2d0
mov ecx, dword [ebp - 0x10]
sub eax, 0xff
push 0
push 0x4d4960
push ebx
push edi
push esi
push eax
push 0
call fcn.004434c0
mov ebx, dword [ebp - 0x14]
mov esi, eax
jmp 0x480ac3
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 0x4d4970
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
push 0
push 0x4d4980
push 1
mov ecx, esi
mov byte [esi + 0x168], 0
mov dword [esi + 0x150], 0x480d40
mov dword [esi + 0x16c], 9
call fcn.00443680
push 0
push 0x4d4998
push 2
mov ecx, esi
call fcn.00443680
push 0
push 0x4d49b0
push 0
mov ecx, esi
call fcn.00443680
mov dword [esi + 0x18c], 0x2d
mov dword [esi + 0x190], 0x52
mov ecx, dword [ebx + 0x1a4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
push 0x1ac
call fcn.00498854
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 4
test edi, edi
je 0x480b96
mov ecx, dword [0x509420]
call fcn.0043e2c0
mov ecx, dword [0x509420]
mov esi, eax
call fcn.0043e2c0
push 0
push 0x4d49c8
push esi
push 0xff
sub eax, 0x7f
mov ecx, edi
push eax
push 0
push 1
call fcn.004434c0
mov esi, eax
jmp 0x480b98
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 0x4d49d8
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
push 0
push 0x4d49e4
push 1
mov ecx, esi
mov byte [esi + 0x168], 0
mov dword [esi + 0x150], 0x480d40
mov dword [esi + 0x16c], 9
call fcn.00443680
push 0
push 0x4d49fc
push 2
mov ecx, esi
call fcn.00443680
push 0
push 0x4d4a14
push 0
mov ecx, esi
call fcn.00443680
mov dword [esi + 0x18c], 0xffffffd3
mov dword [esi + 0x190], 0x52
mov ecx, dword [ebx + 0x1a4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
push 0x17c
call fcn.00498854
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 5
test edi, edi
je 0x480c69
mov ecx, dword [0x509420]
call fcn.0043e2c0
mov ecx, dword [0x509420]
lea esi, [eax - 0x50]
call fcn.0043e2d0
push 0
push 0x4d4a2c
push esi
sub eax, 0x14
mov ecx, edi
push eax
push 2
push 0x14
push 2
call fcn.00446360
mov esi, eax
jmp 0x480c6b
xor esi, esi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004343e0
mov edx, dword [esi]
mov ecx, esi
test eax, eax
jne 0x480c89
push dword [0x4fec3c]
jmp 0x480c8f
push dword [0x4fec40]
call dword [edx + 0x30]
mov dword [esi + 0x150], 0x480d40
mov dword [esi + 0x16c], 9
mov eax, dword [ebx + 0x118]
push esi
mov eax, dword [eax + 0x11c]
mov dword [esi + 0x164], eax
mov ecx, dword [ebx + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret