Function at 0x407500
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ebdd
mov eax, dword fs:[0]
push eax
sub esp, 0xa38
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa38], ecx
push 0x100
lea eax, [ebp - 0x210]
xor edi, edi
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4077e2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xa18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa2c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 2
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x210]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40778e
lea eax, [ebp - 0xa1c]
mov dword [ebp - 0xa1c], 0x100
push eax
lea eax, [ebp - 0x610]
push eax
push 0x589e3c
push dword [ebp - 0xa30]
call esi
test eax, eax
jne 0x407786
lea eax, [ebp - 0xa34]
push eax
push 0x589e3c
push dword [ebp - 0xa30]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x407786
lea eax, [ebp - 0xa20]
mov dword [ebp - 0xa20], 0x100
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0xa24], 0x100
push eax
push 0x588d54
push dword [ebp - 0xa34]
call esi
test eax, eax
jne 0x40777e
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0xa10]
push eax
push 0x588d60
push dword [ebp - 0xa34]
call esi
test eax, eax
jne 0x40777e
lea eax, [ebp - 0x210]
mov dword [ebp - 0xa1c], 0x100
push eax
lea ecx, [ebp - 0xa3c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa14]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa3c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xa38]
lea eax, [ebp - 0xa14]
push eax
lea ecx, [ecx + 0x1c]
call dword [sym.imp.mfc140u.dll_CStringList::AddTail_1]
push 0x2e
lea ecx, [ebp - 0xa14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__24]
test eax, eax
jle 0x407710
push eax
lea eax, [ebp - 0xa40]
push eax
lea ecx, [ebp - 0xa14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa18]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa40]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xa38]
lea eax, [ebp - 0xa18]
push eax
lea ecx, [ecx + 0x38]
call dword [sym.imp.mfc140u.dll_CStringList::AddTail_1]
jmp 0x407721
push 0x587818
lea ecx, [ebp - 0xa18]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
lea eax, [ebp - 0xa28]
mov dword [ebp - 0xa28], 0x100
push eax
lea eax, [ebp - 0x410]
push eax
push str.CLSID
push dword [ebp - 0xa30]
call esi
test eax, eax
jne 0x40777e
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0xa44]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xa38]
push eax
call dword [sym.imp.mfc140u.dll_CStringList::AddTail_1]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa44]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0xa34]
call ebx
push dword [ebp - 0xa30]
call ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x100
lea eax, [ebp - 0x210]
inc edi
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x407562
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret