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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b45d8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4f0108]
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 0x4c1e0c
push 1
push 0
push 0x4c1e1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jns 0x422984
push 5
call fcn.0046f750
add esp, 4
test eax, eax
je 0x423396
lea eax, [ebp - 0x14]
push eax
push str.Error_calling_CoCreateInstance._Error:__X
push 0x31
push str.CVPNClientDetector::EnumVPNClients
call fcn.00423980
add esp, 0x10
jmp 0x423396
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4229c1
push 5
call fcn.0046f750
add esp, 4
test eax, eax
je 0x4229b7
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.004239b0
add esp, 0xc
mov esi, 0x80070005
jmp 0x423396
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, dword [0x4fc34c]
test ecx, ecx
je 0x4229df
mov ecx, dword [ecx]
jmp 0x4229e1
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 [0x4bf3b4]
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jns 0x422a35
push 5
call fcn.0046f750
add esp, 4
test eax, eax
je 0x423385
lea eax, [ebp - 0x14]
push eax
push str.Error_calling_ConnectServer._Error:__X
push 0x45
push str.CVPNClientDetector::EnumVPNClients
call fcn.00423980
add esp, 0x10
jmp 0x423385
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x422a72
push 5
call fcn.0046f750
add esp, 4
test eax, eax
je 0x422a68
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.004239b0
add esp, 0xc
mov esi, 0x80070005
jmp 0x423385
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 0x422abf
push 5
call fcn.0046f750
add esp, 4
test eax, eax
je 0x423385
lea eax, [ebp - 0x14]
push eax
push str.Error_calling_CoSetProxyBlanket._Error:__X
push 0x59
push str.CVPNClientDetector::EnumVPNClients
call fcn.00423980
add esp, 0x10
jmp 0x423385
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.0041f8e0
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
test eax, eax
je 0x422af6
mov edi, dword [eax]
jmp 0x422af8
xor edi, edi
push 0x4d53c0
lea ecx, [ebp - 0x34]
call fcn.0041f8e0
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
test eax, eax
je 0x422b13
mov eax, dword [eax]
jmp 0x422b15
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 [0x4bf3b4]
call esi
mov edi, dword [ebp - 0x34]
mov esi, eax
or eax, 0xffffffff
mov dword [ebp - 0x14], esi
test edi, edi
je 0x422b8a
lock xadd dword [edi + 8], eax
dec eax
jne 0x422b80
test edi, edi
je 0x422b80
mov eax, dword [edi]
test eax, eax
je 0x422b5e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x422b75
push eax
call fcn.004631e0
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0047940e
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 0x422bd9
lock xadd dword [edi + 8], eax
dec eax
jne 0x422bd9
test edi, edi
je 0x422bd9
mov eax, dword [edi]
test eax, eax
je 0x422bb7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x422bce
push eax
call fcn.004631e0
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0047940e
add esp, 8
test esi, esi
jns 0x422c0c
push 5
call fcn.0046f750
add esp, 4
test eax, eax
je 0x423374
lea eax, [ebp - 0x14]
push eax
push str.Error_calling_ExecQuery._Error:__X
push 0x65
push str.CVPNClientDetector::EnumVPNClients
call fcn.00423980
add esp, 0x10
jmp 0x423374
cmp dword [ebp - 0x38], 0
jne 0x422c50
push 5
call fcn.0046f750
add esp, 4
test eax, eax
je 0x422c3e
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.004239b0
add esp, 0xc
mov esi, 0x80070005
jmp 0x423374
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 [0x4bf3b4]
call esi
cmp dword [ebp - 0x34], 0
je 0x423361
test eax, eax
js 0x423361
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 [0x4bf3b4]
call esi
test eax, eax
jns 0x422cf2
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 0x422c50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x422c50
mov ax, word [ebp - 0x80]
cmp ax, 1
je 0x42334e
test ax, ax
je 0x42334e
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 0x422d64
lea esi, [eax + eax]
mov dword [ebp - 0x1c], eax
push esi
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0047e460
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x2c], ax
mov edi, dword [ebp - 0x2c]
jmp 0x422e0c
cmp eax, 0x7ffffffe
ja 0x4233d3
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x422d88
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x422daa
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4233ce
add eax, eax
cmp eax, 0x1000
jb 0x422dd1
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4233ce
push ecx
call fcn.00479023
add esp, 4
test eax, eax
je 0x4233c9
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x422de4
test eax, eax
je 0x422de2
push eax
call fcn.00479023
add esp, 4
mov edi, eax
jmp 0x422de4
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.0047e460
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.004205a0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x422e94
mov byte [ebp - 4], 0x19
cmp esi, 8
jb 0x422e6d
lea ecx, [esi*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x422e63
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4233c9
push ecx
push edi
call fcn.0047940e
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 0x422cdc
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 [0x4bf3b4]
call esi
test eax, eax
jns 0x422f29
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x422f02
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422ef8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4233c9
push edx
push ecx
call fcn.0047940e
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 0x422cdc
cmp word [ebp - 0x80], 8
je 0x422f95
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x422f6e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422f64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4233c9
push edx
push ecx
call fcn.0047940e
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 0x422cdc
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x423001
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x422fda
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422fd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4233c9
push edx
push ecx
call fcn.0047940e
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 0x422cdc
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 0x42305a
lea esi, [eax + eax]
mov dword [ebp - 0x44], eax
push esi
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.0047e460
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x54], ax
mov edi, dword [ebp - 0x54]
jmp 0x423102
cmp eax, 0x7ffffffe
ja 0x4233d3
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x42307e
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4230a0
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4233ce
add eax, eax
cmp eax, 0x1000
jb 0x4230c7
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4233ce
push ecx
call fcn.00479023
add esp, 4
test eax, eax
je 0x4233c9
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4230da
test eax, eax
je 0x4230d8
push eax
call fcn.00479023
add esp, 4
mov edi, eax
jmp 0x4230da
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.0047e460
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 0x42315f
lea esi, [eax + eax]
mov dword [ebp - 0x60], eax
push esi
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0047e460
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x70], ax
jmp 0x42320e
cmp eax, 0x7ffffffe
ja 0x4233d3
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x423183
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4231a5
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4233ce
add eax, eax
cmp eax, 0x1000
jb 0x4231d2
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4233ce
push ecx
call fcn.00479023
add esp, 4
test eax, eax
je 0x4233c9
mov ecx, dword [ebp - 0x84]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4231eb
test eax, eax
je 0x4231e9
push eax
call fcn.00479023
mov ecx, dword [ebp - 0x84]
add esp, 4
mov edi, eax
jmp 0x4231eb
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.0047e460
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.004233e0
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 0x42323d
mov ecx, eax
call fcn.00423ce0
add dword [esi + 4], 0x1c
jmp 0x423245
push eax
mov ecx, esi
call fcn.004239e0
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x423283
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423279
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4233c9
push edx
push ecx
call fcn.0047940e
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 0x4232d5
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4232cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4233c9
push edx
push ecx
call fcn.0047940e
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 0x423327
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42331d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4233c9
push edx
push ecx
call fcn.0047940e
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 0x422cdc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x1b
jmp 0x422cdc
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x423372
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 0x423385
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x423396
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x26
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4233aa
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.00478c0a
mov esp, ebp
pop ebp
ret 4
call fcn.00487359
call fcn.004054f4
call fcn.0040556b
int3