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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa60
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rsp + 0xa50], rax
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
xorps xmm0, xmm0
movups xmmword [rsp + 0x110], xmm0
xor r13d, r13d
mov qword [rsp + 0x120], r13
mov qword [rsp + 0x128], r13
lea r8d, [r13 + 3]
lea rdx, [0x14005a878]
lea rcx, [rsp + 0x110]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x140], r13
mov qword [rsp + 0x148], r13
lea r8d, [r13 + 3]
lea rdx, [0x14005a870]
lea rcx, [rsp + 0x130]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x168], r13
lea r8d, [r13 + 3]
lea rdx, [0x14005a888]
lea rcx, [rsp + 0x150]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x170], xmm0
mov qword [rsp + 0x180], r13
mov qword [rsp + 0x188], r13
lea r8d, [r13 + 3]
lea rdx, [0x14005a880]
lea rcx, [rsp + 0x170]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], r13
mov qword [rsp + 0x1a8], r13
lea r8d, [r13 + 3]
lea rdx, [0x14005a898]
lea rcx, [rsp + 0x190]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x1b0], xmm0
mov qword [rsp + 0x1c0], r13
mov qword [rsp + 0x1c8], r13
lea r8d, [r13 + 2]
lea rdx, [0x14005a890]
lea rcx, [rsp + 0x1b0]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x1d0], xmm0
mov qword [rsp + 0x1e0], r13
mov qword [rsp + 0x1e8], r13
lea r8d, [r13 + 3]
lea rdx, [0x14005a8a8]
lea rcx, [rsp + 0x1d0]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x1f0], xmm0
mov qword [rsp + 0x200], r13
mov qword [rsp + 0x208], r13
lea r8d, [r13 + 2]
lea rdx, [0x14005a8a0]
lea rcx, [rsp + 0x1f0]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], r13
lfence
mov ecx, 0x100
call fcn.1400069a0
mov rbx, rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
lea rcx, [rax + 0x100]
mov qword [rsp + 0x88], rcx
lea rax, [rsp + 0x78]
mov qword [rsp + 0xd8], rax
lea rdi, [rsp + 0x110]
lea rsi, [rsp + 0x210]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0xf8], rax
nop
cmp rdi, rsi
je 0x14001aa02
mov rdx, rdi
mov rcx, rbx
call fcn.140005560
add rbx, 0x20
mov qword [rsp + 0xf0], rbx
add rdi, 0x20
jmp 0x14001a9e0
mov qword [rsp + 0x80], rbx
lea r9, [fcn.1400046a0]
mov edx, 0x20
lea r8d, [rdx - 0x18]
lea rcx, [rsp + 0x110]
call fcn.14005134c
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32LastVisitedPidlMRU
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x14001ab14
lea rdx, str.___Error_opening_LastVisitedPidlMRU_registry_key:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ada0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, str.._This_Windows_system_does_not_seem_to_be_10_or_11.
mov rcx, rax
call fcn.14000ada0
lea rdx, [0x14000d280]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14001ab0f
mov rdi, qword [rsp + 0x80]
cmp rbx, rdi
je 0x14001aaca
mov rcx, rbx
call fcn.1400058e0
add rbx, 0x20
cmp rbx, rdi
jne 0x14001aab2
mov rbx, qword [rsp + 0x78]
mov rdx, qword ds:[rsp + 0x88]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001ab07
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ab07
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140050f60
jmp 0x14001b270
mov edi, r13d
mov dword [rsp + 0x60], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x420]
call sub.VCRUNTIME140.dll_memset
nop dword [rax]
nop dword [rax + rax]
mov edx, edi
inc edi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x420]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x840]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
cmp eax, 0x103
je 0x14001abda
cmp eax, 0xea
jne 0x14001aba4
mov eax, dword [rsp + 0x60]
add eax, eax
mov dword [rsp + 0x60], eax
jmp 0x14001ab40
test ebx, ebx
je 0x14001acf5
lea rdx, str.___Error_enumerating_LastVisitedPidlMRU_registry_values:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ada0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x14000d280]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x80]
cmp r14, r15
je 0x14001af92
mov r8, r14
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSavePidlMRU_
lea rcx, [rsp + 0xe8]
call fcn.14000d140
nop
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 7
cmova rdx, qword [rsp + 0xe8]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001af7c
mov esi, r13d
mov rdi, r13
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x68], 0x104
nop
mov ebx, esi
mov edx, esi
inc esi
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x630]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x14001af65
nop dword [rax]
cmp eax, 0xea
jne 0x14001ae09
test rdi, rdi
je 0x14001acd8
mov rcx, rdi
call fcn.140050f60
mov ecx, dword ds:[rsp + 0x64]
call fcn.140050fac
mov rdi, rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
jmp 0x14001ac70
mov eax, dword ds:[rsp + 0x60]
and rax, 0xfffffffffffffffe
cmp rax, 0x208
jae 0x14001b2a4
mov word [rsp + rax + 0x420], r13w
lea rcx, [rsp + 0x420]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001ad24
cmp rax, 1
jbe 0x14001adfc
cmp word [rsp + 0x420], 0x7b
je 0x14001adfc
cmp word [rsp + rax*2 + 0x41e], 0x7d
je 0x14001adfc
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
nop dword [rax]
test eax, eax
jne 0x14001adfc
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x14001adfc
cmp word [rsp + 0x420], 0
je 0x14001adfc
lea rdx, [0x140059720]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400064a0
lea rdx, [rsp + 0x420]
mov rcx, rax
call fcn.1400064a0
lea rdx, [0x140008380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov dword [rsp + 0x60], 0x104
jmp 0x14001ab40
test eax, eax
jne 0x14001af65
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x630]
mov edx, ebx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea rdx, ds:[rsp + 0x210]
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14001ac66
lea rcx, [rsp + 0x210]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001ae80
cmp rax, 1
jbe 0x14001ac66
cmp word ds:[rsp + 0x210], 0x7b
je 0x14001ac66
cmp word [rsp + rax*2 + 0x20e], 0x7d
je 0x14001ac66
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
nop dword [rax + rax]
test eax, eax
jne 0x14001ac66
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop
test eax, eax
jle 0x14001ac66
lea rdx, [0x140059720]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400064a0
lea rdx, [rsp + 0x210]
mov rcx, rax
call fcn.1400064a0
lea rdx, [0x140008380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop dword [rax + rax]
jmp 0x14001ac66
mov rcx, rdi
call fcn.140050f60
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xe8]
call fcn.1400058e0
add r14, 0x20
jmp 0x14001abf5
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
nop
cmp r15, r12
je 0x14001b265
mov r8, r15
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs_
lea rcx, [rsp + 0xe8]
call fcn.14000d140
nop
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 7
cmova rdx, qword [rsp + 0xe8]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001b0e7
mov r14d, r13d
mov rsi, r13
mov dword [rsp + 0x6c], r13d
mov dword [rsp + 0x70], 0x104
mov edi, r14d
mov edx, r14d
inc r14d
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x630]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
cmp eax, 0x103
je 0x14001b0cd
cmp eax, 0xea
jne 0x14001b09b
test rsi, rsi
je 0x14001b085
mov rcx, rsi
call fcn.140050f60
mov ecx, dword [rsp + 0x6c]
call fcn.140050fac
mov rsi, rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x70], eax
jmp 0x14001b021
test ebx, ebx
je 0x14001b0fd
lea rdx, str.___Error_enumerating_RecentDocs_registry_values:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ada0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x14000d280]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call fcn.140050f60
mov rcx, qword ds:[rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xe8]
call fcn.1400058e0
add r15, 0x20
jmp 0x14001afa0
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x630]
mov edx, edi
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
test rsi, rsi
je 0x14001b019
lea rdx, [rsp + 0x210]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
nop word [rax + rax]
test eax, eax
je 0x14001b019
lea rcx, [rsp + 0x210]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001b180
cmp rax, 1
jbe 0x14001b019
cmp word ds:[rsp + 0x210], 0x7b
je 0x14001b019
cmp word [rsp + rax*2 + 0x20e], 0x7d
je 0x14001b019
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
nop dword [rax + rax]
test eax, eax
jne 0x14001b019
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop
test eax, eax
jle 0x14001b019
lea rdx, [0x140059720]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400064a0
lea rdx, [rsp + 0x210]
mov rcx, rax
call fcn.1400064a0
lea rdx, [0x140008380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop dword [rax + rax]
jmp 0x14001b019
lea rcx, [rsp + 0x78]
call fcn.14000a480
nop
mov rcx, qword ds:[rsp + 0xa50]
xor rcx, rsp
call fcn.140050f40
lea r11, [rsp + 0xa60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140051524
int3