Function at 0x14001cdb0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd0
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 0x14001cdf2
cmp byte [rsi + 0x17], 0
js 0x14001d02a
xor eax, eax
mov byte [rsi], al
mov byte [rsi + 0x17], al
mov rcx, rdi
call fcn.140015e90
test al, al
jne 0x14001ce12
lea rdx, [0x140103019]
mov rcx, rdi
call fcn.14001d0d0
test rax, rax
jne 0x14001ce38
xor ebp, ebp
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400931d0
mov eax, ebp
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, rax
test rsi, rsi
je 0x14001ce51
cmp byte [rsi + 0x17], 0
js 0x14001d061
xor eax, eax
mov byte [rsi], al
mov byte [rsi + 0x17], al
vxorps xmm0, xmm0, xmm0
vmovaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call fcn.140091cfc
vbroadcastss ymm0, dword [0x1400f27f0]
lea r14, [rsp + 0x80]
vmovups ymmword [r14 + 0x20], ymm0
vmovups ymmword [r14], ymm0
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x48
vzeroupper
call fcn.140056ee0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140074800
vxorps xmm0, xmm0, xmm0
vmovups ymmword [r15 + 0x14], ymm0
vmovups ymmword [r15], ymm0
mov rcx, rdi
vzeroupper
call fcn.140091b6c
mov ecx, eax
call fcn.140091bec
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14001d03d
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.14007c940
cmp byte [r15 + 0x17], 0
jns 0x14001cf3e
mov r15, qword [rsp + 0x20]
mov edx, 1
mov rcx, r15
mov r8, r14
mov r9, rdi
call fcn.140091b4c
test rax, rax
je 0x14001cf7e
xor r15d, r15d
mov rcx, rbx
sub rcx, r15
cmp rcx, rax
jb 0x14001d048
mov r12, rax
add r12, r15
mov rcx, rdi
call fcn.140091b94
test eax, eax
je 0x14001d074
mov rcx, rdi
call fcn.140091bc0
test eax, eax
sete bpl
mov rbx, r12
lea rcx, [rsp + 0x20]
mov rdx, rbx
xor r8d, r8d
call fcn.14007c940
mov qword [rsp + 0xc0], 0xa
mov al, byte [0x14012460a]
test al, al
jne 0x14001d006
lea rcx, [rsp + 0x80]
call fcn.1400756a0
test rsi, rsi
je 0x14001d04f
vmovups xmm0, xmmword [rsi]
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x10], rcx
vmovaps xmm1, xmmword [rsp + 0x20]
vmovups xmmword [rsi], xmm1
vmovaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
shr rax, 0x38
test al, al
js 0x14001d055
mov rcx, rdi
call fcn.140091c64
jmp 0x14001ce14
movzx ecx, al
lea r8, [rsp + 0x40]
mov qword [r8], 0
lea rdx, [rsp + 0xc0]
mov r9d, 2
call fcn.140056f00
jmp 0x14001cfb5
mov rax, qword [rsi]
mov byte [rax], 0
mov qword [rsi + 8], 0
jmp 0x14001cdf2
mov r14d, 0xffff
jmp 0x14001cf12
xor ebp, ebp
jmp 0x14001cf8f
mov al, byte [rsp + 0x37]
jmp 0x14001cff5
mov rcx, qword [rsp + 0x20]
call fcn.1400910b4
jmp 0x14001cff9
mov rax, qword [rsi]
mov byte [rax], 0
mov qword [rsi + 8], 0
jmp 0x14001ce51
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.14007c940
cmp byte [r15 + 0x17], 0
jns 0x14001d0a0
mov r15, qword [rsp + 0x20]
add r15, r12
mov edx, 1
mov rcx, r15
mov r8, r14
mov r9, rdi
call fcn.140091b4c
mov r15, r12
test rax, rax
jne 0x14001cf59
jmp 0x14001cf7e