Function at 0x49e5c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2346
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x572734]
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.0049db80
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
push 0x530594
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.00418560
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.00418560
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.00415310
mov dword [ebp - 0x228], 0
lea edx, [ebp - 0x228]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x24c]
call fcn.004157f0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49e826
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 sub.MSVCR120.dll_memset
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 0x49e812
lea eax, [ebp - 0x218]
push eax
push 0x530608
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x288]
push edx
call fcn.00418560
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.00418560
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.00415310
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
push str.Count
lea ecx, [ebp - 0x264]
call fcn.004157f0
push eax
push SysReAllocString
call fcn.0040ab10
test eax, eax
je 0x49e7cb
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x258]
call fcn.004153a0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004a0c70
mov ecx, dword [ebp - 0x22c]
mov dword [eax], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.00415310
mov dword [ebp - 0x220], 0x104
mov edx, dword [ebp - 0x220]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x218]
push eax
call sub.MSVCR120.dll_memset
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.00415310
jmp 0x49e6d8
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.00415310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.00415310
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.004e11cc
mov esp, ebp
pop ebp
ret 0xc