Function at 0x440990
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x566e46
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
mov ebx, dword [eax + 8]
push ebp
push esi
push edi
call fcn.004ce8c0
mov esi, eax
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push edi
je 0x4409e4
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 0x28
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
xor eax, ebx
mov ecx, eax
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [esi + eax*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x440c62
push 0x5c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov dword [esp + 0x18], 0
je 0x440a3d
mov eax, dword [esp + 0x24]
and eax, 0x8000000f
jns 0x440a34
dec eax
or eax, 0xfffffff0
inc eax
call fcn.0047b900
mov esi, eax
jmp 0x440a3f
xor esi, esi
mov eax, dword [esp + 0x28]
imul eax, eax, 0x64
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x2c]
imul eax, eax, 0x64
mov dword [esp + 0x28], eax
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x44]
test al, al
je 0x440ac6
mov ebp, dword [0x5e5748]
call fcn.004ce8c0
mov edi, eax
lea ebx, [edi + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [edi + 0x30]
test al, al
push ebx
je 0x440a9f
mov edi, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00554f6c
cdq
idiv edi
jmp 0x440ac8
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x24]
xor eax, ebp
mov ebp, dword [edi + 0x1c]
mov ecx, eax
shr ecx, 3
mov edi, dword [edx + ecx*4]
xor edi, dword [ebp + eax*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00554f6c
cdq
idiv edi
jmp 0x440ac8
xor edx, edx
mov al, byte [esp + 0x44]
mov byte [esi + 0x50], al
mov dword [esi + 0x44], edx
mov eax, 0x66666667
imul dword [esp + 0x3c]
mov ebx, dword [0x887734]
mov ecx, dword [esp + 0x30]
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x66666667
imul dword [esp + 0x40]
sar edx, 2
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x34]
push edx
add ebx, 0x4f0cc
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebp
mov dword [esi + 0x18], ecx
call fcn.00403040
mov dword [esi + 0x1c], eax
mov eax, dword [esi]
push str.flame
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [0x887734]
push esi
add ecx, 0x77398
call fcn.005306b0
push 0x5c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
mov dword [esp + 0x18], 1
je 0x440b74
mov eax, dword [esp + 0x24]
and eax, 0x8000000f
jns 0x440b68
dec eax
or eax, 0xfffffff0
inc eax
add eax, 0x10
call fcn.00478af0
mov esi, eax
jmp 0x440b76
xor esi, esi
mov al, byte [esp + 0x44]
test al, al
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
je 0x440c0c
mov eax, dword [0x5e5748]
mov dword [esp + 0x20], eax
call fcn.004ce8c0
mov ebx, eax
lea eax, [ebx + 0x34]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebx + 0x30]
test al, al
je 0x440bd3
mov ecx, dword [esp + 0x24]
push ecx
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00554f6c
cdq
idiv ebx
jmp 0x440c0e
mov eax, dword [ebx + 0x2c]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x1c]
xor eax, edx
mov edx, eax
shr edx, 3
mov dword [esp + 0x20], ebx
mov ebx, dword [ecx + edx*4]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x24]
push eax
xor ebx, ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00554f6c
cdq
idiv ebx
jmp 0x440c0e
xor edx, edx
mov eax, dword [esp + 0x38]
mov ebx, dword [0x887734]
mov cl, byte [esp + 0x44]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x30]
add edx, 0x1f4
push eax
add ebx, 0x4f0cc
mov byte [esi + 0x50], cl
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebp
mov dword [esi + 0x18], edx
call fcn.00403040
mov edx, dword [esi]
push str.flame
mov ecx, esi
mov dword [esi + 0x1c], eax
call dword [edx + 4]
mov ecx, dword [0x887734]
push esi
add ecx, 0x77398
call fcn.005306b0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x28