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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r12, rdx
mov r8, 0xffffffffffffffff
mov r13, rcx
mov rax, r8
mov ebx, 1
nop word [rax + rax]
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1401acb10
movzx ebp, word [rdx + rax*2 - 2]
xor ecx, ecx
mov word [rsp + 0x68], bp
mov r15d, ecx
nop dword [rax + rax]
mov rdx, qword [r13 + 0x38]
mov rax, qword [rdx]
cmp rax, rdx
je 0x1401acd7d
cmp ecx, r15d
je 0x1401acb54
mov rax, qword [rax]
inc ecx
cmp rax, rdx
jne 0x1401acb40
jmp 0x1401acd7d
mov rcx, qword [rax + 0x10]
mov r14, qword [rcx + 0x10]
test r14, r14
je 0x1401acd7d
mov rcx, r8
nop dword [rax + rax]
inc rcx
cmp word [r14 + rcx*2], 0
jne 0x1401acb70
mov rax, r8
nop
cmp word [r12 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1401acb80
lea rbx, [rax + 2]
mov eax, 2
add rbx, rcx
mul rbx
cmovo rax, r8
mov rcx, rax
call fcn.140247068
mov r8, r12
mov rdx, rbx
mov rcx, rax
mov rsi, rax
call fcn.140251ec0
cmp bp, 0x5c
je 0x1401acbd1
lea r8, [0x140287d80]
mov rdx, rbx
mov rcx, rsi
call fcn.140251e40
mov r8, r14
mov rdx, rbx
mov rcx, rsi
call fcn.140251e40
xor ebx, ebx
mov rcx, 0xffffffffffffffff
mov ebp, ebx
mov rax, rcx
nop dword [rax]
inc rax
cmp word [rsi + rax*2], bx
jne 0x1401acbf0
cmp rax, 4
jb 0x1401acd61
mov rbx, rcx
inc rbx
cmp word [rsi + rbx*2], bp
jne 0x1401acc06
inc rbx
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140247068
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.140251ec0
mov r8d, 2
lea rdx, [0x14028c05c]
mov rcx, rdi
call fcn.140252028
test eax, eax
jne 0x1401acc83
mov ebx, 0x5c
lea rcx, [rdi + 4]
mov edx, ebx
call fcn.140249da8
test rax, rax
je 0x1401acd0a
mov edx, ebx
lea rcx, [rax + 2]
call fcn.140249da8
test rax, rax
je 0x1401acd0a
lea rbx, [rax + 2]
jmp 0x1401acca1
lea rcx, [rdi + 2]
mov r8d, 2
lea rdx, [0x1402c69f0]
call fcn.140252028
test eax, eax
jne 0x1401acd0a
lea rbx, [rdi + 6]
test rbx, rbx
je 0x1401acd0a
cmp word [rbx], bp
je 0x1401acd0a
nop dword [rax + rax]
mov edx, 0x5c
mov rcx, rbx
call fcn.140249da8
mov rbx, rax
test rax, rax
je 0x1401acd0a
xor ebp, ebp
mov rcx, rdi
mov word [rax], bp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401acce3
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x5c
mov word [rbx], cx
add rbx, 2
cmp eax, 0xffffffff
je 0x1401acd0a
test al, 0x10
je 0x1401acd0a
cmp word [rbx], 0
lea ebp, [rcx - 0x5b]
jne 0x1401accb0
mov edx, 2
mov rcx, rdi
call fcn.140247060
test ebp, ebp
je 0x1401acd5a
mov r8, rsi
mov edx, r15d
mov rcx, r13
call fcn.1401acf10
mov rdi, qword [rsp + 0x70]
mov ebx, eax
test eax, eax
jne 0x1401acd43
mov edx, dword [rsp + 0x78]
mov r8, r14
mov rcx, rdi
call fcn.140251ec0
inc r15d
test ebx, ebx
je 0x1401acd7d
movzx ebp, word [rsp + 0x68]
xor ecx, ecx
lea r8, [rcx - 1]
jmp 0x1401acb30
mov rdi, qword [rsp + 0x70]
xor ebx, ebx
mov dword [r13 + 8], 8
test rdi, rdi
je 0x1401acd7d
mov edx, dword [rsp + 0x78]
mov r8, r14
mov rcx, rdi
call fcn.140251ec0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret