Function at 0x660e4ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
push ebx
xor ebx, ebx
cmp dword [0x6610ed74], ebx
push esi
push edi
je 0x660e51fd
mov edi, dword [ebp + 0x14]
push 1
lea ecx, [ebp - 0x124]
push ebx
mov eax, dword [edi]
push ecx
push eax
push ebx
push 0x78
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.660d9ad7
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x660e5131
mov ecx, dword [ebp + 0x24]
cmp ecx, ebx
je 0x660e5088
cmp dword [ebp + 0x20], ebx
je 0x660e5083
mov ecx, dword [ecx]
mov dword [ebp + 0x14], ecx
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], ecx
push dword [ebp - 4]
lea ecx, [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push dword [ebp + 0x20]
push ecx
push dword [ebp + 0x18]
push edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x660e508d
lea ecx, [ebp - 0x14]
call fcn.66029978
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x20
mov dword [ebp + 0x14], ebx
jmp 0x660e5047
mov dword [ebp - 4], ebx
jmp 0x660e504d
push dword [ebp - 0x18]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x660e5131
cmp dword [ebp - 8], ebx
jbe 0x660e51ed
cmp dword [ebp - 8], 2
jbe 0x660e50c1
cmp dword [ebp - 8], 7
jne 0x660e51ed
cmp dword [ebp + 0x24], ebx
je 0x660e51d2
push 1
lea eax, [ebp - 0xac]
push ebx
push eax
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
push ebx
push 0x78
call fcn.660d9ad7
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x660e5129
cmp dword [ebp + 0x20], ebx
je 0x660e5143
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x20]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x24]
and ecx, 3
mov eax, dword [eax]
shr eax, 1
push eax
push dword [ebp + 0x20]
rep movsb byte es:[edi], byte [esi]
push 0xffffffffffffffff
push dword [ebp + 0x18]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
cmp esi, ebx
jne 0x660e51c2
lea ecx, [ebp - 0x28]
call fcn.66029978
lea ecx, [ebp - 0x14]
call fcn.66029978
mov eax, 0x8007000e
jmp 0x660e507c
push dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [edi], ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov esi, eax
cmp esi, ebx
je 0x660e5177
lea ecx, [ebp - 0x28]
call fcn.66029978
lea ecx, [ebp - 0x14]
call fcn.66029978
mov eax, esi
jmp 0x660e507c
push 1
lea eax, [ebp - 0x19c]
push ebx
push eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x34]
add eax, eax
push eax
push ebx
push 0x78
call fcn.660d9ad7
cmp dword [ebp - 0x30], ebx
jne 0x660e51a1
lea ecx, [ebp - 0x34]
call fcn.66029978
jmp 0x660e5129
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push 0xffffffffffffffff
push dword [ebp + 0x18]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea ecx, [ebp - 0x34]
cmp esi, ebx
je 0x660e519a
call fcn.66029978
mov ecx, dword [ebp + 0x24]
lea eax, [esi + esi]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call fcn.66029978
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x660e51de
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
lea ecx, [ebp - 0x14]
call fcn.66029978
xor eax, eax
jmp 0x660e507c
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x660e51d2
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x660e51d2
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x660e507c