Function at 0x40f3c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x452050
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
lea ebp, [ebx + 4]
push 0xfffffffffffffff0
push eax
call edi
mov ecx, dword [ebp]
push 0xffffffffffffffec
push ecx
mov esi, eax
call edi
mov edi, eax
lea eax, [ebx + 0x80]
call fcn.00410a40
mov edx, dword [ebp]
or esi, 0xa0000
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push edx
call esi
mov eax, dword [ebp]
push edi
push 0xffffffffffffffec
push eax
call esi
lea eax, [esp + 0x14]
call fcn.00411df0
mov dword [esp + 0x28], 0
mov ecx, dword [eax]
call fcn.00411e40
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x40f47e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40f47e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0043406a
add esp, 4
mov ecx, str.IDS_TITLE
lea edi, [esp + 0x14]
call fcn.00403080
mov dword [esp + 0x28], 1
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebp
call fcn.00411c40
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x468b28]
push 0
push 0xc
call esi
push eax
push 0xb
call esi
push eax
push 1
push 0x80
push edi
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
call edi
mov ecx, dword [ebp]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x468b28]
push 0
push 0x32
mov dword [esp + 0x20], edx
call esi
push eax
push 0x31
call esi
push eax
mov eax, dword [esp + 0x24]
push 1
push 0x80
push eax
call edi
mov ecx, dword [ebp]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x46b50c]
add esi, 0x10
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x46a514]
lea ecx, [esp + 0x18]
call fcn.00411bf0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add ebx, 0x20
mov dword [esp + 0x18], ebx
lea esi, [edi + 4]
lea ebx, [esp + 0x18]
call fcn.00411b80
mov edx, dword [esp + 0x30]
add edx, 0x60
lea esi, [edi + 0x10]
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00411b80
mov eax, dword [ebp]
mov edi, dword [esp + 0x30]
test eax, eax
je 0x40f59a
mov dword [esp + 0x18], eax
mov eax, 4
lea esi, [edi + 0x68]
lea ebx, [esp + 0x18]
mov word [esp + 0x1c], ax
call fcn.00411b00
push edi
call fcn.0040fb30
call fcn.0040f7d0
mov esi, dword [esp + 0x30]
push esi
call fcn.004108a0
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx + 0x1c]
lea edi, [esi + 0x64]
push 2
push edi
call edx
push esi
call fcn.004105c0
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
push 0
push edi
call ecx
call fcn.00426470
mov dword [esi + 0x6b4], eax
test eax, eax
je 0x40f611
push 0x45787c
lea ebx, [esi + 0x6b8]
push 0xf6
mov eax, ebx
call fcn.00421d40
mov ecx, dword [esi + 0x6b4]
mov edx, dword [ecx]
push 1
mov eax, ebx
call fcn.00421970
push eax
mov eax, dword [ebp]
push 0
push eax
push ecx
mov ecx, dword [edx + 4]
call ecx
call fcn.00410930
test eax, eax
jne 0x40f62e
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
push 3
push edi
mov dword [esi + 0x128], 0x5001
call eax
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
mov dword [esi + 0x6ac], 1
cmp ecx, 0x4674bc
je 0x40f65e
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40f65e
push esi
call fcn.0043406a
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8