Function at 0x1400e5bd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x140239e70]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0x41b58ab3
lea rax, str.2_32_8_8__Count_s_48_8_10__Available
mov qword [rsp + 0x28], rax
lea rax, [method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
shr rax, 3
add rax, qword [rsp + 0x80]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov dword [rax], 0xf1f1f1f1
add qword [rsp + 0x78], 4
mov rax, qword [rsp + 0x78]
mov dword [rax], 0xf300f200
add qword [rsp + 0x78], 4
mov eax, 0xf3f3
mov rcx, qword [rsp + 0x78]
mov word [rcx], ax
add qword [rsp + 0x78], 2
mov rax, qword [rsp + 0x78]
mov byte [rax], 0xf3
cmp qword [rsp + 0x160], 0
jg 0x1400e5cc1
mov qword [rsp + 0x20], 0x45e0360e
lea rax, [rsp + 0x20]
shr rax, 3
add rax, qword [rsp + 0x80]
mov qword [rsp + 0xd0], rax
mov eax, 0xb
mov edx, eax
mov rcx, qword [rsp + 0xd0]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
xor eax, eax
jmp 0x1400e612f
mov rax, qword [rsp + 0x150]
add rax, 0x68
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0x98]
cmp qword [rax], 0
je 0x1400e5d59
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x20], 0x45e0360e
lea rax, [rsp + 0x20]
shr rax, 3
add rax, qword [rsp + 0x80]
mov qword [rsp + 0xd8], rax
mov eax, 0xb
mov edx, eax
mov rcx, qword [rsp + 0xd8]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rax, qword [rsp + 0xe0]
jmp 0x1400e612f
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_store8
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x50]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_store8
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
cmp qword [rsp + 0x50], 0
jbe 0x1400e5e8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140017300
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x88]
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call fcn.140039190
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov qword [rsp + 0xf0], rcx
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_store8
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x150]
add rax, 0x80
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0
je 0x1400e60cc
mov rcx, qword [rsp + 0x150]
call fcn.1400d9290
mov qword [rsp + 0x138], 0xfff
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
cmp qword [rsp + 0x40], 0xfff
jbe 0x1400e6015
mov rax, qword [rsp + 0x150]
add rax, 0x80
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.ucrtbased.dll_fread]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov qword [rsp + 0xf8], rcx
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_store8
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x90], 0xfff
je 0x1400e6010
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x20], 0x45e0360e
lea rax, [rsp + 0x20]
shr rax, 3
add rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
mov eax, 0xb
mov edx, eax
mov rcx, qword [rsp + 0x100]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rax, qword [rsp + 0x108]
jmp 0x1400e612f
jmp 0x1400e5edb
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
cmp qword [rsp + 0x40], 0
jbe 0x1400e60cc
mov rax, qword [rsp + 0x150]
add rax, 0x80
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0xb8]
mov r9, qword [rax]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.ucrtbased.dll_fread]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
sub rcx, rax
mov qword [rsp + 0x120], rcx
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_store8
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_load8
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x20], 0x45e0360e
lea rax, [rsp + 0x20]
shr rax, 3
add rax, qword [rsp + 0x80]
mov qword [rsp + 0x128], rax
mov eax, 0xb
mov edx, eax
mov rcx, qword [rsp + 0x128]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rax, qword [rsp + 0x130]
add rsp, 0x148
ret