Function at 0x485e00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ba51
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x54dc90]
cmp eax, dword [edx + 4]
jle 0x485ed1
push 0x54dc90
call fcn.004daea0
add esp, 4
cmp dword [0x54dc90], 0xffffffff
jne 0x485ed1
mov dword [ebp - 4], 0
mov ecx, 0x1011
mov dword [0x54d810], 0
call fcn.00425b20
mov edx, eax
mov ecx, 0x809
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [edx + 0x10]
mov dword [edx + 4], 1
mov dword [edx + 0xc], 0x1001
mov dword [edx + 8], ecx
mov dword [0x54d810], edx
mov dword [edx], 0x1000
mov eax, dword [0x54d810]
test eax, eax
je 0x485eb3
mov dword [eax], 0
push 0x50e040
call fcn.004db140
push 0x54dc90
mov dword [ebp - 4], 0xffffffff
call fcn.004dae4f
add esp, 8
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x84], ebx
push 0
push eax
mov dword [ebp - 0x18], 0x6c0025
mov dword [ebp - 0x14], 0x75
call fcn.004ded20
push dword [ebx + 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7c]
push 0x32
push eax
call fcn.00407ae0
add esp, 0x1c
mov ecx, 0x54d810
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0042dfa0
mov eax, dword [0x54d810]
test eax, eax
je 0x485f69
mov eax, dword [eax + 8]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x485f69
mov esi, eax
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x485f30
sub esi, ecx
sar esi, 1
je 0x485f69
add esi, esi
push ecx
mov ecx, 0x549868
lea eax, [esi + 2]
push eax
call fcn.0040a210
push esi
push dword [ebp - 0x80]
mov edi, eax
push edi
call fcn.004def30
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x485f6e
mov edi, 0x51b3ac
push 0
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebx + 0x28], edi
call fcn.00486080
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x485f8d
mov edi, 0x51b3ac
jmp 0x485fd0
mov esi, eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x485f92
sub esi, ecx
sar esi, 1
jne 0x485faa
mov edi, 0x51b3ac
jmp 0x485fd0
add esi, esi
push ecx
mov ecx, 0x549868
lea eax, [esi + 2]
push eax
call fcn.0040a210
push esi
push dword [ebp - 0x80]
mov edi, eax
push edi
call fcn.004def30
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
push 1
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebx + 0x34], edi
call fcn.00486080
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x485fef
mov edi, 0x51b3ac
jmp 0x48602b
mov esi, eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x485ff4
sub esi, ecx
sar esi, 1
je 0x485fe8
add esi, esi
push ecx
mov ecx, 0x549868
lea eax, [esi + 2]
push eax
call fcn.0040a210
push esi
push dword [ebp - 0x80]
mov edi, eax
push edi
call fcn.004def30
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
push dword [ebx + 4]
mov dword [ebx + 0x38], edi
push str.cx___d
push 0x549868
call fcn.00423bf0
push dword [ebx + 4]
mov dword [ebx + 0x2c], eax
push str.cx__0x_08X
push 0x549868
call fcn.00423bf0
add esp, 0x18
mov dword [ebx + 0x30], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret