Function at 0x4155c8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
mov eax, 0x4afdc0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.00499b88
mov word [ebp - 0x60], 8
mov word [ebp - 0x60], 0x20
lea edx, [esi + 0x45c]
lea eax, [ebp - 4]
call fcn.004a4af0
inc dword [ebp - 0x54]
mov edx, 0x4aeeea
mov word [ebp - 0x60], 0x14
mov word [ebp - 0x60], 0x2c
lea eax, [ebp - 0x14]
call fcn.004a4ab8
inc dword [ebp - 0x54]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x464]
mov eax, edi
call fcn.004a4e3c
mov ebx, eax
dec dword [ebp - 0x54]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x60], 0x14
test ebx, ebx
je 0x4156fb
mov word [ebp - 0x60], 0x38
xor ecx, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
inc dword [ebp - 0x54]
mov eax, edi
lea ecx, [ebx - 1]
mov edx, 1
call fcn.004a4ff8
lea edx, [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
inc dword [ebp - 0x54]
mov eax, 0x4aeeec
call fcn.004a5180
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.004a4c18
dec dword [ebp - 0x54]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x60], 0x44
xor ecx, ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
push eax
inc dword [ebp - 0x54]
mov dword [ebp - 0x74], edi
mov edx, dword [ebp - 0x74]
mov ecx, dword [edx]
test ecx, ecx
je 0x4156d3
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
mov ecx, dword [edx - 4]
jmp 0x4156d5
xor ecx, ecx
sub ecx, ebx
lea edx, [ebx + 1]
mov eax, edi
call fcn.004a4ff8
lea edx, [ebp - 0x20]
mov eax, edi
call fcn.004a4c04
dec dword [ebp - 0x54]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x60], 0x50
lea edx, [esi + 0x468]
lea eax, [ebp - 8]
call fcn.004a4af0
inc dword [ebp - 0x54]
xor ecx, ecx
mov word [ebp - 0x60], 0x14
mov word [ebp - 0x60], 0x5c
mov dword [ebp - 0x24], ecx
mov eax, dword [0x4b7534]
inc dword [ebp - 0x54]
lea edx, [ebp - 0x24]
mov eax, dword [eax]
call fcn.00446220
lea eax, [ebp - 0x24]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x54]
call fcn.004852e0
dec dword [ebp - 0x54]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x60], 0x14
mov word [ebp - 0x60], 0x68
mov edx, 0x4aeeee
lea eax, [ebp - 0x28]
call fcn.004a4ab8
inc dword [ebp - 0x54]
lea edx, [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.004a4e3c
cmp eax, 2
lea eax, [ebp - 0x28]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x54]
call fcn.004a4bd4
pop ecx
test cl, cl
je 0x4157d7
mov word [ebp - 0x60], 0x74
xor eax, eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x54]
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.004a4c2c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.004a4c04
dec dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x60], 0x80
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004852e0
mov word [ebp - 0x60], 0x14
mov eax, dword [ebp - 0x10]
call fcn.004851fc
test al, al
jne 0x41580a
mov eax, dword [ebp - 0x10]
call fcn.0048547c
mov ecx, dword [esi + 0x38]
mov dl, 1
mov eax, dword [0x4b2708]
call fcn.0041c490
mov ebx, eax
mov eax, dword [esi + 0x444]
mov edx, ebx
call fcn.004776a8
mov ecx, dword [esi + 0x444]
mov eax, dword [ecx + 8]
dec eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 4]
lea eax, [ebx + 0x444]
call fcn.004a4c04
lea edi, [esi + 0x464]
lea eax, [ebx + 0x448]
mov edx, edi
call fcn.004a4c04
lea edx, [ebp - 8]
lea eax, [ebx + 0x44c]
call fcn.004a4c04
mov dword [ebx + 0x450], 0x64
xor ecx, ecx
mov eax, ebx
mov dword [ebx + 0x454], ecx
mov dword [ebx + 0x458], 0x64
mov dword [ebx + 0x34], 5
mov dword [ebx + 0x468], 0x415a7c
mov dword [ebx + 0x46c], esi
mov dword [ebx + 0x470], 0x415aa8
mov dword [ebx + 0x474], esi
mov dword [ebx + 0x478], 0x415ad4
mov dword [ebx + 0x47c], esi
call fcn.0047fae0
mov word [ebp - 0x60], 0x8c
mov edx, 0x4aef15
lea eax, [ebp - 0x44]
call fcn.004a4ab8
inc dword [ebp - 0x54]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 0x48]
push edx
push 0
mov dword [ebp - 0x48], ecx
push eax
inc dword [ebp - 0x54]
lea eax, [ebp - 0x40]
mov edx, 0x4aeefe
call fcn.004a4ab8
inc dword [ebp - 0x54]
mov edx, dword [eax]
push edx
mov edx, 0x4aeef3
lea eax, [ebp - 0x3c]
call fcn.004a4ab8
inc dword [ebp - 0x54]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea eax, [ebp - 0x48]
push eax
mov edx, 0x4aeef0
lea eax, [ebp - 0x30]
call fcn.004a4ab8
inc dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, edi
inc dword [ebp - 0x54]
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x34]
call fcn.004a4c2c
lea eax, [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x38]
inc dword [ebp - 0x54]
lea edx, [esi + 0x468]
call fcn.004a4c2c
lea eax, [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x4c]
inc dword [ebp - 0x54]
pop edx
call fcn.004a4c2c
lea edx, [ebp - 0x4c]
lea eax, [esi + 0x448]
call fcn.004a4c04
dec dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4bd4
mov bl, 1
mov edx, 2
mov eax, ebx
push eax
lea eax, [ebp - 0x10]
dec dword [ebp - 0x54]
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x54]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4bd4
pop eax
mov edx, dword [ebp - 0x70]
mov dword fs:[0], edx
jmp 0x415a75
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret