Function at 0x412440
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x424760
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x42d1a8
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 0x412663
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.00412360
test al, al
je 0x4124d7
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.00411b80
jmp 0x412652
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 0x412652
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 0x412647
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 0x412647
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.00411b80
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x42c5d0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x14584]
push eax
add ecx, 0x18
mov byte [esp + 0x34], 3
call fcn.00423488
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x14584]
push edi
add ecx, 0x18
call fcn.00423488
push 0x42c5cc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x14584]
push eax
add ecx, 0x18
mov byte [esp + 0x34], 4
call fcn.00423488
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 + 0x14584]
add ecx, 0x18
call fcn.00423488
push 0x42c5c8
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x14584]
push eax
add ecx, 0x18
mov byte [esp + 0x34], 5
call fcn.00423488
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
jmp 0x412652
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