joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000354e
Capabilities:
Write file on windows

Disassembly:
jmp 0x140024cc0
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov rcx, r8
mov r9, qword [rdx]
mov r8, rbx
mov edx, 4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
je 0x140024da0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktexTeXAndFriendsTeXMFApp.h
lea rcx, [rsp + 0x60]
call fcn.1400023ec
nop
lea rdx, str.Dump
lea rcx, [rsp + 0x80]
call fcn.1400023ec
nop
mov r9d, 0xc7
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
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, [rsp + 0x20]
call fcn.140001bc2
mov rbx, rax
lea rdx, str.fwrite
lea rcx, [rsp + 0xa0]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0xa0]
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
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000361b
Capabilities:
Write file on windows

Disassembly:
jmp 0x140098880
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rcx
call qword [sym.imp.MiKTeX221000_ptexenc.dll_get_enc_string]
mov rbx, rax
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400988b0
cmp rcx, 0xb
ja 0x140098933
lea rdx, [rsp + 0x20]
sub rdx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400988d0
inc rcx
cmp rcx, 0xc
jae 0x1400988fe
nop word [rax + rax]
mov byte [rsp + rcx + 0x20], 0
inc rcx
cmp rcx, 0xc
jb 0x1400988f0
mov edx, 1
lea rcx, [rsp + 0x20]
mov r9, rdi
lea r8d, [rdx + 0xb]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0xc
jne 0x14009895b
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000259f
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Kanji_encoding_string___s__exceeds_11_bytes._n
mov rcx, rax
call fcn.140003602
mov ecx, 1
call fcn.1400039a4
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.__Could_not_dump_kanji._n
call fcn.140003602
mov ecx, 1
call fcn.1400039a4
int3
Function at 0x14000378d
Capabilities:
Read file on windows

Disassembly:
jmp 0x14002bde0
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.MiKTeX221000_app.dll_public:_static_class_MiKTeX::App::Application____ptr64___cdecl_MiKTeX::App::Application::GetApplication_void_]
and dword [rbx + 8], 0xfffeffff
mov r9, qword [rbx]
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rsi
je 0x14002bed3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktexTeXAndFriendsTeXMFApp.h
lea rcx, [rsp + 0x60]
call fcn.1400023ec
nop
lea rdx, str.Undump
lea rcx, [rsp + 0x80]
call fcn.1400023ec
nop
mov r9d, 0xd5
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
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, [rsp + 0x20]
call fcn.140001bc2
mov rbx, rax
lea rdx, str.fread
lea rcx, [rsp + 0xa0]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0xa0]
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
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400038eb
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002a900
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.MiKTeX221000_app.dll_public:_static_class_MiKTeX::App::Application____ptr64___cdecl_MiKTeX::App::Application::GetApplication_void_]
mov r9, qword [rbx]
mov r8, rsi
mov edx, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rsi
je 0x14002a9ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktexTeXAndFriendsTeXMFApp.h
lea rcx, [rsp + 0x60]
call fcn.1400023ec
nop
lea rdx, str.Dump
lea rcx, [rsp + 0x80]
call fcn.1400023ec
nop
mov r9d, 0xc7
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
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, [rsp + 0x20]
call fcn.140001bc2
mov rbx, rax
lea rdx, str.fwrite
lea rcx, [rsp + 0xa0]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0xa0]
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
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400039c2
Capabilities:
Write file on windows

Disassembly:
jmp 0x140091d40
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x130], rax
movsxd rax, edx
mov r9, rcx
sub r8d, eax
inc r8d
movsxd rdx, r8d
lea rcx, [rax + 0x16f80]
add rcx, r9
mov r9, qword [r9 + 0x16be0]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
je 0x140091e36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktex_C4P_C4P.h
lea rcx, [rsp + 0x60]
call fcn.1400023ec
nop
lea rdx, str.c4pbufwrite
lea rcx, [rsp + 0x80]
call fcn.1400023ec
nop
mov r9d, 0x213
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
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, [rsp + 0x20]
call fcn.140001bc2
mov rbx, rax
lea rdx, str.fwrite
lea rcx, [rsp + 0xa0]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0xa0]
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
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x140003a0d
Capabilities:
Read file on windows

