Function at 0x7f2efeb3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x7f307acc], ebx
push esi
push edi
je 0x7f2efee9
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 0x7f2f015e
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 8], ebx
je 0x7f2f015b
mov edi, dword [ebp + 0x14]
cmp edi, ebx
je 0x7f2f015b
mov esi, dword [ebp + 0x24]
cmp esi, ebx
jne 0x7f2eff10
cmp dword [ebp + 0x20], ebx
jne 0x7f2f015b
mov eax, dword [edi]
imul eax, dword [0x7f307088]
push eax
mov dword [ebp - 0xc], eax
call fcn.7f2d53a1
test eax, eax
je 0x7f2eff3d
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x7f2eff3d
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 0x10], esp
jmp 0x7f2eff40
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0xc], ebx
jbe 0x7f2eff54
cmp dword [ebp - 0x10], ebx
jne 0x7f2eff54
mov eax, 0x3e9
jmp 0x7f2f015e
cmp esi, ebx
je 0x7f2eff5f
mov eax, dword [esi]
mov dword [ebp + 0x14], eax
jmp 0x7f2eff62
mov dword [ebp + 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [ebp + 0x14]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x7f2eff92
mov dword [eax], ecx
cmp dword [ebp - 4], ebx
je 0x7f2effc2
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x7f2effb8
cmp ecx, ebx
jbe 0x7f2effb3
cmp ecx, 2
jbe 0x7f2effac
cmp ecx, 7
jne 0x7f2effb3
mov ecx, dword [ebp + 0x14]
add ecx, ecx
jmp 0x7f2effb6
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
jmp 0x7f2f0156
push dword [edi]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push ebx
push dword [0x7f307ac8]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call ebx
xor ecx, ecx
cmp eax, ecx
mov dword [edi], eax
jne 0x7f2efff7
mov eax, dword [ebp + 0x10]
mov word [eax], cx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], 0x7a
add eax, eax
jmp 0x7f2effbb
cmp dword [ebp + 0x20], ecx
je 0x7f2f0156
mov edi, dword [ebp + 0x24]
cmp edi, ecx
je 0x7f2f0156
cmp dword [ebp - 8], ecx
jbe 0x7f2f013a
cmp dword [ebp - 8], 2
jbe 0x7f2f0024
cmp dword [ebp - 8], 7
jne 0x7f2f013a
mov eax, dword [0x7f307088]
imul eax, dword [ebp + 0x14]
cmp eax, ecx
mov dword [ebp + 0x14], eax
je 0x7f2f004b
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp + 0x10], eax
xor ecx, ecx
jmp 0x7f2f004e
mov dword [ebp + 0x10], ecx
cmp dword [ebp + 0x10], ecx
jne 0x7f2f005a
push 0xe
jmp 0x7f2f015d
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp dword [ebp - 8], 7
mov dword [ebp - 4], eax
jne 0x7f2f00a9
mov eax, dword [edi]
shr eax, 1
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x10]
call fcn.7f2d5dd6
mov ecx, dword [edi]
test ecx, ecx
jbe 0x7f2f00a3
shr ecx, 1
cmp eax, ecx
jbe 0x7f2f00a3
mov dword [ebp - 4], 0xea
lea eax, [eax + eax + 2]
jmp 0x7f2f0124
mov eax, dword [ebp + 0x14]
lea eax, [eax + eax + 2]
push eax
call fcn.7f2d53a1
test eax, eax
je 0x7f2f00d4
mov eax, dword [ebp + 0x14]
lea eax, [eax + eax + 2]
test eax, eax
je 0x7f2f00d4
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov esi, esp
jmp 0x7f2f00d6
xor esi, esi
push dword [ebp + 0x14]
push esi
push 0xffffffffffffffff
push dword [ebp + 0x10]
push 0
push dword [0x7f307ac8]
call ebx
push esi
call fcn.7f2da99a
pop ecx
mov ecx, dword [edi]
lea eax, [eax + eax + 2]
cmp eax, ecx
mov dword [ebp + 0x14], eax
jbe 0x7f2f010a
test ecx, ecx
jbe 0x7f2f0124
mov dword [ebp - 4], 0xea
jmp 0x7f2f0124
mov edi, dword [ebp + 0x20]
and dword [ebp - 4], 0
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x24]
push dword [ebp + 0x10]
mov dword [edi], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x7f2f0156
push edi
push dword [ebp + 0x20]
lea eax, [ebp - 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x7f2f015e
push 0x57
pop eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0x20