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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rsp + 0xf0], rbx
mov edi, r8d
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400efb8c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400efc47
cmp qword [rbx + 0x18], 8
jb 0x1400efba7
mov rcx, qword [rbx]
jmp 0x1400efbaa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1400efc33
test edi, edi
je 0x1400efc29
lea rax, [rbp - 0x41]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x29], 7
xor r15d, r15d
mov qword [rbp - 0x31], r15
mov word [rbp - 0x41], r15w
mov r8d, r15d
cmp word [0x14014a718], r8w
setne r8b
lea rdx, [0x14014a718]
lea rcx, [rbp - 0x41]
call fcn.14000b9c0
nop
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r15
mov word [rbp - 1], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.14000b870
nop
xor r8d, r8d
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 1]
call fcn.1400f0b90
mov eax, 1
jmp 0x1400f02c4
cmp qword [rbx + 0x18], 8
jb 0x1400efc3f
mov rcx, qword [rbx]
jmp 0x1400efc42
mov rcx, rbx
call fcn.140103c24
mov r13d, 1
mov qword [rbp - 9], 7
xor r15d, r15d
mov qword [rbp - 0x11], r15
mov word [rbp - 0x21], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.14000b870
nop
lea edx, [r13 + 0x5b]
xor r8d, r8d
lea rcx, [rbp - 0x21]
call fcn.14000bd60
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400efcc5
nop
mov qword [rsp + 0x20], r13
lea r9, [0x1401513d8]
mov r8, r13
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.14008d020
mov edx, 0x5c
mov r8, rbx
lea rcx, [rbp - 0x21]
call fcn.14000bd60
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400efc90
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov rbx, r15
mov qword [rbp - 0x31], rbx
mov eax, 0x2f
mov word [rbp + 0x67], ax
mov rdi, qword [rbp - 0x39]
nop dword [rax]
nop word [rax + rax]
mov r14, qword [rbp - 9]
mov r12, qword [rbp - 0x21]
mov rax, qword [rbp - 0x11]
cmp rax, 1
jb 0x1400eff80
lea rcx, [rax - 1]
cmp rcx, 0xffffffffffffffff
mov r9, 0xffffffffffffffff
cmova rcx, r9
lea rax, [rbp - 0x21]
cmp r14, 8
cmovae rax, r12
lea rsi, [rax + rcx*2]
nop dword [rax]
cmp word [rsi], 0x2f
jne 0x1400efd66
mov rdx, r13
lea r8, [rbp + 0x67]
mov rax, rsi
movzx ecx, word [r8]
cmp word [rax], cx
jne 0x1400efd58
add rax, 2
add r8, 2
dec rdx
je 0x1400efd82
jmp 0x1400efd40
mov edx, r13d
cmp word [rax], cx
cmovb edx, r9d
test edx, edx
je 0x1400efd82
lea rcx, [rbp - 0x21]
call fcn.14000b4c0
cmp rsi, rax
je 0x1400eff80
sub rsi, 2
or r9, 0xffffffffffffffff
jmp 0x1400efd30
lea rax, [rbp - 0x21]
cmp r14, 8
cmovae rax, r12
sub rsi, rax
sar rsi, 1
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400eff80
cmp rsi, 2
jne 0x1400efdbf
lea rax, [rbp - 0x21]
cmp r14, 8
cmovae rax, r12
cmp word [rax + 2], 0x3a
je 0x1400eff80
lea rax, [rbp - 0x21]
cmp r14, 8
cmovae rax, r12
cmp word [rax + rsi*2 + 2], 0
je 0x1400eff39
lea r8, [rsi + 1]
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x21]
call fcn.14008d420
mov r14, rax
mov rcx, qword [rbp - 0x41]
cmp rax, rdi
jae 0x1400efe85
cmp rcx, rax
ja 0x1400efe85
sub r14, rcx
cmp rdi, rbx
jne 0x1400efe7c
mov rax, rbx
sub rax, rdi
sar rax, 5
cmp rax, 1
jae 0x1400efe7c
sub rdi, rcx
sar rdi, 5
movabs rdx, 0x7ffffffffffffff
mov rax, rdx
sub rax, rdi
cmp rax, 1
jb 0x1400eff59
inc rdi
sub rbx, rcx
sar rbx, 5
mov rcx, rbx
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rax, rbx
jae 0x1400efe5a
mov rbx, r15
jmp 0x1400efe5d
add rbx, rcx
cmp rbx, rdi
cmovb rbx, rdi
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.14008c4a0
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
and r14, 0xffffffffffffffe0
add r14, rcx
jmp 0x1400efef9
cmp rdi, rbx
jne 0x1400efef9
mov rax, rbx
sub rax, rdi
sar rax, 5
cmp rax, 1
jae 0x1400efef9
sub rdi, rcx
sar rdi, 5
movabs rdx, 0x7ffffffffffffff
mov rax, rdx
sub rax, rdi
cmp rax, 1
jb 0x1400eff66
inc rdi
sub rbx, rcx
sar rbx, 5
mov rcx, rbx
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rax, rbx
jae 0x1400efedb
mov rbx, r15
jmp 0x1400efede
add rbx, rcx
cmp rbx, rdi
cmovb rbx, rdi
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.14008c4a0
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
test rdi, rdi
je 0x1400eff19
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r15
mov word [rdi], r15w
mov rdx, r14
mov rcx, rdi
call fcn.14003d2b0
add rdi, 0x20
mov qword [rbp - 0x39], rdi
cmp qword [rbp + 0x17], 8
jb 0x1400eff31
mov rcx, qword [rbp - 1]
call fcn.1400fa318
mov r12, qword [rbp - 0x21]
mov r14, qword [rbp - 9]
cmp qword [rbp - 0x11], rsi
jb 0x1400eff73
mov qword [rbp - 0x11], rsi
lea rax, [rbp - 0x21]
cmp r14, 8
cmovae rax, r12
mov word [rax + rsi*2], r15w
jmp 0x1400efcf0
lea rcx, str.vector_T__too_long
call fcn.1400f93c8
int3
lea rcx, str.vector_T__too_long
call fcn.1400f93c8
nop
lea rcx, str.invalid_string_position
call fcn.1400f9400
int3
lea rax, [rbp - 0x21]
mov rcx, qword [rbp - 0x41]
cmp rax, rdi
jae 0x1400f006a
lea rax, [rbp - 0x21]
cmp rcx, rax
ja 0x1400f006a
lea rsi, [rbp - 0x21]
sub rsi, rcx
cmp rdi, rbx
jne 0x1400f0027
mov rax, rbx
sub rax, rdi
sar rax, 5
cmp rax, 1
jae 0x1400f0027
sub rdi, rcx
sar rdi, 5
movabs rdx, 0x7ffffffffffffff
mov rax, rdx
sub rax, rdi
cmp rax, 1
jae 0x1400effe4
lea rcx, str.vector_T__too_long
call fcn.1400f93c8
int3
inc rdi
sub rbx, rcx
sar rbx, 5
mov rax, rbx
shr rax, 1
sub rdx, rax
cmp rdx, rbx
jae 0x1400f0001
mov rbx, r15
jmp 0x1400f0004
add rbx, rax
cmp rbx, rdi
cmovb rbx, rdi
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.14008c4a0
mov r14, qword [rbp - 9]
mov r12, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
and rsi, 0xffffffffffffffe0
add rsi, rcx
mov qword [rbp + 0x67], rdi
mov qword [rbp + 0x7f], rdi
test rdi, rdi
je 0x1400f0065
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r15
mov word [rdi], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.14000b870
mov r14, qword [rbp - 9]
mov r12, qword [rbp - 0x21]
jmp 0x1400f0120
cmp rdi, rbx
jne 0x1400f00e8
mov rax, rbx
sub rax, rdi
sar rax, 5
cmp rax, 1
jae 0x1400f00e8
sub rdi, rcx
sar rdi, 5
movabs rdx, 0x7ffffffffffffff
mov rax, rdx
sub rax, rdi
cmp rax, 1
jae 0x1400f00a9
lea rcx, str.vector_T__too_long
call fcn.1400f93c8
int3
inc rdi
sub rbx, rcx
sar rbx, 5
mov rax, rbx
shr rax, 1
sub rdx, rax
cmp rdx, rbx
jae 0x1400f00c6
mov rbx, r15
jmp 0x1400f00c9
add rbx, rax
cmp rbx, rdi
cmovb rbx, rdi
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.14008c4a0
mov r14, qword [rbp - 9]
mov r12, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x39]
mov qword [rbp + 0x67], rdi
mov qword [rbp + 0x7f], rdi
test rdi, rdi
je 0x1400f0120
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r15
mov word [rdi], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x21]
mov rcx, rdi
call fcn.14000b870
mov r14, qword [rbp - 9]
mov r12, qword [rbp - 0x21]
add rdi, 0x20
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x11], r15
lea rax, [rbp - 0x21]
cmp r14, 8
cmovae rax, r12
mov word [rax], r15w
mov rbx, rdi
mov rsi, qword [rbp - 0x41]
cmp rdi, rsi
je 0x1400f026c
movabs r12, 0x7ffffffffffffffe
mov r14, qword [rbp + 0x6f]
nop word [rax + rax]
cmp r13d, 1
jne 0x1400f026c
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400f0207
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, 1
jbe 0x1400f025f
lea rsi, [rcx + 1]
cmp rsi, r12
ja 0x1400f0252
mov rdx, qword [rbp - 9]
cmp rdx, rsi
jae 0x1400f01af
mov r8, rcx
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.14000b260
jmp 0x1400f01c9
test rsi, rsi
jne 0x1400f01d6
mov qword [rbp - 0x11], r15
lea rax, [rbp - 0x21]
cmp rdx, 8
cmovae rax, qword [rbp - 0x21]
mov word [rax], r15w
mov rcx, qword [rbp - 0x11]
mov rdx, qword [rbp - 9]
test rsi, rsi
je 0x1400f0203
lea rax, [rbp - 0x21]
cmp rdx, 8
cmovae rax, qword [rbp - 0x21]
mov edx, 0x2f
mov word [rax + rcx*2], dx
mov qword [rbp - 0x11], rsi
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rax, qword [rbp - 0x21]
mov word [rax + rsi*2], r15w
mov rsi, qword [rbp - 0x41]
add rbx, 0xffffffffffffffe0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.14003d6f0
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400f0248
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
cmovne r13d, r15d
cmp rbx, rsi
je 0x1400f026c
jmp 0x1400f0160
lea rcx, str.string_too_long
call fcn.1400f93c8
int3
lea rcx, str.string_too_long
call fcn.1400f93c8
nop
test rsi, rsi
je 0x1400f02b1
mov rbx, rsi
cmp rsi, rdi
je 0x1400f02a8
nop dword [rax]
cmp qword [rbx + 0x18], 8
jb 0x1400f028f
mov rcx, qword [rbx]
call fcn.1400fa318
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rdi
jne 0x1400f0280
mov rcx, rsi
call fcn.1400fa318
nop
cmp qword [rbp - 9], 8
jb 0x1400f02c1
mov rcx, qword [rbp - 0x21]
call fcn.1400fa318
mov eax, r13d
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret