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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c570
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 0x52e2dc
push str._Cannot_read_information_about_this_key.
mov ecx, dword [ebp + 8]
call fcn.00403060
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.005f4e47
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push eax
call fcn.005f4e47
mov edi, eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
push eax
call fcn.005f4e47
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 0x52e41e
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 0x52e35d
push str.Cannot_enumerate_this_object.
mov ecx, ebx
call fcn.00403060
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
jmp 0x52e315
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 0x52e38b
push str.Cannot_read_Value.
mov ecx, ebx
call fcn.00403060
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
jmp 0x52e315
cmp dword [ebp + 0x10], 0
je 0x52e3aa
push str.DisplayName
push esi
call fcn.006226ae
add esp, 8
test eax, eax
jne 0x52e413
push 0x68da08
jmp 0x52e3b7
push esi
mov ecx, ebx
call fcn.00403060
push 0x678e94
mov ecx, ebx
call fcn.00403060
push 0x69b5ec
push esi
call fcn.00622230
add esp, 8
test eax, eax
je 0x52e3de
push 0x6a7884
mov ecx, ebx
call fcn.00403060
jmp 0x52e407
mov eax, dword [ebp - 0x28]
cmp eax, 4
je 0x52e3f9
test eax, eax
je 0x52e3f9
cmp eax, 3
je 0x52e3f9
push edi
mov ecx, ebx
call fcn.00403060
jmp 0x52e407
mov eax, dword [ebp - 0x1c]
push eax
push edi
push ebx
call fcn.0052e100
add esp, 0xc
push 0x67b29c
mov ecx, ebx
call fcn.00403060
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
jmp 0x52e315
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005f4e52
push edi
call fcn.005f4e52
push esi
call fcn.005f4e52
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