Function at 0x4e6418
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
call fcn.00404728
xor eax, eax
push ebp
push 0x4e66cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp + 0xc]
call fcn.00404738
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4e669a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00450c68
mov eax, dword [eax + 8]
mov ecx, 0x4e66e8
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00450c68
mov eax, dword [eax + 8]
mov ecx, 0x4e66f4
mov edx, 1
mov ebx, dword [eax]
call dword [ebx + 0x20]
push 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [ebp - 0x14], 0x3e8
mov ebx, dword [ebp - 0x1c]
dec ebx
test ebx, ebx
jl 0x4e6648
inc ebx
xor edi, edi
mov eax, dword [0x53a7c8]
cmp byte [eax], 1
je 0x4e6648
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x238]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
cmp dword [ebp + 0xc], 0
jne 0x4e6569
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x4e6708
call fcn.00409de4
jmp 0x4e65b0
push dword [ebp + 0xc]
push 0x4e6714
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x4e6708
call fcn.00409de4
push dword [ebp - 0x244]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.004045f8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x4e6708
call fcn.00409de4
lea edx, [ebp - 0x24c]
mov eax, esi
call fcn.004ac954
push dword [ebp - 0x24c]
push 0x4e6714
push dword [ebp - 0x34]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.004045f8
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 8]
call fcn.004707c4
push esi
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e5f2c
mov dword [ebp - 0x14], 0x3e8
mov eax, dword [0x53ab08]
mov eax, dword [eax]
call fcn.00490870
inc edi
dec ebx
jne 0x4e650d
mov eax, dword [0x53a7c8]
cmp byte [eax], 1
jne 0x4e6677
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00450c68
mov eax, dword [eax + 8]
mov ecx, 0x4e6720
mov edx, 1
mov ebx, dword [eax]
call dword [ebx + 0x20]
jmp 0x4e669a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00450c68
mov eax, dword [eax + 8]
mov ecx, 0x4e6734
mov edx, 1
mov ebx, dword [eax]
call dword [ebx + 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e66d4
lea eax, [ebp - 0x24c]
mov edx, 3
call fcn.0040429c
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040429c
lea eax, [ebp + 0xc]
call fcn.00404278
ret