Function at 0x4a128e
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x2a4
mov eax, 0x6936b4
call fcn.0056e23b
mov edi, ecx
mov dword [ebp - 0x2ac], edi
xor eax, eax
cmp dword [edi + 4], eax
je 0x4a169f
cmp dword [edi + 0xc], eax
je 0x4a169f
push 8
call fcn.0056def4
mov ebx, eax
pop ecx
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x2a0], ebx
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4a12e6
mov ecx, ebx
call fcn.0041d3ed
xor eax, eax
mov byte [ebp - 4], al
jmp 0x4a12ee
mov ebx, eax
mov dword [ebp - 0x2a4], eax
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4a169f
mov esi, dword [edi + 8]
mov esi, dword [esi]
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x4a130a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0041d41a
mov dword [ebp - 4], 2
lea eax, [ebp - 0x29c]
push eax
push dword [ebx]
mov ecx, ebx
call fcn.00423fa8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
jmp 0x4a1427
cmp byte [esi + 0x24], 0
je 0x4a1431
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x4a1351
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x248]
call fcn.0041d41a
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x244]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 8]
push 8
call fcn.0056def4
pop ecx
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4a13a1
mov ecx, eax
call fcn.0041d3ed
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2a8]
jmp 0x4a13a9
xor ecx, ecx
mov dword [ebp - 0x2a8], ecx
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4a141d
mov eax, dword [ebx]
mov edi, dword [eax]
cmp edi, eax
je 0x4a13fa
mov esi, dword [ebp - 0x2ac]
cmp dword [ebp - 0x230], 8
lea edx, [ebp - 0x244]
lea eax, [edi + 0xc]
cmovae edx, dword [ebp - 0x244]
cmp dword [eax + 0x14], 8
jb 0x4a13de
mov eax, dword [eax]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004a16cc
mov edi, dword [edi]
mov ecx, dword [ebp - 0x2a8]
cmp edi, dword [ebx]
jne 0x4a13bf
mov esi, dword [ebp - 0x2a0]
mov ecx, ebx
call fcn.004246c9
push 8
push ebx
call fcn.0056df27
mov ebx, dword [ebp - 0x2a8]
mov edi, dword [ebp - 0x2ac]
pop ecx
pop ecx
mov dword [ebp - 0x2a4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.0041786a
jmp 0x4a14ba
mov eax, dword [ebx]
mov edi, dword [eax]
cmp edi, eax
je 0x4a14b4
lea eax, [esi + 0xc]
mov esi, dword [ebp - 0x2ac]
mov dword [ebp - 0x2a8], eax
cmp dword [eax + 0x14], 8
jb 0x4a1450
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.0041d41a
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x27c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push 0x6cc7d0
lea ecx, [edi + 8]
call fcn.00419c79
lea eax, [ebp - 0x280]
push eax
lea ecx, [edi + 8]
call fcn.0041dfd7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.0041786a
mov ebx, dword [ebp - 0x2a4]
mov edi, dword [edi]
mov eax, dword [ebp - 0x2a8]
cmp edi, dword [ebx]
jne 0x4a1448
mov esi, dword [ebp - 0x2a0]
mov edi, dword [ebp - 0x2ac]
mov esi, dword [esi]
mov dword [ebp - 0x2a0], esi
cmp esi, dword [edi + 8]
jne 0x4a133c
cmp dword [ebx + 4], 0
je 0x4a168c
lea esi, [edi + 0x14]
cmp dword [esi + 0x14], 8
jb 0x4a14e2
mov ecx, dword [esi]
jmp 0x4a14e4
mov ecx, esi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 4]
test al, al
je 0x4a160e
cmp dword [esi + 0x14], 8
jb 0x4a14fc
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x22c]
call fcn.0041d41a
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x228]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 8]
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x4a15cb
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x4a1534
mov eax, dword [eax]
push 0x20019
push eax
call fcn.00567b83
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x2a4], ecx
test ecx, ecx
je 0x4a15c1
push 0x100
lea edx, [ebp - 0x210]
xor eax, eax
push edx
push eax
mov dword [ebp - 0x2a0], eax
push ecx
jmp 0x4a15ab
inc dword [ebp - 0x2a0]
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
mov ecx, edi
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004a1013
test al, al
jne 0x4a15da
mov edx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x210]
push 0x100
push eax
push edx
push dword [ebp - 0x2a4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4a1565
push dword [ebp - 0x2a4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esi]
cmp esi, dword [ebx]
jne 0x4a1529
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
jmp 0x4a1687
push dword [ebp - 0x2a4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call fcn.004246c9
push 8
push ebx
call fcn.0056df27
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0041786a
xor eax, eax
inc eax
jmp 0x4a169f
cmp dword [esi + 0x14], 8
jb 0x4a1616
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x264]
call fcn.0041d41a
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x260]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x4a167d
push 0x6cc7d4
lea ecx, [esi + 8]
call fcn.00419c79
lea eax, [ebp - 0x264]
push eax
lea ecx, [esi + 8]
call fcn.0041dfd7
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x4a1666
mov eax, dword [eax]
push 0x20019
push eax
call fcn.00567b83
pop ecx
pop ecx
test eax, eax
jne 0x4a16a5
mov esi, dword [esi]
cmp esi, dword [ebx]
jne 0x4a163f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.0041786a
mov ecx, ebx
call fcn.004246c9
push 8
push ebx
call fcn.0056df27
pop ecx
pop ecx
xor eax, eax
call fcn.0056e1e5
ret
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call fcn.004246c9
push 8
push ebx
call fcn.0056df27
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
jmp 0x4a1601