Function at 0x14001ce50
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 [0x140114040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rdx, rdx
je 0x14001ce9a
cmp byte [rsi + 0x17], 0
js 0x14001d0db
xor eax, eax
mov byte [rsi], al
mov byte [rsi + 0x17], al
mov rcx, rdi
call fcn.140015f70
test al, al
jne 0x14001ceba
lea rdx, [0x140104459]
mov rcx, rdi
call fcn.14001d180
test rax, rax
jne 0x14001cee8
xor ebp, ebp
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400941a0
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 0x14001cf01
cmp byte [rsi + 0x17], 0
js 0x14001d112
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.140092ccc
movaps xmm0, xmmword [0x1400f3bf0]
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.140057f70
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140075ed0
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov dword [r15 + 0x30], 0
mov rcx, rdi
call fcn.140092b3c
mov ecx, eax
call fcn.140092bbc
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14001d0ee
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.14007d800
cmp byte [r15 + 0x17], 0
jns 0x14001cff3
mov r15, qword [rsp + 0x20]
mov edx, 1
mov rcx, r15
mov r8, r14
mov r9, rdi
call fcn.140092b1c
test rax, rax
je 0x14001d033
xor r15d, r15d
mov rcx, rbx
sub rcx, r15
cmp rcx, rax
jb 0x14001d0f9
mov r12, rax
add r12, r15
mov rcx, rdi
call fcn.140092b64
test eax, eax
je 0x14001d125
mov rcx, rdi
call fcn.140092b90
test eax, eax
sete bpl
mov rbx, r12
lea rcx, [rsp + 0x20]
mov rdx, rbx
xor r8d, r8d
call fcn.14007d800
mov qword [rsp + 0xc0], 0xa
mov al, byte [0x14012560a]
test al, al
jne 0x14001d0b7
lea rcx, [rsp + 0x80]
call fcn.1400754b0
test rsi, rsi
je 0x14001d100
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 0x14001d106
mov rcx, rdi
call fcn.140092c34
jmp 0x14001cebc
movzx ecx, al
lea r8, [rsp + 0x40]
mov qword [r8], 0
lea rdx, [rsp + 0xc0]
mov r9d, 2
call fcn.140057f90
jmp 0x14001d06a
mov rax, qword [rsi]
mov byte [rax], 0
mov qword [rsi + 8], 0
jmp 0x14001ce9a
mov r14d, 0xffff
jmp 0x14001cfc7
xor ebp, ebp
jmp 0x14001d044
mov al, byte [rsp + 0x37]
jmp 0x14001d0a6
mov rcx, qword [rsp + 0x20]
call fcn.140092084
jmp 0x14001d0aa
mov rax, qword [rsi]
mov byte [rax], 0
mov qword [rsi + 8], 0
jmp 0x14001cf01
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.14007d800
cmp byte [r15 + 0x17], 0
jns 0x14001d151
mov r15, qword [rsp + 0x20]
add r15, r12
mov edx, 1
mov rcx, r15
mov r8, r14
mov r9, rdi
call fcn.140092b1c
mov r15, r12
test rax, rax
jne 0x14001d00e
jmp 0x14001d033