Function at 0x14003be60
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x78], 0
jg 0x14003beaf
mov rax, qword [0x1400963f0]
add rax, 1
mov qword [0x1400963f0], rax
mov qword [rsp + 0x80], 0
jmp 0x14003c0fa
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x68], 0
je 0x14003bef3
mov rcx, qword [rsp + 0x30]
mov rax, qword [0x1400963f8]
add rax, 1
mov qword [0x1400963f8], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
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 + 0x80], rax
jmp 0x14003c0fa
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
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 + 0x50], rax
xor eax, eax
cmp rax, qword [rsp + 0x50]
jae 0x14003bfa7
mov rax, qword [0x140096400]
add rax, 1
mov qword [0x140096400], rax
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.140031380
mov rcx, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
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 + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.140030240
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
sub rax, rdx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov edx, eax
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x80], 0
je 0x14003c0d6
mov rcx, qword [rsp + 0x30]
call fcn.14003a450
mov qword [rsp + 0x40], 0xfff
mov eax, 0xfff
cmp rax, qword [rsp + 0x60]
jae 0x14003c074
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov rcx, qword [rsp + 0x70]
mov edx, 1
mov r8d, 0xfff
call qword [sym.imp.ucrtbased.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x38], 0xfff
je 0x14003c05d
mov rax, qword [0x140096408]
add rax, 1
mov qword [0x140096408], rax
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
jmp 0x14003c0fa
mov rax, qword [0x140096410]
add rax, 1
mov qword [0x140096410], rax
jmp 0x14003bfcd
xor eax, eax
cmp rax, qword [rsp + 0x60]
jae 0x14003c0c4
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x140096418]
add rcx, 1
mov qword [0x140096418], rcx
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov edx, 1
call qword [sym.imp.ucrtbased.dll_fread]
mov rcx, rax
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [0x140096420]
add rax, 1
mov qword [0x140096420], rax
mov rax, qword [0x140096428]
add rax, 1
mov qword [0x140096428], rax
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
add rsp, 0x88
ret