Function at 0x4233e0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b463d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 esi, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
cmp dword [eax + 0x10], 0
je 0x4238a8
mov esi, dword [esi]
test esi, esi
je 0x4238a8
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.0041f8e0
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x423458
mov edi, dword [eax]
jmp 0x42345a
xor edi, edi
push 0x4d53c0
lea ecx, [ebp - 0x14]
call fcn.0041f8e0
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x423475
mov eax, dword [eax]
jmp 0x423477
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 [0x4bf3b4]
call esi
mov esi, dword [ebp - 0x14]
or edi, 0xffffffff
mov dword [ebp - 0x18], eax
test esi, esi
je 0x4234e6
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4234df
test esi, esi
je 0x4234df
mov eax, dword [esi]
test eax, eax
je 0x4234bd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4234d4
push eax
call fcn.004631e0
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0047940e
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x423532
lock xadd dword [esi + 8], edi
dec edi
jne 0x423532
test esi, esi
je 0x423532
mov eax, dword [esi]
test eax, eax
je 0x423510
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x423527
push eax
call fcn.004631e0
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0047940e
add esp, 8
cmp dword [ebp - 0x18], 0
jge 0x42356a
push 5
call fcn.0046f750
add esp, 4
test eax, eax
je 0x42388b
lea eax, [ebp - 0x18]
push eax
push str.Error_calling_ExecQuery._Error:__X
push 0xa5
push str.CVPNClientDetector::IsVPNConnected
call fcn.00423980
add esp, 0x10
jmp 0x42388b
cmp dword [ebp - 0x1c], 0
jne 0x4235a8
push 5
call fcn.0046f750
add esp, 4
test eax, eax
je 0x42388b
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.004239b0
add esp, 0xc
jmp 0x42388b
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 [0x4bf3b4]
call esi
test eax, eax
mov eax, dword [ebp - 0x14]
js 0x42387d
cmp dword [ebp - 0x18], 0
je 0x42387d
test eax, eax
je 0x42387d
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 [0x4bf3b4]
call esi
test eax, eax
jns 0x42365d
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 0x4235b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4235b0
cmp word [ebp - 0x44], 8
je 0x423674
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0xb
jmp 0x423647
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x42368b
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0xc
jmp 0x423647
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 0x4236d8
lea esi, [eax + eax]
mov dword [ebp - 0x24], eax
push esi
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.0047e460
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x34], ax
mov edi, dword [ebp - 0x34]
jmp 0x42377a
cmp eax, 0x7ffffffe
ja 0x4238d1
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4236fc
mov esi, SysReAllocString
mov ecx, 0xfffffffe
jmp 0x42371b
cmp esi, 0xa
cmovb esi, edi
lea ecx, [esi + 1]
cmp ecx, 0x7fffffff
ja 0x4238cc
add ecx, ecx
cmp ecx, 0x1000
jb 0x423745
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x4238cc
push eax
call fcn.00479023
add esp, 4
test eax, eax
je 0x4238c7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x4c]
jmp 0x42375b
test ecx, ecx
je 0x423759
push ecx
call fcn.00479023
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x4c]
jmp 0x42375b
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.0047e460
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 0x423791
mov ecx, dword [edi]
push eax
push ecx
call fcn.00481ed1
mov edx, dword [ebp - 0x20]
add esp, 8
test eax, eax
je 0x423811
cmp edx, 8
jb 0x4237d9
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4237cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4238c7
push edx
push ecx
call fcn.0047940e
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 0x4235a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4235a8
cmp edx, 8
jb 0x423848
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42383e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4238c7
push edx
push ecx
call fcn.0047940e
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 0x423877
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 0x45], 1
jmp 0x42388f
mov byte [ebp - 4], 8
test eax, eax
je 0x42388b
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 0x4238a3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, byte [ebp - 0x45]
jmp 0x4238aa
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.00478c0a
mov esp, ebp
pop ebp
ret 8
call fcn.00487359
call fcn.004054f4
call fcn.0040556b
int3