Function at 0x415440
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c109
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4771ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x68], edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], ecx
mov ecx, edi
push eax
call fcn.0041b550
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 0
mov dword [edi], vtable.processlistwindow.0
call fcn.00415320
push 0x90
mov byte [ebp - 4], 1
call fcn.0044edad
mov esi, eax
add esp, 4
mov dword [ebp - 0x6c], esi
xor eax, eax
mov byte [ebp - 4], 2
test esi, esi
je 0x415501
push eax
push 0x460a1c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
push 0x80
push 0x1e
push 0x190
push 0xa
push 0xa
mov ecx, 1
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp - 0x64], ecx
push eax
mov dword [ebp - 0x68], ecx
mov ecx, esi
push edi
call fcn.00413c30
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 4], 1
test al, 1
je 0x415520
and eax, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x64], eax
call fcn.0040ac80
push 0x90
call fcn.0044edad
mov esi, eax
add esp, 4
mov dword [ebp - 0x6c], esi
xor eax, eax
mov byte [ebp - 4], 5
test esi, esi
je 0x415582
push 6
push 0x465920
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
mov eax, dword [ebp - 0x64]
mov ecx, esi
push 0
push 0x1e
push 0x64
or eax, 2
mov byte [ebp - 4], 6
push 0xa
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x28]
push 0x1a4
push eax
push edi
call fcn.00413830
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 4], 1
test al, 2
je 0x4155a1
and eax, 0xfffffffd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x64], eax
call fcn.0040ac80
push 0x90
call fcn.0044edad
mov esi, eax
add esp, 4
mov dword [ebp - 0x6c], esi
xor eax, eax
mov byte [ebp - 4], 8
test esi, esi
je 0x415603
push 7
push str.Refresh
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
mov eax, dword [ebp - 0x64]
mov ecx, esi
push 0
push 0x1e
push 0x64
or eax, 4
mov byte [ebp - 4], 9
push 0xa
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x28]
push 0x212
push eax
push edi
call fcn.00413830
mov ecx, dword [ebp - 0x64]
mov dword [edi + 0x2c], eax
mov dword [ebp - 4], 1
test cl, 4
je 0x41561d
lea ecx, [ebp - 0x28]
call fcn.0040ac80
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0x60]
add eax, 0x68
mov dword [ebp - 0x60], vtable.std::_Func_impl_no_alloc_class__lambda_a9da80b62b96d9828cfbb44eaaf0f33a___void___.0
push eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x3c], ecx
call fcn.00417310
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x415650
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [edi + 0x2c]
lea ecx, [ebp - 0x60]
add eax, 0x68
mov dword [ebp - 0x60], vtable.std::_Func_impl_no_alloc_class__lambda_bad40e7cfc77903b787d1383ed29780f___void___.0
push eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x3c], ecx
call fcn.00417310
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x415683
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
push eax
call edx
push 0x98
call fcn.0044edad
add esp, 4
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4156b5
push 0xc8
push 0x136
push 0x3c
push 0xa
push edi
mov ecx, eax
call fcn.00413a90
mov esi, eax
jmp 0x4156b7
xor esi, esi
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x460a1c
lea ecx, [ebp - 0x28]
mov dword [edi + 0x28], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
push dword [ebp - 0x6c]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x78], 0
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call fcn.00415130
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.00414490
lea ecx, [ebp - 0x78]
call fcn.00416580
push fcn.0040ac80
push 1
push 0x18
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0044ecaf
mov esi, dword [edi + 0x28]
lea eax, [ebp - 0x38]
add esi, 0x70
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_65c0055b9a6f8439bae611788080780c___void__int_.0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 0
call fcn.00416280
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x3c], edx
test ecx, ecx
je 0x41578a
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov edx, dword [ebp - 0x3c]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4157d8
cmp eax, esi
jne 0x4157cc
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [esi + 0x24]
mov eax, dword [eax + 4]
call eax
mov ecx, eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x4157c7
mov eax, dword [eax]
mov ecx, dword [esi + 0x24]
cmp ecx, esi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
jmp 0x4157d1
mov edx, dword [ebp - 0x3c]
jmp 0x4157d8
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [esi + 0x24], 0
test edx, edx
je 0x41582c
lea eax, [ebp - 0x60]
cmp edx, eax
jne 0x415829
mov eax, dword [edx]
mov ecx, edx
push esi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0x24], eax
test ecx, ecx
je 0x415824
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
push eax
call edx
xor ecx, ecx
mov dword [ebp - 0x3c], 0
test ecx, ecx
je 0x415824
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [ebp - 0x14]
jmp 0x41582c
mov dword [esi + 0x24], edx
mov byte [ebp - 4], 1
test ecx, ecx
je 0x415844
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
push 0xd
xor eax, eax
mov dword [ebp - 0x18], 0
push str.SelectProcess
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [edi + 4]
call fcn.0041ba00
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4158b1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4158a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158e1
push edx
push ecx
call fcn.0044eddd
add esp, 8
push 0x190
push 0x320
mov ecx, edi
call fcn.0041b8f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044edeb
mov esp, ebp
pop ebp
ret 4
call fcn.004503b0
int3