Function at 0x40782f
Capabilities:
Connect to wmi namespace via wbemlocator
Reference absolute stream path on windows

Disassembly:
push 0x238
mov eax, 0x41a5e1
call fcn.00409e37
lea eax, [ebp - 0x224]
push eax
push 0x41e540
xor ebx, ebx
inc ebx
push ebx
xor esi, esi
push esi
push 0x41e610
mov dword [ebp - 0x224], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x40786d
mov eax, ebx
jmp 0x407ae0
push str.ROOTCIMV2
mov dword [ebp - 0x21c], esi
lea ecx, [ebp - 0x228]
call fcn.00404c0a
mov eax, dword [eax]
cmp eax, esi
mov dword [ebp - 4], esi
je 0x407890
mov ecx, dword [eax]
jmp 0x407892
xor ecx, ecx
lea edi, [ebp - 0x21c]
mov eax, dword [ebp - 0x224]
mov edx, dword [eax]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x228]
or dword [ebp - 4], 0xffffffff
cmp ecx, esi
mov edi, eax
je 0x4078c1
call fcn.00404c57
cmp edi, esi
jge 0x4078ea
mov eax, dword [ebp - 0x224]
cmp eax, esi
je 0x4078d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x407866
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x407866
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x21c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x40791c
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x407914
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x224]
jmp 0x4078db
xor ebx, ebx
push 0x206
mov word [ebp - 0x218], bx
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.004087d0
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push str.._rootCIMV2:Win32_NetworkAdapterConfiguration.Index
push str._s_d
push eax
call fcn.00404804
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
sub esp, 0xffffffe4
lea eax, [ebp - 0x218]
push eax
call edi
push 0x41c240
mov ebx, eax
call edi
push str.Win32_NetworkAdapterConfiguration
mov dword [ebp - 0x220], eax
call edi
push esi
lea edx, [ebp - 0x234]
push edx
push esi
mov edi, eax
mov eax, dword [ebp - 0x21c]
push esi
push edi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x22c], esi
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x228], edi
call dword [ecx + 0x18]
or eax, eax
mov eax, dword [ebp - 0x21c]
jns 0x4079f1
cmp eax, esi
je 0x4079b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x224]
cmp eax, esi
je 0x4079c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x4079d9
push dword [ebp - 0x228]
call edi
cmp dword [ebp - 0x220], esi
je 0x4079e9
push dword [ebp - 0x220]
call edi
or eax, 0xffffffff
jmp 0x407ae0
lea edx, [ebp - 0x22c]
mov ecx, dword [eax]
push esi
push edx
push esi
push esi
push esi
push dword [ebp - 0x220]
push ebx
push eax
call dword [ecx + 0x60]
cmp eax, esi
jge 0x407a15
mov eax, dword [ebp - 0x21c]
jmp 0x4079ad
push str.ReturnValue
lea ecx, [ebp - 0x230]
call fcn.00404c0a
mov eax, dword [eax]
cmp eax, esi
mov dword [ebp - 4], 1
je 0x407a36
mov ecx, dword [eax]
jmp 0x407a38
xor ecx, ecx
mov eax, dword [ebp - 0x22c]
lea ebx, [ebp - 0x244]
mov edx, dword [eax]
push esi
push esi
push ebx
push esi
push ecx
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x230]
mov ebx, eax
or dword [ebp - 4], 0xffffffff
cmp ecx, esi
je 0x407a6a
call fcn.00404c57
mov dword [ebp - 0x230], esi
cmp ebx, esi
jl 0x407a0d
mov eax, dword [ebp - 0x234]
cmp eax, esi
je 0x407a7e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x22c]
cmp eax, esi
je 0x407a8e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x407aab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x224]
cmp eax, esi
je 0x407abb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x407acd
push dword [ebp - 0x228]
call edi
cmp dword [ebp - 0x220], esi
je 0x407add
push dword [ebp - 0x220]
call edi
xor eax, eax
inc eax
call fcn.00409e81
ret