Function at 0x40cd90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4531a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x456dc4]
push eax
push 0x456dcc
push 0x456e94
call fcn.004202d0
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 [0x457b54], 1
jne 0x40ce2e
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 [0x456dc4]
push 0x88
push ecx
lea esi, [ebp + 0x90]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esi + 0x78], eax
cmp eax, ebx
je 0x40ceae
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], 0x400
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 [0x456dc4]
push 0xa9
lea esi, [ebp + 0x220]
push 0xa9
mov eax, 0x87
call fcn.004200d0
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], 0x76
mov dword [esp + 0x20], 0x3d8
mov dword [esp + 0x24], 0x90
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 [0x456dc4]
push 0xa8
lea esi, [ebp + 0x110]
push 0xa8
mov eax, 0x86
call fcn.004200d0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x3d7
mov dword [esp + 0x1c], 0x6b
mov dword [esp + 0x20], 0x3f2
mov dword [esp + 0x24], 0x86
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 [0x456dc4]
push 0xb4
lea esi, [ebp + 0x770]
push 0xb4
mov eax, 0xb3
call fcn.004200d0
mov eax, dword [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x176
mov dword [esp + 0x18], 0x8a
mov dword [esp + 0x1c], 0x1fc
mov dword [esp + 0x20], 0xba
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 [0x456dc4]
push 0xb0
lea esi, [ebp + 0x330]
push 0xb0
mov eax, 0xac
call fcn.004200d0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x267
mov dword [esp + 0x1c], 0x8a
mov dword [esp + 0x20], 0x2d1
mov dword [esp + 0x24], 0xba
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 [0x456dc4]
push 0xb1
lea esi, [ebp + 0x550]
push 0xb1
mov eax, 0xad
call fcn.004200d0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x1fc
mov dword [esp + 0x1c], 0x8a
mov dword [esp + 0x20], 0x267
mov dword [esp + 0x24], 0xba
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 [0x456dc4]
push 0xb2
lea esi, [ebp + 0x440]
push 0xb2
mov eax, 0xae
call fcn.004200d0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x2d1
mov dword [esp + 0x1c], 0x8a
mov dword [esp + 0x20], 0x341
mov dword [esp + 0x24], 0xba
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 [0x456dc4]
push 0xaf
lea esi, [ebp + 0x660]
push 0xaf
mov eax, 0xab
call fcn.004200d0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x341
mov dword [esp + 0x1c], 0x8a
mov dword [esp + 0x20], 0x3bc
mov dword [esp + 0x24], 0xba
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.00405160
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.0041f230
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x40d26e
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042867c
add esp, 4
push ebp
lea edx, [ebp + 0x8dc]
push edx
call fcn.0040e020
lea esi, [esp + 0x58]
call fcn.00410ac0
mov ecx, eax
mov edx, edi
mov dword [esp + 0x80], 1
call fcn.00402400
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x40d2b7
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042867c
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.00402600
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], 0x1fd
mov dword [esp + 0x30], 0x173
mov dword [esp + 0x34], 0x33d
mov dword [esp + 0x38], 0x18d
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