Function at 0x1000192a0
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1000341e0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbp, r8
mov rsi, rcx
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rdx, [rsp + 0x60]
mov ebx, 0x104
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
jbe 0x100019340
lea rdx, [0x100001e7c]
mov rcx, rsi
call sub.MFC42u.dll_AfxDeleteObject
nop
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
xor eax, eax
jmp 0x1000194e8
mov edx, 0x4b6
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CPropertySheet::OnCtlColor
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_AfxDeleteObject
lea rdx, [0x100002d58]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
mov rbx, rax
mov r8d, 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CFormView::SetOccDialogInfo
mov r8, qword [rbx]
mov rcx, qword [rax]
sub r8, rcx
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x1000193a4
add rcx, 2
test eax, eax
jne 0x100019390
xor edi, edi
cmp edx, edi
sete bl
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
cmp bl, dil
je 0x1000193f4
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_AfxDaoGetEngine
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x10001945a
lea rdx, [0x100002d58]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_AfxDaoGetEngine
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.100019514
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
cmp eax, edi
jne 0x1000194b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000194b3
lea rdx, [0x100003a08]
mov rcx, rsi
call sub.MFC42u.dll_AfxDaoTerm
nop
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
jmp 0x1000194dc
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.MFC42u.dll_AfxDaoGetEngine
nop
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
mov edi, 1
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1000206f0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret