Function at 0x4f10c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x565896
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004aa700
mov ecx, dword [esi + 0x28]
mov edi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x54]
call edx
test al, al
jne 0x4f1160
mov ecx, edi
call fcn.004aace0
movzx edx, word [edi + 0x3c]
mov eax, 0x574e
mov ebp, dword [edi + 0x44]
test dx, dx
mov ebx, dword [edi + 0x6c]
mov ecx, dword [esi + 0x28]
cmove edx, eax
test ebp, ebp
mov eax, 0x64
push edx
cmove ebp, eax
mov eax, 0x4000000
test ebx, ebx
cmove ebx, eax
mov eax, dword [ecx]
call dword [eax + 0x58]
cmp dword [esi + 0x38], 2
je 0x4f115a
mov ecx, dword [esi + 0x28]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov eax, dword [esi + 0x28]
mov dword [eax + 0x10], ebx
lea ecx, [esp + 0x34]
call fcn.004f45d0
mov dword [esp + 0xe0], 0
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x18], 0x41f328
lea ebx, [edi + 0x7c]
mov byte [esp + 0xe0], 1
mov ecx, ebx
mov eax, 0x429d5c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f11c3
test dl, dl
je 0x4f11bf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f11c3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4f11a3
xor eax, eax
jmp 0x4f11c8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4f12f4
movzx eax, word [edi + 0x64]
push eax
call fcn.004f3890
mov ebx, eax
add esp, 4
test bl, 8
je 0x4f1213
lea ecx, [esp + 0x34]
call fcn.004f5930
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push 0x7d0
push edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x40]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x4f1324
test bl, 4
je 0x4f1247
lea ecx, [esp + 0x34]
call fcn.004f5840
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push 0x7d0
push edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x40]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x4f1324
test bl, 2
je 0x4f1272
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push 0x7d0
push edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x40]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x4f1324
test ebx, 0xe
jne 0x4f1284
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], 0x64
xor bl, bl
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x18], 0x41f328
jb 0x4f12a1
push dword [esp + 0x1c]
call fcn.00534995
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0xe0], 0xffffffff
call fcn.004f4760
mov al, bl
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.00535482
add esp, 0xd0
ret
push ebx
lea ecx, [esp + 0x38]
call fcn.004f56e0
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push 0x7d0
push edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x40]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4f1284
mov bl, 1
jmp 0x4f1286