Function at 0x7cf608f6
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b4
push ebx
push esi
lea eax, [ebp - 4]
push edi
mov ebx, 0x20019
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
push 0
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
push dword [ebp + 8]
call edi
test eax, eax
je 0x7cf60929
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x7cf60c0b
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
push 0x7cf439b8
push dword [ebp - 4]
call edi
test eax, eax
je 0x7cf6094c
and dword [ebp - 0x10], 0
xor eax, eax
cmp dword [ebp - 0x10], eax
jne 0x7cf6095b
cmp dword [ebp - 4], eax
jmp 0x7cf60c00
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push 0x7cf43830
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x7cf60973
and dword [ebp - 0xc], 0
xor edi, edi
cmp dword [ebp - 0xc], edi
jne 0x7cf6099d
cmp dword [ebp - 0x10], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x7cf6098a
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 4], edi
je 0x7cf60c0b
push dword [ebp - 4]
call esi
jmp 0x7cf60c0b
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x50
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push dword [ebp - 0xc]
call fcn.7cf5aef1
test eax, eax
jne 0x7cf609de
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push eax
call sym.SHELL32.dll_SHCLSIDFromString
test eax, eax
jl 0x7cf609de
lea edi, [esi + 0xc]
lea esi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [eax + 8], 1
and dword [ebp - 0x14], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea eax, [ebp - 0x78]
push 0x28
push eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0xea
je 0x7cf60bd9
xor esi, esi
cmp eax, esi
jne 0x7cf60be1
mov ecx, 0x8d
xor eax, eax
lea edi, [ebp - 0x2ac]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x78]
push eax
call sym.SHELL32.dll_SHCLSIDFromString
test eax, eax
jl 0x7cf60bd9
lea eax, [ebp + 0xc]
push eax
push 0x20019
lea eax, [ebp - 0x78]
push esi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x7cf60a54
mov dword [ebp + 0xc], esi
cmp dword [ebp + 0xc], esi
je 0x7cf60b97
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x4b4]
push 4
rep stosd dword es:[edi], eax
pop esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 8]
xor edi, edi
push eax
push edi
push 0x7cf357ac
push dword [ebp + 0xc]
mov dword [ebp + 8], esi
call ebx
test eax, eax
jne 0x7cf60aa2
cmp dword [ebp + 8], esi
jne 0x7cf60aa2
cmp dword [ebp - 8], esi
je 0x7cf60aa8
cmp dword [ebp - 8], 3
je 0x7cf60aa8
mov dword [ebp - 0x28c], edi
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x208
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x7cf43998
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x7cf60aff
cmp dword [ebp - 8], 1
jne 0x7cf60aff
mov esi, 0x104
lea eax, [ebp - 0x4b4]
push esi
push eax
call fcn.7cfb387a
lea eax, [ebp - 0x284]
push esi
push eax
lea eax, [ebp - 0x4b4]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
jmp 0x7cf60b97
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x50
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x7cf43990
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x7cf60b83
cmp dword [ebp - 8], 1
jne 0x7cf60b83
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push eax
call sym.SHELL32.dll_SHCLSIDFromString
test eax, eax
jl 0x7cf60b83
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x29c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea eax, [ebp + 8]
pop esi
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x7cf43980
mov dword [ebp + 8], esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x7cf60b7a
cmp dword [ebp + 8], esi
jne 0x7cf60b7a
cmp dword [ebp - 8], esi
je 0x7cf60b97
cmp dword [ebp - 8], 3
je 0x7cf60b97
and dword [ebp - 0x288], 0
jmp 0x7cf60b97
push 0x10
lea edi, [ebp - 0x2ac]
pop ecx
mov esi, 0x7cf392f0
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x7cf60bca
test byte [ebp - 0x289], 0x20
jne 0x7cf60bb4
push 0x10
mov edi, 0x7cf39300
pop ecx
lea esi, [ebp - 0x2ac]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x7cf60bca
mov ecx, dword [ebp - 0x18]
push 1
lea eax, [ebp - 0x2ac]
push ParseURLA
push eax
call fcn.7cf60c12
cmp dword [ebp + 0xc], 0
je 0x7cf60bd9
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x14]
jmp 0x7cf609e8
cmp dword [ebp - 0xc], esi
je 0x7cf60bef
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], esi
je 0x7cf60bfd
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x7cf60c0b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 8