Function at 0x40c660
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443410
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x455dc4]
push eax
push 0x455dcc
push 0x455e94
call fcn.0041fe50
mov edx, dword [ebp]
mov eax, dword [edx + 0x48]
push 0xfffffffffffffff0
mov ecx, ebp
call eax
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
call esi
mov edx, dword [ebp]
and eax, 0x7f30ff7f
or eax, 0xa0000
push eax
mov eax, dword [edx + 0x48]
push 0xfffffffffffffff0
mov ecx, ebp
call eax
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push eax
call edi
mov edx, dword [ebp]
mov eax, dword [edx + 0x48]
push 0xffffffffffffffec
mov ecx, ebp
call eax
push eax
call esi
and eax, 0xfffffe7e
or eax, 0x80000
cmp dword [0x456b38], 1
jne 0x40c6fe
or eax, 8
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x48]
push 0xffffffffffffffec
mov ecx, ebp
call eax
push eax
call edi
mov edx, dword [ebp]
mov eax, dword [edx + 0x48]
push 1
xor ebx, ebx
push ebx
push 0xff80ff
mov ecx, ebp
call eax
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [0x455dc4]
push 0x88
push ecx
lea esi, [ebp + 0x90]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esi + 0x78], eax
cmp eax, ebx
je 0x40c77e
xor ecx, ecx
lea edx, [esp + 0x14]
push edx
push 0x18
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x41e
mov dword [esp + 0x24], 0x2bc
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
call edx
mov edi, dword [0x455dc4]
push 0xa9
lea esi, [ebp + 0x220]
push 0xa9
mov eax, 0x87
call fcn.0041fca0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x3a0
mov dword [esp + 0x1c], 0x9b
mov dword [esp + 0x20], 0x3bd
mov dword [esp + 0x24], 0xb7
call edx
push 0x7f89
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
call ebx
mov dword [ebp + 0x238], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x300], 1
call edx
mov edi, dword [0x455dc4]
push 0xa8
lea esi, [ebp + 0x110]
push 0xa8
mov eax, 0x86
call fcn.0041fca0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x3be
mov dword [esp + 0x1c], 0x9b
mov dword [esp + 0x20], 0x3d5
mov dword [esp + 0x24], 0xb8
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x128], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x1f0], 1
call edx
mov edi, dword [0x455dc4]
push 0xb4
lea esi, [ebp + 0x770]
push 0xb4
mov eax, 0xb3
call fcn.0041fca0
mov eax, dword [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x4f
mov dword [esp + 0x18], 0x5e
mov dword [esp + 0x1c], 0xf4
mov dword [esp + 0x20], 0x8b
push ecx
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x788], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x850], 1
call edx
mov edi, dword [0x455dc4]
push 0xb0
lea esi, [ebp + 0x330]
push 0xb0
mov eax, 0xac
call fcn.0041fca0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0xaa
mov dword [esp + 0x1c], 0x9d
mov dword [esp + 0x20], 0x135
mov dword [esp + 0x24], 0xc6
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x348], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x410], 1
call edx
mov edi, dword [0x455dc4]
push 0xb1
lea esi, [ebp + 0x550]
push 0xb1
mov eax, 0xad
call fcn.0041fca0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x2ee
mov dword [esp + 0x1c], 0x9b
mov dword [esp + 0x20], 0x377
mov dword [esp + 0x24], 0xc6
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x568], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x630], 1
call edx
mov edi, dword [0x455dc4]
push 0xb2
lea esi, [ebp + 0x440]
push 0xb2
mov eax, 0xae
call fcn.0041fca0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x260
mov dword [esp + 0x1c], 0x9b
mov dword [esp + 0x20], 0x2ed
mov dword [esp + 0x24], 0xc6
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x458], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x520], 1
call edx
mov edi, dword [0x455dc4]
push 0xaf
lea esi, [ebp + 0x660]
push 0xaf
mov eax, 0xab
call fcn.0041fca0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x135
mov dword [esp + 0x1c], 0x9b
mov dword [esp + 0x20], 0x1bb
mov dword [esp + 0x24], 0xc6
call edx
push 0x7f89
xor edi, edi
push edi
call ebx
mov dword [ebp + 0x678], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
mov byte [ebp + 0x740], 1
call edx
xor eax, eax
mov word [esp + 0x40], ax
push 0xb
mov eax, str.about:blank
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
call fcn.00404d60
mov dword [esp + 0x80], edi
mov edx, dword [ebp]
mov eax, 0xffffff9c
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, 0xffffffce
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x48]
mov ecx, ebp
lea edi, [ebp + 0x880]
call eax
push eax
push edi
mov ecx, esi
lea edx, [esp + 0x1c]
call fcn.0041ee00
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x40cb3e
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00427b5c
add esp, 4
push ebp
lea edx, [ebp + 0x8dc]
push edx
call fcn.0040d850
lea esi, [esp + 0x58]
call fcn.004102d0
mov ecx, eax
mov edx, edi
mov dword [esp + 0x80], 1
call fcn.004024e0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x40cb87
mov eax, dword [esp + 0x5c]
push eax
call fcn.00427b5c
add esp, 4
xor ecx, ecx
push edi
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], cx
call fcn.004026e0
mov edx, dword [ebp]
mov eax, dword [edx + 0x48]
mov edi, dword [ebp + 0x928]
lea esi, [ebp + 0x928]
mov ecx, ebp
mov dword [esp + 0x2c], 0x174
mov dword [esp + 0x30], 0x1ab
mov dword [esp + 0x34], 0x2b4
mov dword [esp + 0x38], 0x1c5
call eax
mov edx, dword [edi + 0x24]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
push 0
push 0xffff
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push 0
push 1
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 1
push 0
push 0x1a
mov ecx, esi
call edx
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x940], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebp
call edx
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret