Function at 0x14001b634
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x2e0
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r13, r8
mov r12, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], r8
lea rdx, [rcx + 0x630]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
nop
lea r8, [0x140414e8c]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140015bcc
nop
lea r8, [r12 + 0x638]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000779c
nop
lea r8, [0x140414958]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140015bcc
nop
lea r8, [r12 + 0x648]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000779c
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
xor esi, esi
cmp dword [0x1404f68dc], esi
jne 0x14001babf
mov dword [0x1404f68dc], 1
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, esi
jne 0x14001b828
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x14001b828
lea r8, [0x140414958]
lea rdx, [r12 + 0x638]
lea rcx, [rsp + 0x30]
call fcn.140015bcc
nop
lea r8, [r12 + 0x648]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000779c
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14001b0e4
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea r8, [0x140414e8c]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140015bcc
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000779c
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov edx, 0x5c
lea rcx, [r12 + 0x220]
call qword [sym.imp.MSVCR90.dll_wcsrchr]
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [0x1404094a8]
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.14000779c
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
xor r8d, r8d
lea rcx, [r12 + 0x220]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea r8, str.index.dat
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140015bcc
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
mov r8d, 0x1001
lea rcx, [rsp + 0x88]
call sub.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary_1
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
add ebx, ebx
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
mov r8d, ebx
lea rcx, [rsp + 0x88]
call sub.mfc90u.dll_CDaoRecordset::SetParamValue
mov r8d, 2
lea rdx, [0x140414b30]
lea rcx, [rsp + 0x88]
call sub.mfc90u.dll_CDaoRecordset::SetParamValue
lea rcx, [r12 + 0x640]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov edi, eax
add edi, edi
lea rcx, [r12 + 0x640]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x88]
call sub.mfc90u.dll_CDaoRecordset::SetParamValue
lea rcx, [rsp + 0x88]
call sub.mfc90u.dll_CFrameWnd::CanEnterHelpMode
nop
lea rcx, [rsp + 0x88]
call sub.mfc90u.dll_CDialogTemplate::CDialogTemplate
nop
jmp 0x14001b95b
lea rcx, [rsp + 0x48]
call qword [0x140409500]
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rdx, [r12 + 0x220]
lea rcx, [rsp + 0x68]
call qword [0x1404094a8]
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14001abc8
lea rdx, [0x14040a96c]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CDaoTableDef::classCDaoTableDef]
cmp eax, esi
je 0x14001ba90
lea rdx, [0x1404139e8]
lea rcx, [rsp + 0x38]
call qword [0x140408a10]
nop
mov word [rsp + 0xc0], si
xor edx, edx
mov r8d, COleVariant::COleVariant
lea rcx, [rsp + 0xc2]
call sub.MSVCR90.dll_memset
mov edx, SerializeElements<class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > >
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x28]
call qword [0x1404094a8]
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14001b014
cmp al, sil
je 0x14001ba78
lea r8, [0x140414e8c]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140015bcc
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
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 + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
cmp r13, rsi
jne 0x14001bae2
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
xor eax, eax
jmp 0x14001bb6e
mov edx, 0x5c
mov rcx, r13
call qword [sym.imp.MSVCR90.dll_wcsrchr]
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [0x1404094a8]
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x80]
call fcn.14000779c
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CopyFileW]
inc dword [0x1404f68dc]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
xor eax, eax
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1403c2380
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret