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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10120
call fcn.1402cec90
sub rsp, rax
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x10110], rax
mov r12, r8
mov rax, rdx
mov rsi, rcx
mov qword [rsp + 0x60], r8
mov byte [rsp + 0x20], 0
mov edx, 3
lea r9d, [rdx - 2]
mov r8d, 0x80000000
mov rcx, rax
call fcn.14020c670
mov r15, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140150235
cmp byte [rsi + 8], 0
je 0x14014fdfe
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.140205160
nop
xor edx, edx
mov rcx, rax
call fcn.140200d70
cmp ax, 0x43
sete bl
cmp dword [rsp + 0x30], 0
jle 0x14014fde8
mov rcx, qword [rsp + 0x28]
call fcn.1402bd0e0
test bl, bl
je 0x14014fdfe
mov rbx, qword [r12]
lea rcx, [rsi + 0x48]
xor edx, edx
call fcn.140200d70
mov word [rbx], ax
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.1400d4470
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x78]
call fcn.1402053e0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14014fe42
test al, 0x10
je 0x14014fe42
cmp dword [rsp + 0x30], 0
jle 0x14014fe63
mov rcx, qword [rsp + 0x28]
call fcn.1402bd0e0
jmp 0x14014fe63
cmp dword [rsp + 0x30], 0
jle 0x14014fe53
mov rcx, qword [rsp + 0x28]
call fcn.1402bd0e0
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x40000000
mov rcx, r12
call fcn.14020c670
mov r14, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14015020d
mov qword [rsp + 0x100], 0xf
xor r13d, r13d
mov qword [rsp + 0xf8], r13
mov byte [rsp + 0xe8], r13b
lea r8d, [r13 + 0x11]
lea rdx, str.AES_128_CBC_PKCS7
lea rcx, [rsp + 0xe8]
call fcn.1400ba880
nop
lea edx, [r13 + 1]
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], r13
je 0x14014fefc
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 + 0x38], rsi
mov ecx, 0x30
call fcn.1402bcb4c
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14014ff5b
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
mov ecx, 0x10
call fcn.1402bcb4c
test rax, rax
jne 0x14014ff46
call fcn.1402b7ff4
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
mov qword [rbx + 0x28], r13
jmp 0x14014ff5e
mov rbx, r13
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x58], 0
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140059f10
nop
cmp qword [rsp + 0x100], 0x10
jb 0x14014ffbc
mov rcx, qword [rsp + 0xe8]
call fcn.14021ae20
mov qword [rsp + 0x100], 0xf
mov qword [rsp + 0xf8], r13
mov byte [rsp + 0xe8], 0
lea rcx, [rsp + 0x38]
call fcn.140059ae0
mov rax, qword [r15]
mov r8d, 0x10000
lea rdx, [rsp + 0x110]
mov rcx, r15
call qword [rax + 0x50]
mov edi, eax
test eax, eax
jne 0x14015000e
lea rcx, [rsp + 0x38]
call fcn.140059bf0
jmp 0x1401500c0
cmp byte [rsp + 0x58], 0
jne 0x1401500a5
mov qword [rsp + 0xe0], 0xf
mov qword [rsp + 0xd8], r13
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.1402be04c
lea rax, vtable.Botan::Invalid_State.0
mov qword [rsp + 0x90], rax
lea rdx, [0x140414c78]
lea rcx, [rsp + 0x90]
call fcn.1402c4a18
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, rdi
lea rdx, [rsp + 0x110]
call qword [rax + 8]
nop dword [rax + rax]
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x38]
call fcn.14005a470
test rax, rax
je 0x1401501ae
mov qword [rsp + 0xe0], 0xf
mov qword [rsp + 0xd8], r13
mov byte [rsp + 0xc8], 0
mov r8d, 4
lea rdx, str.read
lea rcx, [rsp + 0xc8]
call fcn.1400ba880
nop
mov r8, qword [rsp + 0x48]
mov rcx, qword [r8 + 0x20]
add rcx, qword [r8 + 0x28]
mov rdx, qword [rsp + 0x50]
cmp rdx, rcx
jb 0x140150151
mov r8, rdx
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xb0]
call fcn.14000f010
lea rdx, [0x140414bd8]
lea rcx, [rsp + 0xb0]
call fcn.1402c4a18
mov rcx, r8
call fcn.1400596d0
test rax, rax
je 0x14015017a
lea rcx, [rax + 0x58]
mov rax, qword [rcx]
mov r8d, 0x10000
lea rdx, [rsp + 0x110]
call qword [rax]
mov rbx, rax
jmp 0x14015017d
mov rbx, r13
cmp qword [rsp + 0xe0], 0x10
jb 0x140150195
mov rcx, qword [rsp + 0xc8]
call fcn.14021ae20
mov rax, qword [r14]
mov r8d, ebx
lea rdx, [rsp + 0x110]
mov rcx, r14
call qword [rax + 0x48]
jmp 0x1401500c0
test edi, edi
jne 0x14014ffe2
mov byte [rsp + 0x20], 1
mov qword [rsp + 0x38], rsi
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.140059a10
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1401501ea
mov rcx, rbx
call fcn.140059780
mov rcx, rbx
call fcn.14021ae20
nop
jmp 0x1401501fb
test r14, r14
je 0x14015020d
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
test r15, r15
je 0x140150220
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
nop
cmp dword [rsp + 0x80], 0
jle 0x140150235
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
nop
cmp dword [r12 + 8], 0
jle 0x140150246
mov rcx, qword [r12]
call fcn.1402bd0e0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x10110]
xor rcx, rsp
call fcn.1402bcad0
add rsp, 0x10120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret