Function at 0x1009ea4
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x14
mov eax, 0x101afee
call fcn.01019e99
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 0x28]
xor edi, edi
mov dword [ebp - 0x10], edi
cmp eax, edi
je 0x1009ec7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea esi, [ebx + 0x1c]
push 0x1002588
mov ecx, esi
call fcn.0101947a
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1009fc9
cmp word [eax], di
je 0x1009fc9
push eax
mov ecx, esi
call fcn.0101947a
push 2
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call sub.MFC42u.dll_CString::Left
push 0x1002590
mov ecx, eax
call fcn.01008914
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x20]
inc bl
call fcn.010194aa
test bl, bl
je 0x1009f4a
mov eax, dword [esi]
mov eax, dword [eax - 8]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call sub.MFC42u.dll_CString::Right
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.01019486
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.010194aa
push 0x1002588
mov ecx, esi
call sub.MFC42u.dll_CString::Find_1
cmp eax, 0xffffffff
je 0x1009fba
mov eax, dword [esi]
mov dword [ebp - 0x20], edi
mov eax, dword [eax - 8]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01019a26
mov ebx, eax
pop ecx
cmp ebx, edi
jne 0x1009f8a
mov dword [ebp - 0x10], 0x8007000e
jmp 0x1009fc6
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
test eax, eax
je 0x1009faa
mov ecx, dword [ebp - 0x14]
push ebx
add ecx, 0x20
call fcn.0101947a
jmp 0x1009fb1
mov dword [ebp - 0x10], 0x80070057
push ebx
call fcn.010199f0
pop ecx
jmp 0x1009fc6
mov ecx, dword [ebp - 0x14]
push esi
add ecx, 0x20
call fcn.01019486
mov ebx, dword [ebp - 0x14]
lea ecx, [ebx + 0x24]
push 0x100257c
call fcn.0101947a
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x1009feb
cmp word [eax], di
je 0x1009feb
push eax
lea ecx, [ebx + 0x24]
call fcn.0101947a
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
jl 0x100a0aa
push edi
push edi
push edi
push 3
push 4
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x18]
push eax
push 0x100744c
push 1
push edi
push 0x100751c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x100a098
cmp dword [ebp - 0x18], edi
je 0x100a098
lea ecx, [ebp + 8]
call sub.MFC42u.dll_CString::CString
push dword [ebx + 0x24]
lea eax, [ebp + 8]
push dword [esi]
mov dword [ebp - 4], 1
push 0x10025a0
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0x10
lea ecx, [ebp + 8]
call sub.MFC42u.dll_CString::AllocSysString
mov esi, eax
cmp esi, edi
je 0x100a080
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push esi
push eax
call dword [ecx + 0xc]
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], edi
call fcn.010194aa
cmp dword [ebp - 0x1c], edi
je 0x100a0aa
cmp dword [ebp - 0x10], edi
jl 0x100a0aa
push dword [ebp - 0x1c]
call fcn.01008f8c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x28], ecx
call fcn.01019f85
ret 8