Function at 0x46cd60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab5e5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x67
je 0x46cfae
cmp eax, 0x65
jne 0x46ce81
mov eax, dword [edi + 0x18]
imul eax, dword [edi + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x406
push dword [edi + 4]
call esi
push 0
push 0
push 0x402
push dword [edi + 4]
call esi
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x46cfc1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
lea ecx, [ebp + 0x10]
movsd xmm2, qword [edi + 0x38]
call fcn.0040a920
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
movsd xmm2, qword [edi + 0x20]
call fcn.0040a920
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [edi + 0x60]
push eax
call fcn.00407900
mov esi, dword [ebp + 8]
add esp, 0x14
push esi
push dword [edi + 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 0x46ce4c
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 0x46ce6a
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
jmp 0x46cfa4
cmp eax, 0x69
jne 0x46cea5
push dword [edi + 0x48]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x66
jne 0x46cec9
push dword [edi + 0x50]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 1
jne 0x46cf08
mov eax, dword [ebp + 0xc]
inc dword [edi + 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4c2910]
movsd qword [edi + 0x28], xmm0
xorps xmm0, xmm0
movsd qword [edi + 0x30], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 2
jne 0x46cfae
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x64
push 0
push 0x406
push dword [edi + 4]
call esi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 8
cmp eax, ecx
je 0x46cf45
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x1e
push 1
push 0x40a
push dword [edi + 4]
call esi
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x46cfcb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 8
lea eax, [ebp + 8]
push dword [ebp + 0x10]
push dword [edi + 0x5c]
push eax
call fcn.00407900
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46cfae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004022e0
push 0x80004005
call fcn.004022e0
int3