Function at 0x4e0ae4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4d
push 0
push 0
dec ecx
jne 0x4e0aed
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
call fcn.00404d18
xor eax, eax
push ebp
push 0x4e0e66
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x23c]
mov eax, dword [ebp + 0x10]
call fcn.00408dd0
mov eax, dword [ebp - 0x23c]
push eax
lea edx, [ebp - 0x240]
mov eax, 0x4e0e80
call fcn.00408dd0
mov eax, dword [ebp - 0x240]
pop edx
call fcn.00404e6c
test eax, eax
jg 0x4e0e23
lea edx, [ebp - 0x244]
mov eax, dword [ebp + 0x10]
call fcn.00408dd0
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x248]
mov eax, 0x4e0e90
call fcn.00408dd0
mov eax, dword [ebp - 0x248]
pop edx
call fcn.00404e6c
test eax, eax
jg 0x4e0e23
lea edx, [ebp - 0x24c]
mov eax, dword [ebp + 0x10]
call fcn.00408dd0
mov eax, dword [ebp - 0x24c]
push eax
lea edx, [ebp - 0x250]
mov eax, 0x4e0ea4
call fcn.00408dd0
mov eax, dword [ebp - 0x250]
pop edx
call fcn.00404e6c
test eax, eax
jg 0x4e0e23
lea edx, [ebp - 0x254]
mov eax, dword [ebp + 0x10]
call fcn.00408dd0
mov edx, dword [ebp - 0x254]
mov eax, 0x4e0ec4
call fcn.00404e6c
test eax, eax
jg 0x4e0e23
lea edx, [ebp - 0x258]
mov eax, dword [ebp + 0x10]
call fcn.00408dd0
mov eax, dword [ebp - 0x258]
push eax
lea edx, [ebp - 0x25c]
mov eax, 0x4e0eec
call fcn.00408dd0
mov eax, dword [ebp - 0x25c]
pop edx
call fcn.00404e6c
test eax, eax
jg 0x4e0e23
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp + 0x10]
call fcn.00404d28
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4e0e1a
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 0x4e0e1a
inc ebx
xor esi, esi
mov eax, dword [0x55c098]
cmp byte [eax], 1
je 0x4e0e1a
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x238]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
cmp dword [ebp + 0x10], 0
jne 0x4e0ced
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 6
lea edx, [ebp - 0x264]
xor ecx, ecx
mov eax, 0x4e0f24
call fcn.0040a4d0
jmp 0x4e0d34
push dword [ebp + 0x10]
push 0x4e0f30
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 6
lea edx, [ebp - 0x264]
xor ecx, ecx
mov eax, 0x4e0f24
call fcn.0040a4d0
push dword [ebp - 0x268]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404be8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 6
lea edx, [ebp - 0x264]
xor ecx, ecx
mov eax, 0x4e0f24
call fcn.0040a4d0
mov eax, dword [0x55c440]
inc dword [eax]
mov eax, dword [0x55c440]
mov eax, dword [eax]
mov ecx, 0xc8
cdq
idiv ecx
test edx, edx
jne 0x4e0d82
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0046d0e8
call fcn.004d27bc
lea edx, [ebp - 0x26c]
mov eax, dword [ebp - 0x34]
call fcn.00408dd0
mov eax, dword [ebp - 0x26c]
push eax
lea edx, [ebp - 0x270]
mov eax, 0x4e0f3c
call fcn.00408dd0
mov eax, dword [ebp - 0x270]
pop edx
call fcn.00404e6c
test eax, eax
jg 0x4e0e12
mov eax, dword [ebp - 0x38]
mov edx, 0x4e0f78
call fcn.00404c74
je 0x4e0dff
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004dff74
push edi
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0xc]
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.004e0ae4
mov dword [ebp - 0x14], 0x3e8
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048da60
inc esi
dec ebx
jne 0x4e0c91
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0e6d
lea eax, [ebp - 0x270]
mov edx, 3
call fcn.0040488c
lea eax, [ebp - 0x25c]
mov edx, 9
call fcn.0040488c
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040488c
lea eax, [ebp + 0x10]
call fcn.00404868
ret