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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x1400ca008]
xor rax, rsp
mov qword [rbp + 0x140], rax
lea rcx, [0x1400cbbe0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp rcx, 0x104
ja 0x140001480
lea rdx, [0x1400cbbe0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
movzx ecx, word [rsp + 0x20]
mov r12d, 0x5c
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x14000124a
lea eax, [rcx - 0x41]
cmp ax, 0x19
ja 0x14000126d
cmp word [rsp + 0x22], 0x3a
jne 0x14000126d
cmp word [rsp + 0x24], r12w
jne 0x14000126d
mov r14d, 3
jmp 0x140001289
cmp cx, r12w
jne 0x140001480
cmp word [rsp + 0x22], r12w
jne 0x140001480
mov r14d, 2
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400012af
and al, 0x10
neg al
sbb eax, eax
not eax
and eax, 0xb7
jmp 0x140001485
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor r15d, r15d
test eax, eax
jne 0x140001479
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
je 0x140001479
cmp eax, 0xb7
je 0x140001479
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, word [rsp + 0x20]
or edx, 0xffffffff
movsxd rdi, eax
mov r9d, r15d
test cx, cx
je 0x140001472
lea r8, [rsp + 0x20]
cmp cx, r12w
lea r8, [r8 + 2]
movzx ecx, word [r8]
mov eax, r9d
cmovne eax, edx
inc r9d
movsxd rdx, eax
test cx, cx
jne 0x140001309
test eax, eax
js 0x140001472
cmp edx, r14d
jb 0x140001472
lea rcx, [rdi - 1]
mov eax, edx
mov esi, 0x21c
cmp rax, rcx
jne 0x14000136f
cmp rdi, 1
je 0x140001479
mov rdi, rdx
lea rax, [rdx + rdx]
cmp rax, rsi
jae 0x1400014b1
mov word [rsp + rax + 0x20], r15w
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000142d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
test eax, eax
je 0x14000142d
cmp eax, 0xb7
je 0x140001407
movzx r8d, word [rsp + 0x20]
or rax, 0xffffffffffffffff
mov r9d, eax
mov rdx, rax
mov r11d, r15d
mov r10, r15
test r8w, r8w
je 0x140001400
cmp r8w, r12w
mov rax, r10
movzx r8d, word [rsp + r10*2 + 0x22]
cmovne rax, rdx
mov rdx, rax
mov eax, r11d
cmovne eax, r9d
inc r10
inc r11d
mov r9d, eax
test r8w, r8w
jne 0x1400013bf
cmp rdx, 1
jl 0x140001400
cmp eax, r14d
jae 0x14000135c
mov eax, ecx
jmp 0x140001485
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000142d
test al, 0x10
jne 0x14000142d
mov eax, 0xb7
jmp 0x140001485
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp rcx, rdi
jae 0x140001479
mov word [rsp + rcx*2 + 0x20], r12w
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000142d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000142d
jmp 0x140001485
mov eax, esi
jmp 0x140001485
xor eax, eax
jmp 0x140001485
mov eax, 0x7b
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140009348
lea r11, [rsp + 0x250]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000947e
int3