Function at 0x40f690
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e422
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x46e320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
lea esi, [edi + 0x28]
push esi
mov dword [ebp - 4], ebx
call fcn.00407910
lea eax, [edi + 0x20]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
mov dword [eax], vtable.IResizeWnd.0
mov dword [edi + 0x24], vtable.ICallback.0
mov byte [ebp - 4], 3
mov dword [eax], vtable.CInputPanelDlg.1.0
lea eax, [edi + 0xb4]
push eax
mov dword [edi], vtable.CInputPanelDlg.0
mov dword [edi + 0x24], vtable.CInputPanelDlg.2.0
mov dword [edi + 0x60], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x90], ebx
call fcn.00414220
lea eax, [edi + 0xdc]
mov byte [ebp - 4], 4
push eax
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
call fcn.0040c510
lea ecx, [edi + 0x200]
push ecx
call fcn.0040d320
lea edx, [edi + 0x2fc]
push edx
call fcn.0040e370
mov eax, vtable.CPaintImage.0
mov dword [edi + 0x3b0], eax
mov dword [edi + 0x3c4], ebx
mov dword [edi + 0x3b4], ebx
mov dword [edi + 0x3b8], ebx
mov dword [edi + 0x3bc], ebx
mov dword [edi + 0x3c0], ebx
mov dword [edi + 0x3c8], eax
mov dword [edi + 0x3dc], ebx
mov dword [edi + 0x3cc], ebx
mov dword [edi + 0x3d0], ebx
mov dword [edi + 0x3d4], ebx
mov dword [edi + 0x3d8], ebx
mov dword [edi + 0x3e0], eax
mov dword [edi + 0x3f4], ebx
mov dword [edi + 0x3e4], ebx
mov dword [edi + 0x3e8], ebx
mov dword [edi + 0x3ec], ebx
mov dword [edi + 0x3f0], ebx
mov dword [edi + 0x3f8], eax
mov dword [edi + 0x40c], ebx
mov dword [edi + 0x3fc], ebx
mov dword [edi + 0x400], ebx
mov dword [edi + 0x404], ebx
mov dword [edi + 0x408], ebx
lea eax, [edi + 0x410]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040ea80
mov eax, 7
mov dword [edi + 0x510], eax
mov dword [edi + 0x50c], ebx
xor ecx, ecx
mov word [edi + 0x4fc], cx
xor edx, edx
mov dword [edi + 0x52c], eax
mov dword [edi + 0x528], ebx
mov word [edi + 0x518], dx
mov dword [edi + 0x548], eax
xor eax, eax
mov dword [edi + 0x544], ebx
mov word [edi + 0x534], ax
mov byte [ebp - 4], 0xf
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
lea ecx, [edi + 0x64]
push ecx
mov byte [edi + 0x54c], bl
mov dword [edi + 0x55c], ebx
call esi
lea eax, [edi + 0x94]
push eax
call esi
lea edx, [edi + 0xa4]
push edx
call esi
mov esi, dword [sym.imp.USER32.dll_SetRect]
push 0x14
push 0x3c
push ebx
push ebx
lea eax, [edi + 0x94]
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
push eax
mov dword [edi + 0x88], ebx
mov dword [edi + 0x8c], ebx
call esi
push ebx
push ebx
push ebx
push ebx
lea eax, [edi + 0x4d8]
push eax
call esi
push ebx
push ebx
push ebx
push ebx
lea ecx, [edi + 0x4e8]
push ecx
call esi
push ebx
push ebx
push ebx
push ebx
lea edx, [edi + 0x4c8]
push edx
call esi
fldz
fst dword [ebp - 0x20]
lea ebx, [edi + 0x28]
fst dword [ebp - 0x1c]
push 0x2000
fld1
lea esi, [ebp - 0x20]
fstp dword [ebp - 0x18]
mov eax, ebx
fstp dword [ebp - 0x14]
call fcn.00401040
fld1
push 0x2001
fst dword [ebp - 0x20]
lea esi, [ebp - 0x20]
fldz
mov eax, ebx
fst dword [ebp - 0x1c]
fstp dword [ebp - 0x14]
fstp dword [ebp - 0x18]
call fcn.00401040
fld1
fst dword [ebp - 0x20]
push 0x2002
fldz
lea esi, [ebp - 0x20]
fst dword [ebp - 0x1c]
mov eax, ebx
fstp dword [ebp - 0x14]
fstp dword [ebp - 0x18]
call fcn.00401040
fldz
push 0x3ea
fst dword [ebp - 0x20]
lea esi, [ebp - 0x20]
fst dword [ebp - 0x1c]
mov eax, ebx
fld1
fstp dword [ebp - 0x18]
fstp dword [ebp - 0x14]
call fcn.00401040
fld1
push 0x3ec
fst dword [ebp - 0x20]
lea esi, [ebp - 0x20]
fldz
mov eax, ebx
fst dword [ebp - 0x1c]
fstp dword [ebp - 0x14]
fstp dword [ebp - 0x18]
call fcn.00401040
fldz
push 0x3f0
fst dword [ebp - 0x20]
lea esi, [ebp - 0x20]
fstp dword [ebp - 0x1c]
mov eax, ebx
fld1
fst dword [ebp - 0x18]
fstp dword [ebp - 0x14]
call fcn.00401040
fld1
fst dword [ebp - 0x20]
push 0x3f8
fst dword [ebp - 0x1c]
lea esi, [ebp - 0x20]
fst dword [ebp - 0x18]
mov eax, ebx
fstp dword [ebp - 0x14]
call fcn.00401040
lea eax, [edi + 0x4f8]
call fcn.0040a840
lea eax, [edi + 0x514]
call fcn.0040a840
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4