Function at 0x40a160
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e4550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x244]
push edi
mov dword [esp + 0x14], ebx
mov ecx, dword [eax + 0x210]
mov edi, dword [eax + 0x40]
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x210]
mov ecx, dword [ecx + 4]
mov eax, dword [edx]
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x1e]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
and esi, 0xffff
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x88]
test eax, eax
mov ebp, dword [ecx]
mov dword [esp + 0x1c], ebp
je 0x40a1d5
mov dx, word [eax]
mov word [esp + 0x10], dx
jmp 0x40a1f2
mov eax, dword [edi + 0xe4]
lea ecx, [ebp + ebp*2]
shl ecx, 4
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
mov ax, word [edx + ecx + 0x24]
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x40a20a
mov cx, word [eax]
mov word [esp + 0x88], cx
jmp 0x40a22a
mov edx, dword [edi + 0xe4]
lea ecx, [ebp + ebp*2]
shl ecx, 4
mov eax, dword [edx + esi*4]
mov edx, dword [eax + 0x58]
mov ax, word [edx + ecx + 0x28]
mov word [esp + 0x88], ax
mov ecx, dword [edi + 0xe4]
lea ebp, [ebp + ebp*2]
shl ebp, 4
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax + 0x58]
add ecx, ebp
call fcn.00456f80
mov dword [ebx + 0x270], 1
add ebx, 0x110
mov ecx, ebx
call fcn.004df790
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::EnableWindow
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x258]
test eax, eax
je 0x40a288
mov edx, dword [edi + 0xe4]
mov ecx, 1
mov eax, dword [edx + esi*4]
mov dword [eax + 0x98], ecx
jmp 0x40a28d
mov ecx, 1
mov edx, dword [ebx + 0x258]
xor eax, eax
test edx, edx
mov dword [esp + 0x8c], eax
jle 0x40a938
mov edx, dword [ebx + 0x254]
mov eax, dword [edx + eax*4]
cmp eax, 0xc8
ja 0x40a3bf
je 0x40a3a1
add eax, 0xffffff9b
cmp eax, 7
ja case.0x40a878.1812
jmp dword [eax*4 + 0x40aa3c]
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or word [edx + ebp + 0x1a], cx
lea eax, [edx + ebp + 0x1a]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1a], 2
lea eax, [edx + ebp + 0x1a]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1a], 4
lea eax, [edx + ebp + 0x1a]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1a], 8
lea eax, [edx + ebp + 0x1a]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1a], 0x10
lea eax, [edx + ebp + 0x1a]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1a], 0x20
lea eax, [edx + ebp + 0x1a]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1a], 0x40
lea eax, [edx + ebp + 0x1a]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1a], 0x80
lea eax, [edx + ebp + 0x1a]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or dh, 0x10
mov dword [eax], edx
jmp case.0x40a878.1812
cmp eax, 0x190
ja 0x40a4d3
je 0x40a4b5
add eax, 0xfffffed3
cmp eax, 7
ja case.0x40a878.1812
jmp dword [eax*4 + 0x40aa5c]
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x18], 2
lea eax, [edx + ebp + 0x18]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x18], 4
lea eax, [edx + ebp + 0x18]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x18], 8
lea eax, [edx + ebp + 0x18]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x18], 0x10
lea eax, [edx + ebp + 0x18]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x18], 0x20
lea eax, [edx + ebp + 0x18]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x18], 0x40
lea eax, [edx + ebp + 0x18]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x18], 0x80
lea eax, [edx + ebp + 0x18]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or word [edx + ebp + 0x18], cx
lea eax, [edx + ebp + 0x18]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or edx, 4
mov dword [eax], edx
jmp case.0x40a878.1812
cmp eax, 0x5dc
ja 0x40a725
je 0x40a707
cmp eax, 0x326
ja 0x40a602
je 0x40a5e8
cmp eax, 0x322
ja 0x40a589
je 0x40a56f
sub eax, 0x1f4
je 0x40a551
sub eax, 0x64
je 0x40a533
sub eax, 0xc9
jne case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1c], 2
lea eax, [edx + ebp + 0x1c]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or edx, 0x10
mov dword [eax], edx
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or edx, 8
mov dword [eax], edx
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1c], 4
lea eax, [edx + ebp + 0x1c]
jmp case.0x40a878.1812
sub eax, 0x323
je 0x40a5ce
dec eax
je 0x40a5b4
dec eax
jne case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1c], 0x20
lea eax, [edx + ebp + 0x1c]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1c], 0x10
lea eax, [edx + ebp + 0x1c]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1c], 8
lea eax, [edx + ebp + 0x1c]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1c], 0x40
lea eax, [edx + ebp + 0x1c]
jmp case.0x40a878.1812
cmp eax, 0x44e
ja 0x40a69a
je 0x40a67c
sub eax, 0x327
je 0x40a662
sub eax, 0xc1
je 0x40a644
sub eax, 0x65
jne case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or edx, 0x40
mov dword [eax], edx
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or dh, 8
mov dword [eax], edx
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1c], 0x80
lea eax, [edx + ebp + 0x1c]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or edx, 0x20
mov dword [eax], edx
jmp case.0x40a878.1812
sub eax, 0x4b0
je 0x40a6e9
sub eax, 0x65
je 0x40a6cb
dec eax
jne case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or dh, 1
mov dword [eax], edx
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or dl, 0x80
mov dword [eax], edx
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or dh, 2
mov dword [eax], edx
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or dh, 4
mov dword [eax], edx
jmp case.0x40a878.1812
cmp eax, 0x70d
ja 0x40a862
je 0x40a848
add eax, 0xfffff9bf
cmp eax, 0xcb
ja case.0x40a878.1812
xor edx, edx
mov dl, byte [eax + 0x40aa9c]
jmp dword [edx*4 + 0x40aa7c]
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or dh, 0x20
mov dword [eax], edx
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
mov ax, word [esp + 0x88]
mov word [edx + ebp + 0x28], ax
jmp case.0x40a878.1812
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + esi*4]
mov eax, dword [eax + 0x58]
mov edx, dword [eax + ebp + 0x14]
lea eax, [eax + ebp + 0x14]
or dh, 0x40
mov dword [eax], edx
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + esi*4]
mov dx, word [esp + 0x88]
mov eax, dword [eax + 0x58]
mov word [eax + ebp + 0x28], dx
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
lea eax, [edx + ebp + 0x14]
mov edx, dword [edx + ebp + 0x14]
or edx, ecx
mov dword [eax], edx
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1e], 2
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1e], 4
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1e], 8
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1e], 0x10
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1e], 0x20
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
add eax, 0xfffff8f2
cmp eax, 0x5e
ja case.0x40a878.1812
xor edx, edx
mov dl, byte [eax + 0x40ab84]
jmp dword [edx*4 + 0x40ab68]
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1e], 0x40
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1e], 0x80
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1f], 1
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or byte [edx + ebp + 0x1f], 2
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
or word [edx + ebp + 0x1e], cx
lea eax, [edx + ebp + 0x1e]
jmp case.0x40a878.1812
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
mov dword [edx + ebp + 0x20], ecx
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0x58]
mov ax, word [esp + 0x10]
mov word [edx + ebp + 0x24], ax
mov eax, dword [esp + 0x8c]
mov edx, dword [ebx + 0x258]
inc eax
cmp eax, edx
mov dword [esp + 0x8c], eax
jl 0x40a2a4
mov ecx, dword [ebx + 0x244]
push ecx
lea ecx, [esp + 0x38]
call fcn.004e2538
mov ecx, dword [ebx + 0x244]
lea eax, [esp + 0x34]
push 0
push eax
mov edx, dword [ecx]
mov dword [esp + 0x88], 0
call dword [edx + 0xe4]
mov ecx, dword [edi + 0xe4]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x48]
push edx
mov esi, dword [ecx + esi*4]
push eax
lea ecx, [esi + 0x54]
call fcn.0040b280
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x14]
mov byte [esp + 0x80], 1
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.00434610
mov edx, dword [esp + 0x40]
add esp, 4
lea ecx, [esp + 0x14]
push 1
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x11]
lea esi, [edx + 0x11]
add eax, 0xffffffef
push ecx
push esi
add edx, 0xffffffef
push eax
lea eax, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebx + 0x244]
lea ecx, [esp + 0x24]
push 1
push ecx
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x48]
push eax
call fcn.00456fc0
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 0
call fcn.00456e80
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 8