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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffcec
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x673f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045706e
mov dword [ebp - 0x190], eax
mov byte [ebp - 0xb1], 0
push 0x62fb3c
push 0x62fb54
push 0x80000001
lea eax, [ebp - 0xf0]
push eax
call fcn.0058c6b0
add esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xf0]
call fcn.00594da0
test eax, eax
jne 0x58ed40
lea ecx, [ebp - 0xf0]
call fcn.005947f0
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx]
jge 0x58ed07
lea ecx, [ebp - 0xf0]
call fcn.005947f0
add eax, 1
push eax
lea ecx, [ebp - 0xf0]
call fcn.005947d0
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005c0358
add esp, 0x10
mov byte [ebp - 0xb1], 1
lea ecx, [ebp - 0xf0]
call fcn.005947f0
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov al, byte [ebp - 0xb1]
mov byte [ebp - 0xc1], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00594300
mov al, byte [ebp - 0xc1]
jmp 0x58f5e9
push str.select__from_Win32_NetworkAdapter_where_NOT_PNPDeviceID_LIKE_ROOT__AND_NOT_PNPDeviceID_LIKE_SW_
lea ecx, [ebp - 0x180]
call fcn.005943b0
mov byte [ebp - 4], 1
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0xbc]
push ecx
push 0x63f3dc
push 1
push 0
push 0x63f3ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x58edbb
mov byte [ebp - 0xc2], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x180]
call fcn.00594300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00594300
mov al, byte [ebp - 0xc2]
jmp 0x58f5e9
mov dword [ebp - 0xc0], 0
lea edx, [ebp - 0xc0]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x62fc74
lea ecx, [ebp - 0x18c]
call fcn.00448d70
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x130]
call fcn.00448e80
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [edx + 0xc]
call ecx
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.00448e20
cmp dword [ebp - 0xb8], 0
jge 0x58ee83
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0xc3], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x180]
call fcn.00594300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00594300
mov al, byte [ebp - 0xc3]
jmp 0x58f5e9
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x58ef08
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0xc4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x180]
call fcn.00594300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00594300
mov al, byte [ebp - 0xc4]
jmp 0x58f5e9
mov dword [ebp - 0xd0], 0
lea eax, [ebp - 0xd0]
push eax
push 0
push 0x30
lea ecx, [ebp - 0x180]
call fcn.005947d0
push eax
lea ecx, [ebp - 0x164]
call fcn.00448d70
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x184], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x184]
call fcn.00448e80
push eax
push 0x62fa24
lea ecx, [ebp - 0x168]
call fcn.00448cd0
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x16c]
call fcn.00448e80
push eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ecx + 0x50]
call eax
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
call fcn.00448e20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call fcn.00448e20
cmp dword [ebp - 0xb8], 0
jl 0x58f55f
cmp dword [ebp - 0xd0], 0
je 0x58f55f
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xb0]
push edx
push 0x1e
push 0xffffffffffffffff
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0xfc]
call fcn.005942d0
mov byte [ebp - 4], 5
cmp dword [ebp - 0xb8], 0
jl 0x58f550
cmp dword [ebp - 0xdc], 0
jbe 0x58f550
lea ecx, [ebp - 0x11c]
call fcn.00591ef0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.00591e70
mov dword [ebp - 0xd8], 0
jmp 0x58f06e
mov ecx, dword [ebp - 0xd8]
add ecx, 1
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
cmp edx, dword [ebp - 0xdc]
jae 0x58f373
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp + eax*4 - 0xb0]
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0xcc], 0
je 0x58f36e
push 0
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push str.Index
lea ecx, [ebp - 0x138]
call fcn.00448d70
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x134]
call fcn.00592260
push eax
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x138]
call fcn.00448e20
cmp dword [ebp - 0xb8], 0
jl 0x58f36e
movzx eax, word [ebp - 0x114]
cmp eax, 3
jne 0x58f36e
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x104], ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
push str.ConfigManagerErrorCode
lea ecx, [ebp - 0x144]
call fcn.00448d70
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x140]
call fcn.00592260
push eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x144]
call fcn.00448e20
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x154], ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
push str.MACAddress
lea ecx, [ebp - 0x150]
call fcn.00448d70
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14c]
call fcn.00592260
push eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x150]
call fcn.00448e20
lea ecx, [ebp - 0x128]
call fcn.005942d0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xb8], 0
jl 0x58f352
movzx ecx, word [ebp - 0x114]
cmp ecx, 8
jne 0x58f27e
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00426660
add esp, 4
push eax
lea ecx, [ebp - 0x128]
call fcn.005945b0
jmp 0x58f30e
cmp dword [ebp - 0x154], 0x16
jne 0x58f30e
xor eax, eax
mov word [ebp - 0x38], ax
xor ecx, ecx
mov dword [ebp - 0x36], ecx
mov dword [ebp - 0x32], ecx
mov dword [ebp - 0x2e], ecx
mov dword [ebp - 0x2a], ecx
mov word [ebp - 0x26], cx
push 0xa
push 0xa
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x104]
push eax
call fcn.005c0cd8
add esp, 0x10
lea ecx, [ebp - 0x38]
push ecx
push 0x62fce4
push 0x80000001
lea edx, [ebp - 0x1a8]
push edx
call fcn.0058c6b0
add esp, 0x10
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00594600
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1a8]
call fcn.00594300
lea ecx, [ebp - 0x128]
call fcn.00594da0
test eax, eax
jne 0x58f352
push 0x62fd0c
push 0x62fd10
lea ecx, [ebp - 0x128]
call fcn.00594f70
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x11c]
call fcn.005921b0
mov ecx, eax
call fcn.00594600
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x128]
call fcn.00594300
jmp 0x58f05f
lea edx, [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x11c]
call fcn.005934c0
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
jmp 0x58f3a3
push 0
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00592390
lea edx, [ebp - 0x198]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00593800
push eax
lea ecx, [ebp - 0xd4]
call fcn.00592170
movzx eax, al
test eax, eax
je 0x58f481
lea ecx, [ebp - 0xd4]
call fcn.005922f0
add eax, 4
push eax
lea ecx, [ebp - 0xfc]
call fcn.00594600
lea ecx, [ebp - 0xfc]
call fcn.00594da0
test eax, eax
jne 0x58f47c
lea ecx, [ebp - 0xd4]
call fcn.005922f0
mov ecx, dword [eax]
mov dword [ebp - 0x160], ecx
xor edx, edx
mov word [ebp - 0x24], dx
xor eax, eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
push 0xa
push 0xa
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x160]
push edx
call fcn.005c0cd8
add esp, 0x10
lea ecx, [ebp - 0xfc]
call fcn.005947d0
push eax
lea eax, [ebp - 0x24]
push eax
push 0x62fd14
push 0x80000001
call fcn.0058c990
lea ecx, [ebp - 0xfc]
call fcn.005947d0
push eax
push str.HFNCv2
push 0x62fd4c
push 0x80000001
call fcn.0058c990
jmp 0x58f481
jmp 0x58f38f
lea ecx, [ebp - 0xfc]
call fcn.00594da0
test eax, eax
jne 0x58f4e6
lea ecx, [ebp - 0xfc]
call fcn.005947f0
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx]
jge 0x58f4d6
lea ecx, [ebp - 0xfc]
call fcn.005947f0
add eax, 1
push eax
lea ecx, [ebp - 0xfc]
call fcn.005947d0
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005c0358
add esp, 0x10
mov byte [ebp - 0xb1], 1
lea ecx, [ebp - 0xfc]
call fcn.005947f0
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov dword [ebp - 0xe0], 0
jmp 0x58f501
mov eax, dword [ebp - 0xe0]
add eax, 1
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [ebp - 0xdc]
jae 0x58f541
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp + edx*4 - 0xb0]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x58f53f
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x58f4f2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.00592060
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.00594300
cmp dword [ebp - 0xc0], 0
je 0x58f57c
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0xbc], 0
je 0x58f599
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0xd0], 0
je 0x58f5b6
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dl, byte [ebp - 0xb1]
mov byte [ebp - 0xc5], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x180]
call fcn.00594300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00594300
mov al, byte [ebp - 0xc5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret