Function at 0x47f890
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e2978
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x658aa8]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x658aa8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
call edx
mov dword [esp + 0x98], 0
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x360]
mov ecx, dword [esi + 0x364]
mov ebx, dword [esi + 0x368]
mov edx, dword [esi + 0x36c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
test edi, edi
je 0x47f931
lea eax, [esp + 0x28]
push eax
call fcn.0042e900
mov edi, eax
call fcn.00434360
mov ebx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x371], al
je 0x47f94a
mov eax, 0x270f
jmp 0x47f9b3
mov ecx, dword [esi + 0x100]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, esi
call eax
mov edi, eax
call fcn.0042e900
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47f971
mov eax, dword [esp + 0x14]
jmp 0x47f9b3
push 0x64
cmp ecx, 1
jne 0x47f989
mov ecx, dword [eax + 4]
mov edi, dword [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x47f99b
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x47f9aa
test eax, eax
jne 0x47f9a8
mov eax, 1
test edi, edi
jge 0x47f9b3
test eax, eax
jne 0x47f9b3
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], ecx
sub eax, ebx
cmp byte [esi + 0x370], 0
mov dword [esp + 0x24], 0x270f
mov dword [esp + 0x20], eax
je 0x47fa1a
mov edx, dword [esi + 0x35c]
mov ecx, dword [esi + 0x358]
mov eax, dword [esi + 0x44]
or edx, 0x400
push edx
push ecx
mov ecx, dword [esi + 0x350]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x48]
push 0
push 0
push ecx
push edx
mov edx, dword [eax + 0x78]
lea ecx, [esp + 0x34]
push ecx
push eax
push edx
mov dword [esp + 0x3c], 0
call fcn.0045c220
add esp, 0x28
jmp 0x47fa4c
mov eax, dword [esi + 0x35c]
mov edx, dword [esi + 0x358]
mov ecx, dword [esi + 0x44]
or eax, 0x400
push eax
mov eax, dword [esi + 0x350]
push edx
push eax
mov eax, dword [ecx + 0x78]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x4c]
push eax
call fcn.0045bee0
add esp, 0x14
sub ebx, dword [esp + 0x18]
add ebx, dword [esp + 0x28]
add ebx, dword [esp + 0x20]
cmp byte [esi + 0x371], 0
je 0x47fa99
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov edi, eax
call fcn.0042e900
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47fa7d
lea eax, [ecx + 0x64]
jmp 0x47fa89
cmp ecx, 1
jne 0x47fa87
mov eax, dword [eax + 4]
jmp 0x47fa89
mov eax, dword [eax]
push eax
push 0x64
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x100], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov edi, dword [esp + 0x38]
push ecx
push edx
push edi
mov ecx, esi
call fcn.0043d060
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x47fac2
push eax
call fcn.0049b045
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00499a1c
mov esp, ebp
pop ebp
ret 0xc