Function at 0x40a440
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a6d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004015d0
mov ecx, dword [ebp - 0x10]
call fcn.00410850
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00410890
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004108d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00410910
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00410950
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00410990
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004109d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00410a20
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00410a60
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00410aa0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00410af0
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00408070
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.004121a0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.00412230
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.004123a0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.00412510
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.004125e0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.00410eb0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.00412710
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.00412820
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0xc8
call fcn.004129d0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0xd4
call fcn.004078a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x88]
and ecx, 0xfffffffe
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x88]
and ecx, 0xfffffffd
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x88]
and ecx, 0xfffffffb
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x88]
and ecx, 0xfffffff7
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x88]
and ecx, 0xffffffef
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x88]
and ecx, 0xffffffdf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb4]
or ecx, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb4]
or ecx, 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb4]
and ecx, 0xfffffffb
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xb8], 0
mov esi, esp
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
cmp esi, esp
call fcn.0041fa50
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbc], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc0], 0x400
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb4]
or ecx, 8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x88]
and ecx, 0xffffffbf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb4]
and ecx, 0xffffffef
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x84], 0xcdcdcdcd
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xcc], 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xd0], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb4]
or ecx, 0x20
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb4]
and ecx, 0xffffffbf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x50
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret