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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140111200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
mov qword [rbp - 0x38], rcx
xor r13d, r13d
cmp qword [rcx + 0x18], 8
jb 0x14002e5d1
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002e7ba
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x14002e83b
mov r15, r13
movabs rdi, 0x7ffffffffffffffe
lea r8, [0x1400eb638]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [r8 + rax*2], 0
jne 0x14002e610
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14002e628
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
mov r9, r8
mov r8, r15
call fcn.140034e10
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14002e645
mov r15, qword [rsi + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov rbx, r15
cmp qword [rsi + 0x10], r15
cmovb rbx, qword [rsi + 0x10]
mov r12, rsi
cmp qword [rsi + 0x18], 8
jb 0x14002e66d
mov r12, qword [rsi]
cmp rbx, rdi
ja 0x14002e850
mov qword [rbp - 0x18], 7
cmp rbx, 8
jae 0x14002e6a2
mov qword [rbp - 0x20], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.1400a11e0
mov word [rbp + rbx - 0x30], r13w
jmp 0x14002e71b
mov r14, rbx
or r14, 7
cmp r14, rdi
jbe 0x14002e6bd
mov r14, rdi
movabs rcx, 0x7fffffffffffffff
jmp 0x14002e6e1
cmp r14, 0xa
mov eax, 0xa
cmovb r14, rax
lea rcx, [r14 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14002e84a
lfence
add rcx, rcx
call fcn.140006780
mov rdi, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], r14
add rbx, rbx
mov r8, rbx
mov rdx, r12
mov rcx, rax
call fcn.1400a11e0
mov word [rbx + rdi], r13w
movabs rdi, 0x7ffffffffffffffe
cmp qword [rbp - 0x20], 0
je 0x14002e756
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002e756
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call fcn.1400adc00
test eax, eax
jne 0x14002e7ee
inc r15
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14002e799
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e794
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e856
call fcn.14009ecd8
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov rdx, qword [rsi + 0x10]
cmp r15, rdx
jb 0x14002e5fa
lfence
mov rcx, rsi
call fcn.1400065f0
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14009ea10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14002e82a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e825
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e856
call fcn.14009ecd8
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov rcx, rsi
call fcn.1400065f0
xor al, al
jmp 0x14002e7c4
call fcn.140003e70
int3
call fcn.140003f20
int3
call fcn.1400a5cd4
int3