Function at 0x14000cb80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x14002f008]
xor rax, rsp
mov qword [rsp + 0x230], rax
or r13, 0xffffffffffffffff
xor r14b, r14b
xor eax, eax
mov r12, rdx
mov ebp, eax
mov edi, eax
mov r15, rcx
mov esi, r13d
nop
mov rax, qword [r15 + 0x70]
movzx ebx, word [rdi + rax]
cmp bx, 0x22
je 0x14000cd7c
test bx, bx
je 0x14000cc22
test r14b, r14b
jne 0x14000cbf1
movzx edx, bx
lea rcx, str._______t_
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
jne 0x14000cc22
cmp esi, 0xffffffff
jne 0x14000cc0f
movzx edx, bx
lea rcx, [0x1400287f0]
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
jne 0x14000cd96
mov word [rsp + rdi + 0x20], bx
inc ebp
add rdi, 2
cmp ebp, 0x103
jb 0x14000cbc0
test ebp, ebp
je 0x140019ee0
mov eax, ebp
add rax, rax
cmp rax, 0x208
jae 0x14000cde4
xor r14d, r14d
mov word [rsp + rax + 0x20], r14w
cmp esi, 0xffffffff
jne 0x14000cdaa
mov ebx, r14d
lea rdi, [0x140027110]
mov rdx, qword [rdi - 0x10]
test rdx, rdx
je 0x14000cc6f
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14000ccd6
inc ebx
add rdi, 0x20
cmp ebx, 0x2a
jle 0x14000cc57
mov dword [0x14002f03c], r13d
mov ebx, r13d
mov r8, r12
lea rdx, [rsp + 0x20]
mov ecx, 0x2d
call fcn.14001483c
cmp eax, 0x2d
je 0x140019efa
xor sil, sil
mov ebp, r14d
nop word [rax + rax]
mov eax, ebp
lea rcx, [rax + rax]
mov rax, qword [r15 + 0x70]
movzx edi, word [rcx + rax]
test di, di
je 0x14000ccf6
cmp di, 0x22
je 0x14000cd88
test sil, sil
je 0x14000cd4c
inc ebp
jmp 0x14000ccb0
movzx eax, word [rdi]
test al, 4
jne 0x140019ee8
mov word [r12], ax
mov dword [0x14002f03c], ebx
cmp ebx, 0xffffffff
je 0x14000cc84
cmp ebx, 0x14
je 0x14000cd3f
mov rcx, qword [r15 + 0x70]
mov rax, r13
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14000cd00
cmp ebp, eax
jne 0x140019f04
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400151c0
mov rbx, qword [rsp + 0x290]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [r15 + 0x80], 1
jmp 0x14000ccf6
movzx ecx, di
call qword [sym.imp.msvcrt.dll_iswspace]
test eax, eax
jne 0x14000ccf6
movzx edx, di
lea rcx, [0x140028768]
call fcn.140008434
test rax, rax
jne 0x14000ccf6
cmp di, 0x2f
jne 0x14000ccd2
jmp 0x14000ccf6
test r14b, r14b
sete r14b
jmp 0x14000cbf1
test sil, sil
sete sil
inc ebp
jmp 0x14000ccb0
cmp byte [0x140046d39], 0
je 0x14000cc22
mov esi, ebp
jmp 0x14000cc0f
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000cdd4
mov eax, esi
mov ebp, esi
add rax, rax
cmp rax, 0x208
jae 0x14000cdde
mov word [rsp + rax + 0x20], r14w
jmp 0x14000cc4d
test al, 0x10
je 0x14000cc4d
jmp 0x14000cdba
call fcn.140015398
int3
call fcn.140015398
int3
mov eax, r13d
jmp 0x14000cd14
cmp byte [0x140046d39], r14b
jne 0x14000cce1
jmp 0x14000cc6f
mov eax, 0x2d
jmp 0x14000cd14
lea edi, [rax + 1]
mov rax, qword [r15 + 0x78]
test rax, rax
je 0x140019f1d
inc r13
cmp word [rax + r13*2], r14w
jne 0x140019f10
add edi, r13d
lea ecx, [rdi + rdi]
call fcn.140008d68
mov r8, qword [r15 + 0x70]
mov rsi, rax
mov ecx, ebp
movsxd rdi, edi
mov rdx, rdi
lea r14, [rcx + rcx]
mov rcx, rax
add r8, r14
call fcn.14000dc10
mov r8, qword [r15 + 0x78]
test r8, r8
je 0x140019f57
mov rdx, rdi
mov rcx, rsi
call fcn.14000db30
mov rax, qword [r15 + 0x70]
xor ecx, ecx
mov qword [r15 + 0x78], rsi
mov word [r14 + rax], cx
jmp 0x14000cd12