Function at 0x140012e80
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 [0x140072040]
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, [0x140051f98]
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, [0x140051f90]
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, [0x140051fa8]
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, [0x140051fa0]
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, [0x140051fb8]
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, [0x140051fb0]
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, [0x140051fc8]
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, [0x140051fc0]
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 0x140013102
mov rdx, rdi
mov rcx, rbx
call fcn.140005560
add rbx, 0x20
mov qword [rsp + 0xf0], rbx
add rdi, 0x20
jmp 0x1400130e0
mov qword [rsp + 0x80], rbx
lea r9, [fcn.1400046a0]
mov edx, 0x20
lea r8d, [rdx - 0x18]
lea rcx, [rsp + 0x110]
call fcn.140049b4c
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 0x140013214
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.14000ad40
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.14000ad40
lea rdx, [0x14000d160]
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 0x14001320f
mov rdi, qword [rsp + 0x80]
cmp rbx, rdi
je 0x1400131ca
mov rcx, rbx
call fcn.1400058e0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400131b2
mov rbx, qword [rsp + 0x78]
mov rdx, qword ds:[rsp + 0x88]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140013207
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013207
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140049760
jmp 0x1400138a9
mov edi, r13d
mov dword [rsp + 0x60], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x210]
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 + 0x210]
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 0x1400132da
cmp eax, 0xea
jne 0x1400132a4
mov eax, dword [rsp + 0x60]
add eax, eax
mov dword [rsp + 0x60], eax
jmp 0x140013240
test ebx, ebx
je 0x1400133f5
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.14000ad40
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, [0x14000d160]
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 0x14001360e
mov r8, r14
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSavePidlMRU_
lea rcx, [rsp + 0xe8]
call fcn.14000d020
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 0x1400135f5
mov esi, r13d
mov rbx, r13
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x68], 0x104
nop
mov edi, 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 + 0x420]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x1400135de
nop dword [rax]
cmp eax, 0xea
jne 0x1400134c5
test rbx, rbx
je 0x1400133d8
mov rcx, rbx
call fcn.140049760
mov ecx, dword ds:[rsp + 0x64]
call fcn.1400497ac
mov rbx, rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
jmp 0x140013370
mov eax, dword ds:[rsp + 0x60]
and rax, 0xfffffffffffffffe
cmp rax, 0x208
jae 0x1400138d8
mov word [rsp + rax + 0x210], r13w
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]
test eax, eax
jne 0x1400134b7
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x1400134b7
cmp word [rsp + 0x210], 0
je 0x1400134b7
lea rdx, [0x140051680]
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]
mov dword ds:[rsp + 0x60], 0x104
jmp 0x140013240
test eax, eax
jne 0x1400135de
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x420]
mov edx, edi
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea rdx, [rsp + 0x630]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
nop dword [rax]
test eax, eax
je 0x140013366
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]
test eax, eax
jne 0x140013366
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x140013366
cmp word ds:[rsp + 0x210], 0
je 0x140013366
lea rdx, [0x140051680]
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 + 0x630]
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]
jmp 0x140013366
mov rcx, rbx
call fcn.140049760
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, ds:[rsp + 0xe8]
call fcn.1400058e0
add r14, 0x20
jmp 0x1400132f5
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
nop dword [rax + rax]
cmp r15, r12
je 0x14001389e
mov r8, r15
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs_
lea rcx, [rsp + 0xe8]
call fcn.14000d020
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 0x140013767
mov r14d, r13d
mov rdi, r13
mov dword [rsp + 0x6c], r13d
mov dword [rsp + 0x70], 0x104
mov esi, 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 0x14001374d
cmp eax, 0xea
jne 0x14001371b
test rdi, rdi
je 0x140013705
mov rcx, rdi
call fcn.140049760
mov ecx, dword [rsp + 0x6c]
call fcn.1400497ac
mov rdi, rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x70], eax
jmp 0x1400136a1
test ebx, ebx
je 0x14001377d
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.14000ad40
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, [0x14000d160]
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, rdi
call fcn.140049760
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 0x140013620
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x630]
mov edx, esi
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
test rdi, rdi
je 0x140013699
lea rdx, [rsp + 0x420]
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
nop word [rax + rax]
test eax, eax
je 0x140013699
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]
test eax, eax
jne 0x140013699
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x140013699
cmp word ds:[rsp + 0x210], 0
je 0x140013699
lea rdx, [0x140051680]
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]
jmp 0x140013699
lea rcx, [rsp + 0x78]
call fcn.14000a480
nop
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.140049740
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.140049d24
int3