Function at 0x4235e0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9c5d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 esi, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
cmp dword [eax + 0x10], 0
je 0x423aa8
mov esi, dword [esi]
test esi, esi
je 0x423aa8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x50]
mov eax, dword [esi]
push str.SELECT__FROM_Win32_NetworkAdapterConfiguration_where_IPEnabled__True
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x4c], eax
call fcn.0041fae0
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x423658
mov edi, dword [eax]
jmp 0x42365a
xor edi, edi
push 0x4db3c8
lea ecx, [ebp - 0x14]
call fcn.0041fae0
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x423675
mov eax, dword [eax]
jmp 0x423677
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x30
push edi
push eax
push esi
mov esi, dword [ebp - 0x4c]
mov ecx, esi
call dword [0x4c53b4]
call esi
mov esi, dword [ebp - 0x14]
or edi, 0xffffffff
mov dword [ebp - 0x18], eax
test esi, esi
je 0x4236e6
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4236df
test esi, esi
je 0x4236df
mov eax, dword [esi]
test eax, eax
je 0x4236bd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4236d4
push eax
call fcn.004686d0
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0047ea2e
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x423732
lock xadd dword [esi + 8], edi
dec edi
jne 0x423732
test esi, esi
je 0x423732
mov eax, dword [esi]
test eax, eax
je 0x423710
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x423727
push eax
call fcn.004686d0
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0047ea2e
add esp, 8
cmp dword [ebp - 0x18], 0
jge 0x42376a
push 5
call fcn.00474d70
add esp, 4
test eax, eax
je 0x423a8b
lea eax, [ebp - 0x18]
push eax
push str.Error_calling_ExecQuery._Error:__X
push 0xa5
push str.CVPNClientDetector::IsVPNConnected
call fcn.00423b80
add esp, 0x10
jmp 0x423a8b
cmp dword [ebp - 0x1c], 0
jne 0x4237a8
push 5
call fcn.00474d70
add esp, 4
test eax, eax
je 0x423a8b
push str.Error_calling_ExecQuery._Error:_E_ACCESSDENIED
push 0xaa
push str.CVPNClientDetector::IsVPNConnected
mov edx, str.E:BT7b75a14d_a952_4c39_9a43_c5a2f632b0c9WiFiConnectionScore_srcWiFiConnectionScoreImplVPNClientDetector.cpp
mov ecx, 5
call fcn.00423bb0
add esp, 0xc
jmp 0x423a8b
mov edi, 0xa
nop dword [eax]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0xffffffffffffffff
push eax
mov ecx, esi
call dword [0x4c53b4]
call esi
test eax, eax
mov eax, dword [ebp - 0x14]
js 0x423a7d
cmp dword [ebp - 0x18], 0
je 0x423a7d
test eax, eax
je 0x423a7d
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
push 0
push 0
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
lea ecx, [ebp - 0x44]
push ecx
push 0
push str.Description
push eax
mov ecx, esi
call dword [0x4c53b4]
call esi
test eax, eax
jns 0x42385d
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4237b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4237b0
cmp word [ebp - 0x44], 8
je 0x423874
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0xb
jmp 0x423847
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x42388b
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0xc
jmp 0x423847
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
cmp eax, 7
ja 0x4238d8
lea esi, [eax + eax]
mov dword [ebp - 0x24], eax
push esi
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.00483a80
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x34], ax
mov edi, dword [ebp - 0x34]
jmp 0x42397a
cmp eax, 0x7ffffffe
ja 0x423ad1
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4238fc
mov esi, SysReAllocString
mov ecx, 0xfffffffe
jmp 0x42391b
cmp esi, 0xa
cmovb esi, edi
lea ecx, [esi + 1]
cmp ecx, 0x7fffffff
ja 0x423acc
add ecx, ecx
cmp ecx, 0x1000
jb 0x423945
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x423acc
push eax
call fcn.0047e643
add esp, 4
test eax, eax
je 0x423ac7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x4c]
jmp 0x42395b
test ecx, ecx
je 0x423959
push ecx
call fcn.0047e643
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x4c]
jmp 0x42395b
xor edi, edi
mov dword [ebp - 0x20], esi
lea esi, [eax + eax]
push esi
push dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
push edi
call fcn.00483a80
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, edi
mov edi, dword [ebp - 0x54]
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x423991
mov ecx, dword [edi]
push eax
push ecx
call fcn.004874f1
mov edx, dword [ebp - 0x20]
add esp, 8
test eax, eax
je 0x423a11
cmp edx, 8
jb 0x4239d9
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4239cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423ac7
push edx
push ecx
call fcn.0047ea2e
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x20], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4237a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4237a8
cmp edx, 8
jb 0x423a48
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423a3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423ac7
push edx
push ecx
call fcn.0047ea2e
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x20], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x423a77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 0x45], 1
jmp 0x423a8f
mov byte [ebp - 4], 8
test eax, eax
je 0x423a8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 0x45], 0
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x423aa3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, byte [ebp - 0x45]
jmp 0x423aaa
xor al, al
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 8
call fcn.0048c979
call fcn.004054f4
call fcn.0040556b
int3