Function at 0x422af0
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4f7108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
push 0x4c7e0c
push 1
push 0
push 0x4c7e1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jns 0x422b84
push 5
call fcn.00474d70
add esp, 4
test eax, eax
je 0x423596
lea eax, [ebp - 0x14]
push eax
push str.Error_calling_CoCreateInstance._Error:__X
push 0x31
push str.CVPNClientDetector::EnumVPNClients
call fcn.00423b80
add esp, 0x10
jmp 0x423596
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x422bc1
push 5
call fcn.00474d70
add esp, 4
test eax, eax
je 0x422bb7
push str.Error_calling_CoCreateInstance._Error:_E_ACCESSDENIED
push 0x36
push str.CVPNClientDetector::EnumVPNClients
mov edx, str.E:BT7b75a14d_a952_4c39_9a43_c5a2f632b0c9WiFiConnectionScore_srcWiFiConnectionScoreImplVPNClientDetector.cpp
mov ecx, 5
call fcn.00423bb0
add esp, 0xc
mov esi, 0x80070005
jmp 0x423596
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, dword [0x5033b0]
test ecx, ecx
je 0x422bdf
mov ecx, dword [ecx]
jmp 0x422be1
xor ecx, ecx
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
mov ecx, esi
call dword [0x4c53b4]
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jns 0x422c35
push 5
call fcn.00474d70
add esp, 4
test eax, eax
je 0x423585
lea eax, [ebp - 0x14]
push eax
push str.Error_calling_ConnectServer._Error:__X
push 0x45
push str.CVPNClientDetector::EnumVPNClients
call fcn.00423b80
add esp, 0x10
jmp 0x423585
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x422c72
push 5
call fcn.00474d70
add esp, 4
test eax, eax
je 0x422c68
push str.Error_calling_ConnectServer._Error:_E_ACCESSDENIED
push 0x4a
push str.CVPNClientDetector::EnumVPNClients
mov edx, str.E:BT7b75a14d_a952_4c39_9a43_c5a2f632b0c9WiFiConnectionScore_srcWiFiConnectionScoreImplVPNClientDetector.cpp
mov ecx, 5
call fcn.00423bb0
add esp, 0xc
mov esi, 0x80070005
jmp 0x423585
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jns 0x422cbf
push 5
call fcn.00474d70
add esp, 4
test eax, eax
je 0x423585
lea eax, [ebp - 0x14]
push eax
push str.Error_calling_CoSetProxyBlanket._Error:__X
push 0x59
push str.CVPNClientDetector::EnumVPNClients
call fcn.00423b80
add esp, 0x10
jmp 0x423585
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x88]
mov esi, dword [ebp - 0x30]
push str.SELECT__FROM_Win32_NetworkAdapter
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x84], eax
call fcn.0041fae0
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
test eax, eax
je 0x422cf6
mov edi, dword [eax]
jmp 0x422cf8
xor edi, edi
push 0x4db3c8
lea ecx, [ebp - 0x34]
call fcn.0041fae0
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
test eax, eax
je 0x422d13
mov eax, dword [eax]
jmp 0x422d15
xor eax, eax
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0x30
push edi
push eax
push esi
mov esi, dword [ebp - 0x84]
mov ecx, esi
call dword [0x4c53b4]
call esi
mov edi, dword [ebp - 0x34]
mov esi, eax
or eax, 0xffffffff
mov dword [ebp - 0x14], esi
test edi, edi
je 0x422d8a
lock xadd dword [edi + 8], eax
dec eax
jne 0x422d80
test edi, edi
je 0x422d80
mov eax, dword [edi]
test eax, eax
je 0x422d5e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x422d75
push eax
call fcn.004686d0
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0047ea2e
add esp, 8
mov dword [ebp - 0x34], 0
or eax, 0xffffffff
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x88]
test edi, edi
je 0x422dd9
lock xadd dword [edi + 8], eax
dec eax
jne 0x422dd9
test edi, edi
je 0x422dd9
mov eax, dword [edi]
test eax, eax
je 0x422db7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x422dce
push eax
call fcn.004686d0
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0047ea2e
add esp, 8
test esi, esi
jns 0x422e0c
push 5
call fcn.00474d70
add esp, 4
test eax, eax
je 0x423574
lea eax, [ebp - 0x14]
push eax
push str.Error_calling_ExecQuery._Error:__X
push 0x65
push str.CVPNClientDetector::EnumVPNClients
call fcn.00423b80
add esp, 0x10
jmp 0x423574
cmp dword [ebp - 0x38], 0
jne 0x422e50
push 5
call fcn.00474d70
add esp, 4
test eax, eax
je 0x422e3e
push str.Error_calling_ExecQuery._Error:_E_ACCESSDENIED
push 0x6a
push str.CVPNClientDetector::EnumVPNClients
mov edx, str.E:BT7b75a14d_a952_4c39_9a43_c5a2f632b0c9WiFiConnectionScore_srcWiFiConnectionScoreImplVPNClientDetector.cpp
mov ecx, 5
call fcn.00423bb0
add esp, 0xc
mov esi, 0x80070005
jmp 0x423574
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0xffffffffffffffff
push eax
mov ecx, esi
call dword [0x4c53b4]
call esi
cmp dword [ebp - 0x34], 0
je 0x423561
test eax, eax
js 0x423561
lea eax, [ebp - 0x80]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x80], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x14]
push 0
push 0
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
lea ecx, [ebp - 0x80]
push ecx
push 0
push str.PNPDeviceID
push eax
mov ecx, esi
call dword [0x4c53b4]
call esi
test eax, eax
jns 0x422ef2
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x422e50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x422e50
mov ax, word [ebp - 0x80]
cmp ax, 1
je 0x42354e
test ax, ax
je 0x42354e
push dword [ebp - 0x78]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edi, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
cmp eax, 7
ja 0x422f64
lea esi, [eax + eax]
mov dword [ebp - 0x1c], eax
push esi
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00483a80
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x2c], ax
mov edi, dword [ebp - 0x2c]
jmp 0x42300c
cmp eax, 0x7ffffffe
ja 0x4235d3
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x422f88
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x422faa
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4235ce
add eax, eax
cmp eax, 0x1000
jb 0x422fd1
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4235ce
push ecx
call fcn.0047e643
add esp, 4
test eax, eax
je 0x4235c9
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x422fe4
test eax, eax
je 0x422fe2
push eax
call fcn.0047e643
add esp, 4
mov edi, eax
jmp 0x422fe4
xor edi, edi
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x84]
push edi
call fcn.00483a80
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
cmp esi, 8
mov edx, dword [ebp - 0x1c]
push 8
push str.ROOTNET
cmovae ecx, edi
push 0
call fcn.004207a0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x423094
mov byte [ebp - 4], 0x19
cmp esi, 8
jb 0x42306d
lea ecx, [esi*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x423063
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4235c9
push ecx
push edi
call fcn.0047ea2e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x18], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x1d
jmp 0x422edc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
push 0
push 0
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
lea ecx, [ebp - 0x80]
push ecx
push 0
push str.Description
push eax
mov ecx, esi
call dword [0x4c53b4]
call esi
test eax, eax
jns 0x423129
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x423102
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4230f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4235c9
push edx
push ecx
call fcn.0047ea2e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x18], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x1e
jmp 0x422edc
cmp word [ebp - 0x80], 8
je 0x423195
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x42316e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423164
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4235c9
push edx
push ecx
call fcn.0047ea2e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x18], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x1f
jmp 0x422edc
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x423201
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4231da
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4231d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4235c9
push edx
push ecx
call fcn.0047ea2e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x18], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x20
jmp 0x422edc
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edi, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], cx
cmp eax, 7
ja 0x42325a
lea esi, [eax + eax]
mov dword [ebp - 0x44], eax
push esi
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00483a80
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x54], ax
mov edi, dword [ebp - 0x54]
jmp 0x423302
cmp eax, 0x7ffffffe
ja 0x4235d3
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x42327e
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4232a0
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4235ce
add eax, eax
cmp eax, 0x1000
jb 0x4232c7
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4235ce
push ecx
call fcn.0047e643
add esp, 4
test eax, eax
je 0x4235c9
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4232da
test eax, eax
je 0x4232d8
push eax
call fcn.0047e643
add esp, 4
mov edi, eax
jmp 0x4232da
xor edi, edi
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x84]
push edi
call fcn.00483a80
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 0x54], edi
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x44]
cmovae ecx, edi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
cmp eax, 7
ja 0x42335f
lea esi, [eax + eax]
mov dword [ebp - 0x60], eax
push esi
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.00483a80
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x70], ax
jmp 0x42340e
cmp eax, 0x7ffffffe
ja 0x4235d3
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x423383
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4233a5
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4235ce
add eax, eax
cmp eax, 0x1000
jb 0x4233d2
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4235ce
push ecx
call fcn.0047e643
add esp, 4
test eax, eax
je 0x4235c9
mov ecx, dword [ebp - 0x84]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4233eb
test eax, eax
je 0x4233e9
push eax
call fcn.0047e643
mov ecx, dword [ebp - 0x84]
add esp, 4
mov edi, eax
jmp 0x4233eb
xor edi, edi
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], eax
lea esi, [eax + eax]
push esi
push ecx
push edi
call fcn.00483a80
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x70], edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004235e0
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x58], al
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x42343d
mov ecx, eax
call fcn.00423ee0
add dword [esi + 4], 0x1c
jmp 0x423445
push eax
mov ecx, esi
call fcn.00423be0
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x423483
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4235c9
push edx
push ecx
call fcn.0047ea2e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x4234d5
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4234cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4235c9
push edx
push ecx
call fcn.0047ea2e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
cmp edx, 8
jb 0x423527
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42351d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4235c9
push edx
push ecx
call fcn.0047ea2e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x18], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x23
jmp 0x422edc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x1b
jmp 0x422edc
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x423572
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x423585
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x423596
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x26
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4235aa
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e22a
mov esp, ebp
pop ebp
ret 4
call fcn.0048c979
call fcn.004054f4
call fcn.0040556b
int3