Function at 0x4f4450
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x55ac28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
mov ebp, 1
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x10], edi
mov dword [ebx + 0x10], edi
jne 0x4f44b8
push 0x1a
mov ecx, ebx
call fcn.00478130
mov edi, dword [esp + 0x40]
push edi
call fcn.00478d70
add esp, 4
mov esi, eax
mov ecx, ebx
push esi
call fcn.004780b0
push esi
push edi
mov ecx, ebx
call fcn.004786b0
mov dword [esp + 0x10], ebp
jmp 0x4f485d
mov esi, dword [esp + 0x40]
push esi
call fcn.00478c40
add esp, 4
cmp eax, ebp
jne 0x4f44db
push 0x16
mov ecx, ebx
call fcn.00478130
mov dword [esp + 0x10], ebp
jmp 0x4f485d
lea ecx, [esp + 0x1c]
call fcn.00477df0
mov al, byte [esi]
mov dword [esp + 0x38], edi
cmp al, 0x20
jne 0x4f44f6
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x4f44ee
mov al, byte [esi]
mov dword [esp + 0x14], edi
cmp al, 0x22
jne 0x4f4545
mov dword [esp + 0x14], ebp
inc esi
mov al, byte [esi]
mov ebp, esi
test al, al
je 0x4f473a
test al, 0x80
je 0x4f4724
mov cl, byte [esi + 1]
inc esi
test cl, cl
je 0x4f4736
xor edx, edx
mov dh, al
mov dl, cl
mov eax, edx
cmp ax, 0xa1b0
je 0x4f453d
cmp ax, 0xa1b1
jne 0x4f472a
lea edi, [esi - 1]
jmp 0x4f472a
test al, 0x80
je 0x4f456f
xor ecx, ecx
mov ch, al
mov cl, byte [esi + 1]
mov edi, ecx
cmp di, 0xa1b0
mov dword [esp + 0x44], edi
je 0x4f4564
cmp di, 0xa1b1
jne 0x4f4573
add esi, 2
mov dword [esp + 0x14], ebp
xor edi, edi
jmp 0x4f4505
mov edi, dword [esp + 0x44]
test al, al
je 0x4f46c9
mov bl, byte [esp + 0x48]
mov cl, al
inc esi
mov byte [esp + 0x40], cl
mov eax, dword [esp + 0x40]
and eax, 0xff
shr eax, 7
cmp eax, 1
jne 0x4f45d5
mov bl, byte [esi]
inc esi
test bl, bl
je 0x4f46c0
xor edx, edx
mov dh, cl
mov dl, bl
mov dword [esp + 0x44], edx
mov edi, edx
cmp cl, 0x81
jb 0x4f45bc
cmp cl, 0xa0
jbe 0x4f46a6
cmp cl, 0xaa
jae 0x4f46a6
cmp cl, 0xa9
jne 0x4f45f6
cmp bl, 0x60
je 0x4f46a6
jmp 0x4f461e
test eax, eax
jne 0x4f45ae
cmp cl, 0x20
jae 0x4f45e3
mov byte [esp + 0x40], 0x20
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
call fcn.00478130
jmp 0x4f46b6
cmp cl, 0xa4
jne 0x4f460b
cmp bl, 0xa1
jb 0x4f461e
cmp bl, 0xf3
jbe 0x4f46a6
jmp 0x4f461e
cmp cl, 0xa5
jne 0x4f461e
cmp bl, 0xa1
jb 0x4f461e
cmp bl, 0xf6
jbe 0x4f46a6
cmp di, 0xa1a1
jne 0x4f4635
push 0x20
lea ecx, [esp + 0x20]
call fcn.00478130
jmp 0x4f46b6
cmp di, 0xa1ae
je 0x4f4699
cmp di, 0xa1af
je 0x4f4699
cmp di, 0xa1a3
jne 0x4f4657
push 0x2e
lea ecx, [esp + 0x20]
call fcn.00478130
jmp 0x4f46b6
movzx di, bl
movzx cx, cl
shl edi, 8
or ecx, edi
push ecx
call fcn.004e67f0
add esp, 4
mov byte [esp + 0x40], al
test al, al
je 0x4f4689
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push edx
call fcn.00478130
mov edi, dword [esp + 0x44]
jmp 0x4f46b6
push edi
lea ecx, [esp + 0x20]
call fcn.004780f0
mov edi, dword [esp + 0x44]
jmp 0x4f46b6
push 0x27
lea ecx, [esp + 0x20]
call fcn.00478130
jmp 0x4f46b6
xor eax, eax
mov ah, bl
mov al, cl
lea ecx, [esp + 0x1c]
push eax
call fcn.004780f0
mov al, byte [esi]
test al, al
jne 0x4f457f
mov ebx, dword [esp + 0x48]
mov ebp, 1
push 0
lea ecx, [esp + 0x20]
call fcn.00478130
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
neg esi
sbb esi, esi
and esi, edi
mov al, byte [esi]
inc esi
test ecx, ecx
je 0x4f474e
push 0x1a
mov ecx, ebx
call fcn.00478130
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.004780b0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, ebx
and eax, esi
push eax
call fcn.004786b0
mov dword [esp + 0x10], ebp
jmp 0x4f4844
cmp al, 0x22
jne 0x4f472a
mov edi, esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4f4511
test edi, edi
jne 0x4f473c
mov edi, esi
sub edi, ebp
lea ecx, [esp + 0x1c]
push edi
push ebp
call fcn.004786b0
jmp 0x4f46c4
cmp al, 0x5b
jne 0x4f47a4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi - 1], 0x5d
jne 0x4f4844
mov byte [ecx + esi - 1], 0
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.004e6030
add esp, 8
cmp eax, ebp
jne 0x4f4844
push 0x19
mov ecx, ebx
call fcn.00478130
lea edx, [esp + 0x14]
push 8
push edx
mov ecx, ebx
call fcn.004786b0
mov dword [esp + 0x10], ebp
jmp 0x4f4844
cmp al, 0x30
jb 0x4f47ac
cmp al, 0x39
jbe 0x4f47ec
cmp al, 0x2e
je 0x4f47ec
cmp al, 0x2d
je 0x4f47ec
lea eax, [esp + 0x48]
dec esi
push eax
push esi
mov ecx, 0x5b1210
call fcn.0045d7b0
cmp eax, ebp
jne 0x4f4844
push 0x18
mov ecx, ebx
call fcn.00478130
mov ecx, dword [esp + 0x48]
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
dec ecx
push ecx
mov ecx, ebx
call fcn.004780f0
mov dword [esp + 0x10], ebp
jmp 0x4f4844
lea edx, [esi - 1]
push edx
call fcn.00511f72
mov al, byte [esi]
add esp, 4
fstp qword [esp + 0x14]
test al, al
mov dword [esp + 0x10], ebp
je 0x4f482d
inc esi
cmp al, 0x2d
je 0x4f4827
cmp al, 0x2e
je 0x4f4827
cmp al, 0x30
jb 0x4f4817
cmp al, 0x39
jbe 0x4f4827
cmp al, 0x44
je 0x4f4827
cmp al, 0x45
je 0x4f4827
cmp al, 0x64
je 0x4f4827
cmp al, 0x65
jne 0x4f487d
mov al, byte [esi]
test al, al
jne 0x4f4806
push 0x17
mov ecx, ebx
call fcn.00478130
lea eax, [esp + 0x14]
push 8
push eax
mov ecx, ebx
call fcn.004786b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x1c], 0x55f890
call fcn.00477ff0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
neg eax
sbb eax, eax
pop edi
and al, 0xd4
pop esi
pop ebp
add eax, 0x2c
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov dword [esp + 0x10], 0
jmp 0x4f4844