Function at 0x479a90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ccd9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
xor eax, eax
push ebx
push esi
push edi
mov byte [esp + 0xf], al
mov byte [esp + 0x17], 1
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x9c], eax
mov byte [esp + 0x40], al
mov eax, dword [ebp + 0x14]
lea esp, [esp]
mov cl, byte [eax]
cmp cl, 0x20
je 0x479afc
cmp cl, 9
jne 0x479aff
inc eax
jmp 0x479af0
cmp byte [eax], 0x2a
mov ebx, eax
mov esi, 5
jne 0x479baa
nop
movsx eax, byte [ebx + 1]
inc ebx
push eax
call fcn.004bbc73
add esp, 4
cmp eax, 0x42
je 0x479b53
cmp eax, 0x4f
je 0x479b2f
mov byte [esp + 0xf], 1
jmp 0x479b78
push 0x4e3de0
call fcn.0049be50
add esp, 4
push esi
push eax
push ebx
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x479b78
add ebx, esi
mov dword [esp + 0x2c], esi
jmp 0x479b78
push 0x4e3dcc
call fcn.0049be50
add esp, 4
push 0xb
push eax
push ebx
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x479b78
add ebx, 0xb
mov byte [esp + 0x40], 1
mov edi, ebx
test ebx, ebx
je 0x479ba8
mov dl, byte [ebx]
test dl, dl
je 0x479ba8
mov ecx, 0x4d9558
mov al, 0x20
jmp 0x479b90
cmp dl, al
je 0x479c2d
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x479b90
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x479b84
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 2]
mov esi, dword [0x4f0b10]
mov dl, 1
cmp dl, al
sbb ecx, ecx
and ecx, dword [0x4f0b14]
mov dl, 2
cmp dl, al
sbb edi, edi
and edi, dword [0x4f0b18]
mov dl, 3
cmp dl, al
sbb eax, eax
and eax, dword [0x4f0b1c]
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], ecx
jne 0x479bf4
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x2c], eax
mov al, byte [esi + 0x17]
test al, al
jne 0x479c01
mov eax, dword [esi + 0xc]
mov al, byte [eax + 0x17]
cmp al, 2
jne 0x479c87
mov ecx, dword [0x4ec48c]
test byte [ecx + 0xe0], 1
jne 0x479c4f
mov eax, dword [0x4f13d8]
push 0x18
push 0
push 1
call fcn.00401570
jmp 0x47a221
mov eax, edi
nop
mov cl, byte [eax]
cmp cl, 0x20
je 0x479c3c
cmp cl, 9
jne 0x479c3f
inc eax
jmp 0x479c30
cmp byte [eax], 0x2a
mov ebx, eax
je 0x479b10
jmp 0x479baa
push 0x4d6959
push 0
push 0xa
lea edx, [esp + 0x2c]
push edx
push 1
call fcn.004b9d8d
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0042d070
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [esp + 0x2c], 1
jne 0x479c97
test ecx, ecx
jne 0x479c97
mov byte [esp + 0xf], 1
push 0
push 1
mov ecx, esi
call fcn.004016d0
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x9c], 1
cmp byte [esp + 0xf], al
jne 0x47a0b2
mov eax, dword [esp + 0x2c]
cmp eax, 2
jne 0x479e99
mov byte [esp + 0x17], 0
test edi, edi
je 0x479fbb
test byte [edi + 0x15], al
je 0x479fbb
cmp byte [edi + 0x17], 0
jne 0x479cf2
mov edi, dword [edi + 0xc]
mov edi, dword [edi]
push 0x10
call fcn.004bbddb
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x9c], 2
test esi, esi
je 0x479d31
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 0x479d33
xor esi, esi
mov byte [esp + 0x9c], 1
test esi, esi
je 0x479d43
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x68]
lea edi, [esp + 0x48]
lea esi, [esp + 0x58]
mov dword [esp + 0x1c], eax
call fcn.004986d0
test eax, eax
je 0x479e88
push 0x14
call fcn.004bbddb
xor edi, edi
add esp, 4
cmp eax, edi
je 0x479d9f
mov ecx, dword [esp + 0x34]
inc dword [esp + 0x38]
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 0x479d8d
mov dword [ecx + 0x10], eax
mov dword [esp + 0x34], eax
cmp dword [esp + 0x30], edi
jne 0x479d9b
mov dword [esp + 0x30], eax
mov esi, eax
jmp 0x479da1
xor esi, esi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x479db5
mov edx, dword [esi]
push edx
push edi
push eax
call fcn.004c16a0
add esp, 0xc
mov eax, dword [esi + 4]
push 0x800
push eax
mov dword [esi], 0x400
call fcn.004bb6d7
add esp, 8
cmp eax, edi
jne 0x479de3
mov ecx, dword [esi + 4]
push ecx
call fcn.004ba14c
add esp, 4
mov dword [esi + 4], edi
mov dword [esi], edi
jmp 0x479dec
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov byte [eax], 0
mov eax, dword [esi + 4]
cmp eax, edi
je 0x479e00
mov edx, dword [esi]
push edx
push edi
push eax
call fcn.004c16a0
add esp, 0xc
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x479e11
mov eax, dword [esp + 0x48]
push 1
push edi
jmp 0x479e2f
cmp eax, 1
jne 0x479e88
mov edx, dword [esp + 0x48]
push eax
push edi
push 0xa
lea ecx, [esp + 0x84]
push ecx
push edx
call fcn.004b9d8d
add esp, 0xc
push eax
call fcn.00414160
mov eax, dword [esp + 0x60]
cmp eax, edi
jne 0x479e60
push 1
push edi
lea eax, [esp + 0x18]
push eax
mov word [esp + 0x1c], 0xa
call fcn.00414160
mov ecx, dword [esp + 0x58]
push 1
push edi
push ecx
call fcn.00414160
jmp 0x479e65
cmp eax, 1
jne 0x479e88
mov eax, dword [esp + 0x68]
lea edi, [esp + 0x48]
lea esi, [esp + 0x58]
call fcn.004986d0
test eax, eax
jne 0x479d60
cmp dword [esp + 0x38], eax
jne 0x479f9a
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 2
jmp 0x47a09f
cmp eax, 5
jne 0x479f76
cmp dword [ebp + 0x10], 0x1e
jb 0x47a0b2
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [esp + 0x1c], 0
cmp eax, 0x4034b50
je 0x479f0c
cmp eax, 0xfbfcb4af
je 0x479ef5
lea eax, [esp + 0x1c]
push eax
mov ecx, edx
call fcn.0048fd70
add esp, 4
test al, al
je 0x479ef5
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x479ef5
mov eax, dword [ecx]
cmp eax, 0x4034b50
je 0x479ef2
cmp eax, 0xfbfcb4af
jne 0x479ef5
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, 0x4034b50
je 0x479f0c
cmp eax, 0xfbfcb4af
jne 0x47a0b2
mov ebx, dword [ebp + 0x10]
mov edi, ebx
lea esi, [esp + 0x20]
call fcn.00413990
mov edx, dword [ebp + 0xc]
xor edi, edi
mov ecx, ebx
call fcn.00413ac0
mov ecx, dword [ebp + 0x18]
mov edx, esi
push edx
call fcn.00477f40
mov esi, dword [esp + 0x1c]
xor ecx, ecx
add esp, 4
test al, al
sete cl
mov edi, ecx
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.0041a480
xor ebx, ebx
cmp edi, ebx
jne 0x47a0b2
mov edx, dword [ebp + 0x10]
mov edi, dword [esp + 0x24]
push edx
mov eax, esi
call fcn.004a6340
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
jmp 0x47a0b2
cmp eax, 1
jne 0x479f9e
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push eax
push ebx
mov ebx, dword [ebp + 0x10]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
call fcn.004769f0
add esp, 0x10
jmp 0x479fd6
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push ebx
push edx
lea ecx, [esp + 0x40]
call fcn.00476c90
add esp, 0x10
jmp 0x479fd6
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x40]
push ecx
push ebx
push edx
push eax
call fcn.00476b30
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0x64
jne 0x47a01b
lea ecx, [esp + 0x20]
call fcn.004138f0
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x47a002
push 1
call fcn.00413850
xor eax, eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test eax, eax
jne 0x47a09f
cmp dword [esp + 0x2c], 1
jne 0x47a09f
mov ecx, esi
call fcn.0041a480
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x47a087
push eax
mov eax, edi
call fcn.004016b0
test eax, eax
jne 0x47a087
lea ecx, [esp + 0x20]
call fcn.004138f0
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x47a002
push 1
call fcn.00413850
xor eax, eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push edi
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.004a6340
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x1c], 0
je 0x47a0b2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esi + 0x17], 0
jne 0x47a0bd
mov eax, dword [esi + 0xc]
jmp 0x47a0bf
mov eax, esi
cmp byte [eax + 0x17], 2
jne 0x47a108
cmp dword [0x4f2354], 0
je 0x47a108
push 1
mov ecx, 0x4f2348
call fcn.004049f0
test eax, eax
jne 0x47a10c
mov esi, dword [esp + 0x24]
test esi, esi
je 0x479fe8
mov eax, dword [esp + 0x20]
push eax
push 0
push esi
call fcn.004c16a0
add esp, 0xc
push esi
call fcn.004ba14c
add esp, 4
jmp 0x479fe8
and byte [eax + 0x15], 0x86
cmp byte [esp + 0xf], 0
je 0x47a1b4
mov ecx, dword [0x4ec48c]
test byte [ecx + 0xe0], 1
jne 0x47a13d
mov eax, dword [0x4f13d8]
push 0x18
push 0
push 1
call fcn.00401570
mov edi, 1
jmp 0x47a160
push 0x4d6959
push 0
push 0xa
lea edx, [esp + 0x54]
push edx
push 1
call fcn.004b9d8d
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0042d070
mov edi, eax
mov esi, dword [esp + 0x24]
test esi, esi
je 0x47a181
mov eax, dword [esp + 0x20]
push eax
push 0
push esi
call fcn.004c16a0
add esp, 0xc
push esi
call fcn.004ba14c
add esp, 4
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x47a19b
push 1
call fcn.00413850
mov eax, edi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [esp + 0x10]
test edi, edi
je 0x47a1ee
cmp byte [esp + 0x17], 0
je 0x47a1d7
mov ecx, esi
call fcn.0041a480
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x47a1d7
call fcn.0041a480
mov ecx, dword [ebp + 8]
push edi
push ecx
call fcn.0042d1e0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.004138f0
jmp 0x47a181
mov eax, dword [0x4f13d8]
push 0x18
push 0
push 0
call fcn.00401570
lea ecx, [esp + 0x20]
call fcn.004138f0
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x47a221
push 1
call fcn.00413850
mov ecx, dword [esp + 0x94]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14