Function at 0x47b800
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7b9040
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00475c50
test al, al
mov eax, dword [esp + 0x40]
mov byte [esi + 0x49e], 1
mov dword [esi + 0x4a0], eax
jne 0x47c00e
mov ecx, dword [0x9eba88]
xor ebx, ebx
xor ebp, ebp
mov edx, dword [ecx + 0x1fc]
mov edi, dword [edx + 0x2c]
test edi, edi
je 0x47b882
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [edi + 0x14]
call fcn.00482ef0
mov edi, dword [edi + 0x18]
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jne 0x47b878
xor ebp, ebp
jmp 0x47b882
add ebp, 0x10
test ebp, ebp
je 0x47b882
mov ebx, dword [ebp + 0x28]
mov edi, dword [0x9ea14c]
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [edi + 0x14]
mov dword [esp + 0x20], ebx
call fcn.00464a90
mov edi, dword [edi + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x47c00e
lea edi, [eax + 0x10]
test edi, edi
je 0x47c00e
mov edx, dword [esi]
push 1
push edi
mov ecx, esi
call dword [edx + 0x30]
test al, al
je 0x47b8ec
mov eax, dword [esp + 0x40]
mov byte [esi + 0x4fc], 1
mov dword [esi + 0x500], ebx
mov dword [esi + 0x508], eax
cmp dword [ebp + 0x70], 3
jne 0x47b90e
mov byte [esi + 0x504], 1
jmp 0x47b90e
mov byte [esi + 0x4fc], 0
mov dword [esi + 0x500], 0xffffffff
mov dword [esi + 0x508], 0
mov byte [esi + 0x504], 0
mov eax, dword [edi]
add eax, 0xffff8ac6
cmp eax, 0x32
ja case.0x47b926.30014
xor ecx, ecx
mov cl, byte [eax + 0x47c038]
jmp dword [ecx*4 + 0x47c024]
test ebp, ebp
je 0x47bcd9
mov edx, dword [esi + 0x50]
mov eax, 0x3ecccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x368], eax
mov dword [esi + 0x364], eax
call dword [edx + 0x34]
fild dword [ebp + 0x24]
lea eax, [esi + 0x8c]
push 1
fmul dword [0x7e5ef0]
fstp dword [esi + 0x364]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x368], ecx
mov edx, dword [0x9eba88]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x1fc]
call fcn.00646b90
jmp 0x47bb9c
test ebp, ebp
je 0x47bcd9
mov edx, dword [esi + 0x50]
mov eax, 0x3ecccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x368], eax
mov dword [esi + 0x364], eax
call dword [edx + 0x34]
fild dword [ebp + 0x24]
lea eax, [esi + 0x8c]
push 1
fmul dword [0x7e5ef0]
fstp dword [esi + 0x364]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x368], ecx
mov edx, dword [0x9eba88]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x1fc]
call fcn.00646b90
jmp 0x47bb9c
test ebp, ebp
je 0x47bcd9
mov edx, dword [esi + 0x50]
mov eax, 0x3ecccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x368], eax
mov dword [esi + 0x364], eax
call dword [edx + 0x34]
fild dword [ebp + 0x24]
lea eax, [esi + 0x8c]
push 1
fmul dword [0x7e5ef0]
fstp dword [esi + 0x364]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x368], ecx
mov edx, dword [0x9eba88]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x1fc]
call fcn.00646b90
jmp 0x47bb9c
test ebp, ebp
je 0x47bcd9
mov edx, dword [esi + 0x50]
mov eax, 0x3e4ccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x368], eax
mov dword [esi + 0x364], eax
call dword [edx + 0x34]
fild dword [ebp + 0x24]
lea eax, [esi + 0x8c]
push 1
fmul dword [0x7e5ef0]
fstp dword [esi + 0x364]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x368], ecx
mov edx, dword [0x9eba88]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x1fc]
call fcn.00646b90
jmp 0x47bb9c
test ebp, ebp
je 0x47bb37
mov edx, dword [esi + 0x50]
mov eax, 0x3ecccccd
lea ecx, [esi + 0x50]
push eax
push eax
push eax
mov dword [esi + 0x368], eax
mov dword [esi + 0x364], eax
call dword [edx + 0x34]
fild dword [ebp + 0x24]
lea eax, [esi + 0x8c]
fmul dword [0x7e5ef0]
fstp dword [esi + 0x364]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov ecx, edx
mov dword [esp + 0x24], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x368], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xb04]
test eax, eax
je 0x47bb9c
mov edx, dword [eax + 0x30]
test edx, edx
je 0x47bb60
mov ecx, dword [eax + 0x34]
mov eax, 0x88888889
sub ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push 1
push 0
lea eax, [edx - 1]
lea edi, [esi + 0x938]
push 0
push 0
push eax
mov ecx, edi
call fcn.00425000
push 1
push 0
push 0
push 0
push 0
mov ecx, edi
call fcn.00425000
mov ecx, dword [0x7e6570]
push 0
push 0
push ecx
mov ecx, edi
call fcn.00421fe0
test ebp, ebp
je 0x47bcd9
mov ecx, dword [ebp + 0x84]
test ecx, ecx
je 0x47bcd9
mov eax, 0x10624dd3
mov edi, dword [0x9ea098]
mul ecx
shr edx, 6
lea ecx, [esp + 0x1c]
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x40]
push eax
push ecx
shl edx, 3
lea ecx, [edi + 0x14]
mov dword [esp + 0x48], edx
call fcn.00464b00
mov edi, dword [edi + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x47bbf3
xor edi, edi
jmp 0x47bbf6
lea edi, [eax + 0x10]
xor ebx, ebx
test edi, edi
je 0x47bdb2
mov cl, byte [edi + 4]
cmp cl, 0x2b
jae 0x47bc4c
mov eax, dword [ebp + 0x84]
xor edx, edx
mov ebx, 0x3e8
and ecx, 0xff
div ebx
mov ebx, dword [ecx*4 + 0x9ea09c]
lea eax, [esp + 0x1c]
lea ecx, [ebx + 0x14]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x40]
push edx
push eax
call fcn.00464b70
mov ebx, dword [ebx + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x47bc49
xor ebx, ebx
jmp 0x47bc4c
lea ebx, [eax + 0x10]
test ebx, ebx
je 0x47bdb2
mov cl, byte [esp + 0x40]
xor eax, eax
mov byte [esp + 0x20], cl
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push 0x64
lea edx, [esp + 0x44]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push edx
push ecx
mov dword [esp + 0x48], eax
push eax
mov eax, dword [ebp + 0x84]
lea edx, [esp + 0x34]
push edx
push eax
push edi
call fcn.0070a3f0
mov edx, dword [esi]
add esp, 0x20
lea eax, [esp + 0x20]
mov ecx, esi
push 0
push 1
push ebx
push edi
push eax
push 1
call dword [edx + 0x40]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x47bdb2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47bda9
cmp al, 0xff
je 0x47bda9
dec al
mov byte [ecx], al
jmp 0x47bdb2
mov al, byte [esi + 0x504]
test al, al
je 0x47bdb2
mov ecx, dword [0x9eba88]
mov edx, dword [ecx + 0x3c]
mov edi, dword [edx + 0x13c]
test edi, edi
je 0x47bdb2
mov eax, dword [edi + 0x38]
test eax, eax
je 0x47bdb2
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x47bdb2
mov dl, byte [esp + 0x40]
mov dword [esp + 0x24], 0
mov byte [esp + 0x20], dl
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov edx, dword [esi + 0x4e0]
mov ecx, dword [ecx]
push edx
mov edx, dword [esi + 0x4e8]
push edx
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x30]
push 0
push edx
mov edx, dword [eax]
mov dword [esp + 0x50], 1
add ecx, edx
push ecx
push eax
call fcn.0070a3f0
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
add esp, 0x20
mov edx, dword [esi]
push 0
push 1
push eax
lea eax, [esp + 0x2c]
push ecx
push eax
push 1
mov ecx, esi
call dword [edx + 0x40]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x47bdb2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47bda9
cmp al, 0xff
je 0x47bda9
dec al
mov byte [ecx], al
jmp 0x47bdb2
push ecx
call fcn.007a02e0
add esp, 4
xor ebx, ebx
cmp ebp, ebx
je 0x47bef1
mov ecx, dword [ebp + 0x80]
cmp ecx, ebx
je 0x47bef1
mov eax, 0x10624dd3
mov edi, dword [0x9ea098]
mul ecx
shr edx, 6
lea eax, [edx + edx*4]
lea edx, [esp + 0x40]
push edx
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x20]
shl ecx, 3
mov dword [esp + 0x44], ecx
push eax
lea ecx, [edi + 0x14]
call fcn.00464b00
mov edi, dword [edi + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x47be0b
xor edi, edi
jmp 0x47be0e
lea edi, [eax + 0x10]
test edi, edi
je 0x47bfba
mov cl, byte [edi + 4]
cmp cl, 0x2b
jae 0x47be62
mov eax, dword [ebp + 0x80]
xor edx, edx
mov ebx, 0x3e8
and ecx, 0xff
div ebx
mov ebx, dword [ecx*4 + 0x9ea09c]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [ebx + 0x14]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x20]
push edx
call fcn.00464b70
mov eax, dword [ebx + 0x18]
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jne 0x47be5f
xor ebx, ebx
jmp 0x47be62
add ebx, 0x10
test ebx, ebx
je 0x47bfba
mov al, byte [esp + 0x40]
mov byte [esp + 0x20], al
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push 0x64
lea ecx, [esp + 0x44]
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x80]
push edx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], 2
push eax
push ecx
push edi
call fcn.0070a3f0
mov edx, dword [esi]
add esp, 0x20
lea eax, [esp + 0x20]
mov ecx, esi
push 0
push 1
push ebx
push edi
push eax
push 0
call dword [edx + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
test ecx, ecx
je 0x47bfba
mov al, byte [ecx - 1]
test al, al
je 0x47bfb0
cmp al, 0xff
je 0x47bfb0
dec al
mov byte [ecx - 1], al
jmp 0x47bfba
mov al, byte [esi + 0x504]
test al, al
je 0x47bfba
mov ecx, dword [0x9eba88]
mov edx, dword [ecx + 0x3c]
mov edi, dword [edx + 0x134]
cmp edi, ebx
je 0x47bfba
mov eax, dword [edi + 0x38]
cmp eax, ebx
je 0x47bfba
mov ecx, dword [edi + 0x3c]
cmp ecx, ebx
je 0x47bfba
mov dl, byte [esp + 0x40]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], dl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov edx, dword [esi + 0x4e0]
mov ecx, dword [ecx]
push edx
mov edx, dword [esi + 0x4e8]
push edx
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x30]
push ebx
push edx
mov edx, dword [eax]
mov dword [esp + 0x50], 3
add ecx, edx
push ecx
push eax
call fcn.0070a3f0
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
add esp, 0x20
mov edx, dword [esi]
push ebx
push 1
push eax
lea eax, [esp + 0x2c]
push ecx
push eax
push ebx
mov ecx, esi
call dword [edx + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
cmp ecx, ebx
je 0x47bfba
mov al, byte [ecx - 1]
test al, al
je 0x47bfb0
cmp al, 0xff
je 0x47bfb0
dec al
mov byte [ecx - 1], al
jmp 0x47bfba
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov edx, dword [esi]
push 0xffffffffffffffff
push 1
push 0
push 1
push 0
mov ecx, esi
call dword [edx + 0x18]
test ebp, ebp
je 0x47bff8
mov eax, dword [ebp + 0x70]
test eax, eax
jne 0x47bfea
mov byte [esi + 0xbdc], 1
mov eax, dword [0x9eba88]
mov ecx, dword [eax + 0x68]
call fcn.0051b4b0
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x47bff8
mov byte [esi + 0x4c4], 1
mov ecx, dword [0x9ea1d4]
call fcn.00468b20
mov ecx, dword [0x9ea1d4]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4