Function at 0x4117a0
Capabilities:
Open recentdocs registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446d09
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x958
mov eax, dword [0x467040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x960]
mov dword [ebp - 0x934], 0
push eax
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x908], 0
push 0x44d654
lea ecx, [ebp - 0x918]
mov dword [ebp - 0x904], 0
movups xmmword [ebp - 0x918], xmm0
call fcn.004063e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x900]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x8f0], 0
push 0x44d65c
movups xmmword [ebp - 0x900], xmm0
mov dword [ebp - 0x8ec], 0
call fcn.004063e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8e8]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x8d8], 0
push 0x44d664
movups xmmword [ebp - 0x8e8], xmm0
mov dword [ebp - 0x8d4], 0
call fcn.004063e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8d0]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x8c0], 0
push 0x44d66c
movups xmmword [ebp - 0x8d0], xmm0
mov dword [ebp - 0x8bc], 0
call fcn.004063e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8b8]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x8a8], 0
push 0x44d674
movups xmmword [ebp - 0x8b8], xmm0
mov dword [ebp - 0x8a4], 0
call fcn.004063e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a0]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x890], 0
push 0x44d67c
movups xmmword [ebp - 0x8a0], xmm0
mov dword [ebp - 0x88c], 0
call fcn.004063e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x888]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x878], 0
push 0x44d684
movups xmmword [ebp - 0x888], xmm0
mov dword [ebp - 0x874], 0
call fcn.004063e0
mov byte ds:[ebp - 4], 7
xorps xmm0, xmm0
movups xmmword [ebp - 0x870], xmm0
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 0
push 2
push 0x44d68c
lea ecx, [ebp - 0x870]
call fcn.004063e0
lea ecx, ds:[ebp - 0x918]
mov byte [ebp - 4], 8
push ecx
lea eax, [ebp - 0x858]
push eax
push ecx
lea ecx, [ebp - 0x958]
call fcn.00410fe0
push fcn.004044a0
push 8
push 0x18
lea eax, [ebp - 0x918]
mov byte [ebp - 4], 0xa
push eax
call fcn.00444e54
lea eax, [ebp - 0x938]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32LastVisitedPidlMRU
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x411a66
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.___Error_opening_LastVisitedPidlMRU_registry_key:
call fcn.0040af60
push esi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov edx, str.._This_Windows_system_does_not_seem_to_be_10_or_11.
mov ecx, eax
call fcn.0040af60
push 0x40d840
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, ds:[ebp - 0x958]
call fcn.0040a5c0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00444aa0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x208
xor edi, edi
mov dword [ebp - 0x928], 0x104
lea eax, [ebp - 0x228]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
nop dword [eax + eax]
lea ecx, ds:[ebp - 0x928]
mov eax, edi
push ecx
lea ecx, [ebp - 0x228]
inc edi
push ecx
lea ecx, [ebp - 0x94c]
push ecx
push 0
lea ecx, [ebp - 0x928]
push ecx
lea ecx, [ebp - 0x840]
push ecx
push eax
push dword [ebp - 0x938]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
cmp esi, 0x103
je 0x411b13
cmp esi, 0xea
jne 0x411ae8
mov eax, dword [ebp - 0x928]
add eax, eax
mov dword [ebp - 0x928], eax
jmp 0x411a90
test esi, esi
je 0x411b57
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.___Error_enumerating_LastVisitedPidlMRU_registry_values:
call fcn.0040af60
push esi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
push 0x40d840
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp - 0x938]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x954]
mov edx, dword [ebp - 0x958]
mov dword [ebp - 0x940], eax
mov dword [ebp - 0x930], edx
cmp edx, eax
je 0x411eaf
mov ecx, dword [edx + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0x4c
jb 0x412221
jmp 0x411bf5
mov eax, dword [ebp - 0x928]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x412226
xor ecx, ecx
mov word [ebp + eax - 0x228], cx
lea eax, [ebp - 0x948]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x938]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x411be6
lea eax, [ebp - 0x960]
push eax
lea eax, [ebp - 0x948]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x411be6
cmp word [ebp - 0x228], 0
je 0x411be6
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.___Executed_file:
call fcn.00406160
lea edx, [ebp - 0x228]
mov ecx, eax
call fcn.00406160
push 0x408660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov dword [ebp - 0x928], 0x104
jmp 0x411a90
lfence
cmp dword [edx + 0x14], 7
mov eax, edx
jbe 0x411c04
mov eax, dword [edx]
push ecx
push eax
push 0x4c
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSavePidlMRU_
push ecx
push dword [ebp - 0x94c]
lea ecx, [ebp - 0x858]
call fcn.00408c60
or dword [ebp - 0x934], 2
lea ecx, [ebp - 0x924]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x844], 7
lea eax, [ebp - 0x858]
push ecx
cmova eax, dword [ebp - 0x858]
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x411cd9
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x844]
cmp ecx, 7
jbe 0x411ca8
mov edx, dword ds:[ebp - 0x858]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411c9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411ea9
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov edx, dword [ebp - 0x930]
xor eax, eax
mov word [ebp - 0x858], ax
add edx, 0x18
mov eax, dword [ebp - 0x940]
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 7
jmp 0x411b31
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x91c], ecx
mov dword [ebp - 0x920], 0x104
nop dword [eax]
mov eax, ecx
mov edi, ecx
inc ecx
mov dword [ebp - 0x92c], ecx
lea ecx, [ebp - 0x91c]
push ecx
push 0
lea ecx, [ebp - 0x93c]
push ecx
push 0
lea ecx, [ebp - 0x920]
push ecx
lea ecx, [ebp - 0x430]
push ecx
push eax
push dword [ebp - 0x924]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x411e3d
cmp eax, 0xea
jne 0x411d6c
test esi, esi
je 0x411d48
push esi
call fcn.00444aae
add esp, 4
push dword [ebp - 0x91c]
call fcn.00444af6
mov ecx, dword [ebp - 0x91c]
add esp, 4
mov dword [ebp - 0x920], ecx
mov esi, eax
mov ecx, dword [ebp - 0x92c]
jmp 0x411cf0
test eax, eax
jne 0x411e3d
lea eax, ds:[ebp - 0x91c]
push eax
push esi
lea eax, [ebp - 0x93c]
push eax
push 0
lea eax, [ebp - 0x920]
push eax
lea eax, [ebp - 0x430]
push eax
push edi
push dword [ebp - 0x924]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x638]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x411e32
lea eax, [ebp - 0x948]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x924]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
nop
test eax, eax
jne 0x411e32
lea eax, [ebp - 0x960]
push eax
lea eax, [ebp - 0x948]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x411e32
cmp word [ebp - 0x228], 0
je 0x411e32
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.___Executed_file:
call fcn.00406160
lea edx, ds:[ebp - 0x638]
mov ecx, eax
call fcn.00406160
push 0x408660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov ecx, dword [ebp - 0x92c]
jmp 0x411ce3
push esi
call fcn.00444aae
add esp, 4
push dword [ebp - 0x924]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte ds:[ebp - 4], 0xa
mov ecx, dword [ebp - 0x844]
cmp ecx, 7
jbe 0x411ca8
mov edx, dword ds:[ebp - 0x858]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411c9c
mov edx, dword ds:[eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x411c9c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x954]
mov edx, dword [ebp - 0x958]
mov dword [ebp - 0x944], eax
mov dword [ebp - 0x92c], edx
cmp edx, eax
je 0x411a36
mov ecx, dword ds:[edx + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0x3e
jb 0x41222b
lfence
cmp dword [edx + 0x14], 7
mov eax, edx
jbe 0x411ef6
mov eax, dword [edx]
push ecx
push eax
push 0x3e
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs_
push ecx
push dword [ebp - 0x94c]
lea ecx, [ebp - 0x858]
call fcn.00408c60
or dword [ebp - 0x934], 1
lea ecx, [ebp - 0x91c]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x844], 7
lea eax, [ebp - 0x858]
push ecx
cmova eax, dword [ebp - 0x858]
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x411fa7
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x844]
cmp ecx, 7
jbe 0x411f93
mov edx, dword [ebp - 0x858]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411f89
mov edx, dword ds:[eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4120ca
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov edx, dword [ebp - 0x92c]
mov eax, dword [ebp - 0x944]
add edx, 0x18
jmp 0x411ec1
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x924], ecx
mov dword [ebp - 0x920], 0x104
nop dword [eax + eax]
mov eax, ecx
mov dword [ebp - 0x93c], ecx
inc ecx
mov dword [ebp - 0x930], ecx
lea ecx, [ebp - 0x924]
push ecx
push 0
lea ecx, [ebp - 0x940]
push ecx
push 0
lea ecx, [ebp - 0x920]
push ecx
lea ecx, [ebp - 0x638]
push ecx
push eax
push dword [ebp - 0x91c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
cmp edi, 0x103
je 0x412073
cmp edi, 0xea
jne 0x412045
test esi, esi
je 0x41201d
push esi
call fcn.00444aae
add esp, 4
push dword [ebp - 0x924]
call fcn.00444af6
mov ecx, dword ds:[ebp - 0x924]
add esp, 4
mov dword [ebp - 0x920], ecx
mov esi, eax
mov ecx, dword [ebp - 0x930]
jmp 0x411fc0
test edi, edi
je 0x4120d0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.___Error_enumerating_RecentDocs_registry_values:
call fcn.0040af60
push edi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
push 0x40d840
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push esi
call fcn.00444aae
add esp, 4
push dword [ebp - 0x91c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x844]
cmp ecx, 7
jbe 0x411f93
mov edx, dword [ebp - 0x858]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411f89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x411f89
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, ds:[ebp - 0x924]
push eax
push esi
lea eax, [ebp - 0x940]
push eax
push 0
lea eax, [ebp - 0x920]
push eax
lea eax, [ebp - 0x638]
push eax
push dword [ebp - 0x93c]
push dword [ebp - 0x91c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test esi, esi
je 0x41219f
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
nop dword [eax]
test eax, eax
je 0x41219f
lea eax, [ebp - 0x96c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x91c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x41219f
lea eax, [ebp - 0x960]
push eax
lea eax, [ebp - 0x96c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x41219f
cmp word [ebp - 0x228], 0
je 0x41219f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.___Executed_file:
call fcn.00406160
lea edx, [ebp - 0x430]
mov ecx, eax
call fcn.00406160
push 0x408660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov ecx, dword [ebp - 0x930]
jmp 0x411fb1
call fcn.00403ca0
call fcn.0044508b
call fcn.00403ca0
int3