Function at 0x443d40
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57735b
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.004cee70
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 0x443d94
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 0x444029
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 0x443df0
mov ecx, dword [0x8927a4]
push esi
add ecx, 0x80214
call fcn.0044f7a0
mov edi, eax
test edi, edi
jne 0x443e2f
inc esi
cmp esi, ebx
jle 0x443dd3
mov ecx, dword [0x8927a4]
add ecx, 0x80214
mov eax, 0x1f6
call fcn.0044f690
push 0x64
call fcn.0055e5a9
add esp, 4
mov dword [esp + 0x24], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x443f92
push eax
call fcn.0047dd00
mov edi, eax
jmp 0x443f94
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.004cee70
mov esi, eax
call fcn.0040adb0
mov ebx, dword [edi + 0x4c]
call fcn.004cee70
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 0x443e71
mov esi, 1
jmp 0x443e82
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 0x443ecc
mov ebx, dword [edi + 0x4c]
call fcn.004cee70
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 0x443eb3
mov esi, 1
jmp 0x443ec4
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.004cee70
mov esi, eax
call fcn.0040adb0
mov ebx, dword [edi + 0x44]
call fcn.004cee70
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 0x443f20
mov esi, 1
jmp 0x443f31
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
mov ecx, dword [0x8927a4]
push edi
add ecx, 0x80214
call fcn.0053bc60
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x14