Function at 0x14001cf40
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rdx, rdx
je 0x14001cf8a
cmp byte [rsi + 0x17], 0
js 0x14001d18d
xor eax, eax
mov byte [rsi], al
mov byte [rsi + 0x17], al
mov rcx, rdi
call fcn.140014aa0
test al, al
jne 0x14001cfaa
lea rdx, [0x140103499]
mov rcx, rdi
call fcn.14001d230
test rax, rax
jne 0x14001cfd8
xor ebp, ebp
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400935c0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, rax
test rsi, rsi
je 0x14001cff1
cmp byte [rsi + 0x17], 0
js 0x14001d1c1
xor eax, eax
mov byte [rsi], al
mov byte [rsi + 0x17], al
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call fcn.1400920ec
movaps xmm0, xmmword [0x1400f2c30]
lea r14, [rsp + 0x80]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x48
call fcn.140058330
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14007ac80
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov dword [r15 + 0x30], 0
mov rcx, rdi
call fcn.140091f5c
mov ecx, eax
call fcn.140091fdc
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14001d1a0
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rbx
cmovae r14, rbx
inc r14
xor r12d, r12d
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, r14
xor r8d, r8d
call fcn.140078bc0
cmp byte [r15 + 0x17], 0
jns 0x14001d0e3
mov r15, qword [rsp + 0x20]
mov edx, 1
mov rcx, r15
mov r8, r14
mov r9, rdi
call fcn.140091f3c
test rax, rax
je 0x14001d123
xor r15d, r15d
mov rcx, rbx
sub rcx, r15
cmp rcx, rax
jb 0x14001d1ab
mov r12, rax
add r12, r15
mov rcx, rdi
call fcn.140091f84
test eax, eax
je 0x14001d1d4
mov rcx, rdi
call fcn.140091fb0
test eax, eax
sete bpl
mov rbx, r12
lea rcx, [rsp + 0x20]
mov rdx, rbx
xor r8d, r8d
call fcn.140078bc0
lea rcx, [rsp + 0x80]
call fcn.14007a7a0
test rsi, rsi
je 0x14001d1af
movups xmm0, xmmword [rsi]
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x10], rcx
movaps xmm1, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
shr rax, 0x38
test al, al
js 0x14001d1b5
mov rcx, rdi
call fcn.140092054
jmp 0x14001cfac
mov rax, qword [rsi]
mov byte [rax], 0
mov qword [rsi + 8], 0
jmp 0x14001cf8a
mov r14d, 0xffff
jmp 0x14001d0b7
xor ebp, ebp
jmp 0x14001d134
mov al, byte [rsp + 0x37]
jmp 0x14001d17c
mov rcx, qword [rsp + 0x20]
call fcn.1400914a4
jmp 0x14001d180
mov rax, qword [rsi]
mov byte [rax], 0
mov qword [rsi + 8], 0
jmp 0x14001cff1
test r15, r15
mov eax, 0x10000
cmove r14, rax
lea rdx, [r14 + r12]
lea r15, [rsp + 0x20]
mov rcx, r15
xor r8d, r8d
call fcn.140078bc0
cmp byte [r15 + 0x17], 0
jns 0x14001d200
mov r15, qword [rsp + 0x20]
add r15, r12
mov edx, 1
mov rcx, r15
mov r8, r14
mov r9, rdi
call fcn.140091f3c
mov r15, r12
test rax, rax
jne 0x14001d0fe
jmp 0x14001d123