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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x14002c0e0]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor r15d, r15d
mov r12, rcx
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x208
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r15
mov word [rsp + 0x30], r15w
mov word [rsp + 0x70], r15w
call fcn.140012400
lea r8, [rsp + 0x70]
mov r9d, 0x104
mov edx, 0x3e9
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000f4a1
test al, 0x10
je 0x14000f4a1
lea r14, [0x14002d518]
lea rdx, [rsp + 0x70]
lea ebp, [r15 + 1]
mov rcx, r14
call fcn.140010924
mov rdx, qword [0x14002d538]
mov rcx, qword [0x14002d520]
mov r8, qword [0x14002d530]
cmp rdx, 8
lea rdi, [0x14002d520]
mov rax, rdi
cmovae rax, rcx
lea rbx, [rax + r8*2]
cmp rbx, r15
je 0x14000f212
cmp rdx, 8
mov rax, rdi
cmovae rax, rcx
cmp rax, rbx
ja 0x14000f212
cmp rdx, 8
mov rax, rdi
cmovae rax, rcx
lea rax, [rax + r8*2]
cmp rbx, rax
jbe 0x14000f22c
call fcn.1400123d0
mov rdx, qword [0x14002d538]
mov r8, qword [0x14002d530]
mov rcx, qword [0x14002d520]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
cmp r14, 0xfffffffffffffffc
je 0x14000f274
cmp rdx, 8
mov rax, rdi
lea r9, [rbx - 2]
cmovae rax, rcx
lea rax, [rax + r8*2]
cmp r9, rax
ja 0x14000f26f
cmp rdx, 8
mov rax, rdi
cmovae rax, rcx
cmp r9, rax
jae 0x14000f274
call fcn.1400123d0
lea rsi, [rbx - 2]
mov rbx, qword [rsp + 0x50]
cmp rbx, 0xfffffffffffffffc
je 0x14000f2b0
cmp rbx, r15
jne 0x14000f28d
call fcn.1400123d0
cmp qword [rbx + 0x20], 8
jb 0x14000f29a
mov rcx, qword [rbx + 8]
jmp 0x14000f29e
lea rcx, [rbx + 8]
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rax*2]
cmp rsi, rcx
jb 0x14000f2b0
call fcn.1400123d0
cmp word [rsi], 0x5c
je 0x14000f2c5
lea rdx, [0x1400282d0]
mov rcx, r14
call fcn.1400107d8
lea rcx, [rsp + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r14
call fcn.140010a1c
xor ecx, ecx
call fcn.140013150
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.1400130a8
lea r8, str._Y_m_d
lea rcx, [rsp + 0x70]
mov edx, 0x104
mov r9, rax
call fcn.1400128b8
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400107d8
lea rdx, str..mem
mov rcx, r14
call fcn.1400107d8
cmp qword [0x14002d538], 8
mov rcx, rdi
cmovae rcx, qword [0x14002d520]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or esi, 0xffffffff
cmp eax, esi
je 0x14000f488
mov ebx, 0x3e8
cmp ebp, ebx
jge 0x14000f3dc
lea rdx, [rsp + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, r14
call fcn.140010a1c
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400107d8
lea rdx, [0x1400282f4]
mov rcx, r14
call fcn.1400107d8
lea rdx, [rsp + 0x50]
mov r8d, 0xa
mov ecx, ebp
call fcn.140012cb4
mov rcx, r14
mov rdx, rax
call fcn.1400107d8
lea rdx, str..mem
mov rcx, r14
inc ebp
call fcn.1400107d8
cmp qword [0x14002d538], 8
mov rcx, rdi
cmovae rcx, qword [0x14002d520]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
jne 0x14000f34d
cmp ebp, ebx
jl 0x14000f488
cmp eax, esi
je 0x14000f488
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp qword [rsp + 0x48], 8
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, [0x1400282f8]
lea rcx, [rsp + 0x70]
cmovae r8, qword [rsp + 0x30]
call fcn.14000f000
lea rcx, [rsp + 0x70]
call fcn.140011fe0
mov rcx, qword [0x14002d530]
mov r10, qword [0x14002d538]
mov r8, qword [0x14002d520]
cmp r10, 8
mov rdx, rdi
cmovae rdx, r8
cmp rcx, rax
mov r11, rax
cmovb r11, rcx
lea rcx, [rsp + 0x70]
cmp r11, r15
jbe 0x14000f46a
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x14000f46a
add rdx, 2
add rcx, 2
sub r11, 1
jne 0x14000f454
cmp r10, 8
cmovae rdi, r8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x14000f488
lea rdx, str.Cannot_find_appropriate_name_for_the_output_file
jmp 0x14000f4a8
cmp qword [rsp + 0x48], 8
jb 0x14000f49a
mov rcx, qword [rsp + 0x30]
call fcn.140012c3c
mov eax, 1
jmp 0x14000f4d2
lea rdx, str.Invalid_folder_path
lea r8, [0x140028318]
mov r9d, InitCommonControls
mov rcx, r12
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp qword [rsp + 0x48], 8
jb 0x14000f4d0
mov rcx, qword [rsp + 0x30]
call fcn.140012c3c
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140011d10
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret