Function at 0x14000161d
Capabilities:
Read file on windows

Disassembly:
jmp 0x14002d2b0
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x14002d3ff
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktex_C4P_C4P.h
lea rcx, [rbp + 0x70]
call fcn.1400023ec
nop
lea rdx, str.ReadInternal
lea rcx, [rbp + 0x90]
call fcn.1400023ec
nop
mov r9d, 0x132
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MiKTeX221000_core.dll_public:_void___cdecl_MiKTeX::Core::SourceLocation::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int____ptr64]
mov rsi, rax
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.14000141a
mov rdi, rax
lea rdx, [0x1400a60fc]
lea rcx, [rbp - 0x10]
call fcn.1400023ec
nop
lea rcx, [rbx + 0x10]
lea rdx, [rbp + 0x30]
call fcn.140002a8b
mov rbx, rax
lea rdx, str.path
lea rcx, [rbp + 0x10]
call fcn.1400023ec
nop
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x10]
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140001406
mov rbx, rax
lea rdx, [0x1400a5ee4]
lea rcx, [rsp + 0x70]
call fcn.1400023ec
nop
lea rdx, [0x1400a5ee4]
lea rcx, [rbp - 0x70]
call fcn.1400023ec
nop
lea rdx, [0x1400a5ee4]
lea rcx, [rbp - 0x50]
call fcn.1400023ec
nop
lea rdx, str.Read_operation_failed:_end_of_file_reached
lea rcx, [rbp - 0x30]
call fcn.1400023ec
nop
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MiKTeX221000_core.dll_public:_static_void___cdecl_MiKTeX::Core::Session::FatalMiKTeXError_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_MiKTeX::Core::MiKTeXException::KVMAP_const____ptr64__struct_MiKTeX::Core::SourceLocation_const____ptr64_]
nop
mov r9, qword [rbx]
mov r8, r14
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rdi, rax
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x14002d4ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktex_C4P_C4P.h
lea rcx, [rbp - 0x30]
call fcn.1400023ec
nop
lea rdx, str.ReadInternal
lea rcx, [rbp - 0x50]
call fcn.1400023ec
nop
mov r9d, 0x137
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MiKTeX221000_core.dll_public:_void___cdecl_MiKTeX::Core::SourceLocation::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int____ptr64]
mov rdi, rax
lea rcx, [rbx + 0x10]
lea rdx, [rbp + 0x30]
call fcn.140002a8b
mov rbx, rax
lea rdx, str.path
lea rcx, [rbp - 0x70]
call fcn.1400023ec
nop
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400029a5
mov rbx, rax
lea rdx, str.ferror
lea rcx, [rsp + 0x70]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0x70]
call qword [sym.imp.MiKTeX221000_core.dll_public:_static_void___cdecl_MiKTeX::Core::Session::FatalCrtError_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int__class_MiKTeX::Core::MiKTeXException::KVMAP_const____ptr64__struct_MiKTeX::Core::SourceLocation_const____ptr64_]
nop
cmp rdi, r14
je 0x14002d5aa
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x14002d5aa
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktex_C4P_C4P.h
lea rcx, [rbp - 0x30]
call fcn.1400023ec
nop
lea rdx, str.ReadInternal
lea rcx, [rbp - 0x50]
call fcn.1400023ec
nop
mov r9d, 0x13b
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MiKTeX221000_core.dll_public:_void___cdecl_MiKTeX::Core::SourceLocation::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int____ptr64]
mov rdi, rax
lea rcx, [rbp + 0x30]
call fcn.140001bc2
mov rbx, rax
lea rdx, [0x1400a5ee4]
lea rcx, [rbp - 0x70]
call fcn.1400023ec
nop
lea rdx, [0x1400a5ee4]
lea rcx, [rsp + 0x70]
call fcn.1400023ec
nop
lea rdx, [0x1400a5ee4]
lea rcx, [rbp + 0x10]
call fcn.1400023ec
nop
lea rdx, str.internal_error
lea rcx, [rbp - 0x10]
call fcn.1400023ec
nop
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call qword [sym.imp.MiKTeX221000_core.dll_public:_static_void___cdecl_MiKTeX::Core::Session::FatalMiKTeXError_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_MiKTeX::Core::MiKTeXException::KVMAP_const____ptr64__struct_MiKTeX::Core::SourceLocation_const____ptr64_]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret