Function at 0x1000198b8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x100
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbx, rcx
mov edi, 0xc9
mov rdx, rdi
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_LoadMenuW]
mov qword [rbx + 0x440], rax
mov rdx, rax
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetMenu]
lea edx, [rdi + 1]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x28], rax
mov edx, edi
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x20], rax
mov dword [rsp + 0xc8], 0x26
xor r12d, r12d
mov dword [rsp + 0xd0], r12d
lea r14, [0x100001e7c]
mov qword [rsp + 0xd8], r14
mov dword [rsp + 0xec], r12d
lea r9, [rsp + 0xc8]
xor r8d, r8d
mov edx, 0x1061
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edx, [rdi + 7]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x3b0], rax
lea edx, [rdi + 2]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x3b8], rax
lea edx, [rdi + 3]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x3c0], rax
lea edx, [rdi + 4]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x3c8], rax
lea edx, [rdi + 8]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x3d0], rax
lea edx, [r12 + 3]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x3d8], rax
lea edx, [r12 + 5]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x3e0], rax
lea edx, [r12 + 4]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x3e8], rax
lea rdx, [rbx + 0x1a0]
lea ecx, [rdi + 0x3b]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbx + 0x10]
call sub.MFC42u.dll_CPropertySheet::EnableStackedTabs
mov dword [rbx + 0x98], r12d
mov r9d, 0x420
xor r8d, r8d
mov edx, 0x1036
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbx + 0x88]
call sub.MFC42u.dll_CPropertySheet::EnableStackedTabs
lea rcx, [rbx + 0x90]
call sub.MFC42u.dll_CPropertySheet::EnableStackedTabs
mov dword [rbx + 0x58], r12d
mov dword [rbx + 0x5c], r12d
lea rcx, [rbx + 0x60]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
mov dword [rbx + 0x30], 0x21
lea r13d, [r12 + 1]
mov dword [rbx + 0x84], r13d
mov dword [rbx + 0x3a8], r13d
mov r9, r13
xor r8d, r8d
mov edx, 0x445
mov rcx, qword [rbx + 0x3b8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8, r13
mov edx, 0x459
mov rcx, qword [rbx + 0x3b8]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx + 0x3d0]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x3e0]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 0x3d8]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x3e8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rsp + 0x78]
mov ecx, edx
mov rdi, qword [rsp + 0x70]
sub ecx, edi
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
cmp ecx, eax
jle 0x100019b3c
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
jmp 0x100019b51
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
mov rdx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x48]
sub ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x68]
sub eax, dword [rsp + 0x60]
cmp eax, ecx
jle 0x100019b72
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x100019b7d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
mov rcx, rdi
shr rcx, 0x20
mov rax, rdx
shr rax, 0x20
sub eax, ecx
sub edx, edi
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
mov r9d, edx
mov r8d, ecx
mov edx, edi
mov rcx, qword [rbx + 0x3d0]
call qword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x54]
sub ecx, r8d
mov r9d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
sub r9d, edx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbx + 0x3e0]
call qword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x64]
sub ecx, r8d
mov r9d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
sub r9d, edx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbx + 0x3d8]
call qword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub ecx, r8d
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbx + 0x3e8]
call qword [sym.imp.USER32.dll_MoveWindow]
mov dword [rbx + 0x3f0], r12d
mov dword [rbx + 0x3f4], r12d
mov dword [rbx + 0x3f8], r12d
mov rdx, r14
lea rcx, [rsp + 0x130]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [rbx + 0x408]
mov rdx, rax
call sub.MFC42u.dll_AfxDaoGetEngine
nop
lea rcx, [rsp + 0x130]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov qword [rbx + 0x410], r12
mov dword [rbx + 0x3fc], r12d
mov dword [rbx + 0x400], r12d
mov rcx, rbx
call fcn.10001a260
mov rcx, rbx
call fcn.10001a38c
mov dword [rbx + 0x19c], r12d
mov rdx, r14
lea rcx, [rbx + 0x420]
call sub.MFC42u.dll_AfxDeleteObject
mov rdx, r14
lea rcx, [rbx + 0x428]
call sub.MFC42u.dll_AfxDeleteObject
lea rcx, [rbx + 0x430]
mov rdx, r14
call sub.MFC42u.dll_AfxDeleteObject
mov dword [rbx + 0x43c], r12d
mov dword [rbx + 0x438], r12d
mov qword [rbx + 0x38], r12
mov ecx, 0x48
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x130], rax
cmp rax, r12
je 0x100019d09
mov rcx, rax
call fcn.10000d9f4
mov rdi, rax
jmp 0x100019d0c
mov rdi, r12
cmp rdi, r12
je 0x100019d3d
mov rax, qword [rdi]
mov r8, qword [rbx + 8]
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x10]
cmp eax, r12d
jge 0x100019d37
mov rax, qword [rdi]
mov edx, r13d
mov rcx, rdi
call qword [rax]
mov qword [rbx + 0x38], r12
jmp 0x100019d41
mov qword [rbx + 0x38], rdi
jmp 0x100019d41
mov qword [rbx + 0x38], r12
mov qword [rbx + 0x40], r12
mov qword [rbx + 0x50], r12
mov rax, qword [rbx + 0x428]
cmp dword [rax - 8], r12d
je 0x100019d69
lea rdx, [rbx + 0x428]
lea rcx, [rbx + 0x420]
call sub.MFC42u.dll_AfxDaoGetEngine
mov rdx, qword [rbx + 0x420]
cmp dword [rdx - 8], r12d
je 0x100019db8
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
sub ecx, r13d
movsxd rax, ecx
cmp rax, r12
jl 0x100019da2
cmp word [rdx + rax*2], 0x2e
je 0x100019da2
sub ecx, r13d
sub rax, r13
jns 0x100019d93
cmp ecx, r12d
jl 0x100019db8
lea r8d, [rcx + 1]
mov rcx, rbx
call fcn.10001a538
cmp eax, r12d
jge 0x100019dc9
mov rdx, qword [rbx + 0x38]
cmp rdx, r12
je 0x100019dc9
mov rcx, rbx
call fcn.10001ba7c
mov edx, 0xd1
mov rcx, qword [0x1000383e0]
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [rbx + 0x448], rax
mov dword [rsp + 0x80], r12d
xor eax, eax
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], eax
xor edx, edx
lea r8d, [rax + 0x28]
lea rcx, [rsp + 0x9c]
call sub.msvcrt.dll_memset
xor edx, edx
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], edx
lea eax, [rdx + 0x32]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], 0x258
mov dword [rsp + 0x3c], 0x1c2
mov dword [rsp + 0x98], 0x2c
mov dword [rsp + 0xa0], r12d
xor r9d, r9d
lea r8, [rsp + 0x80]
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, r12d
je 0x100019e93
mov eax, dword [rsp + 0x88]
cmp eax, 0x28a
jle 0x100019e7e
add eax, 0xffffffce
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x8c]
cmp eax, 0x1f4
jle 0x100019e93
add eax, 0xffffffce
mov dword [rsp + 0x3c], eax
movdqu xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0xb4], xmm0
lea rdx, [rsp + 0x98]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetWindowPlacement]
mov edx, 0x18f
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_LoadIconW]
mov rdi, rax
cmp rax, r12
je 0x100019ef1
mov r8, rax
mov edx, 0xffffffde
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetClassLongPtrW]
mov r9, rdi
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret