Function at 0x1400168dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x70
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r12, r8
mov rbp, rdx
lea r8, str.index.dat
lea rcx, [rax - 0x48]
call fcn.140015bcc
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
xor r8d, r8d
lea rcx, [rsp + 0x50]
call sub.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary_1
nop
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x60]
mov rdi, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
mov r9, qword [rsp + 0x50]
call qword [r9 + 0x60]
mov ebx, edi
add rbx, rbx
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_malloc]
mov rsi, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.MSVCR90.dll_memset
lea r8d, [rdi + rdi]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call sub.mfc90u.dll_CMDIFrameWnd::OnUpdateFrameTitle
mov edx, 0x3a
mov rcx, rsi
call qword [sym.imp.MSVCR90.dll_wcschr]
mov rbx, rax
mov rcx, rax
sub rcx, rsi
sar rcx, 1
movsxd rcx, ecx
xor edi, edi
mov word [rsi + rcx*2], di
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0xa8]
call fcn.140015bcc
nop
lea rdx, [rbx + 2]
lea rcx, [rsp + 0x38]
call qword [0x1404094a8]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140016a46
lea rcx, [rsp + 0x30]
call qword [0x140409500]
nop
mov edx, 0x28a
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140038eb0
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x50]
call sub.mfc90u.dll_CDialogTemplate::CDialogTemplate
nop
jmp 0x140016b6a
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbp, rax
lea rcx, str.newdev.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
cmp rax, rdi
je 0x140016b37
lea rdx, str.UpdateDriverForPlugAndPlayDevicesW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
cmp rax, rdi
je 0x140016b25
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
mov qword [rsp + 0x20], r12
mov r9d, 1
mov r8, rbp
xor ecx, ecx
call rbx
mov ebx, eax
cmp eax, 1
jne 0x140016ae9
lea rcx, [rsp + 0x30]
call qword [0x140409500]
nop
mov edx, CEditView::~CEditView
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140038eb0
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x140016b2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x30]
call qword [0x140409500]
nop
mov edx, CEditView::~CEditView
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140038eb0
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x140016b2c
mov ebx, dword [rsp + 0xa8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140016b3e
mov ebx, dword [rsp + 0xa8]
cmp ebx, edi
setne dil
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x50]
call sub.mfc90u.dll_CDialogTemplate::CDialogTemplate
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov al, dil
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret