Function at 0x488998
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a7168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov ebx, dword [esi + 0xbc]
call fcn.0050d46e
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x38], 0
test eax, eax
je 0x488dec
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x10]
mov eax, dword [edi + 0x20]
push eax
push 0x4d105c
push ecx
call fcn.0050d5e2
add esp, 0xc
lea edx, [esi + 0x9c0]
lea eax, [esp + 0x10]
push 1
push 2
push 3
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0050d618
lea ebp, [esi + 0x9cc]
mov ecx, ebp
call fcn.0046e798
test eax, eax
jne 0x488a2b
xor ebx, ebx
jmp 0x488dec
lea ecx, [esp + 0x20]
push ecx
call dword [fcn.004b473c]
mov ecx, ebp
mov byte [esp + 0x38], 1
call fcn.0046f0a8
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
mov dword [esp + 0x18], ebx
je 0x488dcb
lea ecx, [esp + 0x40]
call fcn.0050d46e
mov eax, dword [edi + 0x808]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x24], esp
push eax
push edx
mov ecx, esi
mov byte [esp + 0x50], 2
call fcn.00487ca8
push ecx
mov byte [esp + 0x4c], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4d101c
call fcn.0050d630
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.0046ee38
mov edx, dword [edi + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
push ecx
mov ecx, esi
call fcn.00487ca8
push ecx
mov byte [esp + 0x4c], 4
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d1028
call fcn.0050d630
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.0046ee38
mov ecx, dword [edi + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x2c], esp
push ecx
push eax
mov ecx, esi
call fcn.00487ca8
push ecx
mov byte [esp + 0x4c], 5
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d1054
call fcn.0050d630
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.0046ee38
sub esp, 0x10
lea edx, [edi + 0x5c]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x28], esp
push edx
push eax
call fcn.00488608
push ebx
mov ecx, esi
call fcn.00487bd8
push ecx
mov byte [esp + 0x4c], 6
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d0fe8
call fcn.0050d630
mov byte [esp + 0x4c], 2
mov ecx, ebp
call fcn.0046ee38
sub esp, 0x10
lea ecx, [edi + 0x60]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push ecx
push edx
mov ecx, esi
call fcn.00488608
push ebx
mov ecx, esi
call fcn.00487bd8
push ecx
mov byte [esp + 0x4c], 7
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d0fe0
call fcn.0050d630
mov bl, 2
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.0046ee38
mov ecx, dword [edi + 0x804]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x2c], esp
push ecx
push eax
mov ecx, esi
call fcn.00487ca8
push ecx
mov byte [esp + 0x4c], 8
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d1010
call fcn.0050d630
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.0046ee38
mov edx, dword [edi + 0x730]
mov eax, dword [edi + 0x72c]
mov ecx, dword [edi + 0x728]
push edx
mov edx, dword [edi + 0x724]
push eax
mov eax, dword [edi + 0x720]
push ecx
mov ecx, dword [edi + 0x71c]
push edx
push eax
push ecx
lea edx, [esp + 0x58]
push 0x4d0ff0
push edx
call fcn.0050d5e2
add esp, 0x10
lea eax, [esp + 0x50]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0050d618
push ebx
mov ecx, esi
call fcn.00487bd8
push ecx
mov byte [esp + 0x4c], 9
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d1004
call fcn.0050d630
mov byte [esp + 0x4c], 2
mov ecx, ebp
call fcn.0046ee38
sub esp, 0x10
lea ecx, [edi + 0x8c]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push ecx
push edx
mov ecx, esi
call fcn.00488608
push ebx
mov ecx, esi
call fcn.00487bd8
push ecx
mov byte [esp + 0x4c], 0xa
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d0fb0
call fcn.0050d630
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.0046ee38
sub esp, 0x10
lea eax, [edi + 0x64]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
push ecx
mov ecx, esi
call fcn.00488608
push ebx
mov ecx, esi
call fcn.00487bd8
push ecx
mov byte [esp + 0x4c], 0xb
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d0fd4
call fcn.0050d630
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.0046ee38
sub esp, 0x10
lea edx, [edi + 0x68]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x28], esp
push edx
push eax
call fcn.00488608
push ebx
mov ecx, esi
call fcn.00487bd8
push ecx
mov byte [esp + 0x4c], 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d0fcc
call fcn.0050d630
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.0046ee38
sub esp, 0x10
lea ecx, [edi + 0x74]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push ecx
push edx
mov ecx, esi
call fcn.00488608
push ebx
mov ecx, esi
call fcn.00487bd8
push ecx
mov byte [esp + 0x4c], 0xd
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d0fc0
call fcn.0050d630
mov bl, 2
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.0046ee38
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x28], esp
push edi
push eax
mov dword [esp + 0x30], edx
call fcn.004919c8
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00487bd8
push ecx
mov byte [esp + 0x4c], 0xe
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4d0fa4
call fcn.0050d630
mov ecx, ebp
mov byte [esp + 0x4c], bl
call fcn.0046ee38
mov ecx, ebp
call fcn.0046f218
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call fcn.0050d468
mov ebx, dword [esp + 0x18]
mov ecx, ebp
call fcn.0046f3e8
lea edx, [esp + 0x20]
mov byte [esp + 0x38], 0
push edx
call dword [fcn.004b4740]
test eax, eax
jge 0x488dec
push eax
call fcn.0050df98
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0050d468
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4