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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3f30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x2c]
push ebx
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push ebx
lea edx, [ebp - 0x3c]
push ecx
push edx
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], 0x20019
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x4e785a
mov ecx, dword [ebp + 8]
push str._Cannot_read_information_about_this_key.
call fcn.005a0f5f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x24]
inc eax
push eax
mov dword [ebp - 0x24], eax
call fcn.0059cff9
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
add esp, 4
inc eax
mov dword [ebp - 0x1c], eax
push eax
call fcn.0059cff9
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add esp, 4
inc eax
mov dword [ebp - 0x18], eax
push eax
call fcn.0059cff9
mov esi, dword [ebp + 8]
add esp, 4
mov edi, eax
cmp ebx, dword [ebp - 0x30]
jae 0x4e79c0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edx
push eax
lea edx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x34]
push 0
push eax
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x4e78db
push str.Cannot_enumerate_this_object.
mov ecx, esi
call fcn.005a0f5f
inc ebx
jmp 0x4e7895
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
push ecx
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4e7907
push str.Cannot_read_Value.
mov ecx, esi
call fcn.005a0f5f
inc ebx
jmp 0x4e7895
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4e792b
push str.DisplayName
push edi
call fcn.0058dd90
add esp, 8
test eax, eax
jne 0x4e79ba
push str.name
jmp 0x4e7938
push edi
mov ecx, esi
call fcn.005a0f5f
push 0x65dc84
mov ecx, esi
call fcn.005a0f5f
push 0x66880c
push edi
call fcn.00584910
add esp, 8
test eax, eax
je 0x4e796f
push 0x66e9a4
mov ecx, esi
call fcn.005a0f5f
push 0x657b00
mov ecx, esi
call fcn.005a0f5f
inc ebx
jmp 0x4e7895
mov eax, dword [ebp - 0x28]
cmp eax, 4
je 0x4e799d
test eax, eax
je 0x4e799d
cmp eax, 3
je 0x4e799d
mov eax, dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.005a0f5f
push 0x657b00
mov ecx, esi
call fcn.005a0f5f
inc ebx
jmp 0x4e7895
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push esi
call fcn.004e76c0
add esp, 0xc
mov ecx, esi
push 0x657b00
call fcn.005a0f5f
inc ebx
jmp 0x4e7895
mov eax, dword [ebp - 0x38]
push eax
call fcn.0059d022
mov ecx, dword [ebp - 0x14]
add esp, 4
push ecx
call fcn.0059d022
add esp, 4
push edi
call fcn.0059d022
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc