Function at 0x4f8650
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x560ebe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
push 0xaaec5
push 0x87e094
call fcn.004454c0
xor ebx, ebx
push ebx
push 1
push 0x65
push eax
push ebx
push esi
call fcn.004c72c0
or eax, 0xffffffff
mov byte [esi + 0x7c], bl
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esp + 0x20], ebx
xor eax, eax
mov ecx, 0x5dc
lea edi, [esi + 0x99]
mov dword [esi], vtable.XPBuddyChatDlg.0
rep stosd dword es:[edi], eax
mov eax, dword [0x87b77c]
lea ebp, [esi + 0x8c]
mov dword [esi + 0x1814], eax
mov eax, dword [esp + 0x2c]
mov edi, ebp
mov dword [esi + 0x180c], ebx
mov dword [esi + 0x1810], ebx
mov dword [esi + 0x5c], 0x117
mov dword [esi + 0x60], 0x8e
mov dword [esi + 0x64], 0x172
mov dword [esi + 0x68], 0x137
sub edi, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
cmp cl, bl
jne 0x4f8700
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4f8710
sub eax, edx
push eax
push ebp
lea ecx, [esi + 0x34]
call fcn.004028a0
push 1
push 0x8ff808
mov ecx, 0xc8
call fcn.004c8d70
push eax
mov ecx, esi
mov dword [eax + 0x5c], 0x14a
mov dword [eax + 0x60], 0x10e
mov byte [eax + 0xc4], bl
call fcn.004c9e40
push 0x88
call fcn.00541c89
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
mov byte [esp + 0x20], 1
je 0x4f87a0
push ebx
push ebx
push 0x3e7
push 0x5796fa
push ebx
push edi
call fcn.004c72c0
mov dword [edi + 0x7c], 0x64
mov byte [edi + 0x80], bl
mov byte [edi + 0x81], bl
mov dword [edi], vtable.cEditbox.0
mov dword [edi + 0x84], ebx
jmp 0x4f87a2
xor edi, edi
mov byte [esp + 0x20], bl
push ebx
lea ecx, [esp + 0x14]
mov eax, 0x4c82d0
push ecx
mov ecx, edi
mov dword [edi + 0x5c], 0x13
mov dword [edi + 0x60], 0xfc
mov dword [edi + 0x64], 0x147
mov dword [edi + 0x68], 0xc
mov byte [edi + 0x28], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call fcn.00417cf0
push edi
mov ecx, esi
call fcn.004c9e40
push 0x94
mov dword [esi + 0x1c], 0x3e7
call fcn.00541c89
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x20], 2
je 0x4f8822
push 0xd
push 0x443680
push eax
mov edi, 0xb1
mov ecx, str.scroll
call fcn.004cb0f0
jmp 0x4f8824
xor eax, eax
mov byte [esp + 0x20], bl
mov dword [esi + 0x88], eax
mov dword [eax + 0x5c], 0x159
mov dword [eax + 0x60], 0x35
mov edx, dword [esi + 0x88]
push edx
mov ecx, esi
call fcn.004c9e40
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x1810]
mov edx, dword [esp + 0x30]
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x80], 0xe
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4f8870
sub eax, edi
mov dword [esp + 0x30], eax
je 0x4f889d
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4f8884
sub eax, edi
push eax
push edx
mov edx, dword [esp + 0x34]
push edx
mov ebx, esi
call fcn.004f8b10
xor ebx, ebx
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x34], 1
call fcn.00417d60
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc