Function at 0x100dc06
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016b18
mov eax, dword fs:[0]
push eax
mov eax, 0x2910
call fcn.01013a70
mov eax, dword [0x101a118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
mov esi, ecx
push 0x184
push dword [esi + 0x28]
call ebx
push edi
push edi
push 0x184
push dword [esi + 0x2c]
call ebx
push edi
push edi
push 0x184
push dword [esi + 0x30]
call ebx
xor eax, eax
push 0x105e
mov word [ebp - 0x1870], ax
lea eax, [ebp - 0x186e]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x28f4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x28f4]
push edx
push edi
push 0x1001464
push eax
call dword [ecx + 0x10]
cmp eax, edi
jl 0x100dcc9
cmp word [ebp - 0x28f4], 1
je 0x100dcc9
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x2c
jmp 0x100dd33
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x28f4]
push edx
push edi
push 0x10016a8
push eax
call dword [ecx + 0x10]
cmp eax, edi
jl 0x100dcff
cmp word [ebp - 0x28f4], 1
je 0x100dcff
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x32
jmp 0x100dd33
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x28f4]
push edx
push edi
push 0x1001668
push eax
call dword [ecx + 0x10]
cmp eax, edi
jl 0x100dd64
cmp word [ebp - 0x28f4], 8
jne 0x100dd64
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x2a
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [ebp - 0x28ec]
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1870]
push 0x1060
push eax
call fcn.01005ff2
add esp, 0x10
jmp 0x100dd80
push 0x830
lea eax, [ebp - 0x1870]
push eax
push 0x29
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x28f4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x1870]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor ecx, ecx
cmp dword [esi + 0x3c], edi
je 0x100dda8
push 0x10
jmp 0x100ddaf
cmp dword [esi + 0x38], edi
je 0x100ddb0
push 0x40
pop ecx
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
mov dword [ebp - 0x28d8], edi
jmp 0x100de8e
lea eax, [ebp - 0x28f4]
push eax
lea ecx, [ebp - 0x291c]
call fcn.01002a8d
mov dword [ebp - 4], edi
push dword [ebp - 0x28f8]
call fcn.01010d8a
push dword [ebp - 0x28f8]
mov dword [ebp - 0x28e4], eax
lea eax, [ebp - 0x291c]
push eax
call fcn.0101249c
mov ecx, eax
mov dword [ebp - 0x28d4], ecx
lea eax, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
cmp dx, di
jne 0x100de08
sub ecx, eax
sar ecx, 1
cmp ecx, 0x64
jbe 0x100de2a
mov ecx, dword [ebp - 0x28d4]
xor eax, eax
mov word [ecx + 0xc8], ax
push dword [ebp - 0x28d4]
lea eax, [ebp - 0x28d0]
push dword [ebp - 0x28e4]
push dword [ebp - 0x28d8]
push 0x1001874
push 0x1060
push eax
call fcn.01005ff2
push dword [ebp - 0x28d4]
call fcn.010028f5
add esp, 0x1c
lea eax, [ebp - 0x28d0]
push eax
push edi
push 0x180
push dword [esi + 0x28]
call ebx
lea eax, [ebp - 0x28f4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x291c]
call sub.wbemcomn.dll_public:_void___thiscall_CVar::destructor_void_
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x28f8]
push edx
lea edx, [ebp - 0x28f4]
push edx
lea edx, [ebp - 0x28d8]
push edx
push edi
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x100ddc5
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [esi + 0x20]
lea edx, [ebp - 0x28dc]
push edx
mov dword [ebp - 0x28dc], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, edi
push edi
jl 0x100e01a
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
lea eax, [ebp - 0x2914]
push eax
mov dword [ebp - 0x28d4], edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
jmp 0x100dfd6
lea ecx, [ebp - 0x2904]
call fcn.0100ff8b
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x28d4]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x100df1d
sub eax, edx
sar eax, 1
inc eax
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x28e0], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.010028e5
pop ecx
push dword [ebp - 0x28d4]
mov dword [ebp - 0x2904], eax
push dword [ebp - 0x28e0]
push eax
call fcn.0100347f
push 0x18
call fcn.010028e5
pop ecx
mov dword [ebp - 0x28e0], eax
mov byte [ebp - 4], 2
cmp eax, edi
je 0x100df85
lea ecx, [ebp - 0x2914]
push ecx
mov ecx, eax
call fcn.01002a8d
jmp 0x100df87
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x28fc], eax
mov eax, dword [ebp - 0x28e4]
mov dword [ebp - 0x2900], eax
lea eax, [ebp - 0x2904]
push eax
call fcn.0100ca0f
push eax
push edi
push 0x180
push dword [esi + 0x2c]
mov dword [ebp - 0x28e0], eax
call ebx
push dword [ebp - 0x28e0]
call fcn.010028f5
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2904]
call fcn.010100ad
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax]
lea edx, [ebp - 0x28e4]
push edx
lea edx, [ebp - 0x2914]
push edx
lea edx, [ebp - 0x28d4]
push edx
push edi
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x100df02
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100e023
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x58]
jmp 0x100e065
push dword [ebp - 0x28d8]
lea eax, [ebp - 0x28d0]
push 0x830
push eax
call fcn.0100347f
lea eax, [ebp - 0x28d0]
push eax
push edi
push 0x180
push dword [esi + 0x30]
call ebx
lea eax, [ebp - 0x28f4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x28d8]
push edx
push edi
push eax
call dword [ecx + 0x5c]
test eax, eax
je 0x100e02f
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
mov ecx, esi
call fcn.0100c6dd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010139bb
leave
ret