Function at 0x419a16
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x318
mov eax, 0x49e852
call fcn.0047bb4d
mov eax, dword [ebp + 8]
mov edi, ecx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x27c], edi
jb 0x419a40
mov eax, dword [edi]
jmp 0x419a42
mov eax, edi
lea ecx, [ebp - 0x26c]
push ecx
push 0x20019
xor esi, esi
push esi
push eax
push reloc.OLEAUT32.DLL_SysReAllocString
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
cmp eax, esi
je 0x419afc
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407d0d
pop ecx
mov edi, eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x324]
push eax
call fcn.004090fb
mov esi, eax
mov byte [ebp - 4], 1
push 0x4b12b8
push esi
call fcn.0040b677
push esi
mov ecx, edi
call fcn.0040b9a3
add esp, 0xc
lea ebx, [ebp - 0x230]
mov ecx, esi
call fcn.00409165
push 2
pop ecx
mov byte [ebp - 4], cl
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x419ac3
mov eax, ebx
push eax
call fcn.0040d57f
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403d16
mov byte [ebp - 4], 0
lea eax, [ebp - 0x324]
call fcn.00407bad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.00403d16
jmp 0x419cea
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x274]
push eax
push esi
push esi
push esi
push dword [ebp - 0x26c]
mov dword [ebp - 0x274], esi
call dword [sym.imp.ADVAPI32.DLL_RegQueryInfoKeyW]
test eax, eax
jne 0x419cde
mov dword [ebp - 0x270], esi
cmp dword [ebp - 0x274], esi
jbe 0x419cde
mov ebx, 0x4a9bc8
jmp 0x419b48
mov edi, dword [ebp - 0x27c]
xor esi, esi
xor eax, eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x28c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x270]
mov dword [ebp - 0x280], 0x100
push dword [ebp - 0x26c]
call dword [sym.imp.ADVAPI32.DLL_RegEnumKeyExW]
cmp eax, 0x103
je 0x419cde
cmp eax, esi
jne 0x419c47
push edi
lea esi, [ebp - 0x230]
call fcn.0040727a
mov dword [ebp - 4], 6
push ebx
call fcn.00477a67
pop ecx
mov edi, eax
push ebx
mov eax, esi
call fcn.00405148
lea eax, [ebp - 0x214]
push eax
call fcn.00477a67
pop ecx
lea ecx, [ebp - 0x214]
mov edi, eax
push ecx
mov eax, esi
call fcn.00405148
push 0x10
call fcn.00477df1
pop ecx
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x419bfb
mov ecx, esi
push ecx
mov ecx, eax
call fcn.00419cf5
jmp 0x419bfd
xor eax, eax
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x284]
add esi, 0xc
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x278], eax
call fcn.0041a2da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00403d16
inc dword [ebp - 0x270]
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x274]
jb 0x419b40
jmp 0x419cde
lea eax, [ebp - 0x268]
push eax
call fcn.00407cf0
pop ecx
mov edi, eax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x324]
push eax
call fcn.004090fb
mov esi, eax
mov byte [ebp - 4], 4
push 0x4b1310
push esi
call fcn.0040b677
push esi
mov ecx, edi
call fcn.0040b9a3
add esp, 0xc
lea ebx, [ebp - 0x24c]
mov ecx, esi
call fcn.00409165
mov byte [ebp - 4], 5
cmp dword [ebp - 0x238], 8
mov eax, dword [ebp - 0x24c]
jae 0x419ca7
mov eax, ebx
push eax
push 2
pop ecx
call fcn.0040d57f
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.00403d16
mov byte [ebp - 4], 3
lea eax, [ebp - 0x324]
call fcn.00407bad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00403d16
push dword [ebp - 0x26c]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
call fcn.0047bbd0
ret 4