Function at 0x413d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x428cc0
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x433ae8
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 0x413f43
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.00413c40
test al, al
je 0x413db7
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.00413460
jmp 0x413f32
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 0x413f32
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 0x413f27
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 0x413f27
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.00413460
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4328b8
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 0x4328b4
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 0x413f32
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