Function at 0x49ace0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6568
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4fefc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
lea ecx, [edi + 0xc]
mov dword [ebp - 0x10], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea eax, [edi + 0x18]
mov dword [edi + 0x14], 0
push eax
push 0
lea ebx, [edi + 0x14]
mov dword [eax], 0
push ebx
push 0
push dword [edi + 0xc]
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x49ae77
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], 1
push dword [eax - 0xc]
push eax
push 0xd
lea eax, [ebp - 0x18]
push 0x4e5c70
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x18]
push 2
push 0x4e5c68
mov dword [ebp - 0x10], 3
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], 7
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp + 0xc]
push 1
push 0x4e5c64
mov dword [ebp - 0x10], 0xf
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x1c]
lea ecx, [edi + 0x1c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x58]
jmp 0x49b015
mov eax, dword [ebp + 0xc]
cmp eax, 4
jne 0x49af75
cmp dword [ebx], eax
je 0x49b015
lea ecx, [edi + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], 0x10
push dword [eax - 0xc]
push eax
push 0xd
lea eax, [ebp + 0xc]
push 0x4e5c8c
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp + 0xc]
push 2
push 0x4e5c68
mov dword [ebp - 0x10], 0x30
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00466990
add esp, 0x20
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 1
push 0x4e5c64
mov dword [ebp - 0x10], 0x70
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x1c]
lea ecx, [edi + 0x1c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0xc]
jmp 0x49b001
cmp eax, 1
jne 0x49b015
cmp dword [ebx], eax
je 0x49b015
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x2c]
push 0x4e5ca8
push eax
call fcn.00466ab0
push 0x4e5c68
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 8
push eax
call fcn.00466a10
push dword [ebp + 8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00466990
push 0x4e5c64
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
call fcn.00466a10
add esp, 0x30
push eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8