Function at 0x408a30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a9868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
xor edi, edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
push ecx
mov ecx, dword [esp + 0x8c]
mov eax, esp
and ecx, 0xffff
mov dword [esp + 0x20], esp
mov byte [esp + 0x80], 2
mov dword [eax], ecx
lea ecx, [esp + 0x14]
call fcn.00409010
mov esi, dword [esp + 0x84]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.GDI32.dll_SaveDC]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push ebx
call ebp
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], eax
push ecx
mov dword [esp + 0x6c], eax
push 0x18
mov dword [esp + 0x74], eax
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x7c], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x408af0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
jmp 0x408af8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push edi
push edi
push ebx
push ecx
push eax
push edi
push edi
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], edi
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x34], edi
push edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, 5
push 1
add edx, eax
add ecx, eax
push esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [0x4c2080]
push 0x9c44
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], eax
call fcn.00405320
mov eax, dword [esp + 0x88]
push eax
push 0x10
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x2bc
push edi
push edi
push edi
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edx, dword [0x4c2084]
mov ebx, eax
mov eax, dword [esp + 0x88]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408bc5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x408bc5
mov edx, dword [esp + 0x88]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
push ebx
push esi
call ebp
push 0xffffff
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push 0x2010
push ecx
mov eax, dword [eax + 0x68]
mov edx, dword [eax - 8]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push ebx
push esi
call ebp
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, 0x14
add ebx, eax
add edx, 0x46
sub ecx, eax
push 0x108
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
call fcn.00428c60
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00428910
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
add edx, 0xfffffff6
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x60], eax
add edx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x64], ecx
add eax, ecx
mov dword [esp + 0x50], edx
lea ecx, [esp + 0x58]
lea edx, [esp + 0x48]
push ecx
push edx
push ebx
push esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], eax
call fcn.00428de0
mov ebx, dword [esp + 0x48]
mov eax, dword [0x4c2080]
add esp, 0x1c
add ebx, 0x32
lea ecx, [esp + 0x88]
mov dword [esp + 0x2c], ebx
push 0x9c44
mov dword [esp + 0x8c], eax
call fcn.00405320
mov eax, dword [esp + 0x88]
push eax
push 0x10
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edx, dword [0x4c2084]
mov ebx, eax
mov eax, dword [esp + 0x88]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408d26
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x408d26
mov edx, dword [esp + 0x88]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
push ebx
push esi
call ebp
push edi
push esi
mov dword [esp + 0x90], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push 0x2010
push ecx
mov ebx, dword [eax + 0x74]
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0x88]
push edx
push esi
call ebp
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x408d7f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x408d7f
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x408d8e
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 8