Function at 0x1007376
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x1021446
call fcn.01014f68
sub esp, 0x1d0
push ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ecx + 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
call fcn.01006225
cmp eax, ebx
jl 0x10075f7
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x10075f2
push esi
push edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.01005a87
mov esi, dword [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
cmp edi, ebx
jl 0x10075d5
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x10075be
lea edx, [ebp - 0x14]
push edx
push ebx
push 1
push eax
mov dword [ebp - 0x14], ebx
mov ecx, dword [esi]
push esi
call dword [ecx + 0x30]
mov edi, eax
cmp edi, ebx
jl 0x10075c3
push ebx
push ebx
push ebx
push 3
push 4
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
call fcn.0101527c
mov edi, eax
jmp 0x10075a4
cmp edi, 1
je 0x10075b1
push 0x64
pop ecx
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0x1dc]
push edx
xor eax, eax
push 0x64
lea edi, [ebp - 0x1dc]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, ebx
jl 0x10075ac
cmp dword [ebp + 8], ebx
jbe 0x10075a4
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jae 0x1007584
cmp dword [ebp + 0x10], ebx
je 0x10074de
push 0x1d4c0
push 0xc8
push 0x7a120
push 0xbb8
push 3
call sub.wbemcomn.dll_long_int___stdcall_Throttle_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_
cmp eax, 8
jne 0x10074de
mov dword [ebp + 0x10], ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x40]
mov esi, dword [eax + 0x44]
mov edi, dword [sym.imp.msvcrt.dll_wcschr]
push 0x74
push esi
mov dword [ebp - 0x4c], ecx
call edi
cmp eax, ebx
pop ecx
pop ecx
jne 0x10074d2
push 0x54
push esi
call edi
cmp eax, ebx
pop ecx
pop ecx
je 0x10074de
mov word [eax], 0x20
dec eax
dec eax
mov word [eax], 0x20
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + eax*4 - 0x1dc]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov edi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
cmp edi, ebx
jl 0x1007553
push 1
lea ecx, [ebp - 0x38]
call fcn.01005fa1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x38]
push edx
push ebx
push 0x1001594
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x1007553
cmp word [ebp - 0x38], 0xb
jne 0x1007553
cmp word [ebp - 0x30], 0xffff
jne 0x1007553
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
push 1
push esi
call fcn.010072c8
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.01005807
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
call fcn.01005705
inc dword [ebp - 0x10]
cmp edi, ebx
jge 0x100746d
cmp edi, ebx
jge 0x1007426
mov esi, dword [ebp - 0x10]
jmp 0x100759f
mov eax, dword [ebp + esi*4 - 0x1dc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, dword [ebp + 8]
jb 0x1007591
cmp edi, ebx
jge 0x1007426
cmp edi, 1
jne 0x10075b3
xor edi, edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10075c3
mov edi, 0x80041006
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], ebx
je 0x10075d5
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.01005807
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
call fcn.01012d57
mov eax, edi
pop edi
pop esi
jmp 0x10075f7
mov eax, 0x80041001
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc