Function at 0x14000d490
Capabilities:
Read file on windows

Disassembly:
jmp 0x14000d490
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [section..data]
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 0x14000d5df
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktex_C4P_C4P.h
lea rcx, [rbp + 0x70]
call fcn.14000154b
nop
lea rdx, str.ReadInternal
lea rcx, [rbp + 0x90]
call fcn.14000154b
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.140001109
mov rdi, rax
lea rdx, [0x140020030]
lea rcx, [rbp - 0x10]
call fcn.14000154b
nop
lea rcx, [rbx + 0x10]
lea rdx, [rbp + 0x30]
call fcn.1400016ef
mov rbx, rax
lea rdx, str.path
lea rcx, [rbp + 0x10]
call fcn.14000154b
nop
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x10]
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400010ff
mov rbx, rax
lea rdx, [0x14001fd93]
lea rcx, [rsp + 0x70]
call fcn.14000154b
nop
lea rdx, [0x14001fd93]
lea rcx, [rbp - 0x70]
call fcn.14000154b
nop
lea rdx, [0x14001fd93]
lea rcx, [rbp - 0x50]
call fcn.14000154b
nop
lea rdx, str.Read_operation_failed:_end_of_file_reached
lea rcx, [rbp - 0x30]
call fcn.14000154b
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 0x14000d6aa
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.14000154b
nop
lea rdx, str.ReadInternal
lea rcx, [rbp - 0x50]
call fcn.14000154b
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.1400016ef
mov rbx, rax
lea rdx, str.path
lea rcx, [rbp - 0x70]
call fcn.14000154b
nop
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400016a9
mov rbx, rax
lea rdx, str.ferror
lea rcx, [rsp + 0x70]
call fcn.14000154b
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 0x14000d78a
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x14000d78a
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.14000154b
nop
lea rdx, str.ReadInternal
lea rcx, [rbp - 0x50]
call fcn.14000154b
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.140001343
mov rbx, rax
lea rdx, [0x14001fd93]
lea rcx, [rbp - 0x70]
call fcn.14000154b
nop
lea rdx, [0x14001fd93]
lea rcx, [rsp + 0x70]
call fcn.14000154b
nop
lea rdx, [0x14001fd93]
lea rcx, [rbp + 0x10]
call fcn.14000154b
nop
lea rdx, str.internal_error
lea rcx, [rbp - 0x10]
call fcn.14000154b
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.1400015c8
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret