Function at 0x49d020
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0886
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x56f734]
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.0049c5e0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
push 0x52d114
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.004175b0
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.004175b0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.004142e0
mov dword [ebp - 0x228], 0
lea edx, [ebp - 0x228]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x24c]
call fcn.004147c0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49d286
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 0x49d272
lea eax, [ebp - 0x218]
push eax
push 0x52d188
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x288]
push edx
call fcn.004175b0
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.004175b0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.004142e0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
push str.Count
lea ecx, [ebp - 0x264]
call fcn.004147c0
push eax
push SysReAllocString
call fcn.00409ef0
test eax, eax
je 0x49d22b
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00414370
mov byte [ebp - 4], 7
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0049f6a0
mov ecx, dword [ebp - 0x22c]
mov dword [eax], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.004142e0
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.004142e0
jmp 0x49d138
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.004142e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.004142e0
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.004df9ac
mov esp, ebp
pop ebp
ret 0xc