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

Disassembly:
push 0x14
mov eax, 0x101affc
call fcn.01019ea3
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 0x1009ec8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea esi, [ebx + 0x1c]
push 0x1002588
mov ecx, esi
call fcn.01019484
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1009fca
cmp word [eax], di
je 0x1009fca
push eax
mov ecx, esi
call fcn.01019484
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.010194b4
test bl, bl
je 0x1009f4b
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.01019490
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.010194b4
push 0x1002588
mov ecx, esi
call sub.MFC42u.dll_CString::Find_1
cmp eax, 0xffffffff
je 0x1009fbb
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.01019a30
mov ebx, eax
pop ecx
cmp ebx, edi
jne 0x1009f8b
mov dword [ebp - 0x10], 0x8007000e
jmp 0x1009fc7
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 0x1009fab
mov ecx, dword [ebp - 0x14]
push ebx
add ecx, 0x20
call fcn.01019484
jmp 0x1009fb2
mov dword [ebp - 0x10], 0x80070057
push ebx
call fcn.010199fa
pop ecx
jmp 0x1009fc7
mov ecx, dword [ebp - 0x14]
push esi
add ecx, 0x20
call fcn.01019490
mov ebx, dword [ebp - 0x14]
lea ecx, [ebx + 0x24]
push 0x100257c
call fcn.01019484
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x1009fec
cmp word [eax], di
je 0x1009fec
push eax
lea ecx, [ebx + 0x24]
call fcn.01019484
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
jl 0x100a099
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 0x100a087
cmp dword [ebp - 0x18], edi
je 0x100a087
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 0x100a06f
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.010194b4
cmp dword [ebp - 0x1c], edi
je 0x100a099
cmp dword [ebp - 0x10], edi
jl 0x100a099
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.01019f8f
ret 8