Function at 0x61ba00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x7574c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [ebp + 8]
push edi
mov eax, dword [ebp + 0xc]
lea esi, [ebp + 4]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x30], ebp
call fcn.006d8d80
lea ecx, [ebp + 0x14]
call fcn.0061d070
mov edi, dword [esp + 0x84]
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edi
mov dword [esp + 0x24], ebx
call dword [fcn.0076526c]
mov dl, byte [esp + 0x84]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], dl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
jle 0x61bcbd
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, ebx
mov dword [esp + 0x14], 0
jae 0x61bb56
mov ecx, esi
call fcn.0045f660
cmp ebx, eax
jae 0x61bab8
mov ecx, esi
call fcn.0045f660
mov ebp, eax
jmp 0x61baba
mov ebp, ebx
mov ecx, esi
call fcn.0045f660
add eax, ebp
mov dword [esp + 0x24], eax
jns 0x61bacb
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00726f70
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.00642560
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
push ecx
push ebx
push eax
mov ecx, esi
call fcn.006d7730
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 8]
lea eax, [edx + ebx*4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00642560
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.006bc100
mov eax, dword [esi + 4]
push eax
call fcn.00726ea6
mov ecx, dword [esp + 0x28]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0045f660
add eax, ebx
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], ebp
lea eax, [ebp + eax*4]
mov ebp, dword [esp + 0x28]
mov dword [esi + 8], eax
jmp 0x61bbfc
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, ebx
jae 0x61bbb4
lea ecx, [ebx*4]
mov dword [esp + 0x28], ecx
add ecx, edi
push ecx
push eax
push edi
mov ecx, esi
call fcn.00642560
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
mov ecx, eax
push edx
sub ecx, edi
sar ecx, 2
sub ebx, ecx
mov ecx, esi
push ebx
push eax
call fcn.006d7730
mov eax, dword [esi + 8]
cmp edi, eax
je 0x61bba6
mov edx, dword [esp + 0x14]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x61bb99
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esi + 8], ecx
jmp 0x61bbf8
test ebx, ebx
jbe 0x61bbfc
shl ebx, 2
push eax
push eax
sub eax, ebx
mov ecx, esi
push eax
call fcn.00642560
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, ebx
cmp edi, eax
je 0x61bbe1
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x61bbd2
lea eax, [ebx + edi]
cmp edi, eax
je 0x61bbf5
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x61bbe8
add dword [esi + 8], ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x18]
push 0
lea ecx, [ebx*4]
push edx
mov edx, dword [esp + 0x8c]
push ecx
push eax
push edx
call dword [fcn.0076526c]
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call fcn.0061eec0
test eax, eax
jne 0x61bc5f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0xffffffff
call fcn.006bc100
mov eax, dword [esp + 0x34]
push eax
call fcn.00726ea6
add esp, 4
xor eax, eax
jmp 0x61bd75
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
cmp dword [edx + ecx*4], 0x18
jne 0x61bc75
mov eax, dword [ebp + 8]
cmp dword [eax], 6
je 0x61bcb6
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.006d8d80
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0xffffffff
call fcn.006bc100
mov edx, dword [esp + 0x34]
push edx
call fcn.00726ea6
add esp, 4
xor eax, eax
jmp 0x61bd75
mov edi, dword [esp + 0x84]
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x24]
push 4
push ecx
push edi
call dword [fcn.0076526c]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
test eax, eax
jle 0x61bd45
jmp 0x61bce5
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x61bd13
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + esi*4]
mov eax, dword [eax + esi*4]
lea edx, [esp + ecx + 0x40]
mov ecx, ebp
push edx
push eax
push edi
call fcn.0061ec90
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x61bcef
mov ecx, dword [esp + 0x40]
lea esi, [esp + 0x40]
mov dword [esp + 0x58], ecx
mov ecx, 6
lea edi, [esp + 0x5c]
lea edx, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [ebp + 0x14]
call fcn.0061cd50
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x61bcde
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0xffffffff
call fcn.006bc100
mov eax, dword [esp + 0x34]
push eax
call fcn.00726ea6
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 4