Function at 0x407c90
Capabilities:
Get number of processors
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40b2b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x68]
push edi
push 0x2710
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x78]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x2c]
push edx
add eax, 0xf
push 0x52030000
mov dword [esp + 0x38], eax
mov eax, dword [esi]
push 0x10000
mov ecx, esi
call dword [eax + 0x13c]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x514
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
xor ebp, ebp
mov ecx, eax
mov dword [esp + 0x5c], ebp
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push ebp
push ebp
push eax
push ebp
push 1
mov ecx, esi
call sub.MFC71U.DLL_CRichEditView::InsertItem
or ebx, 0xffffffff
lea ecx, [esp + 0x74]
mov dword [esp + 0x5c], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0x515
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, eax
mov dword [esp + 0x5c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push ebp
push ebp
push eax
push 1
push 1
mov ecx, esi
call sub.MFC71U.DLL_CRichEditView::InsertItem
lea ecx, [esp + 0x74]
mov dword [esp + 0x5c], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0x516
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, eax
mov dword [esp + 0x5c], 2
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push ebp
push ebp
push eax
push 2
push 1
mov ecx, esi
call sub.MFC71U.DLL_CRichEditView::InsertItem
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x74]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
mov eax, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push ebp
push 0x31
push eax
call edi
push eax
call sub.MFC71U.DLL_CDC::FromHandle
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x407de6
xor eax, eax
jmp 0x407de9
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
push 1
push eax
push 0x30
push ecx
call edi
mov ecx, 0x16
movzx edx, cx
mov ecx, dword [esi + 0x20]
mov eax, 0x64
movzx eax, ax
shl edx, 0x10
or edx, eax
push edx
push ebp
push 0x1329
push ecx
call edi
push 0x48
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
mov dword [esp + 0x5c], 3
je 0x407e3b
mov ecx, eax
call fcn.004053e0
mov edi, eax
jmp 0x407e3d
xor edi, edi
mov edx, dword [edi]
push ebp
mov ecx, edi
mov dword [esp + 0x60], ebx
call dword [edx + 8]
cmp eax, 2
je 0x407e94
test eax, eax
jne 0x407e5d
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
inc ebp
jmp 0x407e16
mov ecx, dword [esi + 0x5dc]
lea ebx, [esi + 0x5d4]
push 0
push ecx
mov ecx, ebx
call fcn.00406ce0
mov dword [eax + 8], edi
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x407e88
mov dword [ecx], eax
mov dword [ebx + 8], eax
or ebx, 0xffffffff
inc ebp
jmp 0x407e16
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
or ebx, 0xffffffff
inc ebp
jmp 0x407e16
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov edi, 4
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x64]
push str.SOFTWARESony_CorporationVAIO_Control_Center
push eax
mov byte [esp + 0x64], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 8
lea ecx, [esp + 0x64]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
lea ecx, [esp + 0x74]
push ecx
push 0x20019
push ebp
push eax
push 0x80000002
mov dword [esp + 0x88], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x407fca
mov ebx, dword [esp + 0x74]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push 0x40de40
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x407fbb
cmp dword [esp + 0x1c], edi
jne 0x407fbb
mov eax, dword [esp + 0x20]
mov ecx, ebp
shr eax, cl
test al, 1
je 0x407faf
push 0x48
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x5c], 6
je 0x407f65
mov ecx, eax
call fcn.004053e0
mov ebx, eax
jmp 0x407f67
xor ebx, ebx
mov edx, dword [ebx]
push ebp
mov ecx, ebx
mov byte [esp + 0x60], 5
call dword [edx + 0x14]
test eax, eax
je 0x407fa7
mov eax, dword [esi + 0x5dc]
lea edi, [esi + 0x5d4]
push 0
push eax
mov ecx, edi
call fcn.00406ce0
mov dword [eax + 8], ebx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x407f9f
mov dword [ecx], eax
mov dword [edi + 8], eax
jmp 0x407faf
mov dword [edi + 4], eax
mov dword [edi + 8], eax
jmp 0x407faf
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
inc ebp
cmp ebp, 9
jl 0x407f37
mov ebx, dword [esp + 0x74]
xor ebp, ebp
cmp ebx, ebp
je 0x407fca
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebp
lea ebp, [esi + 0x5f4]
mov ecx, ebp
call fcn.00405110
push 0x51e
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ebx, eax
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x64], 7
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
add eax, 0xffffff29
add ecx, 0x44
lea edx, [eax + 0x64]
lea edi, [ecx + 0x16]
push 0x271a
mov dword [esp + 0x40], edx
push esi
mov dword [esp + 0x48], edi
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x30c]
lea edi, [esi + 0x30c]
push edx
mov dword [esp + 0x44], ecx
push 0x58030000
mov ecx, ebx
mov dword [esp + 0x84], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov eax, dword [esp + 0x88]
mov ecx, edi
call dword [eax + 0x138]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 5
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x408077
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [esi + 0x32c]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x51f
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ebx, eax
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x44]
push ecx
push edx
mov byte [esp + 0x64], 8
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
add ecx, 0x44
lea edi, [ecx + 0x16]
push 0x271b
add eax, 0xffffff92
mov dword [esp + 0x3c], ecx
push esi
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x3c]
lea edx, [eax + 0x64]
push ecx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x36c]
lea edi, [esi + 0x36c]
push 0x58010000
mov ecx, ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x84], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov eax, dword [esp + 0x88]
mov ecx, edi
call dword [eax + 0x138]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 5
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x408127
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x38c]
push 1
push eax
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.00407420
push esi
lea ecx, [esi + 0x60]
call fcn.004020a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push esi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea edi, [esi + 0x5d4]
lea ecx, [esi + 0x3cc]
mov dword [esi + 0x420], edi
mov dword [eax + 0xc], edx
call fcn.00408b10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push esi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [esi + 0x498]
mov dword [esi + 0x4ec], edi
mov dword [eax + 0xc], edx
call fcn.00402dc0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push esi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [esi + 0x534]
mov dword [esi + 0x588], edi
mov dword [esi + 0x58c], ebp
mov dword [eax + 0xc], edx
call fcn.00403690
push 0xffffffffffffffff
mov ecx, esi
call fcn.004072a0
lea ecx, [esp + 0x64]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40820d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 0x14