Function at 0x4161d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x454f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x14]
push eax
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x54]
lea eax, [edi + 0x9cc]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
mov ebp, 1
mov ecx, esi
push ebp
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
xor ebx, ebx
push ebx
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, ecx
push 5
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
lea ecx, [edi + 0x2ac]
push eax
push ecx
push esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], 0x19
call fcn.0044f4ef
mov eax, dword [edi + 0x2b8]
add esp, 0x10
cmp eax, ebp
jne 0x416354
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x54]
push 0x466d84
push edx
mov dword [esp + 0x54], ebx
call sub.MFC42.DLL_CString::Format
lea eax, [esp + 0x3c]
push ebp
lea ecx, [esp + 0x60]
push eax
mov ebx, 0x3b
push ecx
push esi
mov dword [esp + 0x4c], 5
mov dword [esp + 0x50], 0x25
mov dword [esp + 0x54], 0x64
mov dword [esp + 0x58], ebx
call fcn.0044f4ef
add esp, 0x18
lea edx, [esp + 0x54]
push 0x466d7c
push edx
call sub.MFC42.DLL_CString::Format
lea eax, [esp + 0x3c]
push ebp
lea ecx, [esp + 0x60]
push eax
push ecx
push esi
mov dword [esp + 0x4c], 0x6e
mov dword [esp + 0x50], 0x25
mov dword [esp + 0x54], 0xc8
mov dword [esp + 0x58], ebx
call fcn.0044f4ef
mov edx, dword [edi + 0x2b4]
add esp, 0x18
lea eax, [esp + 0x54]
push edx
push 0x466078
push eax
call sub.MFC42.DLL_CString::Format
lea ecx, [esp + 0x40]
push ebp
lea edx, [esp + 0x64]
push ecx
push edx
push esi
mov dword [esp + 0x50], 0xb4
mov dword [esp + 0x54], 0x25
mov dword [esp + 0x58], 0x10e
mov dword [esp + 0x5c], ebx
call fcn.0044f4ef
add esp, 0x1c
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x2a8]
test eax, eax
jle 0x4163d1
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [edi + 0x2a8]
lea ecx, [esp + 0x54]
push eax
push 0x46622c
push ecx
mov dword [esp + 0x58], ebp
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
sub eax, ebp
sub ecx, ebx
mov dword [esp + 0x48], eax
push 5
lea edx, [eax - 0x28]
lea eax, [esp + 0x64]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x44]
push edx
lea ebx, [ecx - 0x1e]
push eax
push esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ecx
call fcn.0044f4ef
add esp, 0x1c
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
sub ebp, 0x25
add eax, 0x39
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x2b8]
mov ebp, 0x14
add ebx, ebp
sub edx, ebp
cmp eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edx
jne 0x416410
sub dword [esp + 0x18], 5
sub eax, 0
je 0x41660c
dec eax
je 0x416428
dec eax
je 0x41660c
jmp 0x416673
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2bc]
inc edx
lea ecx, [esp + 0x14]
push 0x820
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2c0]
add edx, ebp
lea ecx, [esp + 0x14]
push 0x820
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2c4]
add edx, ebp
lea ecx, [esp + 0x14]
push 0x820
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2c8]
add edx, ebp
lea ecx, [esp + 0x14]
push 0x820
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2dc]
add ebx, 0x28
mov dword [esp + 0x14], ebx
mov ebx, 0x3c
sub edx, ebx
lea ecx, [esp + 0x14]
push 0x821
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2e0]
add edx, ebp
lea ecx, [esp + 0x14]
push 0x821
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2e4]
add edx, ebp
lea ecx, [esp + 0x14]
push 0x821
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2e8]
add edx, ebp
lea ecx, [esp + 0x14]
push 0x821
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 0x78
sub edx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x2cc]
lea ecx, [esp + 0x14]
push 0x821
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2d0]
add edx, ebp
lea ecx, [esp + 0x14]
push 0x821
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x2d4]
add edx, ebp
lea ecx, [esp + 0x14]
push 0x821
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov ecx, dword [esp + 0x18]
mov edi, dword [edi + 0x2d8]
mov edx, dword [esi]
add ecx, ebp
mov dword [esp + 0x18], ecx
mov ecx, dword [edi - 8]
lea eax, [esp + 0x14]
push 0x821
push eax
push ecx
push edi
mov ecx, esi
call dword [edx + 0x70]
jmp 0x416673
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x2b0]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
push 0x414
mov dword [esp + 0x34], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edi, dword [edi + 0x2b0]
mov eax, dword [esi]
sub edx, ecx
cmp edx, 0xf
jge 0x416663
push 0x15
jmp 0x416664
push ebp
mov edx, dword [edi - 8]
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
mov ecx, esi
call dword [eax + 0x70]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4