Function at 0x40b610
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cd2b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4bf454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 8]
mov dword [ebx], vtable.BaseWindow.0
mov dword [ebx + 4], 0
call fcn.0044cc70
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], 0
call fcn.0044cc70
mov dword [ebx + 0x28], 0
mov byte [ebx + 0x2c], 0
mov byte [ebx + 0x30], 0
mov dword [ebp - 4], 1
lea edi, [ebx + 0x78]
mov eax, dword [ebp + 8]
mov dword [edi], vtable.RfbKeySymListener.0
mov dword [ebx], vtable.DesktopWindow.0
mov dword [edi], vtable.DesktopWindow.1.0
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x84], 0
mov byte [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0xffffffff
mov dword [ebx + 0x90], 0xffffffff
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0
mov byte [ebx + 0xbc], 0
mov word [ebx + 0xc0], 0
mov byte [ebx + 0xc2], 0
mov dword [ebx + 0xc4], vtable.Rect.0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], vtable.Rect.0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0xfc], 1
mov dword [ebx + 0x100], 1
mov dword [ebx + 0x104], 1
mov dword [ebx + 0x108], 1
mov dword [ebx + 0x10c], 0x64
mov dword [ebx + method.Rect.virtual_0], vtable.Rect.0
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0
mov dword [ebx + 0x124], 1
mov dword [ebx + 0x128], 1
push 0
mov dword [ebx + 0x130], 0
mov dword [ebx + method.SolidBrush.virtual_0], vtable.SolidBrush.0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebx + 0x130], eax
lea ecx, [ebx + 0x134]
mov byte [ebp - 4], 5
call fcn.0044c930
lea esi, [ebx + 0x150]
mov byte [ebp - 4], 6
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.0044af90
mov byte [ebp - 4], 7
lea ecx, [esi + 0x28]
mov dword [esi], vtable.DibFrameBuffer.0
call fcn.0044af90
mov dword [esi + 0x50], 0
mov dword [ebx + method.Dimension.virtual_0], vtable.Dimension.0
mov dword [ebx + 0x1a8], 0
mov dword [ebx + 0x1ac], 0
push 0
lea ecx, [ebx + 0x1b0]
mov byte [ebp - 4], 9
call fcn.00460a20
lea ecx, [ebx + 0x1bc]
mov byte [ebp - 4], 0xa
call fcn.0044cc70
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xb
push 0x218
mov word [ebx + 0x1cc], 0
mov dword [ebx + 0x1d0], 0
mov dword [ebx + 0x1d4], eax
mov byte [ebx + 0x1d8], 0
call fcn.0046523a
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xc
mov ecx, eax
push dword [ebx + 0x7c]
push edi
call fcn.00449710
mov esi, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x84]
cmp esi, ecx
je 0x40b930
test ecx, ecx
je 0x40b930
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x84], esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8