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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r9, qword [rdx + 0x18]
mov r15, rcx
mov qword [rax + 8], rbx
mov r14, rdx
mov qword [rax + 0x10], rsi
mov rcx, rdx
mov qword [rax - 0x20], r12
mov r12, r8
mov qword [rax - 0x28], r13
cmp r9, 8
jb 0x140017e08
mov rcx, qword [rdx]
mov rax, qword [rdx + 0x10]
lea rax, [rcx + rax*2]
cmp r9, 8
jb 0x140017e19
mov rdx, qword [rdx]
xor r13d, r13d
mov r8, rax
sub r8, rdx
mov ecx, r13d
inc r8
shr r8, 1
cmp rdx, rax
lea eax, [r13 + 0x5c]
cmova r8, r13
test r8, r8
je 0x140017e59
nop dword [rax + rax]
cmp word [rdx], 0x2f
jne 0x140017e49
mov word [rdx], ax
add rdx, 2
inc rcx
cmp rcx, r8
jne 0x140017e40
mov r9, qword [r14 + 0x18]
mov rbx, r14
cmp r9, 8
jb 0x140017e65
mov rbx, qword [r14]
mov edx, eax
mov rcx, rbx
call fcn.14003881c
mov rsi, rax
test rax, rax
je 0x140017e7d
add rsi, 2
jmp 0x140017e80
mov rsi, rbx
mov rdx, qword [r12 + 0x10]
lea rbx, [r12 + 0x10]
movdqa xmm0, xmmword [0x14005a090]
lea rcx, [rbp - 0x30]
inc rdx
mov word [rbp - 0x30], r13w
movdqu xmmword [rbp - 0x20], xmm0
call fcn.140028000
cmp qword [r12 + 0x18], 8
jb 0x140017eb4
mov r12, qword [r12]
mov r8, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov rax, r8
mov rdx, qword [rbx]
sub rax, rcx
mov qword [rsp + 0x90], rdi
cmp rdx, rax
ja 0x140017efe
lea rdi, [rdx + rcx]
cmp r8, 8
lea r8, [rdx + rdx]
mov qword [rbp - 0x20], rdi
lea rbx, [rbp - 0x30]
mov rdx, r12
cmovae rbx, qword [rbp - 0x30]
lea rcx, [rbx + rcx*2]
call fcn.140037930
mov word [rbx + rdi*2], r13w
jmp 0x140017f15
xor eax, eax
mov qword [rsp + 0x20], rdx
movzx r8d, al
lea rcx, [rbp - 0x30]
mov r9, r12
call fcn.140029ad0
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov rax, rdx
mov r12, qword [rsp + 0x58]
sub rax, rcx
cmp rax, 1
jb 0x140017f60
cmp rdx, 8
lea rdi, [rcx + 1]
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x20], rdi
cmovae rbx, qword [rbp - 0x30]
lea rdx, [0x1400571c4]
mov r8d, 2
lea rcx, [rbx + rcx*2]
call fcn.140037930
mov word [rbx + rdi*2], r13w
jmp 0x140017f82
xor eax, eax
mov qword [rsp + 0x20], 1
lea r9, [0x1400571c4]
movzx r8d, al
lea rcx, [rbp - 0x30]
lea edx, [rax + 1]
call fcn.140029ad0
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rsi + rdx*2], r13w
jne 0x140017f86
mov r8, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x140017fd3
lea rdi, [rdx + rcx]
cmp r8, 8
lea r8, [rdx + rdx]
mov qword [rbp - 0x20], rdi
lea rbx, [rbp - 0x30]
mov rdx, rsi
cmovae rbx, qword [rbp - 0x30]
lea rcx, [rbx + rcx*2]
call fcn.140037930
lea rax, [rbp - 0x30]
mov word [rbx + rdi*2], r13w
jmp 0x140017fea
xor eax, eax
mov qword [rsp + 0x20], rdx
movzx r8d, al
lea rcx, [rbp - 0x30]
mov r9, rsi
call fcn.140029ad0
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rbp - 0x18]
mov r13, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140018089
mov rcx, qword [rbp - 0x30]
inc rdx
movabs r8, 0x7fffffffffffffff
mov rax, rcx
cmp rdx, r8
ja 0x1400180c2
add rdx, rdx
cmp rdx, 0x1000
jb 0x140018084
lea r8, [rdx + 0x27]
cmp r8, rdx
jbe 0x1400180c2
mov rdx, r8
test al, 0x1f
jne 0x1400180c2
mov rcx, qword [rcx - 8]
cmp rcx, rax
jae 0x1400180c2
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
ja 0x1400180c2
call fcn.14003068c
cmp qword [r15 + 0x18], 8
mov rcx, r15
jb 0x140018096
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400180ad
test al, 0x10
jne 0x1400180ad
mov rcx, r15
call fcn.1400180d0
mov rcx, r14
call fcn.14000b190
mov rax, r15
add rsp, 0x60
pop r15
pop r14
pop rbp
ret
call fcn.14003ecdc
int3