Function at 0x402ece
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442de1
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x455214]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x455214]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, ebx
mov dword [esp + 0x2c], ebx
call fcn.00402405
xor edi, edi
lea eax, [esp + 0x34]
lea esi, [ebx + 4]
push eax
push dword [esi]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x34]
add eax, 0x122
mov dword [esp + 0x3c], eax
push esi
lea eax, [esp + 0x38]
call fcn.0040263c
lea eax, [esp + 0x44]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x38]
add dword [ebx + 0x24], 5
sub eax, dword [esp + 0x50]
push 0xe
add eax, dword [esp + 0x44]
push 0x20
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
pop ecx
lea edx, [esp + 0xc4]
mov dword [ebx + 0x20], eax
call fcn.0043bf78
mov dword [esp + 0x140], edi
cmp dword [eax + 0x14], 8
jb 0x402fb8
mov eax, dword [eax]
lea ecx, [ebx + 0x30]
push ecx
push eax
push dword [esi]
mov ecx, ebx
call fcn.0040221f
or dword [esp + 0x140], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0xc4]
call fcn.00402032
add dword [ebx + 0x24], 5
and dword [esp + 0x14], edi
push 0xf
push 0x21
pop ecx
lea edx, [esp + 0x78]
call fcn.0043bf78
mov edi, dword [esp + 0x18]
mov dword [esp + 0x140], 2
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
cmp dword [esp + 0x88], 8
mov esi, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
jae 0x403031
lea eax, [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
cmp eax, 0xffffffff
jne 0x40304b
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x1c]
push ecx
push eax
push dword [esp + 0x18]
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebx + 0x24]
mov ecx, dword [esp + 0x20]
lea ecx, [eax + ecx + 2]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa8], eax
push ecx
mov eax, esp
mov dword [esp + 0xa4], 4
mov dword [esp + 0xb0], ecx
and dword [eax], 0
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], esp
jae 0x4030a7
lea eax, [esp + 0x78]
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0xac]
mov dword [esp + 0x1c], esp
mov dword [eax], ecx
push dword [edi]
lea eax, [esp + 0x24]
push eax
call fcn.004024b1
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [esp + 0x20]
call esi
mov eax, dword [ebx + 0x24]
mov edx, dword [esp + 0x4c]
lea ecx, [eax + 0x10]
push ecx
add eax, 0xfffffffe
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc0], ecx
mov ecx, esp
push 0x200
add eax, 4
push 0x500000a0
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x20]
push 0
push ecx
add edx, 0xfffffffc
mov dword [esp + 0xc8], eax
mov eax, dword [edi]
mov dword [esp + 0xcc], edx
and dword [ecx], 0
mov ecx, esp
lea edx, [esp + 0xc4]
push eax
mov dword [ecx], edx
lea ecx, [ebx + 0x68]
push 0x4482d8
push ecx
mov dword [esp + 0x34], ecx
call fcn.004025ec
mov eax, dword [ebx + 0x2c]
push 1
push eax
mov eax, dword [esp + 0x1c]
push 0x30
push dword [eax]
call esi
mov eax, dword [esp + 0x20]
add eax, 0xb
add dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
push 6
lea ecx, [eax + 0x17]
push 0x1b
mov dword [esp + 0x78], ecx
pop ecx
lea edx, [esp + 0xc4]
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x7e
call fcn.0043bf78
push ecx
mov ecx, esp
and dword [ecx], 0
cmp dword [eax + 0x14], 8
mov dword [esp + 0x14], esp
jb 0x4031a1
mov eax, dword [eax]
push 0x50000000
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0x74]
mov dword [esp + 0x20], esp
mov dword [eax], ecx
push dword [edi]
lea eax, [ebx + 0x5c]
push eax
call fcn.00403525
push 1
xor edi, edi
lea esi, [esp + 0xc4]
call fcn.00402032
push 0x4d
push 0xfffffffffffffff4
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 0x30]
push 1
push eax
push 0x30
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x6c]
mov eax, dword [ebx + 0x24]
add edx, 4
mov dword [esp + 0x54], edx
push 3
lea ecx, [eax + 0x17]
add edx, 0x4a
push 0x1e
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
pop ecx
lea edx, [esp + 0xc4]
mov dword [esp + 0x5c], eax
call fcn.0043bf78
push ecx
mov ecx, esp
and dword [ecx], edi
cmp dword [eax + 0x14], 8
mov dword [esp + 0x14], esp
jb 0x40322f
mov eax, dword [eax]
push 0x50000000
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], esp
push dword [ecx]
lea eax, [ebx + 0x60]
push eax
call fcn.00403525
push 1
xor edi, edi
lea esi, [esp + 0xc4]
call fcn.00402032
mov eax, dword [ebx + 0x30]
push 1
push eax
push 0x30
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xfffffffffffffff4
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esp + 0x5c]
mov eax, dword [ebx + 0x24]
add edx, 4
mov dword [esp + 0x90], edx
push 4
lea ecx, [eax + 0x17]
add edx, 0x4a
push 0x1f
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], edx
pop ecx
lea edx, [esp + 0xc4]
mov dword [esp + 0x98], eax
call fcn.0043bf78
push ecx
mov ecx, esp
and dword [ecx], edi
cmp dword [eax + 0x14], 8
mov dword [esp + 0x14], esp
jb 0x4032cd
mov eax, dword [eax]
push 0x50000000
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0xa0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], esp
push dword [ecx]
lea eax, [ebx + 0x64]
push eax
call fcn.00403525
push 1
xor edi, edi
lea esi, [esp + 0xc4]
call fcn.00402032
mov eax, dword [ebx + 0x30]
push 1
push eax
push 0x30
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xfffffffffffffff4
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_SetWindowLongW]
add dword [ebx + 0x24], 0x1c
mov ebx, dword [ebx + 0x24]
add ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
push esi
lea eax, [esp + 0x38]
mov dword [esp + 0x44], ebx
call fcn.0040263c
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov edx, eax
mov ecx, esi
call fcn.00402c3e
push 0x17
lea edx, [esp + 0x118]
mov ecx, 0x45ada8
call fcn.0040b490
lea ecx, [esp + 0xdc]
push 0x4482d4
push ecx
mov ebx, eax
mov byte [esp + 0x148], 3
call fcn.00403554
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x148], 4
mov ecx, dword [ecx + 0x6c]
add ecx, 0x8c
push ecx
lea ecx, [esp + 0x104]
push ecx
mov ecx, eax
call fcn.004035c2
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4033ad
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [esp + 0xfc]
call fcn.00402032
push ebx
lea esi, [esp + 0xe0]
call fcn.00402032
push ebx
lea esi, [esp + 0x118]
call fcn.00402032
mov eax, dword [esp + 0x14]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esp + 0x24], edi
je 0x403402
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
xor edi, edi
lea esi, [esp + 0x78]
call fcn.00402032
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0042066a
mov esp, ebp
pop ebp
ret