Function at 0x40b200
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b0ea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov eax, dword [esi + 0x8c]
push eax
push edi
call sub.MFC42.DLL_CDC::FillSolidRect
push 0xcecece
push 1
push 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CPen::CPen
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 1
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [edi + 4]
mov ebx, eax
mov eax, dword [edi]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [edi + 4]
mov eax, dword [edi]
inc edx
lea ecx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
inc edx
mov ecx, ebp
push edx
push eax
call sub.MFC42.DLL_CDC::LineTo
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esi + 0x598]
xor eax, eax
mov dword [esp + 0x3c], eax
cmp dword [ecx - 8], eax
je 0x40b382
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x4bd540
push eax
push 0x4d62b4
push 0x5a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CFont::CreatePointFont
mov edx, dword [ebp]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov edx, dword [ebp]
push 0xfa
mov ecx, ebp
mov dword [esp + 0x40], eax
call dword [edx + 0x38]
push 1
mov ecx, ebp
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi + 0x598]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
mov ebx, dword [ebp]
mov edx, dword [edx - 8]
sub eax, 0x25
push edx
mov edx, dword [esi + 0x598]
add ecx, 6
push edx
push eax
push ecx
mov ecx, ebp
call dword [ebx + 0x64]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov dword [esp + 0x3c], 5
mov dword [esp + 0x10], 0x4bd504
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x30], 1
mov ecx, dword [esi + 0x9c]
mov edx, dword [edi]
mov eax, dword [edi + 8]
push 0
shl ecx, 4
add ecx, 0x1e
sub eax, edx
sub eax, ecx
push 0
cdq
sub eax, edx
mov edx, dword [edi + 4]
mov ebx, eax
mov eax, dword [edi]
sar ebx, 1
add ebx, eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], edx
sub eax, edx
mov edx, dword [esi + 0xa0]
add ecx, ebx
mov dword [esi + 0x84], ecx
push 0
lea edi, [edx*4 + 6]
push 4
sub eax, edi
mov dword [esi + 0x7c], ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
sub eax, edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x54c], ebx
lea eax, [eax + edx - 0xd]
mov dword [esp + 0x48], eax
add edi, eax
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x88], edi
sub edi, eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x550], edi
lea ecx, [eax + ebx]
mov dword [esi + 0x554], ecx
mov ecx, dword [esi + 0xa8]
push ecx
push eax
push edi
lea edx, [ecx + edi]
push ebx
push ebp
lea ecx, [esi + 0x1c]
mov dword [esi + 0x558], edx
call fcn.0045c630
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0xac]
push 0
push 0
lea eax, [eax + ebx + 2]
push 0
push 4
mov dword [esp + 0x4c], eax
lea edx, [ecx + eax]
mov dword [esi + 0x55c], eax
mov dword [esi + 0x564], edx
mov edx, dword [esi + 0xb0]
add edx, edi
mov dword [esi + 0x560], edi
mov dword [esi + 0x568], edx
mov edx, dword [esi + 0xb0]
push edx
push ecx
push edi
push eax
push ebp
lea ecx, [esi + 0x34]
call fcn.0045c630
mov eax, dword [esi + 0xac]
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + eax + 2]
mov ecx, dword [esi + 0xb4]
push 0
push 0
push 0
lea edx, [ecx + eax]
push 4
mov dword [esi + 0x574], edx
mov edx, dword [esi + 0xb8]
add edx, edi
mov dword [esp + 0x4c], eax
mov dword [esi + 0x578], edx
mov edx, dword [esi + 0xb8]
push edx
push ecx
push edi
push eax
push ebp
lea ecx, [esi + 0x4c]
mov dword [esi + 0x56c], eax
mov dword [esi + 0x570], edi
call fcn.0045c630
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x3c]
mov edx, 0xfffffffe
push 0
lea eax, [ecx + eax + 2]
mov ecx, dword [esi + 0xa0]
sub edx, ecx
mov ecx, dword [esi + 0xbc]
add edi, edx
push 0
lea edx, [ecx + eax]
push 0
mov dword [esi + 0x584], edx
mov edx, dword [esi + 0xc0]
add edx, edi
push 4
mov dword [esi + 0x588], edx
mov edx, dword [esi + 0xc0]
push edx
push ecx
push edi
push eax
push ebp
lea ecx, [esi + 0x64]
mov dword [esi + 0x57c], eax
mov dword [esi + 0x580], edi
call fcn.0045c630
mov eax, dword [esp + 0x38]
mov edi, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0
cmp dword [esp + 0x3c], 0xf
jne 0x40b569
cmp dword [esp + 0x10], 0x20
je 0x40b5ea
mov ecx, dword [esi + 0xa0]
mov edx, dword [esi + 0x9c]
mov eax, dword [esp + 0x38]
push 0
push 0
push 0
push 4
push ecx
push edx
push eax
push edi
push ebp
lea ecx, [esi + 4]
call fcn.0045c630
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + ecx]
lea edx, [edx + ecx + 0x26]
mov ecx, dword [esp + 0x38]
shl eax, 4
add eax, esi
shl edx, 4
mov dword [eax + 0x25c], edi
mov dword [edx + esi], ecx
mov edx, dword [esi + 0x9c]
add edx, edi
mov dword [eax + 0x264], edx
mov edx, dword [esi + 0xa0]
add edx, ecx
mov dword [eax + 0x268], edx
mov eax, dword [esi + 0x9c]
lea edi, [edi + eax + 2]
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 0x10
mov dword [esp + 0x3c], eax
jl 0x40b557
mov ecx, dword [esi + 0xa0]
mov edx, dword [esp + 0x38]
mov edi, ebx
lea eax, [edx + ecx + 2]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
add eax, 0x10
cmp eax, 0x30
mov dword [esp + 0x10], eax
jl 0x40b54f
push ebp
mov ecx, esi
call fcn.0040b670
mov esi, 0x4bd504
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x18], 0x4bd4f0
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8