Function at 0x41a210
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x461546
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x48268c]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x48268c]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
call fcn.0041db3d
mov ecx, dword [eax + 4]
call fcn.004080b0
test eax, eax
je 0x41a548
call fcn.0041db3d
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x93c]
call fcn.0041fa16
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a293
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x280], 0
call fcn.0041fa16
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a2c8
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x38], ebx
push 0x100
lea ecx, [esp + 0x140]
push 0
push ecx
mov byte [esp + 0x28c], 1
call fcn.004489f0
push 0x100
lea edx, [esp + 0x4c]
push 0
push edx
call fcn.004489f0
add esp, 0x18
call fcn.0041db3d
mov eax, dword [eax + 4]
push 0x100
lea ecx, [esp + 0x140]
push ecx
push 0x327
lea ecx, [eax + 0x9f4]
call fcn.004018b0
call fcn.0041db3d
mov eax, dword [eax + 4]
push 0x100
lea edx, [esp + 0x40]
push edx
push 0x3e7
lea ecx, [eax + 0x9f4]
call fcn.004018b0
mov eax, dword [edi + 0x210]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
je 0x41a4f0
xor edi, edi
cmp dword [esi + 0x10], edi
jle 0x41a4f0
mov ecx, dword [esp + 0x30]
add ecx, 0x1f0
mov dword [esp + 0x30], ecx
xor ebx, ebx
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push 0
lea eax, [ebx + edx + 5]
push eax
push edi
push 3
call fcn.0042b900
mov eax, dword [esi + 0x14]
lea ecx, [ebx + eax]
cmp byte [ecx + 0x231], 0
lea eax, [ecx + 0x231]
je 0x41a3bf
push eax
jmp 0x41a443
cmp byte [ecx + 0x105], 1
jne 0x41a43e
cmp byte [ecx + 0x110], 1
jne 0x41a43e
cmp byte [ecx + 0x448], 1
jne 0x41a43e
fldz
fcom qword [ecx + 0x108]
fnstsw ax
test ah, 0x41
jp 0x41a43c
fcomp qword [ecx + 0x118]
fnstsw ax
test ah, 0x41
jp 0x41a43e
cmp byte [ecx + 0x450], 0
je 0x41a43e
mov ecx, dword [esi + 0x14]
fld qword [ebx + ecx + 0x118]
lea eax, [ebx + ecx]
lea edx, [eax + 0x450]
push edx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [eax + 0x108]
lea eax, [esp + 0x4c]
fstp qword [esp]
push str._.02f_x__.02f__s
push eax
call fcn.004093c0
mov ecx, dword [esp + 0x54]
add esp, 0x1c
push ecx
jmp 0x41a443
fstp st(0)
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [esp + 0x34]
push 1
push edi
call fcn.0042b732
mov eax, dword [esi + 0x14]
lea ecx, [ebx + eax + 0x339]
push ecx
mov ecx, dword [esp + 0x34]
push 2
push edi
call fcn.0042b732
mov edx, dword [esi + 0x14]
lea eax, [ebx + edx]
cmp byte [eax + 0x558], 0
lea ecx, [eax + 0x558]
je 0x41a47e
push ecx
jmp 0x41a4ce
cmp byte [eax + 0x440], 1
jne 0x41a4da
cmp byte [eax + 0x439], 1
jne 0x41a4da
cmp dword [eax + 0x43c], 0
je 0x41a4da
mov eax, edx
lea ecx, [ebx + eax]
mov eax, dword [ecx + 0x444]
imul eax, eax, 0x64
cdq
idiv dword [ecx + 0x43c]
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x38]
push eax
push str._d__s
push edx
call fcn.004093c0
mov eax, dword [esp + 0x44]
add esp, 0x10
push eax
mov ecx, dword [esp + 0x34]
push 3
push edi
call fcn.0042b732
add edi, 1
add ebx, 0x658
cmp edi, dword [esi + 0x10]
jl 0x41a388
mov ebx, dword [esp + 0x38]
call fcn.0041db3d
mov ecx, dword [eax + 4]
call fcn.004080d0
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x280], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a521
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x280], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a548
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004489d9
mov esp, ebp
pop ebp
ret