Function at 0x411939
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d92ac
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x516344]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x516344]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x24], ebx
cmp ebx, edi
je 0x41198a
lea eax, [ebx + 4]
jmp 0x41198c
xor eax, eax
lea esi, [esp + 0x5c]
call fcn.00440240
mov dword [esp + 0xd8], edi
lea eax, [ebx + 0x450]
mov dword [esp + 0x28], eax
inc dword [eax]
mov byte [esp + 0x2c], 0
mov byte [esp + 0xd8], 1
lea eax, [ebx + 0x64]
mov dword [esp + 0x30], eax
call fcn.0041336f
mov eax, ebx
call fcn.004118c4
push ebx
call fcn.0041170d
lea eax, [ebx + 0x278]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x34]
mov dword [esp + 0x40], ecx
lea ecx, [ebx + 0x120]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [eax + 0x14]
neg al
sbb al, al
inc al
movzx eax, al
push eax
sub esp, 0x10
mov edi, esp
push dword [ebx + 0x270]
lea esi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x84]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0040a495
mov byte [esp + 0xd8], 2
lea eax, [esp + 0x6c]
lea esi, [ebx + 0x334]
mov ebx, dword [esp + 0x14]
push eax
mov eax, esi
call fcn.0041b130
lea eax, [esp + 0x44]
push eax
call fcn.00408d3d
mov byte [esp + 0xd8], 3
lea eax, [esp + 0x44]
push eax
push esi
xor ecx, ecx
call fcn.0041b1e3
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
jbe 0x411a6f
call fcn.004aad28
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x50], esi
jbe 0x411a8a
call fcn.004aad28
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
jmp 0x411ac8
lea esi, [esp + 0x14]
call fcn.00487936
mov eax, dword [eax]
mov edi, dword [esp + 0x24]
push 0
push eax
call fcn.00412185
test eax, eax
je 0x411abb
push eax
mov ecx, edi
call fcn.004120f4
lea edi, [esp + 0x34]
lea esi, [esp + 0x14]
call fcn.00408f1b
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
call fcn.00408f50
test al, al
jne 0x411a98
mov byte [esp + 0xd8], 2
lea eax, [esp + 0x44]
push eax
call fcn.0048e4ad
mov byte [esp + 0xd8], 1
lea eax, [esp + 0x6c]
push eax
call fcn.00407321
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x14]
add edi, 0x3f8
push eax
mov eax, edi
call fcn.004136dc
lea eax, [esp + 0x1c]
push eax
mov eax, edi
call fcn.00413707
mov eax, dword [esp + 0x14]
test eax, eax
je 0x411b2d
cmp eax, dword [esp + 0x1c]
je 0x411b32
call fcn.004aad28
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x411b67
lea eax, [esp + 0x14]
call fcn.004137ef
mov esi, dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
test al, al
jne 0x411b5c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
lea esi, [esp + 0x14]
call fcn.0041429f
jmp 0x411b1f
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x14]
call fcn.00415c85
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x1c]
call fcn.00415c85
mov eax, dword [esp + 0x14]
test eax, eax
je 0x411b8d
cmp eax, dword [esp + 0x1c]
je 0x411b92
call fcn.004aad28
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x411bd4
lea esi, [esp + 0x14]
call fcn.00487936
mov esi, dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
test al, al
jne 0x411bc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, 1
je 0x411bc9
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xac]
lea esi, [esp + 0x14]
call fcn.004142ca
jmp 0x411b7f
mov esi, dword [esp + 0x24]
push esi
call fcn.00411803
mov ecx, esi
call fcn.00411ec9
mov ebx, dword [esp + 0x30]
push edi
call fcn.00413104
mov eax, esi
call fcn.00411c77
mov ecx, dword [esi + 0x414]
mov edx, dword [ecx]
test al, al
sete al
movzx eax, al
push eax
call dword [edx + 0x84]
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x28]
dec dword [eax]
mov byte [esp + 0x2c], 1
or dword [esp + 0xd8], 0xffffffff
lea eax, [esp + 0x5c]
call fcn.0044026b
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004a8f8b
mov esp, ebp
pop ebp
ret