Function at 0x1011e7b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x17f8
call fcn.101f99e0
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x17f8], ecx
lea ecx, [ebp - 0x17f4]
push esi
mov esi, dword [str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsConnections]
mov dword [ebp - 0x17f4], 0
mov dword [ebp - 0x17f0], 0
mov dword [ebp - 0x17ec], 0xffffffff
call fcn.10008220
push 0xf013f
push esi
lea eax, [ebp - 0x17f4]
push SysReAllocString
push eax
mov ecx, eax
call fcn.1000a260
test eax, eax
jne 0x1011eae9
push ebx
mov ebx, dword [ebp - 0x17ec]
mov dword [ebp - 0x17e0], 3
push edi
mov ecx, dword [ebp - 0x17f4]
mov dword [ebp - 0x17e4], eax
mov dword [ebp - 0x17d8], 0xfd0
mov dword [ebp - 0x17dc], 0x800
cmp ebx, 0xffffffff
je 0x1011e8f0
cmp eax, ebx
jb 0x1011e8f0
test ecx, ecx
je 0x1011e8f0
mov edi, eax
sub edi, ebx
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1011e883
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3f
call fcn.10003680
add esp, 4
test eax, eax
je 0x1011e8c5
lea ecx, [ebp - 0x17d8]
push ecx
lea ecx, [ebp - 0x17d4]
push ecx
lea ecx, [ebp - 0x17e0]
push ecx
push 0
lea ecx, [ebp - 0x17dc]
push ecx
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [ebp - 0x17f4]
push edi
push ecx
call eax
jmp 0x1011ea70
lea eax, [ebp - 0x17d8]
push eax
lea eax, [ebp - 0x17d4]
push eax
lea eax, [ebp - 0x17e0]
push eax
push 0
lea eax, [ebp - 0x17dc]
push eax
lea eax, [ebp - 0x804]
push eax
push edi
jmp 0x1011ea63
or ebx, 0xffffffff
mov edi, 0x103
cmp dword [ebp - 0x17f0], 0
mov dword [ebp - 0x17ec], ebx
je 0x1011e9c2
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1011e921
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3f
call fcn.10003680
add esp, 4
test eax, eax
je 0x1011e965
lea ecx, [ebp - 0x17d8]
push ecx
lea ecx, [ebp - 0x17d4]
push ecx
lea ecx, [ebp - 0x17e0]
push ecx
push 0
lea ecx, [ebp - 0x17dc]
push ecx
lea ecx, [ebp - 0x804]
push ecx
push dword [ebp - 0x17e4]
mov ecx, dword [ebp - 0x17f0]
push ecx
call eax
jmp 0x1011e99d
mov ecx, dword [ebp - 0x17f0]
lea eax, [ebp - 0x17d8]
push eax
lea eax, [ebp - 0x17d4]
push eax
lea eax, [ebp - 0x17e0]
push eax
push 0
lea eax, [ebp - 0x17dc]
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x17e4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test esi, esi
je 0x1011e9aa
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0x103
jne 0x1011ea7d
mov eax, dword [ebp - 0x17e4]
mov ecx, dword [ebp - 0x17f4]
test ecx, ecx
je 0x1011ea7d
mov ebx, eax
mov dword [ebp - 0x17dc], 0x800
mov dword [ebp - 0x17ec], ebx
mov dword [ebp - 0x17d8], 0xfd0
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1011e9fc
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3f
call fcn.10003680
add esp, 4
test eax, eax
je 0x1011ea3c
lea ecx, [ebp - 0x17d8]
push ecx
lea ecx, [ebp - 0x17d4]
push ecx
lea ecx, [ebp - 0x17e0]
push ecx
push 0
lea ecx, [ebp - 0x17dc]
push ecx
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [ebp - 0x17f4]
push 0
push ecx
call eax
jmp 0x1011ea70
lea eax, [ebp - 0x17d8]
push eax
lea eax, [ebp - 0x17d4]
push eax
lea eax, [ebp - 0x17e0]
push eax
push 0
lea eax, [ebp - 0x17dc]
push eax
lea eax, [ebp - 0x804]
push eax
push 0
mov ecx, dword [ebp - 0x17f4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test esi, esi
je 0x1011ea7d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x1011eae7
cmp dword [ebp - 0x17e0], 3
jne 0x1011eadb
cmp dword [ebp - 0x17d8], edi
je 0x1011eadb
cmp byte [ebp - 0x17d4], 0
je 0x1011eadb
lea eax, [ebp - 0x804]
push str.SavedLegacySettings
push eax
call sub.msvcrt.dll__wcsicmp
add esp, 8
test eax, eax
je 0x1011eadb
mov edi, dword [ebp - 0x17f8]
mov ecx, edi
lea eax, [edi + 0x500]
push eax
push dword [ebp - 0x17d8]
lea eax, [ebp - 0x17d4]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.1011dcd0
mov eax, dword [ebp - 0x17e4]
inc eax
jmp 0x1011e830
pop edi
pop ebx
lea ecx, [ebp - 0x17f4]
call fcn.10008220
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101f99c6
mov esp, ebp
pop ebp
ret