Function at 0x14014ca90
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x10120
call fcn.1402c8f60
sub rsp, rax
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rsp + 0x10168], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x10110], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov byte [rsp + 0x20], 0
mov rcx, qword [rcx + 0x10]
call fcn.1400f8ca0
test rax, rax
je 0x14014cff7
mov r9, qword [rax]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [r9 + 0x30]
mov r15, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14014cff7
lea rcx, [rsp + 0x28]
call fcn.14014d560
mov rbx, rax
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1401fcb40
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rdi + 8]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rdi]
call fcn.1402ba94c
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.1401fde50
nop
cmp dword [rsp + 0x30], 0
jle 0x14014cb5c
mov rcx, qword [rsp + 0x28]
call fcn.1402b7350
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14014b890
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.1401ff680
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14014cba0
test al, 0x10
je 0x14014cba0
cmp dword [rsp + 0x30], 0
jle 0x14014cbc1
mov rcx, qword [rsp + 0x28]
call fcn.1402b7350
jmp 0x14014cbc1
cmp dword [rsp + 0x30], 0
jle 0x14014cbb1
mov rcx, qword [rsp + 0x28]
call fcn.1402b7350
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov r8, rdi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x38]
call fcn.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401fde50
nop
cmp dword [rsp + 0x30], 0
jle 0x14014cc1c
mov rcx, qword [rsp + 0x28]
call fcn.1402b7350
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x40000000
lea rcx, [rsp + 0x38]
call fcn.140206060
mov r14, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14014cfd3
mov qword [rsp + 0x100], 0xf
xor r12d, r12d
mov qword [rsp + 0xf8], r12
mov byte [rsp + 0xe8], r12b
lea r8d, [r12 + 0x11]
lea rdx, str.AES_128_CBC_PKCS7
lea rcx, [rsp + 0xe8]
call fcn.1400ba880
nop
xor edx, edx
lea rcx, [rsp + 0xe8]
call fcn.140073c10
mov rdi, rax
mov rax, qword [rax]
lea rdx, [rsi + 0x68]
mov rcx, rdi
call qword [rax + 0x30]
cmp qword [rsi + 0x90], r12
je 0x14014ccb6
mov rax, qword [rdi]
lea rdx, [rsi + 0x88]
mov rcx, rdi
call qword [rax + 0x38]
nop
lea rsi, vtable.Botan::Pipe.0
mov qword [rsp + 0x48], rsi
mov ecx, 0x30
call fcn.1402b6dbc
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14014cd15
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
mov ecx, 0x10
call fcn.1402b6dbc
test rax, rax
jne 0x14014cd00
call fcn.1402b22c4
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
mov qword [rbx + 0x28], r12
jmp 0x14014cd18
mov rbx, r12
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x68], 0
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140059f10
nop
cmp qword [rsp + 0x100], 0x10
jb 0x14014cd76
mov rcx, qword [rsp + 0xe8]
call fcn.1402150f0
mov qword [rsp + 0x100], 0xf
mov qword [rsp + 0xf8], r12
mov byte [rsp + 0xe8], 0
lea rcx, [rsp + 0x48]
call fcn.140059ae0
xor dil, dil
nop
test dil, dil
jne 0x14014cf7e
mov rax, qword [r15]
lea r9, [rsp + 0x70]
mov r8d, 0x10000
lea rdx, [rsp + 0x110]
mov rcx, r15
call qword [rax + 8]
test al, al
jne 0x14014cddb
mov dil, 1
lea rcx, [rsp + 0x48]
call fcn.140059bf0
jmp 0x14014ce90
mov r8d, dword [rsp + 0x70]
cmp byte [rsp + 0x68], 0
jne 0x14014ce77
mov qword [rsp + 0xe0], 0xf
mov qword [rsp + 0xd8], r12
mov byte [rsp + 0xc8], 0
mov r8d, 0x31
lea rdx, str.Cannot_write_to_a_Pipe_while_it_is_not_processing
lea rcx, [rsp + 0xc8]
call fcn.1400ba880
nop
lea rax, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 0x10
cmovae rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x90]
call fcn.1402b82bc
lea rax, vtable.Botan::Invalid_State.0
mov qword [rsp + 0x90], rax
lea rdx, [0x14040c8e8]
lea rcx, [rsp + 0x90]
call fcn.1402bece8
nop
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x110]
call qword [rax + 8]
nop word [rax + rax]
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x48]
call fcn.14005a470
test rax, rax
je 0x14014cda0
mov qword [rsp + 0xe0], 0xf
mov qword [rsp + 0xd8], r12
mov byte [rsp + 0xc8], 0
mov r8d, 4
lea rdx, str.read
lea rcx, [rsp + 0xc8]
call fcn.1400ba880
nop
mov r8, qword [rsp + 0x58]
mov rcx, qword [r8 + 0x20]
add rcx, qword [r8 + 0x28]
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jb 0x14014cf21
mov r8, rdx
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xb0]
call fcn.14000f010
lea rdx, [0x14040c848]
lea rcx, [rsp + 0xb0]
call fcn.1402bece8
mov rcx, r8
call fcn.1400596d0
test rax, rax
je 0x14014cf4a
lea rcx, [rax + 0x58]
mov rax, qword [rcx]
mov r8d, 0x10000
lea rdx, [rsp + 0x110]
call qword [rax]
mov rbx, rax
jmp 0x14014cf4d
mov rbx, r12
cmp qword [rsp + 0xe0], 0x10
jb 0x14014cf65
mov rcx, qword [rsp + 0xc8]
call fcn.1402150f0
mov rax, qword [r14]
mov r8d, ebx
lea rdx, [rsp + 0x110]
mov rcx, r14
call qword [rax + 0x48]
jmp 0x14014ce90
mov byte [rsp + 0x20], 1
mov qword [rsp + 0x48], rsi
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140059a10
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14014cfb2
mov rcx, rbx
call fcn.140059780
mov rcx, rbx
call fcn.1402150f0
nop
jmp 0x14014cfc1
test r14, r14
je 0x14014cfd3
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
test r15, r15
je 0x14014cfe6
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
nop
cmp dword [rsp + 0x40], 0
jle 0x14014cff7
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x10110]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x10168]
add rsp, 0x10120
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret