Function at 0x10017610
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1003e429
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10050294]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
xor edi, edi
push 0xffffffffffffffff
mov dword [esp + 0x1c], edi
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
lea ebp, [esi + 4]
push eax
mov ecx, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], esi
mov word [ebp], di
call fcn.10002250
push 1
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x3d
call fcn.10006410
cmp eax, 0xffffffff
je 0x10017739
push esi
push esi
call fcn.1001dcd0
mov edx, dword [esi + 0x18]
add esp, 8
cmp edx, 8
jb 0x100176ac
mov ecx, dword [ebp]
jmp 0x100176ae
mov ecx, ebp
mov eax, dword [esi + 0x14]
add eax, eax
lea ebx, [eax + ecx]
cmp ebx, edi
je 0x100176dc
cmp edx, 8
jb 0x100176c4
mov ecx, dword [ebp]
jmp 0x100176c6
mov ecx, ebp
cmp ecx, ebx
ja 0x100176dc
cmp edx, 8
jb 0x100176d4
mov ecx, dword [ebp]
jmp 0x100176d6
mov ecx, ebp
add eax, ecx
cmp ebx, eax
jbe 0x100176e1
call fcn.10026b40
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x100176ee
mov edi, dword [ebp]
jmp 0x100176f0
mov edi, ebp
test edi, edi
je 0x1001771a
cmp ecx, 8
jb 0x100176fe
mov eax, dword [ebp]
jmp 0x10017700
mov eax, ebp
cmp eax, edi
ja 0x1001771a
cmp ecx, 8
jb 0x1001770e
mov eax, dword [ebp]
jmp 0x10017710
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jbe 0x1001771f
call fcn.10026b40
cmp edi, ebx
mov eax, edi
je 0x10017737
cmp word [eax], 0x3d
jne 0x10017730
mov word [eax], 0x20
add eax, 2
cmp eax, ebx
jne 0x10017725
xor edi, edi
mov edx, dword [esi + 0x18]
cmp edx, 8
jb 0x10017746
mov ecx, dword [ebp]
jmp 0x10017748
mov ecx, ebp
mov eax, dword [esi + 0x14]
add eax, eax
lea ebx, [eax + ecx]
cmp ebx, edi
je 0x10017776
cmp edx, 8
jb 0x1001775e
mov ecx, dword [ebp]
jmp 0x10017760
mov ecx, ebp
cmp ecx, ebx
ja 0x10017776
cmp edx, 8
jb 0x1001776e
mov ecx, dword [ebp]
jmp 0x10017770
mov ecx, ebp
add eax, ecx
cmp ebx, eax
jbe 0x1001777b
call fcn.10026b40
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x10017788
mov edi, dword [ebp]
jmp 0x1001778a
mov edi, ebp
test edi, edi
je 0x100177b4
cmp ecx, 8
jb 0x10017798
mov eax, dword [ebp]
jmp 0x1001779a
mov eax, ebp
cmp eax, edi
ja 0x100177b4
cmp ecx, 8
jb 0x100177a8
mov eax, dword [ebp]
jmp 0x100177aa
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jbe 0x100177b9
call fcn.10026b40
cmp edi, ebx
mov eax, edi
je 0x100177d2
nop
cmp word [eax], 0x5f
jne 0x100177cb
mov word [eax], 0x20
add eax, 2
cmp eax, ebx
jne 0x100177c0
cmp byte [esp + 0x38], 0
je 0x10017849
push 4
push 0
push str._sig
mov ecx, esi
call fcn.10006410
mov edi, eax
cmp edi, 0xffffffff
jne 0x10017807
push 4
push 0
push str._seg
mov ecx, esi
call fcn.10006410
mov edi, eax
cmp edi, 0xffffffff
je 0x10017849
mov eax, dword [esi + 0x14]
lea ebx, [edi + 4]
cmp ebx, eax
je 0x1001782c
jbe 0x10017818
call fcn.10026b40
cmp dword [esi + 0x18], 8
jb 0x10017823
mov eax, dword [ebp]
jmp 0x10017825
mov eax, ebp
cmp word [eax + ebx*2], 0x20
jne 0x10017849
add edi, 1
cmp edi, dword [esi + 0x14]
jbe 0x10017839
call fcn.10026b40
cmp dword [esi + 0x18], 8
jb 0x10017842
mov ebp, dword [ebp]
mov word [ebp + edi*2], 0x64
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret