Function at 0x413fe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429160
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x433b08
mov eax, dword [esi + 0x8d0]
lea edi, [esi + 0x8d0]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x414203
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.00413f00
test al, al
je 0x414077
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x38], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Content_type
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x38], bl
call fcn.00413720
jmp 0x4141f2
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push connect
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4141f2
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push edx
push ebx
push ebx
push ebx
push str.Content_Type
push eax
call ebp
test eax, eax
jne 0x4141e7
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push str.Content_Type
push eax
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp ebp, ebx
jne 0x4141e7
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x38], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Content_type
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x38], bl
call fcn.00413720
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4328d0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x14594]
push eax
add ecx, 0x18
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x14594]
push edi
add ecx, 0x18
call sub.MFC42.DLL_CString::operator
push 0x431998
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x14594]
push eax
add ecx, 0x18
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x14594]
add ecx, 0x18
call sub.MFC42.DLL_CString::operator
push 0x4328cc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x14594]
push eax
add ecx, 0x18
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4141f2
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret