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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x633440
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0x20019
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x51c0ec
push str._Cannot_read_information_about_this_key.
mov ecx, dword [ebp + 8]
call fcn.004030a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
push eax
call fcn.005cfaa6
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push eax
call fcn.005cfaa6
mov edi, eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
push eax
call fcn.005cfaa6
add esp, 0xc
mov esi, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 8]
cmp eax, dword [ebp - 0x30]
jae 0x51c22e
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x1c]
push ecx
push edi
lea edx, [ebp - 0x28]
push edx
push 0
lea ecx, [ebp - 0x34]
push ecx
push esi
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x51c16d
push str.Cannot_enumerate_this_object.
mov ecx, ebx
call fcn.004030a0
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
jmp 0x51c125
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x28]
push ecx
push 0
push esi
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x51c19b
push str.Cannot_read_Value.
mov ecx, ebx
call fcn.004030a0
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
jmp 0x51c125
cmp dword [ebp + 0x10], 0
je 0x51c1ba
push str.DisplayName
push esi
call fcn.005fa111
add esp, 8
test eax, eax
jne 0x51c223
push 0x662f88
jmp 0x51c1c7
push esi
mov ecx, ebx
call fcn.004030a0
push 0x64edd8
mov ecx, ebx
call fcn.004030a0
push 0x6705d4
push esi
call fcn.005f9c10
add esp, 8
test eax, eax
je 0x51c1ee
push 0x67c81c
mov ecx, ebx
call fcn.004030a0
jmp 0x51c217
mov eax, dword [ebp - 0x28]
cmp eax, 4
je 0x51c209
test eax, eax
je 0x51c209
cmp eax, 3
je 0x51c209
push edi
mov ecx, ebx
call fcn.004030a0
jmp 0x51c217
mov eax, dword [ebp - 0x1c]
push eax
push edi
push ebx
call fcn.0051bf10
add esp, 0xc
push 0x6511cc
mov ecx, ebx
call fcn.004030a0
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
jmp 0x51c125
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005cfa9b
push edi
call fcn.005cfa9b
push esi
call fcn.005cfa9b
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc