Function at 0x476090
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2ac5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x507074]
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 0x4762de
cmp eax, 0x65
jne 0x4761b1
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.004043d0
mov ecx, eax
test ecx, ecx
je 0x4762f1
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.0040ba90
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
movsd xmm2, qword [edi + 0x20]
call fcn.0040ba90
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.00408700
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 0x47617c
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 0x47619a
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 0x4762d4
cmp eax, 0x69
jne 0x4761d5
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 0x4761f9
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 0x476238
mov eax, dword [ebp + 0xc]
inc dword [edi + 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e8380]
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 0x4762de
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 0x476275
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.004043d0
mov ecx, eax
test ecx, ecx
je 0x4762fb
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.00408700
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 0x4762de
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.00402570
push 0x80004005
call fcn.00402570
int3