Function at 0x4111da
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dff92
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x51f714]
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 0x41122b
lea eax, [ebx + 4]
jmp 0x41122d
xor eax, eax
lea esi, [esp + 0x5c]
call fcn.004416df
mov dword [esp + 0xd8], edi
lea eax, [ebx + 0x454]
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.00412d7e
mov eax, ebx
call fcn.00411165
push ebx
call fcn.00410fae
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.0040971a
mov byte [esp + 0xd8], 2
lea eax, [esp + 0x6c]
lea esi, [ebx + 0x338]
mov ebx, dword [esp + 0x14]
push eax
mov eax, esi
call fcn.0041abac
lea eax, [esp + 0x44]
push eax
call fcn.0048ade7
mov byte [esp + 0xd8], 3
lea eax, [esp + 0x44]
push eax
push esi
xor ecx, ecx
call fcn.0041ac5f
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
jbe 0x411310
call fcn.004af418
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 0x41132b
call fcn.004af418
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
jmp 0x411369
lea esi, [esp + 0x14]
call fcn.004226de
mov eax, dword [eax]
mov edi, dword [esp + 0x24]
push 0
push eax
call fcn.00411a26
test eax, eax
je 0x41135c
push eax
mov ecx, edi
call fcn.00411995
lea edi, [esp + 0x34]
lea esi, [esp + 0x14]
call fcn.004083eb
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
call fcn.00422731
test al, al
jne 0x411339
mov byte [esp + 0xd8], 2
lea eax, [esp + 0x44]
push eax
call fcn.004130eb
mov byte [esp + 0xd8], 1
lea eax, [esp + 0x6c]
push eax
call fcn.00406658
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x14]
add edi, 0x3fc
push eax
mov eax, edi
call fcn.0041312a
lea eax, [esp + 0x1c]
push eax
mov eax, edi
call fcn.00413155
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4113ce
cmp eax, dword [esp + 0x1c]
je 0x4113d3
call fcn.004af418
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x411408
lea eax, [esp + 0x14]
call fcn.00413256
mov esi, dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
test al, al
jne 0x4113fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
lea esi, [esp + 0x14]
call fcn.00413cbe
jmp 0x4113c0
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x14]
call fcn.00415706
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x1c]
call fcn.00415706
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41142e
cmp eax, dword [esp + 0x1c]
je 0x411433
call fcn.004af418
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x411475
lea esi, [esp + 0x14]
call fcn.004226de
mov esi, dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
test al, al
jne 0x41146a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, 1
je 0x41146a
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xac]
lea esi, [esp + 0x14]
call fcn.00413ce9
jmp 0x411420
mov esi, dword [esp + 0x24]
push esi
call fcn.004110a4
mov ecx, esi
call fcn.0041176a
mov ebx, dword [esp + 0x30]
push edi
call fcn.00412b13
mov eax, esi
call fcn.00411518
mov ecx, dword [esi + 0x418]
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.0044170a
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.004ad67b
mov esp, ebp
pop ebp
ret