Function at 0x471900
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1ca5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e2054]
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 0x471b4e
cmp eax, 0x65
jne 0x471a21
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.00404580
mov ecx, eax
test ecx, ecx
je 0x471b61
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.0040b450
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
movsd xmm2, qword [edi + 0x20]
call fcn.0040b450
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.004080d0
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 0x4719ec
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 0x471a0a
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 0x471b44
cmp eax, 0x69
jne 0x471a45
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 0x471a69
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 0x471aa8
mov eax, dword [ebp + 0xc]
inc dword [edi + 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4c8a40]
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 0x471b4e
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 0x471ae5
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.00404580
mov ecx, eax
test ecx, ecx
je 0x471b6b
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.004080d0
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 0x471b4e
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.004027c0
push 0x80004005
call fcn.004027c0
int3