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

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140126510]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, rcx
mov rax, qword [rcx + 0x48]
mov rdi, qword [rax + 0x370]
mov rcx, qword [rcx + 8]
xor ebx, ebx
mov edx, 0x429
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
nop dword [rax + rax]
test rdi, rdi
je 0x140010789
test eax, eax
je 0x14001074f
mov dword [rdi + 0x650], 1
lea rdx, [rdi + 0x668]
mov rcx, qword [rsi + 0x50]
call fcn.14002df34
jmp 0x140010755
mov dword [rdi + 0x650], ebx
mov edx, 0x42a
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
nop dword [rax + rax]
test eax, eax
je 0x140010781
mov dword [rdi + 0x654], 1
lea rdx, [rdi + 0x688]
jmp 0x1400107d6
mov dword [rdi + 0x654], ebx
jmp 0x1400107e7
test eax, eax
je 0x1400107a6
mov dword [rsi + 0xa0], 1
lea rdx, [rsi + 0x60]
mov rcx, qword [rsi + 0x50]
call fcn.14002df34
jmp 0x1400107ac
mov dword [rsi + 0xa0], ebx
mov edx, 0x42a
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
nop dword [rax + rax]
test eax, eax
je 0x1400107e1
mov dword [rsi + 0xa4], 1
lea rdx, [rsi + 0x80]
mov rcx, qword [rsi + 0x58]
call fcn.14002df34
jmp 0x1400107e7
mov dword [rsi + 0xa4], ebx
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi + 0x40]
call fcn.14002df34
cmp qword [rsp + 0x70], rbx
jne 0x140010822
lea rcx, str.The_log_file_name_is_not_valid.
xor edx, edx
call fcn.14002e3b4
jmp 0x140010a39
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14001084d
lea rcx, str.Cannot_open_the_specified_log_file.
jmp 0x140010816
mov rcx, qword [rsi + 0x48]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
add rcx, 8
mov r8, qword [rsp + 0x70]
call fcn.140004eb0
mov qword [rsp + 0x38], rbx
mov ecx, 0xd0
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetDayState]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400108a1
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rcx]
mov rcx, rax
call fcn.14003770c
jmp 0x1400108a4
mov rax, rbx
mov r14, rbx
test rax, rax
cmovne r14, rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi + 0x48]
call fcn.140035858
mov rdi, rbx
mov qword [rsp + 0x30], rbx
mov ecx, 0x58
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetDayState]
nop dword [rax + rax]
test rax, rax
je 0x14001091a
mov rcx, qword [rsi + 0x48]
mov qword [rax + 8], rbx
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
mov dword [rax + 0x38], ebx
lea rdx, vtable.LogFileOptionsMetadataSourceDlg.0
mov qword [rax], rdx
mov qword [rax + 0x40], rbx
mov qword [rax + 0x48], rcx
mov qword [rax + 0x50], r14
mov rdi, rax
mov qword [rsp + 0x30], rax
mov r15, qword [rsi + 8]
mov rax, qword [rdi + 0x28]
test rax, rax
jne 0x140010946
call fcn.1400311ac
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x140010946
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14001098c
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140031248
mov r8, rdi
lea rdx, [rdi + 0x10]
call fcn.140010d1c
mov qword [rsp + 0x20], rbx
lea r9, [0x140010bf0]
mov r8, r15
mov edx, 0xd7
mov rcx, qword [0x140123d20]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
nop dword [rax + rax]
cmp rax, 1
je 0x1400109b5
test rdi, rdi
je 0x1400109b0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1400109a0
call fcn.140031304
nop
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
nop
jmp 0x140010a39
mov edx, 1
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_EndDialog]
nop dword [rax + rax]
nop
test rdi, rdi
je 0x1400109b0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1400109df
call fcn.140031304
nop
jmp 0x1400109a0
cmp qword [rsp + 0x78], 8
jb 0x140010a52
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140062a30
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret