Function at 0x444790
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x583fcb
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [eax + 8]
push esi
push edi
call fcn.004d3720
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x4447e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebp
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [eax + ebp*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x444a79
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov esi, ebp
sub esi, eax
sub esi, 5
lea ebx, [eax + ebp + 5]
cmp esi, ebx
jg 0x444840
mov ecx, dword [0x89e864]
push esi
add ecx, 0x80324
call fcn.004507f0
mov edi, eax
test edi, edi
jne 0x44487f
inc esi
cmp esi, ebx
jle 0x444823
mov ecx, dword [0x89e864]
add ecx, 0x80324
mov eax, 0x1f6
call fcn.0044e4a0
push 0x64
call fcn.0056ae19
add esp, 4
mov dword [esp + 0x24], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x4449e2
push eax
call fcn.00482810
mov edi, eax
jmp 0x4449e4
mov eax, dword [edi + 0x58]
mov ecx, dword [esp + 0x2c]
push 1
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x38], ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ebx, dword [edi + 0x4c]
call fcn.004d3720
mov esi, eax
lea ebp, [esi + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebp
je 0x4448c1
mov esi, 1
jmp 0x4448d2
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebx
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
cmp esi, eax
jle 0x44491c
mov ebx, dword [edi + 0x4c]
call fcn.004d3720
mov esi, eax
lea ebp, [esi + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebp
je 0x444903
mov esi, 1
jmp 0x444914
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebx
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
imul eax, eax, 0xf
mov ecx, eax
mov eax, 0x66666667
imul ecx
mov eax, dword [edi + 0x4c]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push 1
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x34], ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ebx, dword [edi + 0x44]
call fcn.004d3720
mov esi, eax
lea ebp, [esi + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebp
je 0x444970
mov esi, 1
jmp 0x444981
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebx
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
lea eax, [esi + ecx]
cdq
sub eax, edx
sar eax, 1
push 1
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x44]
push edx
push eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [edi + 0x60]
mov cl, byte [esp + 0x30]
push 1
lea edx, [esp + 0x34]
push edx
push eax
mov byte [esp + 0x3c], cl
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
mov edx, dword [edi + 0x44]
push 1
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x30], ebp
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [edi + 0x4c]
mov eax, dword [esp + 0x28]
push 1
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x34], eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [esp + 0x2c]
push 1
lea ecx, [esp + 0x2c]
mov dword [edi + 0x50], ebx
mov edx, dword [edi + 0x58]
push ecx
push edx
mov dword [esp + 0x34], eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [edi + 0x60]
mov al, byte [esp + 0x30]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x3c], al
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [0x89e864]
push edi
add ecx, 0x80324
call fcn.00548590
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x14