Disassembly:
jmp 0x14002c840
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.MiKTeX221000_app.dll_public:_static_class_MiKTeX::App::Application____ptr64___cdecl_MiKTeX::App::Application::GetApplication_void_]
mov r9, rbx
mov r8, rdi
mov rcx, rax
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140003f58
Function at 0x140003bb1
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002a660
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.MiKTeX221000_app.dll_public:_static_class_MiKTeX::App::Application____ptr64___cdecl_MiKTeX::App::Application::GetApplication_void_]
mov r9, qword [rbx]
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rsi
je 0x14002a74c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktexTeXAndFriendsTeXMFApp.h
lea rcx, [rsp + 0x60]
call fcn.1400023ec
nop
lea rdx, str.Dump
lea rcx, [rsp + 0x80]
call fcn.1400023ec
nop
mov r9d, 0xc7
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
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, [rsp + 0x20]
call fcn.140001bc2
mov rbx, rax
lea rdx, str.fwrite
lea rcx, [rsp + 0xa0]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0xa0]
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
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
Function at 0x140003d0a
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400250a0
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov rcx, r8
mov r9, qword [rdx]
mov r8, rbx
mov edx, 8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
je 0x140025180
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktexTeXAndFriendsTeXMFApp.h
lea rcx, [rsp + 0x60]
call fcn.1400023ec
nop
lea rdx, str.Dump
lea rcx, [rsp + 0x80]
call fcn.1400023ec
nop
mov r9d, 0xc7
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
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, [rsp + 0x20]
call fcn.140001bc2
mov rbx, rax
lea rdx, str.fwrite
lea rcx, [rsp + 0xa0]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0xa0]
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
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
Function at 0x140003f3a
Capabilities:
Read file on windows

Disassembly:
jmp 0x14002c7f0
jmp 0x1400263a0
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov rcx, r8
and dword [rdx + 8], 0xfffeffff
mov r9, qword [rdx]
mov r8, rbx
mov edx, 8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbx
je 0x140026487
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktexTeXAndFriendsTeXMFApp.h
lea rcx, [rsp + 0x60]
call fcn.1400023ec
nop
lea rdx, str.Undump
lea rcx, [rsp + 0x80]
call fcn.1400023ec
nop
mov r9d, 0xd5
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
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, [rsp + 0x20]
call fcn.140001bc2
mov rbx, rax
lea rdx, str.fread
lea rcx, [rsp + 0xa0]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0xa0]
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
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.MiKTeX221000_app.dll_public:_static_class_MiKTeX::App::Application____ptr64___cdecl_MiKTeX::App::Application::GetApplication_void_]
mov r9d, 1
mov r8, rbx
mov rcx, rax
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140003f58
Function at 0x140003f80
Capabilities:
Read file on windows

