Function at 0x41a40a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445377
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
mov dword [ebp - 0x260], ecx
mov eax, dword [str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts]
push eax
lea ecx, [ebp - 0x11c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x260]
call fcn.004198d4
mov eax, dword [str.OpenWithList]
push eax
lea ecx, [ebp - 0x248]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x260]
call fcn.004198d4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x240]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x11c]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41a4d4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call sub.MFC42.DLL_CString::CString
jmp 0x41a7b2
mov byte [ebp - 0x118], 0
mov dword [ebp - 0x22c], 0x104
mov dword [ebp - 0x10], 1
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [str.MRUList]
push edx
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x118]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x238], eax
push 2
push 0
lea edx, [ebp - 0x224]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x230]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 4
mov dword [ebp - 0x228], 0
jmp 0x41a584
mov eax, dword [ebp - 0x228]
add eax, 1
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
cmp ecx, dword [ebp - 0x238]
jge 0x41a766
mov edx, dword [ebp - 0x228]
mov al, byte [ebp + edx - 0x118]
mov byte [ebp - 0x224], al
mov dword [ebp - 0x22c], 0x104
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x24c]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 5
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x24c]
push edx
mov ecx, dword [ebp - 0x260]
call fcn.0041921c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x234]
xor ecx, ecx
cmp dword [eax - 8], 0
sete cl
test ecx, ecx
jne 0x41a761
mov dword [ebp - 0x244], 0
jmp 0x41a663
mov edx, dword [ebp - 0x244]
add edx, 1
mov dword [ebp - 0x244], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x244]
cmp edx, dword [ebp - 0x250]
jae 0x41a761
push 0x400
push 0x100
push 0x100
lea ecx, [ebp - 0x23c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetMenuStringA]
mov dword [ebp - 0x254], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x25c]
push edx
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
neg eax
sbb eax, eax
inc eax
and eax, 0xff
test eax, eax
je 0x41a75c
push 0
push 1
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x45e918
call fcn.00422619
cmp dword [ebp + 8], 0
jne 0x41a732
mov dword [ebp - 0x264], 0
jmp 0x41a73e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x264], ecx
push 1
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.00423224
add esp, 0x10
jmp 0x41a761
jmp 0x41a654
jmp 0x41a575
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8