Function at 0x140005060
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x80
movzx eax, cx
mov rcx, qword [0x140028130]
lea rbx, [rax + rax*2]
xor eax, eax
add rbx, rbx
cmp dword [rcx + rbx*8 + 8], eax
jne 0x14000508f
mov dword [rcx + rbx*8 + 0xc], eax
add rsp, 0x80
pop rbx
ret
mov r9d, 0x58
mov qword [rsp + 0x50], rax
lea r8, str.1.2.11
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x60], rax
lea edx, [r9 - 0x59]
call qword [sym.imp.MiKTeX221000_zlib.dll_deflateInit_]
test eax, eax
je 0x140005102
mov r8, qword [rsp + 0x40]
lea rdx, str.HINT_ERROR:_Unable_to_initialize_compression:__s
mov rcx, qword [0x140028110]
call fcn.1400015b4
mov rcx, qword [0x140028110]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x140028110]
lea rdx, [0x14001cec4]
call fcn.1400015b4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [0x140028130]
mov edx, 1
mov qword [rsp + 0x90], rdi
mov ecx, dword [rax + rbx*8 + 8]
add ecx, 0x20
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
jne 0x140005168
mov rcx, qword [0x140028110]
lea rdx, str.HINT_ERROR:_Out_of_memory_for_buffer
call fcn.1400015b4
mov rcx, qword [0x140028110]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x140028110]
lea rdx, [0x14001cec4]
call fcn.1400015b4
lea ecx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x140028130]
mov edx, 4
mov qword [rsp + 0x30], rdi
mov eax, dword [rcx + rbx*8 + 8]
add eax, 0x20
mov dword [rsp + 0x38], eax
mov rax, qword [rcx + rbx*8 + 0x20]
mov qword [rsp + 0x20], rax
mov eax, dword [rcx + rbx*8 + 8]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], eax
call qword [sym.imp.MiKTeX221000_zlib.dll_deflate]
cmp dword [rsp + 0x28], 0
je 0x1400051e7
mov rcx, qword [0x140028110]
lea rdx, str.HINT_ERROR:_Compression_missed_input_data
call fcn.1400015b4
mov rcx, qword [0x140028110]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x140028110]
lea rdx, [0x14001cec4]
call fcn.1400015b4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp eax, 1
je 0x140005230
mov r8, qword [rsp + 0x40]
lea rdx, str.HINT_ERROR:_Compression_incomplete:__s
mov rcx, qword [0x140028110]
call fcn.1400015b4
mov rcx, qword [0x140028110]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x140028110]
lea rdx, [0x14001cec4]
call fcn.1400015b4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rsp + 0x20]
call qword [sym.imp.MiKTeX221000_zlib.dll_deflateEnd]
test eax, eax
je 0x140005283
mov r8, qword [rsp + 0x40]
lea rdx, str.HINT_ERROR:_Unable_to_finalize_compression:__s
mov rcx, qword [0x140028110]
call fcn.1400015b4
mov rcx, qword [0x140028110]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x140028110]
lea rdx, [0x14001cec4]
call fcn.1400015b4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x140028130]
mov rcx, qword [rcx + rbx*8 + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140028130]
mov qword [rax + rbx*8 + 0x20], rdi
mov rcx, qword [0x140028130]
mov rdi, qword [rsp + 0x90]
mov eax, dword [rcx + rbx*8 + 8]
add eax, 0x20
mov dword [rcx + rbx*8 + 0x28], eax
mov rcx, qword [0x140028130]
mov eax, dword [rcx + rbx*8 + 8]
mov dword [rcx + rbx*8 + 0xc], eax
mov rax, qword [0x140028130]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + rbx*8 + 8], ecx
add rsp, 0x80
pop rbx
ret