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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140047080]
xor rax, rsp
mov qword [rbp + 0xf], rax
xor r13b, r13b
test rcx, rcx
je 0x1400069a4
cmp word [rcx], 0
je 0x1400069a4
xor r14d, r14d
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r14w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], r14w
jne 0x140006652
mov rdx, rcx
lea rcx, [rbp - 0x51]
call fcn.140002080
nop
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r14w
mov ebx, 1
mov r8d, ebx
lea rdx, [0x14002f7f0]
lea rcx, [rbp - 0x31]
call fcn.140002080
nop
mov qword [rbp - 1], r14
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r14w
mov r8d, ebx
lea rdx, [0x14002f7f4]
lea rcx, [rbp - 0x11]
call fcn.140002080
nop
mov r15, qword [rbp - 1]
test r15, r15
je 0x14000673e
mov rbx, r14
mov r14, qword [rbp - 0x21]
nop dword [rax]
lea r9, [rbp - 0x11]
mov rsi, qword [rbp - 0x11]
mov r12, qword [rbp + 7]
cmp r12, 8
cmovae r9, rsi
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rcx, qword [rbp - 0x51]
mov qword [rsp + 0x20], r15
mov r8, rbx
mov rdi, qword [rbp - 0x41]
mov rdx, rdi
call fcn.1400040a0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000674c
lea r9, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r9, qword [rbp - 0x31]
mov qword [rsp + 0x20], r14
mov r8, r15
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140003eb0
mov r14, qword [rbp - 0x21]
add rbx, r14
mov r15, qword [rbp - 1]
jmp 0x1400066d0
mov rdi, qword [rbp - 0x41]
mov r12, qword [rbp + 7]
mov rsi, qword [rbp - 0x11]
jmp 0x14000674f
xor r14d, r14d
cmp r12, 8
jb 0x14000678e
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140006782
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400069ee
mov rcx, rsi
call fcn.140012224
mov rdi, qword [rbp - 0x41]
mov qword [rbp - 1], r14
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400067e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400069f4
call fcn.140012224
mov rdi, qword [rbp - 0x41]
cmp rdi, 2
jbe 0x140006944
cmp rdi, 1
jbe 0x1400069fa
lea rax, [rbp - 0x51]
mov rcx, qword [rbp - 0x51]
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
cmovae rax, rcx
cmp word [rax + 2], 0x3a
jne 0x140006944
lea r10, [rbp - 0x51]
cmp rdx, 8
cmovae r10, rcx
cmp rdi, 4
jb 0x140006898
lea r11, [r10 - 6]
lea r11, [r11 + rdi*2]
mov rax, r10
lea rbx, str..._
nop word [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x140006898
cmp word [rax], 0x5c
je 0x14000685b
add rax, 2
sub rcx, 1
jmp 0x140006849
test rax, rax
je 0x140006898
mov r8d, 4
mov rdx, rbx
mov r9, rax
sub r9, rbx
nop
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x1400069df
add rdx, 2
sub r8, 1
jne 0x140006870
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x140006944
movdqa xmm0, xmmword [0x1400417d0]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r14w
mov r8d, 4
lea rdx, [0x14002f810]
lea rcx, [rbp - 0x31]
call fcn.140002080
nop
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x41]
lea rcx, [rbp - 0x31]
call fcn.140001cd0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp - 0x51]
call fcn.140002230
movups xmmword [rbp - 0x51], xmm6
movups xmmword [rbp - 0x41], xmm7
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140006944
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000693f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a00
call fcn.140012224
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx r13d, r13b
cmp eax, 0xffffffff
mov eax, 1
cmovne r13d, eax
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1400069a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000699f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400069e8
call fcn.140012224
movzx eax, r13b
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140012200
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
add rax, 2
jmp 0x140006840
call fcn.14001663c
nop
call fcn.14001663c
nop
call fcn.14001663c
int3
call fcn.140004070
int3
call fcn.14001663c
int3