Function at 0x1800262f0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rbp + 0x27], rax
cmp qword [rcx + 0x10], 0
jne 0x180026332
xor al, al
jmp 0x1800265f4
xor r12d, r12d
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r12
mov word [rbp - 0x39], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rbp - 0x39]
call fcn.1800165a0
nop
mov rdx, qword [rbp - 0x29]
lea rcx, [rdx - 1]
cmp rdx, rcx
ja 0x18002637c
lea rcx, str.invalid_string_position
call fcn.1800b0d60
int3
lea rax, [rbp - 0x39]
mov r8, qword [rbp - 0x39]
mov r9, qword [rbp - 0x21]
cmp r9, 8
cmovae rax, r8
cmp word [rax + rcx*2], 0x5c
je 0x1800263d2
cmp rdx, rcx
ja 0x1800263a9
lea rcx, str.invalid_string_position
call fcn.1800b0d60
int3
lea rax, [rbp - 0x39]
cmp r9, 8
cmovae rax, r8
cmp word [rax + rcx*2], 0x2f
je 0x1800263d2
mov r8d, 1
lea rdx, [0x180100a48]
lea rcx, [rbp - 0x39]
call fcn.180016430
lea rcx, [rbp - 0x39]
call fcn.180025df0
test al, al
jne 0x1800263e7
xor r15b, r15b
jmp 0x1800265cf
cmp qword [rbp - 0x29], 0
je 0x180026410
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x180026410
movzx r15d, al
jmp 0x1800265cf
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r12
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.180025fb0
mov r14, qword [rbp - 0x59]
mov rsi, qword [rbp - 0x51]
cmp r14, rsi
jne 0x18002643e
xor r15b, r15b
jmp 0x180026586
mov r15b, 1
mov rbx, r14
nop word [rax + rax]
mov qword [rbp - 9], r12
mov qword [rbp - 1], r12
mov qword [rbp - 1], 7
mov qword [rbp - 9], r12
mov word [rbp - 0x19], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.1800165a0
nop
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r12
mov word [rbp + 7], r12w
cmp word [rdx], 0
jne 0x1800264af
mov r8, r12
jmp 0x1800264be
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800264b3
lea rcx, [rbp + 7]
call fcn.1800166f0
nop
cmp qword [rbp + 0x17], 0
jne 0x1800264d3
xor al, al
jmp 0x1800264ed
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
sete dil
cmp qword [rbp + 0x1f], 8
jb 0x180026503
mov rcx, qword [rbp + 7]
call fcn.1800b5700
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r12
mov word [rbp + 7], r12w
test dil, dil
je 0x180026533
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x180026562
cmp qword [rbp - 1], 8
jb 0x180026543
mov rcx, qword [rbp - 0x19]
call fcn.1800b5700
mov qword [rbp - 1], 7
mov qword [rbp - 9], r12
mov word [rbp - 0x19], r12w
add rbx, 0x20
cmp rbx, rsi
je 0x180026586
jmp 0x180026450
xor r15b, r15b
cmp qword [rbp - 1], 8
jb 0x180026575
mov rcx, qword [rbp - 0x19]
call fcn.1800b5700
mov qword [rbp - 1], 7
mov qword [rbp - 9], r12
mov word [rbp - 0x19], r12w
test r14, r14
je 0x1800265cf
mov rbx, r14
cmp r14, rsi
je 0x1800265bb
cmp qword [rbx + 0x18], 8
jb 0x1800265a2
mov rcx, qword [rbx]
call fcn.1800b5700
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
add rbx, 0x20
cmp rbx, rsi
jne 0x180026593
mov rcx, r14
call fcn.1800b5700
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r12
cmp qword [rbp - 0x21], 8
jb 0x1800265df
mov rcx, qword [rbp - 0x39]
call fcn.1800b5700
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r12
mov word [rbp - 0x39], r12w
movzx eax, r15b
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800b6c40
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret