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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rdi, rcx
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x80], rax
call fcn.1400c70a4
mov ebx, 0x1126
test al, al
jne 0x1400c76ca
xorps xmm0, xmm0
lea rsi, [rsp + 0x50]
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, rdi
mov rdx, rsi
call fcn.1400c76f0
mov ebx, eax
mov rcx, rsi
call fcn.1400c77dd
mov edi, eax
mov rcx, rsi
mov rdx, rsi
call fcn.1400c7828
test bl, bl
jne 0x1400c74ac
test dil, dil
jne 0x1400c74ac
mov ebx, 0x7b
test al, al
je 0x1400c76b9
test dil, dil
je 0x1400c74bc
mov al, 1
mov dword [rsp + 0x34], eax
jmp 0x1400c75a2
lea rdx, [0x140175db0]
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.140002874
movzx r8d, byte [rsp + 0x50]
test r8b, 1
je 0x1400c74e8
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
jmp 0x1400c74f0
shr r8, 1
lea rdx, [rsp + 0x52]
mov rcx, rdi
call fcn.140022798
mov bl, byte [rax]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x77], rcx
mov rcx, qword [rax + 1]
mov qword [rsp + 0x70], rcx
mov rdi, qword [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
test byte [rsp + 0x50], 1
jne 0x1400c7533
mov word [rsp + 0x52], 0
mov byte [rsp + 0x50], 0
jmp 0x1400c7560
mov rax, qword [rsp + 0x60]
mov word [rax], 0
mov qword [rsp + 0x58], 0
test byte [rsp + 0x50], 1
je 0x1400c7560
mov rcx, qword [rsp + 0x60]
call fcn.14012d304
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x50], bl
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x77]
mov qword [rsp + 0x51], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdi
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x77], rax
test byte [rsp + 0x38], 1
je 0x1400c759a
mov rcx, qword [rsp + 0x48]
call fcn.14012d304
mov dword [rsp + 0x34], 0
lea r12, [rsp + 0x68]
add rsi, 2
mov r15b, 1
mov rax, 0xffffffffffffffff
lea r14, [rsp + 0x38]
lea rbx, [rsp + 0x50]
mov rbp, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x20], r12
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9, rax
call fcn.140022340
test byte [rsp + 0x50], 1
jne 0x1400c75f6
mov word [rsi], 0
mov byte [rsp + 0x50], 0
jmp 0x1400c7623
mov rax, qword [rsp + 0x60]
mov word [rax], 0
mov qword [rsp + 0x58], 0
test byte [rsp + 0x50], 1
je 0x1400c7623
mov rcx, qword [rsp + 0x60]
call fcn.14012d304
mov qword [rsp + 0x50], 0
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rcx
test byte [rsp + 0x50], 1
cmove rcx, rsi
call rbp
cmp eax, 0xffffffff
je 0x1400c764f
bt eax, 0xa
jae 0x1400c7661
jmp 0x1400c7688
call r13
mov edi, eax
lea eax, [rdi - 2]
cmp eax, 2
jb 0x1400c7661
cmp edi, 0x7b
jne 0x1400c768c
mov rcx, rbx
mov dx, 0x5c
mov r8, 0xffffffffffffffff
call fcn.140023074
xor r15d, r15d
cmp rax, 2
ja 0x1400c75cd
mov ebx, 0x1126
jmp 0x1400c76b9
xor ebx, ebx
jmp 0x1400c76b9
mov eax, dword [rsp + 0x34]
or al, r15b
test al, 1
jne 0x1400c76b7
lea rcx, [rsp + 0x50]
mov dx, 0x5c
mov r8, 0xffffffffffffffff
call fcn.140023074
mov ebx, 0x1126
cmp rax, 3
je 0x1400c76b9
mov ebx, edi
test byte [rsp + 0x50], 1
je 0x1400c76ca
mov rcx, qword [rsp + 0x60]
call fcn.14012d304
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14012d670
mov eax, ebx
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret