Function at 0x47cde0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7a34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
xor edi, edi
mov byte [esp + 0xf], 0
mov byte [esp + 0x17], 1
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xbc], edi
mov byte [esp + 0x40], 0
jmp 0x47ce40
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x47ce4d
cmp ecx, 9
jne 0x47ce52
add eax, 2
jmp 0x47ce40
cmp word [eax], 0x2a
mov ebx, eax
jne 0x47cf13
mov edi, edi
movzx eax, word [ebx + 2]
add ebx, 2
push eax
call fcn.004c6789
add esp, 4
cmp eax, 0x42
je 0x47ceab
cmp eax, 0x4f
je 0x47ce81
mov byte [esp + 0xf], 1
jmp 0x47ced0
push 5
push 0x5074c4
call fcn.0049fc00
add esp, 4
push eax
push ebx
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x47ced0
add ebx, 0xa
mov dword [esp + 0x28], 5
jmp 0x47ced0
push 0xb
push 0x50749c
call fcn.0049fc00
add esp, 4
push eax
push ebx
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x47ced0
add ebx, 0x16
mov byte [esp + 0x40], 1
mov esi, ebx
cmp ebx, edi
je 0x47cf11
movzx eax, word [ebx]
cmp ax, di
je 0x47cf11
mov edi, edi
movzx edx, ax
mov ecx, 0x4e6dc4
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x47cf99
movzx eax, word [ecx + 2]
add ecx, 2
cmp ax, di
jne 0x47cef0
movzx eax, word [esi + 2]
add esi, 2
cmp ax, di
jne 0x47cee0
xor ebx, ebx
mov edx, dword [ebp + 8]
mov al, byte [edx + 2]
mov ecx, dword [0x515e10]
mov dl, 1
cmp dl, al
sbb edi, edi
and edi, dword [0x515e14]
mov dl, 2
cmp dl, al
sbb esi, esi
and esi, dword [0x515e18]
mov dl, 3
cmp dl, al
mov edx, dword [esp + 0x28]
sbb eax, eax
and eax, dword [0x515e1c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edi
test edx, edx
jne 0x47cf60
neg eax
sbb eax, eax
add eax, 2
mov edx, eax
mov dword [esp + 0x28], edx
mov al, byte [ecx + 0x17]
test al, al
jne 0x47cf6d
mov eax, dword [ecx + 0xc]
mov al, byte [eax + 0x17]
cmp al, 2
jne 0x47cffb
mov ecx, dword [0x51161c]
test byte [ecx + 0x100], 1
jne 0x47cfc3
mov eax, dword [0x5166e0]
push 0x18
push 0
push 1
call fcn.00401590
jmp 0x47d58a
mov eax, esi
jmp 0x47cfa0
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x47cfad
cmp ecx, 9
jne 0x47cfb2
add eax, 2
jmp 0x47cfa0
cmp word [eax], 0x2a
mov ebx, eax
je 0x47ce60
jmp 0x47cf13
push 0x4e1a4c
push 0
push 0xa
lea edx, [esp + 0x74]
push edx
push 1
call fcn.004c4bd5
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0042ef30
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp edx, 1
jne 0x47d008
test edi, edi
jne 0x47d008
mov byte [esp + 0xf], dl
xor edi, edi
push edi
push 1
call fcn.004016f0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
cmp byte [esp + 0xf], 0
mov byte [esp + 0xbc], 1
jne 0x47d419
mov ecx, dword [esp + 0x28]
cmp ecx, 2
jne 0x47d209
mov byte [esp + 0x17], 0
cmp esi, edi
je 0x47d323
test byte [esi + 0x15], cl
je 0x47d323
cmp byte [esi + 0x17], 0
jne 0x47d061
mov esi, dword [esi + 0xc]
mov edi, dword [esi]
push 0x10
call fcn.004c62f8
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0xbc], 2
test esi, esi
je 0x47d0a0
mov dword [esi + 4], 1
mov dword [esi], vtable.Object::Enumerator.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
jmp 0x47d0a2
xor esi, esi
mov byte [esp + 0xbc], 1
test esi, esi
je 0x47d0b2
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x68]
lea edi, [esp + 0x48]
lea esi, [esp + 0x58]
mov dword [esp + 0x18], eax
call fcn.0049c1a0
test eax, eax
je 0x47d1fc
nop
push 0x14
call fcn.004c62f8
xor edi, edi
add esp, 4
cmp eax, edi
je 0x47d10f
mov ecx, dword [esp + 0x30]
inc dword [esp + 0x34]
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
cmp ecx, edi
je 0x47d0fd
mov dword [ecx + 0x10], eax
mov dword [esp + 0x30], eax
cmp dword [esp + 0x2c], edi
jne 0x47d10b
mov dword [esp + 0x2c], eax
mov esi, eax
jmp 0x47d111
xor esi, esi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x47d125
mov edx, dword [esi]
push edx
push edi
push eax
call fcn.004ce290
add esp, 0xc
mov eax, dword [esi + 4]
push 0x1000
push eax
mov dword [esi], 0x800
call fcn.004c61a7
add esp, 8
cmp eax, edi
jne 0x47d153
mov ecx, dword [esi + 4]
push ecx
call fcn.004c57e5
add esp, 4
mov dword [esi + 4], edi
mov dword [esi], edi
jmp 0x47d15e
xor edx, edx
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov word [eax], dx
mov eax, dword [esi + 4]
cmp eax, edi
je 0x47d172
mov ecx, dword [esi]
push ecx
push edi
push eax
call fcn.004ce290
add esp, 0xc
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x47d184
mov edx, dword [esp + 0x48]
push 1
push edi
push edx
jmp 0x47d1a3
cmp eax, 1
jne 0x47d1fc
mov ecx, dword [esp + 0x48]
push eax
push edi
push 0xa
lea eax, [esp + 0x90]
push eax
push ecx
call fcn.004c4bd5
add esp, 0xc
push eax
call fcn.00415800
mov eax, dword [esp + 0x60]
cmp eax, edi
jne 0x47d1d4
push 1
push edi
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0xa
call fcn.00415800
mov edx, dword [esp + 0x58]
push 1
push edi
push edx
call fcn.00415800
jmp 0x47d1d9
cmp eax, 1
jne 0x47d1fc
mov eax, dword [esp + 0x68]
lea edi, [esp + 0x48]
lea esi, [esp + 0x58]
call fcn.0049c1a0
test eax, eax
jne 0x47d0d0
cmp dword [esp + 0x34], eax
jne 0x47d307
mov dword [esp + 0x10], 2
jmp 0x47d406
cmp ecx, 5
jne 0x47d2e2
cmp dword [ebp + 0x10], 0x1e
jb 0x47d419
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x18], edi
cmp eax, 0x4034b50
je 0x47d277
cmp eax, 0xfbfcb4af
je 0x47d263
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00493620
add esp, 4
test al, al
je 0x47d263
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x47d263
mov eax, dword [ecx]
cmp eax, 0x4034b50
je 0x47d25e
cmp eax, 0xfbfcb4af
jne 0x47d263
mov esi, ecx
mov dword [ebp + 0xc], esi
mov eax, dword [esi]
cmp eax, 0x4034b50
je 0x47d277
cmp eax, 0xfbfcb4af
jne 0x47d419
mov ebx, dword [ebp + 0x10]
mov edi, ebx
lea esi, [esp + 0x1c]
call fcn.00415010
mov edx, dword [ebp + 0xc]
xor edi, edi
mov ecx, ebx
call fcn.00415140
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, esi
push edx
call fcn.0047b160
mov esi, dword [esp + 0x40]
xor ecx, ecx
add esp, 8
test al, al
sete cl
mov edi, ecx
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.0041bc60
xor ebx, ebx
cmp edi, ebx
jne 0x47d419
mov edx, dword [ebp + 0x10]
mov edi, dword [esp + 0x20]
push edx
mov eax, esi
call fcn.0046df40
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
jmp 0x47d419
cmp ecx, 1
jne 0x47d30d
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
push ebx
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
call fcn.00479940
add esp, 0x14
jmp 0x47d339
mov eax, dword [esp + 0x3c]
xor edi, edi
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 0x18]
push ecx
push edx
push ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.00479c90
jmp 0x47d336
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ebx
push eax
call fcn.00479b30
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 0x64
jne 0x47d37e
lea ecx, [esp + 0x1c]
call fcn.00414f70
mov dword [esp + 0xbc], 0xffffffff
mov ecx, dword [esp + 0x2c]
cmp ecx, edi
je 0x47d365
push 1
call fcn.00414ef0
xor eax, eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, edi
jne 0x47d406
cmp dword [esp + 0x28], 1
jne 0x47d406
mov ecx, dword [esp + 0x38]
call fcn.0041bc60
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
test eax, eax
je 0x47d3ea
push eax
mov eax, esi
call fcn.004016d0
test eax, eax
jne 0x47d3ea
lea ecx, [esp + 0x1c]
call fcn.00414f70
mov dword [esp + 0xbc], 0xffffffff
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x47d365
push 1
call fcn.00414ef0
xor eax, eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
push esi
call fcn.0046df40
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x18], 0
je 0x47d419
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x38]
cmp byte [edi + 0x17], 0
jne 0x47d428
mov eax, dword [edi + 0xc]
jmp 0x47d42a
mov eax, edi
cmp byte [eax + 0x17], 2
jne 0x47d471
cmp dword [0x5179f4], 0
je 0x47d471
mov ecx, 0x5179e8
call fcn.00404c10
test eax, eax
jne 0x47d475
mov esi, dword [esp + 0x20]
test esi, esi
je 0x47d3b7
mov eax, dword [esp + 0x1c]
push eax
push 0
push esi
call fcn.004ce290
add esp, 0xc
push esi
call fcn.004c57e5
add esp, 4
jmp 0x47d3b7
and byte [eax + 0x15], 0x86
cmp byte [esp + 0xf], 0
je 0x47d51d
mov ecx, dword [0x51161c]
test byte [ecx + 0x100], 1
jne 0x47d4a6
mov eax, dword [0x5166e0]
push 0x18
push 0
push 1
call fcn.00401590
mov esi, 1
jmp 0x47d4c9
push 0x4e1a4c
push 0
push 0xa
lea edx, [esp + 0x74]
push edx
push 1
call fcn.004c4bd5
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0042ef30
mov esi, eax
mov edi, dword [esp + 0x20]
test edi, edi
je 0x47d4ea
mov eax, dword [esp + 0x1c]
push eax
push 0
push edi
call fcn.004ce290
add esp, 0xc
push edi
call fcn.004c57e5
add esp, 4
mov dword [esp + 0xbc], 0xffffffff
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x47d504
push 1
call fcn.00414ef0
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [esp + 0x10]
test esi, esi
je 0x47d557
cmp byte [esp + 0x17], 0
je 0x47d540
mov ecx, edi
call fcn.0041bc60
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x47d540
call fcn.0041bc60
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.0042f0a0
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00414f70
jmp 0x47d4ea
mov eax, dword [0x5166e0]
push 0x18
push 0
push 0
call fcn.00401590
lea ecx, [esp + 0x1c]
call fcn.00414f70
mov dword [esp + 0xbc], 0xffffffff
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x47d58a
push 1
call fcn.00414ef0
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14