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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x651635
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00408f00
mov dword [ebp - 0x190], eax
mov byte [ebp - 0xb1], 0
push 0x6814a4
push 0x6814b4
push SysReAllocStringLen
lea eax, [ebp - 0xfc]
push eax
call fcn.0040e270
add esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.0041b380
test eax, eax
jne 0x410e30
lea ecx, [ebp - 0xfc]
call fcn.0041ae90
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx]
jge 0x410df7
lea ecx, [ebp - 0xfc]
call fcn.0041ae90
add eax, 1
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041ae70
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0062eb20
add esp, 0x10
mov byte [ebp - 0xb1], 1
lea ecx, [ebp - 0xfc]
call fcn.0041ae90
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov al, byte [ebp - 0xb1]
mov byte [ebp - 0xc5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.0041a9d0
mov al, byte [ebp - 0xc5]
jmp 0x4116d9
push str.select__from_Win32_NetworkAdapter_where_NOT_PNPDeviceID_LIKE_ROOT__AND_NOT_PNPDeviceID_LIKE_SW_
lea ecx, [ebp - 0x174]
call fcn.0041aa50
mov byte [ebp - 4], 1
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0xbc]
push ecx
push 0x70b318
push 1
push 0
push 0x70b308
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x410eab
mov byte [ebp - 0xc6], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.0041a9d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.0041a9d0
mov al, byte [ebp - 0xc6]
jmp 0x4116d9
mov dword [ebp - 0xc0], 0
lea edx, [ebp - 0xc0]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
lea ecx, [ebp - 0x154]
call fcn.0040ca80
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14c]
call fcn.0040cbc0
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 - 0x154]
call fcn.0040cb40
cmp dword [ebp - 0xb8], 0
jge 0x410f73
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 - 0xcd], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.0041a9d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.0041a9d0
mov al, byte [ebp - 0xcd]
jmp 0x4116d9
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 0x410ff8
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 - 0xcf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.0041a9d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.0041a9d0
mov al, byte [ebp - 0xcf]
jmp 0x4116d9
mov dword [ebp - 0xc4], 0
lea eax, [ebp - 0xc4]
push eax
push 0
push 0x30
lea ecx, [ebp - 0x174]
call fcn.0041ae70
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040ca80
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x164]
call fcn.0040cbc0
push eax
push 0x681640
lea ecx, [ebp - 0x18c]
call fcn.00413f80
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x184]
call fcn.0040cbc0
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 - 0x18c]
call fcn.0040cb40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.0040cb40
cmp dword [ebp - 0xb8], 0
jl 0x41164f
cmp dword [ebp - 0xc4], 0
je 0x41164f
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 - 0xc4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc4]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0xf0]
call fcn.0041a9a0
mov byte [ebp - 4], 5
cmp dword [ebp - 0xb8], 0
jl 0x411640
cmp dword [ebp - 0xdc], 0
jbe 0x411640
lea ecx, [ebp - 0x11c]
call fcn.00413ed0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.00413eb0
mov dword [ebp - 0xd8], 0
jmp 0x41115e
mov ecx, dword [ebp - 0xd8]
add ecx, 1
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
cmp edx, dword [ebp - 0xdc]
jae 0x411463
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp + eax*4 - 0xb0]
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0xcc], 0
je 0x41145e
push 0
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push str.Index
lea ecx, [ebp - 0x160]
call fcn.0040ca80
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x138]
call fcn.0040cbc0
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 - 0x160]
call fcn.0040cb40
cmp dword [ebp - 0xb8], 0
jl 0x41145e
movzx eax, word [ebp - 0x114]
cmp eax, 3
jne 0x41145e
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 - 0x148]
call fcn.0040ca80
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x188], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x188]
call fcn.0040cbc0
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 - 0x148]
call fcn.0040cb40
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x158], 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 - 0x180]
call fcn.0040ca80
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x150], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x150]
call fcn.0040cbc0
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 - 0x180]
call fcn.0040cb40
lea ecx, [ebp - 0x128]
call fcn.0041a9a0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xb8], 0
jl 0x411442
movzx ecx, word [ebp - 0x114]
cmp ecx, 8
jne 0x41136e
mov edx, dword [ebp - 0x10c]
push edx
call fcn.0043eb00
add esp, 4
push eax
lea ecx, [ebp - 0x128]
call fcn.0041ac50
jmp 0x4113fe
cmp dword [ebp - 0x158], 0x16
jne 0x4113fe
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.00630087
add esp, 0x10
lea ecx, [ebp - 0x38]
push ecx
push 0x681a38
push SysReAllocStringLen
lea edx, [ebp - 0x1a8]
push edx
call fcn.0040e270
add esp, 0x10
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x128]
call fcn.0041aca0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1a8]
call fcn.0041a9d0
lea ecx, [ebp - 0x128]
call fcn.0041b380
test eax, eax
jne 0x411442
push 0x681ab4
push 0x681ab8
lea ecx, [ebp - 0x128]
call fcn.0041b590
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00414200
mov ecx, eax
call fcn.0041aca0
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x128]
call fcn.0041a9d0
jmp 0x41114f
lea edx, [ebp - 0x194]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00414dd0
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
jmp 0x411493
push 0
lea ecx, [ebp - 0x198]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.004142b0
lea edx, [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00452750
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444ed0
movzx eax, al
test eax, eax
je 0x411571
lea ecx, [ebp - 0xd4]
call fcn.00493f20
add eax, 4
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041aca0
lea ecx, [ebp - 0xf0]
call fcn.0041b380
test eax, eax
jne 0x41156c
lea ecx, [ebp - 0xd4]
call fcn.00493f20
mov ecx, dword [eax]
mov dword [ebp - 0x13c], 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 - 0x13c]
push edx
call fcn.00630087
add esp, 0x10
lea ecx, [ebp - 0xf0]
call fcn.0041ae70
push eax
lea eax, [ebp - 0x24]
push eax
push 0x681fa8
push SysReAllocStringLen
call fcn.0040e550
lea ecx, [ebp - 0xf0]
call fcn.0041ae70
push eax
push str.HFNCv2
push 0x6820a8
push SysReAllocStringLen
call fcn.0040e550
jmp 0x411571
jmp 0x41147f
lea ecx, [ebp - 0xf0]
call fcn.0041b380
test eax, eax
jne 0x4115d6
lea ecx, [ebp - 0xf0]
call fcn.0041ae90
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx]
jge 0x4115c6
lea ecx, [ebp - 0xf0]
call fcn.0041ae90
add eax, 1
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041ae70
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0062eb20
add esp, 0x10
mov byte [ebp - 0xb1], 1
lea ecx, [ebp - 0xf0]
call fcn.0041ae90
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov dword [ebp - 0xe0], 0
jmp 0x4115f1
mov eax, dword [ebp - 0xe0]
add eax, 1
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [ebp - 0xdc]
jae 0x411631
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp + edx*4 - 0xb0]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x41162f
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x4115e2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.00414120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.0041a9d0
cmp dword [ebp - 0xc0], 0
je 0x41166c
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 0x411689
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 - 0xc4], 0
je 0x4116a6
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dl, byte [ebp - 0xb1]
mov byte [ebp - 0xce], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.0041a9d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.0041a9d0
mov al, byte [ebp - 0xce]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret