Function at 0x406b70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x427730
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x434f14]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea ecx, [esp + 0x38]
call fcn.00409c93
xor ebp, ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], ebp
call fcn.00409c93
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 1
call fcn.00409c93
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 2
call fcn.00409c93
mov ebx, dword [esp + 0x88]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 3
call fcn.0040a0f0
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call esi
push eax
lea ecx, [esp + 0x5c]
call fcn.0040a0f0
mov edi, vtable.CBitmap.0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x3c]
push ecx
mov byte [esp + 0x84], 4
call esi
push eax
lea ecx, [esp + 0x4c]
call fcn.0040a0f0
mov edx, dword [esp + 0x3c]
push edx
call esi
push eax
lea ecx, [esp + 0x6c]
call fcn.0040a0f0
push ebx
call dword [sym.imp.GDI32.dll_GetBkColor]
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x3c]
push esi
push edi
push eax
mov byte [esp + 0x8c], 5
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040a333
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.0040a3c2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
push 0x26
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, 0x100
je 0x406ce4
mov eax, dword [esp + 0xac]
cmp eax, ebp
je 0x406ce4
mov ecx, dword [esp + 0x3c]
push ebp
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x4c]
push ebp
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x6c]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
push eax
push esi
push edi
push ebp
push ebp
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
push ecx
call ebp
push 0
push 1
push 1
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x34]
call fcn.0040a333
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
push edx
push eax
call fcn.0040a3c2
mov ecx, dword [esp + 0xa8]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], eax
call fcn.00409ad1
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
push 0xcc0020
push 0
push 0
push edx
push esi
push edi
push 0
push 0
push eax
call ebp
push 0
lea ecx, [esp + 0x4c]
call fcn.00409ad1
push 0xffffff
lea ecx, [esp + 0x4c]
call fcn.00409b36
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
push 0x8800c6
push 0
push 0
push ecx
push esi
push edi
push 0
push 0
push edx
call ebp
push 0xffffff
lea ecx, [esp + 0x3c]
call fcn.00409ad1
push 0
lea ecx, [esp + 0x3c]
call fcn.00409b36
mov eax, dword [esp + 0x5c]
push 0x8800c6
push 0
push 0
push eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x4c]
push esi
push edi
push ecx
push edx
push eax
call ebp
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push 0xee0086
push 0
push 0
push ecx
mov ecx, dword [esp + 0x4c]
push esi
push edi
push edx
push eax
push ecx
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x406e2c
mov edx, dword [esp + 0x6c]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x406e42
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x60]
push eax
call fcn.0040a3c2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x406e58
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call fcn.0040a3c2
mov edx, dword [esp + 0x20]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x24]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea ecx, [esp + 0x38]
call fcn.0040a126
mov esi, vtable.CBitmap.0
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 4
mov dword [esp + 0x28], esi
call fcn.004049a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 3
mov dword [esp + 0x30], esi
call fcn.004049a0
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 2
call fcn.0040a16f
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 1
call fcn.0040a16f
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 0
call fcn.0040a16f
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
call fcn.0040a16f
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret