Function at 0x443210
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5737de
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.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
je 0x443259
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x44357c
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 0x44357b
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 0x4432cd
jmp 0x4432b0
mov ecx, dword [0x8927a4]
push esi
add ecx, 0x80214
call fcn.0044f700
mov edi, eax
test edi, edi
jne 0x44330f
inc esi
cmp esi, ebx
jle 0x4432b0
mov ecx, dword [0x8927a4]
add ecx, 0x80214
mov eax, 0x1f5
call fcn.0044f690
push 0x64
call fcn.0055e5a9
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x120], ebx
je 0x4434c5
push eax
call fcn.0047ffd0
mov edi, eax
jmp 0x4434c7
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.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 0x443354
mov esi, 1
jmp 0x443365
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 0x4433b2
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 0x443399
mov esi, 1
jmp 0x4433aa
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.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 0x44340e
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 1
call ebx
jmp 0x44342b
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
mov edi, 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 0x44349a
mov esi, 1
jmp 0x4434ab
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 0x592c74
push ecx
call fcn.0055e68c
add esp, 0xc
jmp 0x44357b
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.004cee70
mov esi, eax
call fcn.0040adb0
mov eax, dword [edi + 0x4c]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], ebp
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
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.004cee70
mov esi, eax
call fcn.0040adb0
push ebp
lea ecx, [esp + 0x1c]
push 0x592c50
push ecx
call fcn.0055e68c
mov ecx, dword [0x8927a4]
add esp, 0xc
push edi
add ecx, 0x80214
call fcn.0053bc60
pop ebx
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x114
ret 0x14