Function at 0x4ecff371
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [section..data]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ecx]
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x22c], eax
je 0x4ecff3ee
mov ebx, dword [ebp + 0x10]
add ebx, 0xf
and ebx, 0xfffffff8
jmp 0x4ecff3ee
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
add eax, 7
and eax, 0xfffffff8
add edx, 8
lea edi, [ecx + 0x24]
mov dword [ebp - 0x210], 4
mov ecx, dword [edi]
test ecx, ecx
je 0x4ecff3db
mov ecx, dword [ecx + 0x14]
lea ecx, [ecx + ecx + 7]
and ecx, 0xfffffff8
mov dword [edx], ecx
add eax, ecx
add edi, 4
add edx, 4
dec dword [ebp - 0x210]
jne 0x4ecff3c7
mov esi, dword [esi + 8]
add ebx, eax
test esi, esi
jne 0x4ecff3aa
push ebx
call fcn.4ed11f66
mov ebx, eax
xor eax, eax
cmp ebx, eax
mov dword [ebp - 0x214], ebx
jne 0x4ecff410
call fcn.4ed11b8a
jmp 0x4ecff5ca
cmp dword [ebp + 8], eax
je 0x4ecff50a
cmp dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 4], ecx
lea ecx, [ebx + 8]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x218], eax
mov dword [ebx], 0xbfbfbfbf
mov dword [ebp - 0x214], ecx
jbe 0x4ecff4f9
mov esi, 0x103
cmp eax, esi
je 0x4ecff4f9
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x210], eax
jae 0x4ecff4f9
and dword [ebp - 0x220], 0
mov eax, 0x104
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, esi
je 0x4ecff4f9
mov ecx, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x214]
mov edx, ecx
shr ecx, 2
lea esi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x21c]
add dword [ebp - 0x214], ecx
add dword [ebp - 0x210], ecx
inc dword [ebp - 0x218]
mov ecx, dword [ebp - 0x218]
cmp ecx, dword [ebp + 0x14]
jb 0x4ecff443
mov eax, dword [ebp + 0x10]
add eax, 0xf
and eax, 0xfffffff8
add ebx, eax
mov dword [ebp - 0x214], ebx
mov eax, dword [ebp - 0x224]
mov eax, dword [eax]
jmp 0x4ecff5bc
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov ecx, dword [edx]
mov dword [ebp - 0x224], eax
lea eax, [ecx + 7]
mov edi, ebx
mov ebx, ecx
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [ebp - 0x214]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x224]
add edx, 8
and eax, 0xfffffff8
add ecx, 0x24
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x218], 4
mov ecx, dword [ebp - 0x210]
mov esi, dword [ecx]
test esi, esi
je 0x4ecff591
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
shl ecx, 1
mov edx, ecx
shr ecx, 2
lea edi, [ebx + eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x21c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, dword [edx]
add dword [ebp - 0x210], 4
add edx, 4
dec dword [ebp - 0x218]
mov dword [ebp - 0x21c], edx
jne 0x4ecff564
mov dword [ebx], eax
add ebx, eax
mov eax, dword [ebp - 0x220]
mov eax, dword [eax + 8]
mov dword [ebp - 0x214], ebx
test eax, eax
mov dword [ebp - 0x220], eax
jne 0x4ecff517
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ecfd994
leave
ret 0x10