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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ed72
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x721970]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00408620
mov dword [ebp - 0x190], eax
mov byte [ebp - 0xb1], 0
push 0x65b63c
push 0x65b64c
push SysReAllocStringLen
lea eax, [ebp - 0xfc]
push eax
call fcn.0040d770
add esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.00419670
test eax, eax
jne 0x40fea0
lea ecx, [ebp - 0xfc]
call fcn.00419180
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx]
jge 0x40fe67
lea ecx, [ebp - 0xfc]
call fcn.00419180
add eax, 1
push eax
lea ecx, [ebp - 0xfc]
call fcn.00419160
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0061006f
add esp, 0x10
mov byte [ebp - 0xb1], 1
lea ecx, [ebp - 0xfc]
call fcn.00419180
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.00418cc0
mov al, byte [ebp - 0xc5]
jmp 0x410749
push 0x65b678
lea ecx, [ebp - 0x174]
call fcn.00418d40
mov byte [ebp - 4], 1
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0xbc]
push ecx
push 0x6df428
push 1
push 0
push 0x6df418
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x40ff1b
mov byte [ebp - 0xc6], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.00418cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.00418cc0
mov al, byte [ebp - 0xc6]
jmp 0x410749
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.0040bfc0
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.0040c160
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.0040c080
cmp dword [ebp - 0xb8], 0
jge 0x40ffe3
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.00418cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.00418cc0
mov al, byte [ebp - 0xcd]
jmp 0x410749
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 0x410068
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.00418cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.00418cc0
mov al, byte [ebp - 0xcf]
jmp 0x410749
mov dword [ebp - 0xc4], 0
lea eax, [ebp - 0xc4]
push eax
push 0
push 0x30
lea ecx, [ebp - 0x174]
call fcn.00419160
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040bfc0
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.0040c160
push eax
push 0x65b774
lea ecx, [ebp - 0x18c]
call fcn.00412f20
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.0040c160
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.0040c080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.0040c080
cmp dword [ebp - 0xb8], 0
jl 0x4106bf
cmp dword [ebp - 0xc4], 0
je 0x4106bf
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.00418c90
mov byte [ebp - 4], 5
cmp dword [ebp - 0xb8], 0
jl 0x4106b0
cmp dword [ebp - 0xdc], 0
jbe 0x4106b0
lea ecx, [ebp - 0x11c]
call fcn.00412e80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.00412e40
mov dword [ebp - 0xd8], 0
jmp 0x4101ce
mov ecx, dword [ebp - 0xd8]
add ecx, 1
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
cmp edx, dword [ebp - 0xdc]
jae 0x4104d3
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp + eax*4 - 0xb0]
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0xcc], 0
je 0x4104ce
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.0040bfc0
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.0040c160
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.0040c080
cmp dword [ebp - 0xb8], 0
jl 0x4104ce
movzx eax, word [ebp - 0x114]
cmp eax, 3
jne 0x4104ce
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.0040bfc0
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.0040c160
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.0040c080
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.0040bfc0
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.0040c160
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.0040c080
lea ecx, [ebp - 0x128]
call fcn.00418c90
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xb8], 0
jl 0x4104b2
movzx ecx, word [ebp - 0x114]
cmp ecx, 8
jne 0x4103de
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004424a0
add esp, 4
push eax
lea ecx, [ebp - 0x128]
call fcn.00418f40
jmp 0x41046e
cmp dword [ebp - 0x158], 0x16
jne 0x41046e
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.006115d0
add esp, 0x10
lea ecx, [ebp - 0x38]
push ecx
push 0x65bcec
push SysReAllocStringLen
lea edx, [ebp - 0x1a8]
push edx
call fcn.0040d770
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.00418f90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1a8]
call fcn.00418cc0
lea ecx, [ebp - 0x128]
call fcn.00419670
test eax, eax
jne 0x4104b2
push 0x65bd30
push 0x65bd34
lea ecx, [ebp - 0x128]
call fcn.00419880
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00413100
mov ecx, eax
call fcn.00418f90
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x128]
call fcn.00418cc0
jmp 0x4101bf
lea edx, [ebp - 0x194]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00413e90
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
jmp 0x410503
push 0
lea ecx, [ebp - 0x198]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.0044f6d0
lea edx, [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00492050
push eax
lea ecx, [ebp - 0xd4]
call fcn.00466af0
movzx eax, al
test eax, eax
je 0x4105e1
lea ecx, [ebp - 0xd4]
call fcn.0044f6b0
add eax, 4
push eax
lea ecx, [ebp - 0xf0]
call fcn.00418f90
lea ecx, [ebp - 0xf0]
call fcn.00419670
test eax, eax
jne 0x4105dc
lea ecx, [ebp - 0xd4]
call fcn.0044f6b0
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.006115d0
add esp, 0x10
lea ecx, [ebp - 0xf0]
call fcn.00419160
push eax
lea eax, [ebp - 0x24]
push eax
push 0x65be00
push SysReAllocStringLen
call fcn.0040da50
lea ecx, [ebp - 0xf0]
call fcn.00419160
push eax
push str.HFNCv2
push 0x65be38
push SysReAllocStringLen
call fcn.0040da50
jmp 0x4105e1
jmp 0x4104ef
lea ecx, [ebp - 0xf0]
call fcn.00419670
test eax, eax
jne 0x410646
lea ecx, [ebp - 0xf0]
call fcn.00419180
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx]
jge 0x410636
lea ecx, [ebp - 0xf0]
call fcn.00419180
add eax, 1
push eax
lea ecx, [ebp - 0xf0]
call fcn.00419160
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0061006f
add esp, 0x10
mov byte [ebp - 0xb1], 1
lea ecx, [ebp - 0xf0]
call fcn.00419180
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov dword [ebp - 0xe0], 0
jmp 0x410661
mov eax, dword [ebp - 0xe0]
add eax, 1
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [ebp - 0xdc]
jae 0x4106a1
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp + edx*4 - 0xb0]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x41069f
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x410652
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.00413020
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00418cc0
cmp dword [ebp - 0xc0], 0
je 0x4106dc
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 0x4106f9
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 0x410716
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.00418cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.00418cc0
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.0060f7c8
mov esp, ebp
pop ebp
ret