Function at 0x10070dae
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100f43f6
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 0x10070dfe
xor eax, eax
jmp 0x10070e06
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 2
cmp eax, ecx
jge 0x10070e0c
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.100ddb25
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 0x10070e4a
push edi
push ebp
call fcn.1008e210
mov eax, dword [esp + 0x8c]
add edi, 4
add ebp, 4
cmp edi, eax
jne 0x10070e32
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.1000c3a0
lea ecx, [esp + 0x44]
call fcn.1000c3a0
lea ecx, [esp + 0x50]
call fcn.1000c3a0
lea ecx, [esp + 0x60]
mov dword [esp + 0x5c], 0x3f800000
call fcn.1000c3a0
lea ecx, [esp + 0x70]
mov dword [esp + 0x6c], 0x3f800000
call fcn.1000c3a0
mov eax, dword [esi + 0x24]
mov byte [esp + 0x84], 3
cmp eax, edi
jne 0x10070ed4
xor ebp, ebp
jmp 0x10070edc
mov ebp, dword [esi + 0x28]
sub ebp, eax
sar ebp, 2
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x10070ee7
xor edx, edx
jmp 0x10070efd
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 0x10070f1f
mov edi, dword [ebx + 8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.100720e0
sub ebp, eax
mov ecx, ebx
push ebp
push edi
call fcn.100722d0
xor edi, edi
jmp 0x10070f43
mov ecx, ebx
call fcn.100720e0
cmp ebp, eax
jae 0x10070f43
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.10072650
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 2
call fcn.10071eb0
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.1008c090
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x10071006
mov ecx, dword [esi + 0x28]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x10071006
mov edi, dword [eax + ebp*4]
lea edx, [esp + 0x90]
push edx
mov ecx, edi
call fcn.10015b80
mov ecx, dword [esi + 0x14]
push eax
add ecx, ebx
mov byte [esp + 0x88], 4
mov edx, dword [ecx + 8]
push edx
call fcn.10072110
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 2
call fcn.1007b7b0
lea ecx, [esp + 0x10]
call fcn.1007b290
push eax
lea ecx, [edi + 0x238]
mov byte [esp + 0x88], 5
call fcn.1007b940
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 2
call fcn.1007b7b0
inc ebp
add ebx, 0x64
xor edi, edi
jmp 0x10070f79
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