Function at 0x495ca0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64df50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x30]
push eax
call fcn.004078d0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [esi + 0x38], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], edx
lea edx, [ebp + 0x1c]
lea ecx, [esi + 0x34]
push edx
mov dword [esi + 0x28], eax
call fcn.004078d0
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x495d06
push eax
mov ecx, esi
call fcn.004952a0
cmp dword [ebp + 0x18], ebx
jne 0x495d46
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x495d31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp dword [esi + 0x48], ebx
jne 0x495d5c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x495d5c
jmp 0x495d0b
cmp dword [esi + 0x44], ebx
jne 0x495d8b
mov edx, dword [esi + 0x48]
lea ecx, [ebp - 0x78]
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x68], 0x2bc
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x44], eax
cmp eax, ebx
jne 0x495d8b
jmp 0x495d0b
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push ebx
lea ecx, [ebp + 0xc]
push ecx
push ebx
push 0x1016
mov dword [ebp + 0xc], ebx
call edi
cmp dword [ebp + 0xc], ebx
je 0x495dbd
push ebx
lea edx, [ebp + 0xc]
push edx
push ebx
push 0x1018
call edi
cmp dword [ebp + 0xc], ebx
je 0x495dbd
cmp dword [esi + 0x24], ebx
jne 0x495dc4
or dword [esi + 0x28], 0x300
test byte [esi + 0x28], 0x80
mov ecx, 0x80080
je 0x495dd4
mov ecx, 0x80088
push ebx
push ecx
mov eax, esp
mov dword [eax], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp + 0x10], esp
push ecx
push connect
push eax
push ecx
mov edx, 0xa
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 0x18]
mov eax, esp
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp + 0x10], esp
mov dword [eax], ecx
push edx
mov ecx, esi
call fcn.00495c20
cmp eax, ebx
jne 0x495e19
jmp 0x495d0b
mov ecx, esi
call fcn.00494600
mov ecx, esi
call fcn.00494870
test byte [esi + 0x28], 4
je 0x495e54
lea edi, [esi + 0x5c]
push edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esi + 4]
push ebx
push 0x64
push 0xd08
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test byte [esi + 0x28], 3
je 0x495e64
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
test byte [esi + 0x28], 8
je 0x495e71
mov ecx, esi
call fcn.00495a90
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x495ea3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20