Function at 0x40e1a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b9f80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x808080
xor edi, edi
push 1
push edi
lea ecx, [esp + 0x40]
call fcn.004b108d
mov dword [esp + 0x7c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], vtable.CBitmap.0
mov eax, dword [esp + 0x8c]
mov ecx, esi
push eax
mov byte [esp + 0x80], 1
mov byte [esp + 0x28], 0
mov dword [esp + 0x29], edi
call fcn.004aea37
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call fcn.004b0d00
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
lea ecx, [esp + 0x34]
sub edi, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebx
sub ebp, eax
mov dword [esp + 0x20], edi
call fcn.004b098f
mov edx, dword [esp + 0x10]
dec ebx
push ebx
mov ecx, esi
lea eax, [edx - 1]
mov dword [esp + 0x88], eax
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004b0c7f
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [ecx + ebp + 1]
mov ecx, esi
push eax
mov dword [esp + 0x1c], eax
call fcn.004b0ccb
mov edx, dword [esp + 0x84]
push ebx
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.004b0c7f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x84]
lea eax, [edi + ecx + 1]
mov ecx, esi
push eax
push edx
mov dword [esp + 0x94], eax
call fcn.004b0ccb
mov eax, dword [esi]
push 6
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.004b0c7f
push ebx
mov ebx, dword [esp + 0x18]
push ebx
mov ecx, esi
call fcn.004b0ccb
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x3c]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.004b0c7f
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
push eax
push ecx
mov ecx, esi
call fcn.004b0ccb
mov ebx, dword [esp + 0x90]
cmp ebx, 0x64
jbe 0x40e321
mov ebx, 0x64
push ebx
lea edx, [esp + 0x28]
push str._3d__
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push eax
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x14]
mov eax, ebp
sub eax, ecx
mov ecx, dword [esp + 0x18]
sar eax, 1
mov dword [esp + 0x84], eax
mov eax, edi
sub eax, ecx
mov ecx, ebp
imul ecx, ebx
sar eax, 1
mov dword [esp + 0x8c], eax
mov eax, 0x51eb851f
mul ecx
shr edx, 5
push edi
mov dword [esp + 0x94], edx
push edx
push 0
lea edx, [esp + 0x60]
push 0
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 4]
push edi
push ebp
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x30]
call fcn.004b1020
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x88]
lea eax, [esp + 0x2c]
mov ecx, dword [edi + 4]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.004b093c
mov edx, dword [edi]
push 0xffffff
mov ecx, edi
mov dword [esp + 0x8c], eax
call dword [edx + 0x30]
mov eax, dword [edi]
push 0xff0000
mov ecx, edi
call dword [eax + 0x2c]
mov ebx, dword [edi]
lea ecx, [esp + 0x24]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x90]
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x90]
push eax
push 6
push ecx
push edx
mov ecx, edi
call dword [ebx + 0x60]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x90]
push eax
push ebp
push 0
lea edx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi]
push 0xff0000
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [edi]
push 0xc0c0c0
mov ecx, edi
call dword [edx + 0x2c]
mov ebx, dword [edi]
lea eax, [esp + 0x24]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x90]
push edx
push 6
push eax
push ecx
mov ecx, edi
call dword [ebx + 0x60]
test edi, edi
jne 0x40e48f
xor eax, eax
jmp 0x40e492
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esi + 4]
push ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x40e4c4
mov eax, dword [eax + 4]
push eax
mov eax, dword [edi + 4]
push eax
call fcn.004b093c
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 2
call fcn.004b1077
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], 3
call fcn.004b1077
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 0x10