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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x578]
sub rsp, 0x660
mov rax, qword [0x14005b8e0]
xor rax, rsp
mov qword [rbp + 0x550], rax
xor r12d, r12d
test rcx, rcx
je 0x14000e7e7
mov r8d, 0x104
mov rax, rcx
mov edx, r8d
cmp word [rax], r12w
je 0x14000e4eb
add rax, 2
sub rdx, 1
jne 0x14000e4db
mov rax, rdx
neg rax
mov rax, rdx
sbb ebx, ebx
sub r8, rdx
not ebx
and ebx, 0x80070057
neg rax
mov eax, ebx
sbb rdi, rdi
and rdi, r8
test rdx, rdx
je 0x14000e7ee
lea rax, [rsp + 0x20]
mov r8d, 0x105
sub rcx, rax
lea rdx, [rsp + 0x20]
lea rax, [r8 + 0x7ffffef9]
test rax, rax
je 0x14000e54a
movzx eax, word [rcx + rdx]
test ax, ax
je 0x14000e54a
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x14000e528
test r8, r8
lea rax, [rdx - 2]
cmovne rax, rdx
mov word [rax], r12w
mov rax, r8
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test r8, r8
jne 0x14000e575
mov ecx, ebx
jmp 0x14000e7f0
lea rax, [rdi - 1]
cmp rax, rdi
ja 0x14000e586
mov rdi, rax
mov ebx, r12d
jmp 0x14000e592
mov ebx, 0x80070216
mov ecx, ebx
call fcn.14000c4dc
mov ecx, ebx
call fcn.14000c400
test ebx, ebx
js 0x14000e56e
add rdi, rdi
mov ecx, 0x5c
cmp word [rsp + rdi + 0x20], cx
jne 0x14000e5bf
cmp rdi, 0x20a
jae 0x14000e82b
mov word [rsp + rdi + 0x20], r12w
cmp word [rsp + 0x20], cx
lea rdi, [rsp + 0x20]
lea rax, [rsp + 0x22]
mov word [rbp + 0x340], r12w
cmove rdi, rax
mov r15d, r12d
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x14000e665
lea rax, [rbp + 0x130]
mov r8, rdi
sub r8, rax
lea rcx, [rbp + 0x130]
mov edx, 0x105
lea rax, [rdx + 0x7ffffef9]
test rax, rax
je 0x14000e632
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14000e632
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000e60f
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r12w
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test rdx, rdx
je 0x14000e56e
mov r15d, 1
jmp 0x14000e702
mov rcx, r14
sub rcx, rdi
sar rcx, 1
cmp rcx, 0x7ffffffe
ja 0x14000e7dd
lea rax, [rbp + 0x130]
mov r9, rdi
sub r9, rax
lea rdx, [rbp + 0x130]
mov r8d, 0x105
lea rax, [r8 - 0x105]
add rax, rcx
je 0x14000e6b8
movzx eax, word [r9 + rdx]
test ax, ax
je 0x14000e6b8
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x14000e695
test r8, r8
lea rax, [rdx - 2]
cmovne rax, rdx
mov word [rax], r12w
mov rax, r8
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test r8, r8
je 0x14000e56e
cmp r14, rdi
jb 0x14000e7d3
add rcx, rcx
cmp rcx, 0x20a
jae 0x14000e82b
mov word [rbp + rcx + 0x130], r12w
lea r8, [rbp + 0x130]
mov edx, 0x105
lea rcx, [rbp + 0x340]
call fcn.140003850
mov ebx, eax
test eax, eax
js 0x14000e7ee
lea rcx, [rbp + 0x340]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14000e740
test al, 0x10
jne 0x14000e771
xor edx, edx
lea rcx, [rbp + 0x340]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14000e7a6
lea rcx, [rbp + 0x340]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14000e7a6
test r14, r14
je 0x14000e798
lea r8, [0x14003af78]
mov edx, 0x105
lea rcx, [rbp + 0x340]
lea rdi, [r14 + 2]
call fcn.140003850
mov ebx, eax
test eax, eax
js 0x14000e7ee
test r15d, r15d
jne 0x14000e7f5
lea ecx, [r15 + 0x5c]
jmp 0x14000e5dd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x14000e7c0
mov ebx, 0x80004005
jmp 0x14000e56e
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000e56e
mov ebx, 0x80070216
jmp 0x14000e56e
mov ebx, 0x80070057
jmp 0x14000e56e
mov eax, 0x80070057
mov ebx, eax
mov ecx, eax
call fcn.14000c4dc
mov ecx, ebx
call fcn.14000c400
mov eax, ebx
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.140034af0
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140034c38
int3