Function at 0x443c70
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57ff0e
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x108
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
je 0x443cb9
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x443fdc
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
push ebx
mov ecx, ebp
shr ecx, 3
mov ebx, dword [edx + ecx*4]
mov edx, dword [eax + ebp*4]
push edi
xor ebx, edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x443fdb
mov ebp, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
mov eax, ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
mov esi, ecx
sub esi, eax
sub esi, 5
lea ebx, [eax + ecx + 5]
cmp esi, ebx
jg 0x443d2d
jmp 0x443d10
mov ecx, dword [0x89e864]
push esi
add ecx, 0x80324
call fcn.00450750
mov edi, eax
test edi, edi
jne 0x443d6f
inc esi
cmp esi, ebx
jle 0x443d10
mov ecx, dword [0x89e864]
add ecx, 0x80324
mov eax, 0x1f5
call fcn.0044e4a0
push 0x64
call fcn.0056ae19
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x120], ebx
je 0x443f25
push eax
call fcn.00484ae0
mov edi, eax
jmp 0x443f27
mov eax, dword [edi + 0x58]
mov ecx, dword [esp + 0x134]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], 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 0x443db4
mov esi, 1
jmp 0x443dc5
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 + 0x130]
cmp esi, eax
jle 0x443e12
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 0x443df9
mov esi, 1
jmp 0x443e0a
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 + 0x18]
push edx
push eax
mov dword [esp + 0x20], 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 0x443e6e
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 1
call ebx
jmp 0x443e8b
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 ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x12c]
lea eax, [esi + ecx]
cdq
sub eax, edx
sar eax, 1
push 1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 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 + 0x138]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x1c], cl
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edi, 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 0x443efa
mov esi, 1
jmp 0x443f0b
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, edi
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + edi*4]
call ebx
push esi
lea ecx, [esp + 0x1c]
push 0x59e274
push ecx
call fcn.0056aefc
add esp, 0xc
jmp 0x443fdb
xor edi, edi
mov edx, dword [esp + 0x12c]
mov dword [esp + 0x120], 0xffffffff
mov ecx, dword [edi + 0x44]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [edi + 0x4c]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], ebp
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [esp + 0x134]
push 1
lea edx, [esp + 0x18]
mov dword [edi + 0x50], ebx
mov eax, dword [edi + 0x58]
push edx
push eax
mov dword [esp + 0x20], ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [edi + 0x60]
mov cl, byte [esp + 0x138]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x1c], cl
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
push ebp
lea ecx, [esp + 0x1c]
push 0x59e250
push ecx
call fcn.0056aefc
mov ecx, dword [0x89e864]
add esp, 0xc
push edi
add ecx, 0x80324
call fcn.00548590
pop ebx
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x114
ret 0x14