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

Disassembly:
push 0x128
mov eax, 0x7d8de0
call fcn.00720838
mov edi, ecx
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x134], edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
lea esi, [edi + 0xc]
mov dword [edi], vtable.Blizzard::Telemetry::WmiAccessor.0
mov dword [esi], ecx
mov dword [edi + 0x10], ecx
mov byte [edi + 0x14], cl
lea ebx, [edi + 0x1c]
mov byte [edi + 0x15], cl
mov byte [edi + 0x16], cl
mov byte [edi + 0x17], cl
push ecx
mov byte [edi + 0x18], cl
mov ecx, ebx
push 0x7dbcd8
mov byte [ebp - 4], 3
call fcn.0044278f
lea eax, [edi + 0x38]
mov byte [ebp - 4], 4
push eax
call fcn.006ace08
pop ecx
xor ecx, ecx
mov dword [edi + 0x44], reloc.WS2_32.dll_ntohs
lea eax, [edi + 0x48]
mov dword [edi + 0x40], ecx
mov dword [edi + 0x3c], eax
mov byte [eax], cl
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x60], ecx
push ecx
push ecx
mov byte [ebp - 4], 7
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0xe
push 0x89f81c
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x130], eax
call fcn.0044278f
push 4
push str.ctor
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0044278f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0041d5c3
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.0041d5c3
mov eax, dword [ebp - 0x130]
mov byte [ebp - 4], 7
cmp eax, 0x80010106
je 0x795acc
test eax, eax
je 0x795ac0
cmp eax, 1
je 0x795ac0
push 0x1b
mov byte [edi + 0x14], 0
mov byte [edi + 0x15], 0
push str.Failed_to_initialize_COM._r_n
jmp 0x795d1d
mov byte [edi + 0x14], 1
xor eax, eax
mov byte [edi + 0x15], 1
jmp 0x795ad5
xor eax, eax
mov byte [edi + 0x14], 1
mov byte [edi + 0x15], al
push eax
push eax
push eax
push 3
push eax
push eax
push eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x795b5c
cmp eax, 0x80010119
je 0x795b5c
push 0x14
push 0x89f850
lea ecx, [ebp - 0x80]
call fcn.0044278f
push 4
push str.ctor
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
call fcn.0044278f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.0041d5c3
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xd
call fcn.0041d5c3
push 0x24
push str.Failed_to_initialize_COM_Security._r_n
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.0048dfda
cmp byte [edi + 0x15], 0
je 0x795d24
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [edi + 0x15], 0
jmp 0x795d24
push esi
push 0x89fbb0
push 0x17
push 0
push 0x88f240
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x11
push str.CLSID_WbemLocator
lea ecx, [ebp - 0xb8]
mov esi, eax
call fcn.0044278f
push 4
push str.ctor
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xe
call fcn.0044278f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
call fcn.0041d5c3
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.0041d5c3
mov byte [ebp - 4], 7
test esi, esi
js 0x795d16
cmp dword [edi + 0xc], 0
je 0x795d16
mov esi, dword [edi + 0xc]
lea ecx, [ebp - 0x12c]
push str.rootcimv2
mov byte [edi + 0x17], 1
call fcn.00443ac1
mov ecx, dword [esi]
lea edx, [edi + 0x10]
push edx
xor edx, edx
mov byte [ebp - 4], 0x11
push edx
push edx
push edx
push edx
push edx
push edx
push dword [eax]
push esi
call dword [ecx + 0xc]
push dword [ebp - 0x12c]
mov esi, eax
mov byte [ebp - 4], 7
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xd
push str.ConnectServer
lea ecx, [ebp - 0xf0]
call fcn.0044278f
push 4
push str.ctor
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x12
call fcn.0044278f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x13
call fcn.0041d5c3
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x14
call fcn.0041d5c3
mov byte [ebp - 4], 7
test esi, esi
js 0x795cf1
xor ecx, ecx
cmp dword [edi + 0x10], ecx
je 0x795cf1
push ecx
push ecx
push 3
push 3
push ecx
push ecx
push 0xa
push dword [edi + 0x10]
mov byte [edi + 0x16], 1
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push 0x11
push 0x89f900
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.0044278f
push 4
push str.ctor
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x15
call fcn.0044278f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x16
call fcn.0041d5c3
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x17
call fcn.0041d5c3
mov byte [ebp - 4], 7
test esi, esi
jns 0x795ceb
push 0x23
push str.Failure_in_setting_proxy_blanket._r_n
jmp 0x795d1d
mov byte [edi + 0x18], 1
jmp 0x795d24
push 0x21
push str.Failed_to_connect_WBEM_Locator._r_n
mov ecx, ebx
call fcn.0048dfda
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x795d10
and dword [edi + 0xc], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [edi + 0x17], 0
jmp 0x795d24
push 0x24
push str.Failed_to_initialize_WBEM_Locator._r_n
mov ecx, ebx
call fcn.0048dfda
mov eax, edi
call fcn.007207e2
ret