Function at 0x4d8478
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4d8481
xchg dword [ebp - 4], ecx
push ebx
push esi
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp + 0xc]
call fcn.00405ed0
mov eax, dword [ebp + 8]
call fcn.004070dc
xor eax, eax
push ebp
push 0x4d8bbe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00407068
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
call fcn.00407068
push eax
lea eax, [ebp - 0x14]
call fcn.00407068
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00407178
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00407178
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00407178
cmp byte [ebp - 1], 1
cmc
sbb eax, eax
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc4]
call fcn.00407178
lea eax, [ebp - 0x18]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00407178
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00407178
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x130]
call fcn.00407178
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00407178
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00407178
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xbc]
call fcn.00407178
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xa4]
call fcn.00407178
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00407178
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x4f61c8]
mov eax, dword [eax]
mov edx, 2
call fcn.0046a71c
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00407178
lea eax, [ebp - 0x28]
call fcn.004058c8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407178
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.00405c3c
jne 0x4d862b
lea eax, [ebp - 0x2c]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00407178
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00407178
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00407178
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00407178
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00407178
lea eax, [ebp - 0x30]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1b8]
call fcn.00407178
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x58]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x68]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x68]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xac]
call fcn.00407178
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00407178
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x80]
call fcn.00407178
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x88]
call fcn.00407178
lea eax, [ebp - 0xc]
call fcn.00407068
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb0]
call fcn.00407178
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00407178
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00407178
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x58]
call fcn.00407178
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00407178
lea eax, [ebp - 0x3c]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00407178
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x58]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x68]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x80]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.00407178
fld qword [ebp - 0x38]
fcomp dword [0x4d8bd0]
fnstsw ax
sahf
jae 0x4d8908
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x80]
call fcn.00407178
jmp 0x4d891b
push 2
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x80]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x88]
call fcn.00407178
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x98]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x98]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
call fcn.00407178
push dword [ebx + 0x14]
push dword [ebx + 0x10]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xa8]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x98]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xb0]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xa8]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
call fcn.00407178
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x88]
call fcn.00407178
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc8]
call fcn.00407178
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xd0]
call fcn.00407178
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xd8]
call fcn.00407178
push 0x64
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xe0]
call fcn.00407178
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xe8]
call fcn.00407178
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xf0]
call fcn.00407178
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xf8]
call fcn.00407178
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
call fcn.00407178
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00407178
cmp dword [ebp - 0x1c], 0x3e8
jl 0x4d8b53
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00407178
mov eax, dword [ebp - 0x1c]
mov ecx, 0x3e8
cdq
idiv ecx
push edx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00407178
jmp 0x4d8b63
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00407178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8bc5
lea eax, [ebp - 0x3c]
call fcn.004058c8
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.004058e0
lea eax, [ebp - 0x18]
call fcn.004058c8
lea eax, [ebp - 0x14]
call fcn.00407068
lea eax, [ebp - 0x10]
call fcn.00407068
lea eax, [ebp - 0xc]
call fcn.00407068
lea eax, [ebp - 8]
call fcn.00407068
lea eax, [ebp + 8]
call fcn.00407068
lea eax, [ebp + 0xc]
call fcn.004058c8
ret