Function at 0x140019510
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.140002470
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 eax, eax
mov word [rsi + rcx*2], ax
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0xa8]
call fcn.140002470
nop
lea rdx, [rbx + 2]
lea rcx, [rsp + 0x38]
call qword [0x1403f4480]
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 0x140019687
lea rcx, [rsp + 0x30]
call qword [0x1403f4428]
nop
mov edx, reloc.OLEAUT32.dll_DllRegisterServer
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003e230
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
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
xor al, al
jmp 0x1400197b7
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rsi, rax
lea rcx, str.newdev.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140019778
lea rdx, str.UpdateDriverForPlugAndPlayDevicesW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140019766
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, rsi
xor ecx, ecx
call rbx
mov ebx, eax
cmp eax, 1
jne 0x14001972a
lea rcx, [rsp + 0x30]
call qword [0x1403f4428]
nop
mov edx, 0x97
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003e230
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x14001976d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x30]
call qword [0x1403f4428]
nop
mov edx, 0x98
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003e230
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x14001976d
mov ebx, dword [rsp + 0xa8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14001977f
mov ebx, dword [rsp + 0xa8]
test ebx, ebx
setne bl
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, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret