Function at 0x4a4170
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63e0c6
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x721970]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 0x219], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x270]
push ecx
mov ecx, dword [ebp - 0x23c]
call fcn.004a3730
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
push 0x68da5c
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.0041be70
add esp, 0xc
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x230], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.0041be70
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.00418cc0
mov dword [ebp - 0x228], 0
lea edx, [ebp - 0x228]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x24c]
call fcn.00419160
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a43d6
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0x104
mov eax, dword [ebp - 0x220]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0060f700
add esp, 0xc
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4a43c2
lea eax, [ebp - 0x218]
push eax
push 0x68dbbc
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x288]
push edx
call fcn.0041be70
add esp, 0xc
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x234]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.0041be70
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.00418cc0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
push str.Count
lea ecx, [ebp - 0x264]
call fcn.00419160
push eax
push SysReAllocStringLen
call fcn.0040dc90
test eax, eax
je 0x4a437b
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00418d40
mov byte [ebp - 4], 7
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004a6a20
mov ecx, dword [ebp - 0x22c]
mov dword [eax], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.00418cc0
mov dword [ebp - 0x220], 0x104
mov edx, dword [ebp - 0x220]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x224]
add ecx, 1
mov dword [ebp - 0x224], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00418cc0
jmp 0x4a4288
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x219], 1
mov al, byte [ebp - 0x219]
mov byte [ebp - 0x21a], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.00418cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.00418cc0
mov al, byte [ebp - 0x21a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060f7c8
mov esp, ebp
pop ebp
ret 0xc