Disassembly:
jmp 0x140092ee0
test r8d, r8d
je 0x140093063
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov r11, qword [0x1400c35b0]
mov esi, edx
mov rax, qword [0x1400c35b8]
movsxd rbx, r8d
mov r10d, dword [rax]
lea r9d, [rbx*2 + 1]
add r9d, dword [r11]
cmp r9d, r10d
jl 0x140092f27
mov dword [r11], r10d
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
call fcn.140002022
mov rbp, rax
test rax, rax
je 0x140093054
lea rdx, [0x1400a75c8]
mov qword [rsp + 0x38], rdi
mov rcx, rax
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_fopen]
mov rdi, rax
test rax, rax
je 0x140093046
mov edx, 1
mov rcx, rbp
call qword [sym.imp.MiKTeX221000_web2c.dll_void___cdecl_MiKTeX::Web2C::RecordFileName_char_const____ptr64__enum_MiKTeX::Core::FileAccess_]
xor r8d, r8d
mov edx, esi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140093046
lea rcx, [rbx + 1]
mov r8d, 0xeb8
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibraries3rdweb2c_sourcelib_texmfmp.c
call qword [sym.imp.MiKTeX221000_core.dll_miktex_core_malloc]
mov r9, rdi
mov r8, rbx
mov rcx, rax
mov edx, 1
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movsxd rdi, ebx
test ebx, ebx
jle 0x140093038
xor ebx, ebx
nop word [rax + rax]
movzx r9d, byte [rbx + rsi]
lea r8, str._.2X
mov edx, 3
lea rcx, [rsp + 0x40]
call fcn.140002e73
cmp eax, 3
jae 0x140093064
xor ecx, ecx
movsxd r10, eax
test eax, eax
jle 0x140093030
nop dword [rax]
mov rax, qword [0x1400c35b0]
movzx r9d, byte [rsp + rcx + 0x40]
inc rcx
movsxd r8, dword [rax]
mov rax, qword [0x1400c35d8]
mov rdx, qword [rax]
mov word [rdx + r8*2], r9w
mov rax, qword [0x1400c35b0]
inc dword [rax]
cmp rcx, r10
jl 0x140093000
inc rbx
cmp rbx, rdi
jl 0x140092fd0
test rsi, rsi
je 0x140093046
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r8d, 0xebd
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibraries3rdweb2c_sourcelib_texmfmp.c
lea rcx, str.snprintf_failed:_file__s__line__d
call fcn.140002630
int3
Function at 0x140003fcb
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400989d0
sub rsp, 0x48
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edx, 1
mov r9, rcx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xb]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 0xc
jne 0x140098ab5
mov qword [rsp + 0x58], rbx
lea edx, [rax + 0x22]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x2b], 0
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
je 0x140098a30
mov byte [rax], 0
inc rdi
jmp 0x140098a35
lea rdi, [rsp + 0x20]
call qword [sym.imp.MiKTeX221000_ptexenc.dll_get_internal_enc]
mov rdx, rdi
xor ecx, ecx
mov ebx, eax
call fcn.140001c53
call qword [sym.imp.MiKTeX221000_ptexenc.dll_get_internal_enc]
mov rdi, qword [rsp + 0x40]
cmp eax, ebx
je 0x140098a9e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Kanji_internal_encoding_incompatible_with_the_preloaded_format._n
call fcn.140003602
call qword [sym.imp.MiKTeX221000_ptexenc.dll_get_internal_enc]
mov ecx, eax
call qword [sym.imp.MiKTeX221000_ptexenc.dll_enc_to_string]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Ill_stick_to__s._n
mov rcx, rax
call fcn.140003602
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x48
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.__Could_not_undump_kanji._n
call fcn.140003602
mov ecx, 1
call fcn.1400039a4
int3
Function at 0x140024cc0
Capabilities:
Write file on windows

Disassembly:
jmp 0x140024cc0
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov rcx, r8
mov r9, qword [rdx]
mov r8, rbx
mov edx, 4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
je 0x140024da0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktexTeXAndFriendsTeXMFApp.h
lea rcx, [rsp + 0x60]
call fcn.1400023ec
nop
lea rdx, str.Dump
lea rcx, [rsp + 0x80]
call fcn.1400023ec
nop
mov r9d, 0xc7
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
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, [rsp + 0x20]
call fcn.140001bc2
mov rbx, rax
lea rdx, str.fwrite
lea rcx, [rsp + 0xa0]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0xa0]
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
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
Function at 0x140024e10
Capabilities:
Write file on windows

Disassembly:
jmp 0x140024e10
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1400c3648]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov rcx, r8
mov r9, qword [rdx]
mov r8, rbx
mov edx, 8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
je 0x140024ef0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.C:jenkinsworkspacemiktexwindows_build_sourceLibrariesMiKTeXTeXAndFriendsincludemiktexTeXAndFriendsTeXMFApp.h
lea rcx, [rsp + 0x60]
call fcn.1400023ec
nop
lea rdx, str.Dump
lea rcx, [rsp + 0x80]
call fcn.1400023ec
nop
mov r9d, 0xc7
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
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, [rsp + 0x20]
call fcn.140001bc2
mov rbx, rax
lea rdx, str.fwrite
lea rcx, [rsp + 0xa0]
call fcn.1400023ec
nop
mov r9, rdi
mov r8, rbx
mov edx, esi
lea rcx, [rsp + 0xa0]
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
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000259f
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret