Function at 0x660e64b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
push ebx
xor ebx, ebx
cmp dword [0x6610fd90], ebx
push esi
push edi
je 0x660e66bd
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.660daf6c
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x660e65f1
mov ecx, dword [ebp + 0x24]
cmp ecx, ebx
je 0x660e6548
cmp dword [ebp + 0x20], ebx
je 0x660e6543
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 0x660e654d
lea ecx, [ebp - 0x14]
call fcn.66029f67
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x20
mov dword [ebp + 0x14], ebx
jmp 0x660e6507
mov dword [ebp - 4], ebx
jmp 0x660e650d
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 0x660e65f1
cmp dword [ebp - 8], ebx
jbe 0x660e66ad
cmp dword [ebp - 8], 2
jbe 0x660e6581
cmp dword [ebp - 8], 7
jne 0x660e66ad
cmp dword [ebp + 0x24], ebx
je 0x660e6692
push 1
lea eax, [ebp - 0xac]
push ebx
push eax
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
push ebx
push 0x78
call fcn.660daf6c
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x660e65e9
cmp dword [ebp + 0x20], ebx
je 0x660e6603
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 0x660e6682
lea ecx, [ebp - 0x28]
call fcn.66029f67
lea ecx, [ebp - 0x14]
call fcn.66029f67
mov eax, 0x8007000e
jmp 0x660e653c
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 0x660e6637
lea ecx, [ebp - 0x28]
call fcn.66029f67
lea ecx, [ebp - 0x14]
call fcn.66029f67
mov eax, esi
jmp 0x660e653c
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.660daf6c
cmp dword [ebp - 0x30], ebx
jne 0x660e6661
lea ecx, [ebp - 0x34]
call fcn.66029f67
jmp 0x660e65e9
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 0x660e665a
call fcn.66029f67
mov ecx, dword [ebp + 0x24]
lea eax, [esi + esi]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call fcn.66029f67
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x660e669e
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
lea ecx, [ebp - 0x14]
call fcn.66029f67
xor eax, eax
jmp 0x660e653c
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x660e6692
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x660e6692
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 0x660e653c