Function at 0x460dc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4955a8
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x67
je 0x460fca
cmp eax, 0x65
jne 0x460ef0
mov eax, dword [ebx + 0x18]
imul eax, dword [ebx + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x406
push dword [ebx + 4]
call esi
push 0
push 0
push 0x402
push dword [ebx + 4]
call esi
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x460fde
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
cvttsd2si edx, qword [ebx + 0x38]
push ecx
lea ecx, [ebp + 0x10]
call fcn.00406e70
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
cvttsd2si edx, qword [ebx + 0x20]
call fcn.00406e70
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebx + 0x54]
push eax
call fcn.00403590
mov esi, dword [ebp + 8]
add esp, 0x14
push esi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp + 0xc]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460eb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460ed0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x460fca
mov ecx, dword [esi]
push esi
jmp 0x460fc5
cmp eax, 0x66
jne 0x460f15
push dword [ebx + 0x44]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 1
jne 0x460f47
movd xmm0, dword [ebp + 0xc]
inc dword [ebx + 0x10]
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x28], xmm0
xorps xmm0, xmm0
movsd qword [ebx + 0x30], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 2
jne 0x460fca
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x64
push 0
push 0x406
push dword [ebx + 4]
call esi
push ecx
push 8
push 0
lea ecx, [ebx + 4]
call fcn.00418d20
push 0x1e
push 1
push 0x40a
push dword [ebx + 4]
call esi
lea ecx, [ebp + 8]
call fcn.004040a0
mov dword [ebp - 4], 7
lea eax, [ebp + 8]
push dword [ebp + 0x10]
push dword [ebx + 0x50]
push eax
call fcn.00403590
add esp, 0xc
push dword [ebp + 8]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460fca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004023a0
int3