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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
or r15, 0xffffffffffffffff
mov dword [0x14004cc50], edi
mov rcx, qword [rcx]
mov r13, r15
inc r13
cmp word [rcx + r13*2], di
jne 0x14000cb9d
call fcn.140016ca4
mov rbp, rax
mov r14, rax
mov eax, 0x3a
lea r12d, [rax - 0x39]
cmp word [rbp], ax
je 0x1400258d6
mov ecx, 0x250
call fcn.14000fd4c
mov qword [rsi + 0x30], rax
mov ebp, 0x5c
movzx r14d, word [r14]
cmp r14w, bp
je 0x14000cde1
mov rax, qword [rsi]
test rax, rax
je 0x1400259aa
mov edx, ebp
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rsi]
test rbx, rbx
je 0x1400259aa
add rbx, 2
lea rdx, [0x1400379e0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000cde1
lea rdx, [0x1400379d8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000cde1
cmp dword [0x1400400fc], 4
je 0x14000cc87
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000cdbb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [0x14004cc50], eax
jmp 0x14000ccd1
cmp dword [0x14004cbe0], r12d
je 0x14000cca1
cmp dword [0x1400400f8], r12d
mov ecx, edi
jne 0x14000ccc9
mov dword [0x1400400f8], edi
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14000cdc8
mov dword [0x14004cc50], edi
mov ecx, edi
test al, 0x10
jne 0x1400259db
test ecx, ecx
jne 0x14000cde1
mov rax, qword [rsi]
mov r8d, r12d
mov rbx, rdi
mov rdx, rax
movzx ecx, word [rax]
test cx, cx
je 0x14000cd0d
mov r9d, 0x3a
cmp cx, bp
je 0x14000cd98
cmp cx, r9w
je 0x14000cd8e
add rdx, 2
add r8d, r12d
movzx ecx, word [rdx]
test cx, cx
jne 0x14000cceb
mov qword [rsi + 0x18], rbx
test rbx, rbx
je 0x140025a0a
cmp word [rbx], di
lea rax, [rbx + 2]
cmove rax, rbx
mov qword [rsi + 0x20], rax
test rbx, rbx
je 0x14000cd69
mov edx, 0x2a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x14000cda0
or dword [rsi + 0x38], 8
mov dword [0x14004cbd0], r12d
mov edx, 0x2e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
mov rdi, rax
mov rbx, qword [rsp + 0x50]
mov eax, r12d
mov rbp, qword [rsp + 0x58]
mov qword [rsi + 0x28], rdi
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp r8d, 2
jne 0x14000ccfe
mov rbx, rdx
jmp 0x14000ccfe
mov edx, 0x3f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x14000cd52
jmp 0x14000cd47
mov dword [0x14004cc50], edi
test al, 0x10
jmp 0x14000cccb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [0x14004cc50], eax
mov ecx, edi
jmp 0x14000ccc9
mov rbx, qword [rsi]
lea rax, [0x1400378e4]
mov edx, 0x5c
lea rbp, [0x1400378e6]
cmp r14w, dx
cmovne rbp, rax
test rbx, rbx
je 0x14000ce61
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
nop dword [rax + rax]
mov r14, qword [rsi]
test rax, rax
je 0x1400259e3
lea ebx, [r13 + 5]
lea ecx, [rbx + rbx]
call fcn.14000fd4c
movsxd rbx, ebx
mov r8, r14
mov rdx, rbx
mov qword [rsi], rax
mov rcx, rax
call fcn.1400158f0
mov rcx, qword [rsi]
mov r8, rbp
mov rdx, rbx
call fcn.1400157fc
mov rax, qword [rsi + 0x30]
mov ebp, 0x5c
mov dword [rax], 0x10
jmp 0x14000ccd1
mov r14, rbx
jmp 0x1400259e3
cmp r13d, 2
jle 0x14000cbc5
mov word [r14], di
xor ecx, ecx
sub r14, 2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
nop dword [rax + rax]
mov rcx, qword [rsi]
mov edx, 0x8000
mov r12d, eax
call fcn.1400178b0
mov ebx, eax
cmp eax, r15d
je 0x140025939
mov ecx, eax
call fcn.14001447c
test eax, eax
jne 0x140025923
mov ecx, ebx
call fcn.140032d08
test eax, eax
je 0x140025939
mov ecx, ebx
call fcn.14001447c
test eax, eax
jne 0x140025989
mov ecx, ebx
call fcn.140032d08
test eax, eax
jmp 0x140025987
cmp dword [0x1400400fc], 4
mov eax, 0x3a
mov word [rbp], ax
mov r14, rbp
jne 0x140025972
cmp dword [0x14004cbdc], edi
jne 0x140025966
mov r8, qword [rsi]
lea edx, [rax - 0x39]
mov ecx, 0x236b
call fcn.140002bfc
mov dword [0x14004cbd8], 1
jmp 0x140025984
mov r8, qword [rsi]
mov edx, 1
mov ecx, 0x236b
call fcn.140002bfc
cmp ebx, r15d
je 0x140025990
mov ecx, ebx
call fcn.140014604
mov ecx, r12d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
nop dword [rax + rax]
mov r12d, 1
jmp 0x14000cbc5
mov rbx, rax
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], di
jne 0x1400259b0
cmp rcx, 2
jb 0x14000cc16
mov ecx, 0x3a
cmp word [rax + 2], cx
jne 0x14000cc16
lea rbx, [rax + 4]
jmp 0x14000cc16
mov ecx, r12d
jmp 0x14000ccc9
inc r15
cmp word [rbx + r15*2], di
jne 0x1400259e3
cmp r15, 2
jne 0x14000ce1f
lea eax, [r15 + 0x38]
cmp word [rbx + 2], ax
je 0x14000ce4d
jmp 0x14000ce1f
mov rbx, rax
jmp 0x14000cd25