Function at 0x14006f5c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r13
push r14
sub rsp, 0x48
mov rsi, qword [0x1400e6b50]
mov rbp, r8
mov r14, rdx
mov r13, rcx
test r8, r8
jg 0x14006f5ed
xor eax, eax
add rsp, 0x48
pop r14
pop r13
pop rsi
pop rbp
ret
mov qword [rsp + 0x88], rbx
lea rbx, [rcx + 0x68]
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f61b
movzx eax, bl
and al, 7
add al, 7
cmp al, cl
jl 0x14006f61b
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
cmp qword [rbx], 0
je 0x14006f635
mov r8, rbp
mov rdx, r14
mov rcx, r13
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x14006f8fa
mov qword [rsp + 0x40], rdi
mov rbx, rbp
mov qword [rsp + 0x30], r15
lea r15, [r13 + 0x38]
mov rax, r15
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f669
movzx eax, r15b
and al, 7
add al, 7
cmp al, cl
jl 0x14006f669
mov rcx, r15
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rdi, qword [r15]
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f68f
movzx eax, dil
and al, 7
add al, 7
cmp al, cl
jl 0x14006f68f
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rdx, qword [rdi]
lea rdi, [r13 + 0x50]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x20], rdx
test rdx, rdx
je 0x14006f6f9
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f6c8
movzx eax, dil
and al, 7
add al, 7
cmp al, cl
jl 0x14006f6c8
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov r12, qword [rdi]
mov rax, r12
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f6ee
movzx eax, r12b
and al, 7
add al, 3
cmp al, cl
jl 0x14006f6ee
mov rcx, r12
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
mov eax, dword [r12]
mov rdx, qword [rsp + 0x20]
jmp 0x14006f6fb
xor eax, eax
movsxd rcx, eax
test eax, eax
je 0x14006f802
cmp rcx, rbp
mov r12, rbp
cmovb r12, rcx
mov rcx, r14
mov r8, r12
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_memcpy
mov rax, rdi
add r14, r12
shr rax, 3
sub rbx, r12
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f744
movzx eax, dil
and al, 7
add al, 7
cmp al, cl
jl 0x14006f744
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rdi, qword [rdi]
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f76a
movzx eax, dil
and al, 7
add al, 3
cmp al, cl
jl 0x14006f76a
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f78d
movzx eax, dil
and al, 7
add al, 3
cmp al, cl
jl 0x14006f78d
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
sub dword [rdi], r12d
mov rax, r15
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f7b3
movzx eax, r15b
and al, 7
add al, 7
cmp al, cl
jl 0x14006f7b3
mov rcx, r15
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rdi, qword [r15]
mov rax, rdi
movsxd r15, r12d
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f7dc
movzx eax, dil
and al, 7
add al, 7
cmp al, cl
jl 0x14006f7dc
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f7ff
movzx eax, dil
and al, 7
add al, 7
cmp al, cl
jl 0x14006f7ff
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store8
add qword [rdi], r15
mov r15, qword [rsp + 0x30]
lea rdi, [r13 + 0x80]
mov r12, qword [rsp + 0x38]
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f836
movzx eax, dil
and al, 7
add al, 7
cmp al, cl
jl 0x14006f836
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
cmp qword [rdi], 0
je 0x14006f8ef
mov rcx, r13
call fcn.140070d80
mov rcx, rbx
cmp rbx, 0xfff
jbe 0x14006f8b0
nop dword [rax]
nop dword [rax + rax]
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f883
movzx eax, dil
and al, 7
add al, 7
cmp al, cl
jl 0x14006f883
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov r9, qword [rdi]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rcx, rbx
cmp rax, 0xfff
jne 0x14006f8ef
cmp rbx, rax
ja 0x14006f860
test rcx, rcx
je 0x14006f8ef
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rsi]
test cl, cl
je 0x14006f8d8
movzx eax, dil
and al, 7
add al, 7
cmp al, cl
jl 0x14006f8d8
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov r9, qword [rdi]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rdi, qword [rsp + 0x40]
sub rbp, rbx
mov rax, rbp
mov rbx, qword [rsp + 0x88]
add rsp, 0x48
pop r14
pop r13
pop rsi
pop rbp
ret