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

Disassembly:
push 0x14
mov eax, 0x101b0bc
call fcn.01019f65
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 0x1009eee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea esi, [ebx + 0x1c]
push 0x1002588
mov ecx, esi
call fcn.01019546
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1009ff0
cmp word [eax], di
je 0x1009ff0
push eax
mov ecx, esi
call fcn.01019546
push 2
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call sub.MFC42u.dll_CString::Left
push 0x1002590
mov ecx, eax
call fcn.01008944
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x20]
inc bl
call fcn.01019576
test bl, bl
je 0x1009f71
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.01019552
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.01019576
push 0x1002588
mov ecx, esi
call sub.MFC42u.dll_CString::Find_1
cmp eax, 0xffffffff
je 0x1009fe1
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.01019af2
mov ebx, eax
pop ecx
cmp ebx, edi
jne 0x1009fb1
mov dword [ebp - 0x10], 0x8007000e
jmp 0x1009fed
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 0x1009fd1
mov ecx, dword [ebp - 0x14]
push ebx
add ecx, 0x20
call fcn.01019546
jmp 0x1009fd8
mov dword [ebp - 0x10], 0x80070057
push ebx
call fcn.01019abc
pop ecx
jmp 0x1009fed
mov ecx, dword [ebp - 0x14]
push esi
add ecx, 0x20
call fcn.01019552
mov ebx, dword [ebp - 0x14]
lea ecx, [ebx + 0x24]
push 0x100257c
call fcn.01019546
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100a012
cmp word [eax], di
je 0x100a012
push eax
lea ecx, [ebx + 0x24]
call fcn.01019546
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
jl 0x100a0bf
lea eax, [ebp - 0x18]
push eax
push 0x1007484
push 1
push edi
push 0x1007554
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x100a0ad
cmp dword [ebp - 0x18], edi
je 0x100a0ad
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 0x100a095
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.01019576
cmp dword [ebp - 0x1c], edi
je 0x100a0bf
cmp dword [ebp - 0x10], edi
jl 0x100a0bf
push dword [ebp - 0x1c]
call fcn.01008fb3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x28], ecx
call fcn.0101a051
ret 8