Function at 0x14000fb70
Capabilities:
Delete file

Disassembly:
jmp 0x14000fb70
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400246b0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movsd xmm0, qword [str.mpXXXXXX]
mov rbx, rcx
movzx eax, byte [0x140020778]
movsd qword [rbp - 0x21], xmm0
mov byte [rbp - 0x19], al
cmp dword [rcx + 0x30], 0
mov qword [rbp - 0x31], rcx
jne 0x14000fbde
mov rdx, qword [rcx + 0x20]
mov rcx, qword [rcx + 0x18]
call fcn.140010ba0
test eax, eax
je 0x14000fbde
xor eax, eax
jmp 0x1400101b8
mov ecx, 0x30b1a0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x39], rax
mov rdi, rax
test rax, rax
je 0x1400101b3
cmp qword [rbx + 8], 0
je 0x1400101b3
cmp qword [rbx + 0x18], 0
je 0x1400101b3
cmp qword [rbx + 0x20], 0
je 0x1400101b3
mov rcx, rax
call fcn.14000f360
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14000fc2f
mov qword [rdi + 8], rax
mov eax, dword [rbx]
mov dword [rdi], eax
mov eax, dword [rbx + 0x30]
mov dword [rdi + 0x30b188], eax
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14000fc4c
mov qword [rdi + 0x305370], rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14000fc64
mov rcx, rdi
call fcn.140013cc0
mov qword [rdi + 0x30b198], rax
mov rdx, qword [rbx + 0x18]
mov rcx, rdi
call fcn.140013cc0
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, qword [rbx + 0x20]
call fcn.140013cc0
lea rcx, [rdi + 0x40]
mov qword [rdi + 0x20], rax
mov rdx, rsp
call sub.VCRUNTIME140.dll___intrinsic_setjmp
mov rbx, qword [rbp - 0x39]
test eax, eax
je 0x14000fcec
mov rcx, qword [rbx + 0x160]
mov edi, dword [rbx + 4]
call fcn.140013bd0
xor esi, esi
mov qword [rbx + 0x160], rsi
mov rcx, qword [rbx + 0x30b198]
call fcn.140013bd0
mov qword [rbx + 0x30b198], rsi
mov rcx, qword [rbx + 0x10]
call fcn.140013bd0
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 0x20]
call fcn.140013bd0
mov rcx, rbx
mov qword [rbx + 0x20], rsi
call fcn.140013bd0
mov eax, edi
jmp 0x1400101b8
cmp dword [rbx + 0x30b188], 0
je 0x14000fd02
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jmp 0x14000fd18
lea r8, [0x14001d158]
mov rcx, rbx
lea rdx, str.makempx.log
call fcn.140013b60
mov qword [rbx + 0x30], rax
lea rcx, [rbp - 0x21]
lea rax, str.makempx
mov qword [rbx + 0x30b190], rax
call qword [sym.imp.MiKTeX221000_unxemu.dll_miktex_mkstemp]
cmp eax, 0xffffffff
jne 0x14000fd7e
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
lea rdx, str.mp_06d
sub rcx, rax
mov r8d, ecx
lea rcx, [rbp - 0x21]
call fcn.1400015c8
jmp 0x14000fd90
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
lea rcx, [rbp - 0x21]
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
mov rdi, qword [rbp - 0x31]
cmp qword [rdi + 0x10], 0
jne 0x14000fdae
lea rdx, str.mptexpre.tex
mov rcx, rbx
call fcn.140013cc0
mov qword [rdi + 0x10], rax
mov r8, qword [rdi + 0x10]
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.140010700
xor r12d, r12d
cmp qword [rdi + 8], r12
je 0x140010158
mov eax, dword [rbx]
test eax, eax
jne 0x14000ff6a
mov rdx, qword [rbx + 0x30b198]
mov rax, 0xffffffffffffffff
mov rcx, rax
nop word [rax + rax]
inc rcx
cmp byte [rbx + rcx + 0x30b178], r12b
jne 0x14000fdf0
nop dword [rax]
cmp byte [rdx + rax + 1], r12b
lea rax, [rax + 1]
jne 0x14000fe00
lea r8, [rax + 2]
mov r9d, 1
add r8, rcx
mov rcx, rbx
call fcn.140013c50
mov rcx, rax
mov qword [rbx + 0x30b198], rax
dec rcx
nop dword [rax]
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x14000fe30
movzx eax, word [0x14001d1b8]
mov word [rcx], ax
mov rcx, qword [rbx + 0x30b198]
dec rcx
nop
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x14000fe50
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx + 0x30b178]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14000fe60
mov rdx, qword [rbx + 0x30b198]
lea r8, [rbp - 0x49]
mov r9b, 0x20
mov rcx, rbx
call fcn.14000c910
mov r14, qword [rbp - 0x49]
mov r9d, eax
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rcx, rbx
mov esi, eax
call fcn.140012170
mov r8d, eax
mov rdx, r12
nop word [rax + rax]
movzx ecx, byte [rbp + rdx - 0x21]
mov byte [rbp + rdx + 0x1f], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x14000feb0
lea rcx, [rbp + 0x1f]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x14000fed0
mov eax, dword [str..log]
mov dword [rcx], eax
movzx eax, byte [0x1400207bc]
mov byte [rcx + 4], al
test r8d, r8d
jne 0x140010226
mov rcx, r12
nop dword [rax + rax]
movzx eax, byte [rbp + rcx - 0x21]
mov byte [rbp + rcx - 0x11], al
lea rcx, [rcx + 1]
test al, al
jne 0x14000ff00
lea rcx, [rbp - 0x11]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x14000ff20
mov eax, dword [str..dvi]
mov dword [rcx], eax
movzx eax, byte [0x14001d29c]
mov byte [rcx + 4], al
lea rcx, [rbp + 0x1f]
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
mov rdx, r14
mov rcx, rbx
call fcn.14000a0a0
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.14000d700
test eax, eax
jne 0x1400101e5
jmp 0x140010102
cmp eax, 1
jne 0x140010102
mov rcx, r12
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x21]
mov byte [rbp + rcx - 1], al
lea rcx, [rcx + 1]
test al, al
jne 0x14000ff80
lea rcx, [rbp - 1]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x14000ffa0
movzx eax, word [0x140020814]
mov word [rcx], ax
movzx eax, byte [0x140020816]
mov byte [rcx + 2], al
mov rcx, r12
movzx eax, byte [rbp + rcx - 0x21]
mov byte [rbp + rcx + 0xf], al
lea rcx, [rcx + 1]
test al, al
jne 0x14000ffc1
lea rcx, [rbp + 0xf]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x14000ffe0
mov eax, dword [str..tmp]
lea r8, [rbp - 0x29]
mov dword [rcx], eax
lea r15, [rbx + 0x30b178]
movzx eax, byte [0x14002081c]
lea rdi, [rbp - 1]
mov byte [rcx + 4], al
mov r9b, 0x7c
mov rdx, qword [rbx + 0x30b198]
mov rcx, rbx
call fcn.14000c910
mov qword [rbp - 0x49], r12
mov r13d, eax
mov r14, r12
mov esi, r12d
test eax, eax
jle 0x1400100a6
mov r12, qword [rbp - 0x29]
test r14, r14
je 0x140010040
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [r12]
lea r8, [rbp - 0x49]
mov r9b, 0x20
mov rcx, rbx
call fcn.14000c910
mov r14, qword [rbp - 0x49]
mov r9d, eax
mov r8, rdi
mov qword [rsp + 0x20], r14
mov rdx, r15
mov dword [rbp - 0x41], eax
mov rcx, rbx
call fcn.140012170
test eax, eax
jne 0x1400102b4
lea eax, [r13 - 1]
cmp esi, eax
jge 0x140010098
test sil, 1
jne 0x140010090
lea r15, [rbp - 1]
lea rdi, [rbp + 0xf]
jmp 0x140010098
lea r15, [rbp + 0xf]
lea rdi, [rbp - 1]
inc esi
add r12, 8
cmp esi, r13d
jl 0x140010032
xor r12d, r12d
lea rax, [rbp - 1]
cmp rax, rdi
je 0x1400100b9
lea rcx, [rbp - 1]
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
lea rax, [rbp + 0xf]
cmp rax, rdi
je 0x1400100cc
lea rcx, [rbp + 0xf]
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
lea rcx, [rbp - 0x11]
sub rcx, rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rcx + rdi], al
lea rdi, [rdi + 1]
test al, al
jne 0x1400100e0
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.14000ace0
test eax, eax
jne 0x14001025d
mov rdx, qword [rbx + 0x28]
mov rcx, rbx
call fcn.14000dbd0
cmp dword [rbx + 0x30b188], 0
jne 0x140010150
mov rdx, qword [rbx + 0x30]
mov rcx, rbx
call fcn.14000dbd0
cmp dword [rbx + 0x30b188], 0
jne 0x140010150
lea rcx, str.makempx.log
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
lea rcx, str.mpxerr.log
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
lea rcx, [rbp - 0x11]
call qword [sym.imp.MiKTeX221000_utf8wrap.dll_miktex_utf8_remove]
mov rcx, rbx
call fcn.14000dae0
mov rcx, qword [rbx + 0x160]
mov r14d, dword [rbx + 4]
call fcn.140013bd0
mov rcx, qword [rbx + 0x30b198]
call fcn.140013bd0
cmp dword [rbx + 0x2fcc50], 0
mov esi, r12d
jle 0x14001019d
lea rdi, [rbx + 0xfd098]
mov rcx, qword [rdi]
call fcn.140013bd0
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbx + 0x2fcc50]
jl 0x140010187
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp r14d, 1
cmovne r12d, r14d
mov eax, r12d
jmp 0x1400101b8
mov eax, 3
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14000132a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, str.mpxerr.dvi
mov rcx, rbx
lea rdx, [rbp - 0x11]
call fcn.1400120c0
cmp dword [rbx + 0x30b188], r12d
jne 0x14001020b
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov r9, qword [rbx + 0x20]
lea r8, str.mpxerr.dvi
lea rdx, str.Dvi_conversion_failed:__s__s_n
mov rcx, rbx
call fcn.140009a70
int3
lea r8, str.mpxerr.tex
mov rcx, rbx
lea rdx, [rbx + 0x30b178]
call fcn.1400120c0
lea r8, str.mpxerr.log
mov rcx, rbx
lea rdx, [rbp + 0x1f]
call fcn.1400120c0
mov r8, r14
mov edx, esi
mov rcx, rbx
call fcn.14000a0d0
int3
lea r8, str.mpxerr.t
mov rcx, rbx
lea rdx, [rbp - 0x11]
call fcn.1400120c0
lea r8, str.mpxerr.i
mov rcx, rbx
lea rdx, [rbx + 0x30b178]
call fcn.1400120c0
cmp dword [rbx + 0x30b188], 0
jne 0x140010299
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov r9, qword [rbx + 0x20]
lea r8, str.mpxerr.t
lea rdx, str.Troff_conversion_failed:__s__s_n
mov rcx, rbx
call fcn.140009a70
int3
lea r8, str.mpxerr.i
mov rcx, rbx
lea rdx, [rbx + 0x30b178]
call fcn.1400120c0
mov edx, dword [rbp - 0x41]
mov r8, r14
mov rcx, rbx
call fcn.14000a0d0
int3