Function at 0x407080
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x142c
call fcn.00422970
mov eax, dword [0x475730]
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], eax
lea ecx, [ebx + 0x10]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x20]
call fcn.0043bdc7
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
push edx
lea ecx, [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebx + 0x24]
call fcn.0044dea9
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebx + 0x24]
call fcn.0044dec4
cmp dword [ebp - 0x2c], 0x191
jne 0x40712b
mov ecx, dword [ebx + 0x24]
push esi
push 6
push 0x2eee
push esi
call fcn.0044dda7
cmp eax, 0x2f00
je 0x407119
push 2
call fcn.004080a0
add esp, 4
mov ecx, dword [ebx + 0x24]
push esi
push esi
push esi
push esi
call fcn.0044de76
lea eax, [ebp - 0x2c]
push eax
jmp 0x4070e6
mov ecx, dword [ebx + 0x20]
push esi
push 0x64
push esi
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [ebx + 0x20]
push esi
push 0xa
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xc8
je 0x407156
push eax
call fcn.004080a0
add esp, 4
mov ecx, dword [0x475730]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 0x24]
lea edx, [ebp - 0x28]
push esi
push edx
push 5
mov byte [ebp - 4], 2
call fcn.0044df03
cmp eax, esi
je 0x407185
mov eax, dword [ebp - 0x28]
push eax
call fcn.00422792
add esp, 4
mov dword [ebx + 0x30], eax
mov ecx, dword [ebx + 0x20]
cmp ecx, esi
je 0x4071a3
mov eax, dword [ebx + 0x24]
mov edx, dword [ecx]
push eax
call dword [edx + 0x18]
cmp eax, esi
jne 0x4071a3
push 5
call fcn.004080a0
add esp, 4
cmp dword [ebx + 0x30], esi
jle 0x40723d
mov eax, dword [ebx + 0x2c]
cmp eax, esi
je 0x4071bf
push eax
call fcn.0043b719
add esp, 4
mov dword [ebx + 0x2c], esi
mov ecx, dword [ebx + 0x30]
inc ecx
push ecx
call fcn.0043b6f0
add esp, 4
cmp eax, esi
mov dword [ebx + 0x2c], eax
jne 0x4071dd
push 4
call fcn.004080a0
add esp, 4
mov ecx, dword [ebx + 0x30]
mov edi, dword [ebx + 0x2c]
inc ecx
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x30]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
sub eax, esi
cmp eax, 0x1000
jle 0x407216
mov eax, 0x1000
mov ecx, dword [ebx + 0x24]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x34]
test eax, eax
jle 0x40734f
mov ecx, dword [ebx + 0x20]
add esi, eax
push edi
push esi
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov edi, dword [ebx + 0x2c]
add edi, esi
jmp 0x407205
mov ecx, dword [0x475730]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x143c]
push 0x1000
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
cmp eax, esi
mov dword [ebp - 0x30], eax
jle 0x4072e3
add eax, edi
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 0x34], eax
call fcn.0043bddf
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
lea esi, [ebp - 0x143c]
lea edi, [eax + edx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x34]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call fcn.0043be2e
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x20]
mov esi, dword [ebp - 0x14]
cmp eax, 0x1000
mov edx, dword [ecx]
push 0
jne 0x4072c1
lea eax, [esi + 0x5000]
push eax
jmp 0x4072c2
push esi
push 0
call dword [edx + 0x14]
mov ecx, dword [ebx + 0x20]
lea edx, [ebp - 0x143c]
push edx
push esi
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov edi, dword [ebp - 0x14]
xor esi, esi
jmp 0x40724f
mov eax, dword [ebx + 0x2c]
cmp eax, esi
je 0x4072f6
push eax
call fcn.0043b719
add esp, 4
mov dword [ebx + 0x2c], esi
push edi
call fcn.0043b6f0
add esp, 4
lea ecx, [ebp - 0x18]
mov dword [ebx + 0x2c], eax
push esi
call fcn.0043bddf
mov edx, dword [ebp - 0x14]
mov edi, dword [ebx + 0x2c]
mov ecx, edx
mov esi, eax
mov eax, ecx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x30], edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebp - 0x14]
push 0
push eax
mov edx, dword [ecx]
push 1
call dword [edx + 0x14]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0043b9af
mov ecx, ebx
call fcn.00406ce0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0043b9af
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.0043b9af
jmp 0x4073c3
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x20]
push edx
mov edx, dword [ebx + 0x30]
mov eax, dword [ecx]
push edx
push 2
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret