Function at 0x47aa10
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x73ee98
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov ebx, ecx
je 0x47aaf2
cmp dword [esp + 0x50], ebp
je 0x47aaf2
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp edi, 4
mov dword [ebx + 0x48c], edi
mov dword [ebx + 0x7d0], eax
mov dword [ebx + 0x7d4], ecx
jne 0x47aab0
mov eax, dword [esp + 0x58]
cmp eax, 0x67
je 0x47aa7c
cmp eax, 0x6d
je 0x47aa7c
cmp eax, 0x6e
jne 0x47aab0
mov esi, dword [0x93c8fc]
lea edx, [esp + 0x40]
lea eax, [esp + 0x44]
push edx
push eax
lea ecx, [esi + 0x14]
mov dword [esp + 0x48], 5
call fcn.0045e3a0
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x47aae4
lea esi, [eax + 0x10]
mov dword [esp + 0x48], esi
jmp 0x47aae0
mov esi, dword [0x93c8fc]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
push ecx
push edx
lea ecx, [esi + 0x14]
mov dword [esp + 0x48], edi
call fcn.0045e3a0
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x47aae4
add eax, 0x10
mov dword [esp + 0x48], eax
mov esi, eax
cmp esi, ebp
jne 0x47ab09
push edi
push 0x7a4c5c
call fcn.00455190
add esp, 8
xor al, al
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x1c
mov eax, dword [ebx]
push ebp
push esi
mov ecx, ebx
call dword [eax + 0x2c]
cmp dword [esi + 0xec], ebp
jne 0x47aed1
xor esi, esi
jmp 0x47ab24
xor ebp, ebp
mov cl, byte [esp + 0x4c]
mov dword [esp + 0x24], ebp
mov byte [esp + 0x20], cl
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0x4c]
xor edi, edi
or eax, 0xffffffff
mov dword [esp + 0x38], ebp
mov ecx, dword [edx + esi*4]
mov dword [esp + 0x40], eax
cmp ecx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], edi
jne 0x47abfd
cmp esi, edi
jne 0x47ab85
mov eax, dword [0x76560c]
mov ecx, dword [esp + 0x48]
push eax
add ecx, 0x34
push edi
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], edi
call fcn.00404560
jmp 0x47adbd
cmp esi, 1
jne 0x47abac
mov edx, dword [0x76560c]
mov eax, dword [esp + 0x48]
push edx
add eax, 0x44
push edi
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], esi
call fcn.00404560
jmp 0x47adbd
cmp esi, 3
jne 0x47abd3
mov ecx, dword [0x76560c]
mov edx, dword [esp + 0x48]
push ecx
add edx, 0x64
push edi
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], esi
call fcn.00404560
jmp 0x47adbd
cmp esi, 4
jne 0x47ae12
mov eax, dword [0x76560c]
mov ecx, dword [esp + 0x48]
push eax
add ecx, 0x74
push edi
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], esi
call fcn.00404560
jmp 0x47adbd
mov eax, 0x10624dd3
mov edi, dword [0x93c898]
mul ecx
shr edx, 6
lea ecx, [esp + 0x18]
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x14]
push eax
push ecx
shl edx, 3
lea ecx, [edi + 0x14]
mov dword [esp + 0x1c], edx
call fcn.0045e410
mov edi, dword [edi + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x47ae55
lea ebp, [eax + 0x10]
test ebp, ebp
je 0x47ae55
mov cl, byte [ebp + 4]
cmp cl, 0x18
jae 0x47aca0
mov edx, dword [esp + 0x4c]
mov edi, 0x3e8
and ecx, 0xff
mov eax, dword [edx + esi*4]
xor edx, edx
div edi
mov edi, dword [ecx*4 + 0x93c89c]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x60], edx
call fcn.0045e480
mov edi, dword [edi + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x47ac99
mov dword [esp + 0x58], 0
jmp 0x47aca0
add eax, 0x10
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x47ae55
mov edx, dword [ebx + 0x48c]
mov eax, dword [ebx + 0x494]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x30]
mov edx, dword [ecx + esi*4]
push 0
push eax
push edx
push ebp
call fcn.006a9350
add esp, 0x20
test esi, esi
jne 0x47ad37
xor eax, eax
mov dword [esp + 0x44], 4
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [ebx]
movzx cx, byte [esi + ecx]
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0x28]
push ebp
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x38]
xor edi, edi
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x47ad26
mov ecx, dword [esp + 0x50]
mov edx, dword [ebx]
mov ecx, dword [ecx + esi*4]
push ecx
push eax
mov ecx, ebx
call dword [edx + pe_nt_image_headers32]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
jmp 0x47ae63
mov eax, 1
cmp esi, eax
jne 0x47ad4e
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0xa
jmp 0x47acee
cmp esi, 2
jne 0x47ad64
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], eax
jmp 0x47adeb
cmp esi, 3
jne 0x47ad7c
mov eax, esi
mov dword [esp + 0x44], 0xc
mov dword [esp + 0x40], eax
jmp 0x47acee
cmp esi, 4
jne 0x47ad94
mov eax, esi
mov dword [esp + 0x44], 0xd
mov dword [esp + 0x40], eax
jmp 0x47acee
cmp esi, 5
je 0x47adbd
cmp esi, 6
jne 0x47adac
mov dword [esp + 0x10], 0
mov dword [esp + 0x44], esi
jmp 0x47adbd
cmp esi, 7
jne 0x47adbd
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], 8
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, edi
je 0x47acee
cmp eax, 1
je 0x47acee
cmp eax, 3
je 0x47acee
cmp eax, 4
je 0x47acee
cmp eax, 5
jne 0x47ae0e
mov ecx, dword [esp + 0x54]
mov eax, dword [ebx]
movzx dx, byte [esi + ecx]
mov ecx, dword [esp + 0x58]
push edx
push ecx
lea edx, [esp + 0x28]
push ebp
push edx
push 5
mov ecx, ebx
call dword [eax + 0x38]
jmp 0x47ad0b
mov eax, dword [esp + 0x10]
cmp esi, 5
je 0x47ad0d
cmp esi, 6
je 0x47ae29
cmp esi, 7
jne 0x47ad0d
cmp eax, 0xffffffff
je 0x47ad0d
mov ecx, dword [esp + 0x54]
mov edx, dword [ebx]
movzx cx, byte [esi + ecx]
push ecx
mov ecx, dword [esp + 0x5c]
push edi
push ecx
lea ecx, [esp + 0x2c]
push ebp
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x3c]
jmp 0x47ad0d
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
xor edi, edi
cmp ecx, edi
je 0x47ae83
mov al, byte [ecx - 1]
test al, al
je 0x47ae79
cmp al, 0xff
je 0x47ae79
dec al
mov byte [ecx - 1], al
jmp 0x47ae83
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
inc esi
mov dword [esp + 0x24], edi
cmp esi, 8
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
jl 0x47ab22
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x34]
mov eax, dword [ebx + 0x1d0]
test eax, eax
je 0x47aec1
mov ecx, dword [ebx + 0x1d4]
sub ecx, eax
sar ecx, 2
cmp ecx, 5
jbe 0x47aec1
mov edx, eax
mov eax, dword [edx + 0x14]
jmp 0x47aec3
xor eax, eax
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x47aed1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov al, 1
jmp 0x47aaf4