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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401b4048]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r15, rcx
xor ebx, ebx
cmp qword [rcx + 0x18], 0x10
jb 0x14008e95a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14008eb0c
mov rdi, qword [r15 + 0x10]
test rdi, rdi
jne 0x14008e979
xor al, al
jmp 0x14008eb0e
mov r14, rbx
lea r13, [0x14014c9b4]
mov r12, rdi
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rbx + r13], 0
jne 0x14008e990
mov rsi, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14008e9a7
mov rsi, qword [r15]
test rbx, rbx
je 0x14008ea15
cmp r14, r12
jae 0x14008ea15
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x50]
call fcn.1400e0b10
mov rcx, r13
lea rax, [rbx + r13]
cmp r13, rax
mov eax, 0
cmova rbx, rax
test rbx, rbx
je 0x14008e9f6
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rsp + rax + 0x50], 1
inc rcx
mov rax, rcx
sub rax, r13
cmp rax, rbx
jne 0x14008e9e0
lea rdx, [r12 + rsi]
lea rax, [rsi + r14]
cmp rax, rdx
jae 0x14008ea15
movzx ecx, byte [rax]
cmp byte [rsp + rcx + 0x50], 0
jne 0x14008ea87
inc rax
cmp rax, rdx
jb 0x14008ea03
mov rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
cmovne rdi, rax
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140096230
nop
cmp qword [rsp + 0x40], 0
je 0x14008eaaa
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14008eaaa
call fcn.14008c7a0
lea rcx, [rsp + 0x30]
test rax, rax
je 0x14008ea8c
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
jmp 0x14008eaa2
sub rax, rsi
jmp 0x14008ea1c
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call fcn.1400f1750
test eax, eax
sete al
test al, al
je 0x14008eb3b
lea r14, [rdi + 1]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14008eaeb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008eae6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008eb90
call fcn.1400bece8
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], al
mov rdi, qword [r15 + 0x10]
cmp r14, rdi
jb 0x14008e983
mov al, 1
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400bf400
lea r11, [rsp + 0x160]
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 [rsp + 0x48]
cmp rdx, 0x10
jb 0x14008eb74
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008eb6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008eb8a
call fcn.1400bece8
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], al
jmp 0x14008eb0e
call fcn.1400e9e3c
int3
call fcn.1400e9e3c
int3