Function at 0x140005ca0
Capabilities:
Terminate process

Disassembly:
jmp 0x140005ca0
push r14
sub rsp, 0x80
mov rax, qword [0x140027c40]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx ecx, word [0x1400294c0]
mov edx, 8
inc ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [0x140028190], rax
test rax, rax
jne 0x140005d17
mov rcx, qword [0x140028110]
lea rdx, str.HINT_ERROR:_Out_of_memory_for_aux_names
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
movzx edx, word [0x1400294c0]
mov qword [rsp + 0x90], rbx
mov ebx, 3
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r12
lea r14d, [rbx - 2]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r15
xor r15d, r15d
mov dword [rsp + 0x20], ebx
cmp bx, dx
ja 0x140005f50
mov r12d, 0x90
lea r13d, [rbx + 0x15]
nop dword [rax]
cmp dword [0x1400280f0], r15d
jne 0x140005ed9
mov rax, qword [0x140028130]
mov rdi, 0xffffffffffffffff
mov rbx, qword [r12 + rax + 0x18]
inc rdi
cmp byte [rbx + rdi], r15b
jne 0x140005d90
movsx eax, byte [rbx]
cmp al, 0x2f
jne 0x140005dae
inc rbx
lea rsi, str..abs_
dec edi
jmp 0x140005ddf
cmp edi, 3
jle 0x140005dd8
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x140005dd8
cmp byte [rbx + 1], 0x3a
jne 0x140005dd8
cmp byte [rbx + 2], 0x2f
jne 0x140005dd8
mov byte [rbx + 1], 0x5f
lea rsi, str..abs_
jmp 0x140005ddf
lea rsi, str..rel_
mov ebp, dword [0x1400280fc]
mov rdx, r14
add ebp, edi
lea eax, [rbp + 6]
movsxd rcx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x140006059
mov rax, qword [0x140028100]
mov rdx, rdi
nop dword [rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140005e10
movsxd rcx, dword [0x1400280fc]
add rcx, rdi
nop dword [rax + rax]
movzx eax, byte [rsi]
lea rsi, [rsi + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140005e30
movsxd rcx, dword [0x1400280fc]
add rcx, 5
add rcx, rdi
nop
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140005e50
lea ecx, [rbp + 2]
mov rax, r15
movsxd r9, ecx
test ecx, ecx
jle 0x140005ea0
nop
cmp byte [rax + rdi], 0x2e
lea rdx, [rax + rdi]
jne 0x140005e98
cmp byte [rax + rdi + 1], 0x2e
lea r8, [rax + rdi]
jne 0x140005e98
cmp byte [rax + rdi + 2], 0x2f
jne 0x140005e98
mov byte [r8 + 1], 0x5f
add rax, 2
mov byte [rdx], 0x5f
inc rax
cmp rax, r9
jl 0x140005e70
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8__stat64i32]
test eax, eax
jne 0x140005ebf
mov rax, qword [0x140028190]
mov qword [rax + r13], rdi
jmp 0x140005ed5
cmp dword [0x1400280f4], r15d
jne 0x140006019
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, dword [rsp + 0x20]
mov rax, qword [0x140028190]
cmp qword [rax + r13], r15
jne 0x140005eef
cmp dword [0x1400280f4], r15d
je 0x140005ef8
cmp dword [0x1400280f0], r15d
je 0x140005f17
mov rax, qword [0x140028130]
lea rdx, [rsp + 0x28]
mov rcx, qword [r12 + rax + 0x18]
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8__stat64i32]
test eax, eax
jne 0x140006096
mov rax, qword [0x140028130]
inc ebx
mov ecx, dword [rsp + 0x3c]
add r13, 8
mov dword [rsp + 0x20], ebx
mov dword [r12 + rax + 8], ecx
mov rax, qword [0x140028130]
mov dword [r12 + rax + 0xc], r15d
add r12, 0x30
movzx edx, word [0x1400294c0]
cmp ebx, edx
jle 0x140005d70
cmp dword [0x1400280f8], r15d
je 0x140005f72
mov ecx, r14d
call fcn.140005060
mov ecx, 2
call fcn.140005060
movzx edx, word [0x1400294c0]
call fcn.140006220
cmp r14w, dx
ja 0x140005fc1
nop dword [rax]
mov rdx, qword [0x140028130]
mov eax, dword [r15 + rdx + 8]
lea rcx, [r15 + rdx]
add rax, qword [rcx]
lea r15, [r15 + 0x30]
mov qword [r15 + rdx], rax
movsxd rax, r14d
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [0x140028130]
call fcn.1400062d0
movzx eax, word [0x1400294c0]
inc r14d
cmp r14d, eax
jle 0x140005f80
call fcn.140006200
cmp dword [0x1400280f8], 0
je 0x140005fd6
xor ecx, ecx
call fcn.140005060
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001334
add rsp, 0x80
pop r14
ret
mov rcx, qword [0x140028110]
lea rdx, str.HINT_ERROR:_Unable_to_find_file__s
mov r8, rdi
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, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x140028110]
lea rdx, str.HINT_ERROR:_Out_of_memory_for_aux_name
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, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8, qword [0x140028130]
lea rdx, str.HINT_ERROR:_Unable_to_find_file__s
movsxd rax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
mov r8, qword [r8 + rcx*8 + 0x18]
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, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3