Function at 0x1400632ef
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, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rbx, rcx
mov rax, qword [0x1405bdab8]
xor rax, rsp
mov qword [rsp + 0x78], rax
call fcn.140063010
mov esi, 0x1126
test al, al
jne 0x14006361a
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 8], rax
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rbx
mov rdx, rdi
call fcn.140063645
mov esi, eax
mov rcx, rdi
call fcn.140063738
mov ebx, eax
mov rcx, rdi
mov rdx, rdi
call fcn.14006377d
mov byte [rsp + 0x2f], bl
test bl, bl
jne 0x140063393
test sil, sil
jne 0x140063393
mov esi, 0x7b
test al, al
je 0x1400635fd
cmp byte [rsp + 0x2f], 0
jne 0x14006344a
xor ebx, ebx
lea rsi, [rsp + 0x30]
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov r14d, 7
mov qword [rsi + 0x18], r14
mov word [rsi], bx
lea rdx, [0x1404c4130]
mov r8d, 4
mov rcx, rsi
call fcn.14027a0b0
mov r8, qword [rsp + 0x60]
cmp qword [rsp + 0x68], 8
jb 0x1400633e0
mov rdi, qword [rsp + 0x50]
mov rcx, rsi
mov rdx, rdi
call fcn.140279f30
mov rsi, qword [rax]
movups xmm6, xmmword [rax + 8]
mov rdi, qword [rax + 0x18]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r14
mov word [rax], bx
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x14006341e
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
call fcn.14003fe72
mov qword [rsp + 0x50], rsi
movups xmmword [rsp + 0x58], xmm6
mov qword [rsp + 0x68], rdi
mov rax, qword [rsp + 0x48]
cmp rax, 8
jb 0x14006344a
mov rcx, qword [rsp + 0x30]
lea rdx, [rax + rax]
add rdx, 2
call fcn.14003fe72
mov r15, 0xffffffffffffffff
xor r12d, r12d
lea rdi, [rsp + 0x30]
lea r14, [rsp + 0x50]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebp, ebp
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], 0
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
mov r9, r15
call fcn.140048bd8
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x1400634af
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
call fcn.14003fe72
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
cmp qword [rsp + 0x68], 8
mov rcx, r14
jb 0x1400634d3
mov rcx, qword [rsp + 0x50]
call r13
cmp eax, 0xffffffff
je 0x1400634ea
bt eax, 0xa
jae 0x14006357d
jmp 0x1400635fb
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x140063573
cmp eax, 0x7b
je 0x140063573
test bpl, 1
sete dl
or dl, byte [rsp + 0x2f]
jne 0x14006356c
cmp qword [rsp + 0x68], 8
mov rdx, r14
jb 0x14006351c
mov rdx, qword [rsp + 0x50]
mov r10, qword [rsp + 0x60]
test r10, r10
je 0x14006356c
lea r8, [rdx + r10*2]
add r8, 0xfffffffffffffffe
cmp word [r8], 0x5c
jne 0x14006353a
mov r10, r8
jmp 0x14006355e
add r10, r10
mov r9d, 2
sub r9, r10
test r9, r9
je 0x14006356c
lea r10, [r8 - 2]
add r9, 2
cmp word [r8 - 2], 0x5c
mov r8, r10
jne 0x140063546
sub r10, rdx
mov ebx, 2
cmp r10, 6
je 0x140063573
mov ebx, 1
mov esi, eax
cmp ecx, 2
jb 0x14006357d
cmp eax, 0x7b
jne 0x1400635eb
cmp qword [rsp + 0x68], 8
mov rax, r14
jb 0x14006358d
mov rax, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov r15, 0xffffffffffffffff
mov bpl, 1
test r8, r8
je 0x1400635df
lea rcx, [rax + r8*2]
add rcx, 0xfffffffffffffffe
cmp word [rcx], 0x5c
jne 0x1400635b4
mov r8, rcx
jmp 0x1400635d6
add r8, r8
mov edx, 2
sub rdx, r8
test rdx, rdx
je 0x1400635df
lea r8, [rcx - 2]
add rdx, 2
cmp word [rcx - 2], 0x5c
mov rcx, r8
jne 0x1400635bf
sub r8, rax
sar r8, 1
mov r15, r8
cmp r15, 2
ja 0x140063467
jmp 0x1400635f4
test ebx, ebx
je 0x1400635df
cmp ebx, 2
jne 0x1400635fd
mov esi, 0x1126
jmp 0x1400635fd
xor esi, esi
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x14006361a
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
call fcn.14003fe72
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14031e660
mov eax, esi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret