Function at 0x40a8f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dac49
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x51a500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x8c], edi
xor eax, eax
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x94], eax
cmp dword [ebp + 8], eax
je 0x40a969
mov dword [edi + 8], 0x4ff5f8
mov dword [edi + method.nbase::SupportWeakCallback.virtual_0], vtable.nbase::SupportWeakCallback.0
mov dword [edi + 0x254], eax
mov dword [edi + 0x258], eax
mov dword [ebp - 4], eax
mov eax, 1
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 8]
lea esi, [edi + 0x20]
mov dword [edi], vtable.ui::Window.0
mov dword [ebp - 0x8c], esi
mov eax, dword [eax + 4]
mov dword [eax + edi + 8], vtable.ui::Window.1.0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], eax
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f770
mov dword [esi], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
movsd qword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
push 0x30
mov byte [edi + 0x98], 1
lea eax, [edi + 0xb0]
mov dword [edi + 0x9c], 0xff
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
push 0
push eax
mov byte [edi + 0xa8], 1
mov dword [edi + 0xac], 0
call fcn.004a8ae0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0xffffffff
mov dword [edi + 0xf8], 0xffffffff
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0xffffffff
mov dword [edi + 0x104], 0xffffffff
mov dword [edi + 0x108], 0
mov byte [edi + 0x10c], 1
mov dword [edi + 0x110], 0x1000
mov word [edi + 0x114], 0
mov dword [edi + 0x116], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 7
push 0x60
lea esi, [edi + 0x130]
push 0
push esi
call fcn.004a8ae0
add esp, 0x18
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
lea esi, [edi + 0x190]
mov byte [ebp - 4], 4
mov dword [ebp - 0x8c], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00411ed0
mov dword [esi], eax
lea esi, [edi + 0x198]
mov byte [ebp - 4], 5
mov dword [ebp - 0x8c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f750
mov dword [esi], eax
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1cc], 0
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d4], 0
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1dc], 0
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
lea esi, [edi + 0x1e8]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x8c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f6a0
mov dword [esi], eax
xorps xmm0, xmm0
movq qword [edi + 0x1f0], xmm0
mov dword [edi + 0x1f8], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
mov dword [edi + method.nbase::SupportWeakCallback.virtual_0], vtable.nbase::WeakCallbackFlag.0
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x1fc]
lea ecx, [esi + 4]
mov word [esi], 0x101
push 0x36
xor eax, eax
mov dword [ebp - 0x90], esi
push str.file.._public_bk_bk_shadow.png_corner30_30_30_30
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00402790
mov dword [esi + 0x1c], 0xe
mov dword [esi + 0x20], 0xe
mov dword [esi + 0x24], 0xe
mov dword [esi + 0x28], 0xe
mov dword [esi + 0x2c], 0xe
mov dword [esi + 0x30], 0xe
mov dword [esi + 0x34], 0xe
mov dword [esi + 0x38], 0xe
mov dword [esi + 0x48], 0
mov eax, dword fs:[0x2c]
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [eax]
mov dword [esi + 0x4c], 0
mov eax, dword [0x522f48]
cmp eax, dword [ecx + 4]
jg 0x40afaa
cmp byte [0x51b090], 0
je 0x40ae21
mov eax, dword [0x51b08c]
cmp eax, 0x64
je 0x40ae21
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
push eax
call edi
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x20]
push 0x64
push dword [0x51b08c]
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x90]
push 0x64
push dword [0x51b08c]
push dword [eax + 0x1c]
call edi
mov ecx, dword [ebp - 0x90]
push 0x64
mov dword [ecx + 0x1c], eax
push dword [0x51b08c]
push dword [ecx + 0x20]
call edi
mov edx, dword [ebp - 0x90]
mov ecx, eax
mov edi, dword [ebp - 0x98]
mov eax, dword [edx + 0x1c]
add eax, dword [ebp - 0x8c]
mov dword [edx + 0x24], eax
lea eax, [esi + ecx]
mov esi, edx
mov dword [edx + 0x20], ecx
mov dword [esi + 0x28], eax
movups xmm0, xmmword [esi + 0x1c]
movups xmmword [esi + 0x3c], xmm0
push 0x5c
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xf
push 0
push eax
mov byte [edi + 0x24c], 0
call fcn.004a8ae0
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push 0x5c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x51b034
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x6d], 1
call fcn.00402f80
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x14]
or esi, 2
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x94], esi
seta al
mov byte [ebp - 0x85], al
cmp ecx, 8
jb 0x40aecc
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40aebc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aff1
push ecx
push edx
call fcn.004a66b3
mov al, byte [ebp - 0x85]
add esp, 8
test al, al
je 0x40af08
push 0x51b034
lea ecx, [ebp - 0x28]
call fcn.00402f80
or esi, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x94], esi
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x68]
push 0x20
push eax
call fcn.004c1308
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00402650
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea ecx, [ebp - 0x68]
mov dword [edi + 0x130], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40af21
sub ecx, edx
lea eax, [ebp - 0x68]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x134]
call fcn.00402790
mov eax, dword [ebp - 0x84]
neg eax
cmp dword [ebp - 0x74], 0x2bc
mov dword [edi + 0x14c], eax
setge al
cmp byte [ebp - 0x6f], 1
mov byte [edi + 0x150], al
sete al
cmp byte [ebp - 0x70], 1
push 0x3c
sete cl
mov byte [edi + 0x151], al
mov byte [edi + 0x152], cl
lea ecx, [edi + 0x154]
push 0
push ecx
call fcn.004a8ae0
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6675
mov esp, ebp
pop ebp
ret 4
push 0x522f48
call fcn.004a6e5e
add esp, 4
cmp dword [0x522f48], 0xffffffff
jne 0x40ad91
push 0x4e38f0
mov dword [0x51b08c], 0x64
mov byte [0x51b090], 0
call fcn.004a69e6
push 0x522f48
call fcn.004a6e0d
add esp, 8
jmp 0x40ad91
call fcn.004b86d5
int3