Function at 0x100621a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.101f99e0
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x180c], 0
push edi
mov edi, dword [str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsConnections]
lea ecx, [ebp - 0x180c]
xor esi, esi
mov dword [ebp - 0x1808], 0
mov dword [ebp - 0x1804], 0xffffffff
mov dword [ebp - 0x1818], esi
mov dword [ebp - 0x1814], ebx
mov dword [ebp - 0x1810], ebx
call fcn.10008220
push 0xf013f
push edi
lea eax, [ebp - 0x180c]
push SysReAllocString
push eax
mov ecx, eax
call fcn.1000a260
test eax, eax
jne 0x100625d4
mov dword [ebp - 0x17f8], 3
xor ecx, ecx
mov eax, dword [ebp - 0x1804]
mov edx, dword [ebp - 0x180c]
mov dword [ebp - 0x17fc], ecx
mov dword [ebp - 0x17f0], 0xfd0
mov dword [ebp - 0x17f4], 0x800
cmp eax, 0xffffffff
je 0x100622f2
cmp ecx, eax
jb 0x100622f2
test edx, edx
je 0x100622f2
mov edi, ecx
sub edi, eax
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10062285
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3f
call fcn.10003680
add esp, 4
test eax, eax
je 0x100622c7
lea ecx, [ebp - 0x17f0]
push ecx
lea ecx, [ebp - 0x17d4]
push ecx
lea ecx, [ebp - 0x17f8]
push ecx
push 0
lea ecx, [ebp - 0x17f4]
push ecx
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [ebp - 0x180c]
push edi
push ecx
call eax
jmp 0x10062471
lea eax, [ebp - 0x17f0]
push eax
lea eax, [ebp - 0x17d4]
push eax
lea eax, [ebp - 0x17f8]
push eax
push 0
lea eax, [ebp - 0x17f4]
push eax
lea eax, [ebp - 0x804]
push eax
push edi
jmp 0x10062464
cmp dword [ebp - 0x1808], 0
mov edi, 0x103
mov dword [ebp - 0x1804], 0xffffffff
je 0x100623c5
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10062324
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3f
call fcn.10003680
add esp, 4
test eax, eax
je 0x10062368
lea ecx, [ebp - 0x17f0]
push ecx
lea ecx, [ebp - 0x17d4]
push ecx
lea ecx, [ebp - 0x17f8]
push ecx
push 0
lea ecx, [ebp - 0x17f4]
push ecx
lea ecx, [ebp - 0x804]
push ecx
push dword [ebp - 0x17fc]
mov ecx, dword [ebp - 0x1808]
push ecx
call eax
jmp 0x100623a0
mov ecx, dword [ebp - 0x1808]
lea eax, [ebp - 0x17f0]
push eax
lea eax, [ebp - 0x17d4]
push eax
lea eax, [ebp - 0x17f8]
push eax
push 0
lea eax, [ebp - 0x17f4]
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x17fc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test esi, esi
je 0x100623ad
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0x103
jne 0x1006247e
mov ecx, dword [ebp - 0x17fc]
mov edx, dword [ebp - 0x180c]
test edx, edx
je 0x1006247e
mov dword [ebp - 0x1804], ecx
mov dword [ebp - 0x17f4], 0x800
mov dword [ebp - 0x17f0], 0xfd0
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100623fd
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3f
call fcn.10003680
add esp, 4
test eax, eax
je 0x1006243d
lea ecx, [ebp - 0x17f0]
push ecx
lea ecx, [ebp - 0x17d4]
push ecx
lea ecx, [ebp - 0x17f8]
push ecx
push 0
lea ecx, [ebp - 0x17f4]
push ecx
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [ebp - 0x180c]
push 0
push ecx
call eax
jmp 0x10062471
lea eax, [ebp - 0x17f0]
push eax
lea eax, [ebp - 0x17d4]
push eax
lea eax, [ebp - 0x17f8]
push eax
push 0
lea eax, [ebp - 0x17f4]
push eax
lea eax, [ebp - 0x804]
push eax
push 0
mov ecx, dword [ebp - 0x180c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test esi, esi
je 0x1006247e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x100625ce
cmp dword [ebp - 0x17f8], 3
jne 0x100625c2
cmp dword [ebp - 0x17f0], edi
je 0x100625c2
cmp byte [ebp - 0x17d4], 0
je 0x100625c2
lea eax, [ebp - 0x804]
push str.SavedLegacySettings
push eax
call sub.msvcrt.dll__wcsicmp
add esp, 8
test eax, eax
je 0x100625c2
xor eax, eax
mov dword [ebp - 0x17dc], edi
lea ecx, [ebp - 0x804]
mov dword [ebp - 0x17d8], 7
mov word [ebp - 0x17ec], ax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100624f0
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x17ec]
call fcn.100070c0
cmp dword [ebp - 0x1810], ebx
je 0x1006259e
mov eax, dword [ebp - 0x17ec]
lea ecx, [ebp - 0x17ec]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x17e8]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x17e4]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x17e0]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x17dc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x17d8]
mov dword [ebx + 0x14], eax
xor eax, eax
add ebx, 0x18
mov dword [ebp - 0x17dc], 0
mov dword [ebp - 0x17d8], 7
mov word [ebp - 0x17ec], ax
mov dword [ebp - 0x1814], ebx
call fcn.10005250
mov ecx, dword [ebp - 0x17fc]
inc ecx
jmp 0x1006222c
lea eax, [ebp - 0x17ec]
push eax
push ebx
lea ecx, [ebp - 0x1818]
call fcn.1001df20
mov ebx, dword [ebp - 0x1814]
lea ecx, [ebp - 0x17ec]
call fcn.10005250
mov ecx, dword [ebp - 0x17fc]
inc ecx
jmp 0x1006222c
mov esi, dword [ebp - 0x1818]
cmp esi, ebx
je 0x100625f2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100625e2
mov eax, dword [esi]
push eax
call fcn.100620a0
add esi, 0x18
add esp, 4
cmp esi, ebx
jne 0x100625d8
lea ecx, [ebp - 0x1818]
call fcn.10021060
lea ecx, [ebp - 0x180c]
call fcn.10008220
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret