Function at 0x4a84b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660ca6
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x750990]
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.004a7a70
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
push 0x6b3e1c
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.0041dc90
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.0041dc90
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.0041a9d0
mov dword [ebp - 0x228], 0
lea edx, [ebp - 0x228]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x24c]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a8716
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.0062db60
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 0x4a8702
lea eax, [ebp - 0x218]
push eax
push 0x6b3f7c
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x288]
push edx
call fcn.0041dc90
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.0041dc90
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.0041a9d0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
push str.Count
lea ecx, [ebp - 0x264]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call fcn.0040e790
test eax, eax
je 0x4a86bb
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x258]
call fcn.0041aa50
mov byte [ebp - 4], 7
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004aab70
mov ecx, dword [ebp - 0x22c]
mov dword [eax], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.0041a9d0
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.0062db60
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.0041a9d0
jmp 0x4a85c8
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.0041a9d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0041a9d0
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.0062dc28
mov esp, ebp
pop ebp
ret 0xc