Function at 0x10071090
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100f4456
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov al, byte [esp + 0x7c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ecx, ecx
mov dword [esp + 0x14], esi
mov byte [esi], al
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dl, byte [esp + 0x8c]
lea ebx, [esi + 0x10]
mov dword [esp + 0x84], ecx
mov byte [ebx], dl
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov edi, dword [esp + 0x8c]
mov byte [esp + 0x84], 1
mov al, byte [edi]
mov byte [esi + 0x20], al
mov edx, dword [edi + 4]
cmp edx, ecx
jne 0x100710fe
xor eax, eax
jmp 0x10071106
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 2
cmp eax, ecx
jge 0x1007110c
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.100ddb85
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
add esp, 4
cmp edi, ecx
mov dword [esp + 0x8c], ecx
mov ebp, eax
je 0x1007114a
push edi
push ebp
call fcn.10020550
mov eax, dword [esp + 0x8c]
add edi, 4
add ebp, 4
cmp edi, eax
jne 0x10071132
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov dl, byte [esp + 0x8c]
xor edi, edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x2a], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.1000c3b0
lea ecx, [esp + 0x44]
call fcn.1000c3b0
lea ecx, [esp + 0x50]
call fcn.1000c3b0
lea ecx, [esp + 0x60]
mov dword [esp + 0x5c], 0x3f800000
call fcn.1000c3b0
lea ecx, [esp + 0x70]
mov dword [esp + 0x6c], 0x3f800000
call fcn.1000c3b0
mov eax, dword [esi + 0x24]
mov byte [esp + 0x84], 3
cmp eax, edi
jne 0x100711d4
xor ebp, ebp
jmp 0x100711dc
mov ebp, dword [esi + 0x28]
sub ebp, eax
sar ebp, 2
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x100711e7
xor edx, edx
jmp 0x100711fd
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebp
jae 0x1007121f
mov edi, dword [ebx + 8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.100723a0
sub ebp, eax
mov ecx, ebx
push ebp
push edi
call fcn.10072590
xor edi, edi
jmp 0x10071243
mov ecx, ebx
call fcn.100723a0
cmp ebp, eax
jae 0x10071243
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
lea eax, [ebp + ebp*4]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4]
mov ecx, ebx
push eax
call fcn.10072910
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 2
call fcn.1006b710
mov ecx, dword [esp + 0x90]
mov eax, dword [esi + 8]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], ecx
push edx
push eax
mov ecx, esi
call fcn.1003d2f0
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x10071306
mov ecx, dword [esi + 0x28]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x10071306
mov edi, dword [eax + ebp*4]
lea edx, [esp + 0x90]
push edx
mov ecx, edi
call fcn.10015b90
mov ecx, dword [esi + 0x14]
push eax
add ecx, ebx
mov byte [esp + 0x88], 4
mov edx, dword [ecx + 8]
push edx
call fcn.100723d0
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 2
call fcn.1007ba80
lea ecx, [esp + 0x10]
call fcn.1007b550
push eax
lea ecx, [edi + 0x238]
mov byte [esp + 0x88], 5
call fcn.1007bc10
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 2
call fcn.1007ba80
inc ebp
add ebx, 0x64
xor edi, edi
jmp 0x10071279
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 8