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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
mov r12d, dword [0x14002c2b0]
mov r14d, dword [0x14002d7d0]
lea rdx, [rbp + 0x38]
call fcn.14001d14c
nop
test dword [rbx + 0x18], 0x400
je 0x14001b0c4
mov r9d, r12d
mov r8d, 0x2394
mov edx, r14d
mov rcx, rsi
call fcn.14001ad98
mov ebx, eax
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001b0bd
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x1400249b8]
mov eax, ebx
jmp 0x14001b30c
xor r15d, r15d
xor edx, edx
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14001b2d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xb7
jne 0x14001b111
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14001b206
cmp ebx, 0x10b
je 0x14001b2a5
cmp ebx, 0x7b
je 0x14001b2a5
cmp ebx, 0x43
jne 0x14001b134
test r14d, r14d
je 0x14001b2a5
cmp ebx, 0x56
je 0x14001b2a5
cmp ebx, 5
je 0x14001b2a5
cmp ebx, 3
jne 0x14001b1b0
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001b1ce
mov r9d, r12d
mov r8d, 0x2394
mov edx, r14d
call fcn.14001ad98
test eax, eax
je 0x14001b1ce
xor edx, edx
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14001b274
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
jne 0x14001b1b0
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14001b23f
inc r15d
mov r9d, r15d
mov r8d, r12d
mov edx, 0x2394
mov rcx, rsi
call fcn.14000f800
test eax, eax
jne 0x14001b0c7
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001b2d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
jmp 0x14001b2d4
and edi, 0x10
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001b238
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
mov eax, edi
jmp 0x14001b30c
and ebx, 0x10
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001b0bd
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
jmp 0x14001b0b7
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001b307
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
jmp 0x14001b307
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001b2d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
xor eax, eax
jmp 0x14001b30c
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001b307
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x1400249b8]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret