Function at 0x1400034d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
movaps xmmword [rsp + 0x300], xmm6
mov rax, qword [0x140014098]
xor rax, rsp
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x288]
xor r14d, r14d
mov rsi, qword [rbp + 0x280]
mov rbx, r9
mov r13, qword [rbp + 0x298]
mov r15, r8
mov r12, qword [rbp + 0x2a8]
mov rdi, rdx
mov qword [rbp - 0x40], rax
mov r10d, ecx
mov rax, qword [rbp + 0x2a0]
mov qword [rbp - 0x38], rax
lea rax, str.cinema2K
mov qword [rbp - 0x30], rax
lea rax, str.cinema4K
mov qword [rbp - 0x10], rax
lea rax, str.ImgDir
mov qword [rbp + 0x10], rax
lea rax, [0x14001026c]
mov qword [rbp + 0x30], rax
lea rax, [0x140010270]
mov qword [rbp + 0x50], rax
lea rax, [0x140010274]
mov qword [rbp + 0x70], rax
lea rax, str.OutFor
mov qword [rbp + 0x90], rax
lea rax, [0x140010280]
mov qword [rbp + 0xb0], rax
lea rax, [0x140010284]
mov qword [rbp + 0xd0], rax
lea rax, str.jpip
mov qword [rbp + 0xf0], rax
lea rax, [0x140010290]
mov qword [rbp + 0x110], rax
lea rax, [0x140010294]
mov qword [rbp + 0x130], rax
lea rax, [0x140010298]
mov qword [rbp + 0x150], rax
mov qword [rsp + 0x68], rbx
mov qword [rbp - 0x70], r8
mov qword [rbp - 0x68], rdx
mov dword [rsp + 0x50], ecx
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x28], 1
mov qword [rbp - 0x20], r14
mov dword [rbp - 0x18], 0x77
mov dword [rbp - 8], r14d
mov qword [rbp], r14
mov dword [rbp + 8], 0x79
mov dword [rbp + 0x18], 1
mov qword [rbp + 0x20], r14
mov dword [rbp + 0x28], 0x7a
mov dword [rbp + 0x38], 1
mov qword [rbp + 0x40], r14
mov dword [rbp + 0x48], 0x75
mov dword [rbp + 0x58], r14d
mov qword [rbp + 0x60], r14
mov dword [rbp + 0x68], 0x53
mov dword [rbp + 0x78], r14d
mov qword [rbp + 0x80], r14
mov dword [rbp + 0x88], 0x45
mov dword [rbp + 0x98], 1
mov qword [rbp + 0xa0], r14
mov dword [rbp + 0xa8], 0x4f
mov dword [rbp + 0xb8], 1
mov qword [rbp + 0xc0], r14
mov dword [rbp + 0xc8], 0x50
mov dword [rbp + 0xd8], 1
mov qword [rbp + 0xe0], r14
mov dword [rbp + 0xe8], 0x52
mov dword [rbp + 0xf8], r14d
mov qword [rbp + 0x100], r14
mov dword [rbp + 0x108], 0x4a
mov dword [rbp + 0x118], 1
mov qword [rbp + 0x120], r14
mov dword [rbp + 0x128], 0x59
mov dword [rbp + 0x138], 1
mov qword [rbp + 0x140], r14
mov dword [rbp + 0x148], 0x5a
movups xmm0, xmmword [str.i:o:r:q:n:b:c:t:p:s:SEM:x:R:d:T:If:P:C:F:u:JY:h]
lea rax, str.threads
mov dword [rbp + 0x158], r14d
movups xmm1, xmmword [0x1400102b8]
mov qword [rbp + 0x160], r14
movsd xmm6, qword [0x140011268]
movups xmmword [rbp + 0x1c8], xmm0
mov dword [rbp + 0x168], 0x41
movups xmm0, xmmword [0x1400102c8]
mov byte [r9 + 0x11], r14b
mov qword [rbp + 0x170], rax
movups xmmword [rbp + 0x1e8], xmm0
mov dword [rbp + 0x178], 1
mov qword [rbp + 0x180], r14
mov dword [rbp + 0x188], 0x42
movups xmmword [rbp + 0x1d8], xmm1
mov dword [rsi], r14d
mov rsi, qword [rbp + 0x290]
nop dword [rax]
lea r9, [rbp - 0x30]
mov dword [rsp + 0x20], 0x1c0
lea r8, [rbp + 0x1c8]
mov rdx, rdi
mov ecx, r10d
call fcn.1400097d0
cmp eax, 0xffffffff
je 0x140004c49
add eax, 0xffffffbf
cmp eax, 0x39
ja case.0x1400037d6.68
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x4f88]
add rcx, rdx
jmp rcx
mov rbx, qword [0x1400146b8]
mov rcx, rbx
call fcn.1400021c0
mov ecx, eax
mov dword [r15 + 0x471c], eax
add eax, 0xfffffff6
cmp eax, 2
jbe 0x140003804
lea eax, [rcx - 0xe]
cmp eax, 4
ja 0x14000496b
lea rcx, [r15 + 0x1708]
mov r8, rbx
mov edx, 0x1000
call fcn.140003450
test eax, eax
jne 0x140004f55
mov rbx, qword [rsp + 0x68]
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rbx, qword [0x1400146b8]
mov rcx, rbx
call fcn.1400021c0
mov dword [r15 + 0x4720], eax
cmp eax, 1
ja 0x140004985
lea rcx, [r15 + 0x2708]
mov r8, rbx
mov edx, 0x1000
call fcn.140003450
test eax, eax
jne 0x140004f55
mov rbx, qword [rsp + 0x68]
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov r8, qword [0x1400146b8]
lea rdx, [0x140010230]
lea rcx, [rbp + 0x190]
call fcn.140005140
lea rcx, [rbp + 0x190]
mov byte [rbx + 0x11], 1
call fcn.1400021c0
mov dword [r15 + 0x4720], eax
cmp eax, 1
ja 0x14000499f
mov rax, qword [0x1400146b8]
mov r10d, dword [rsp + 0x50]
mov qword [rbx + 8], rax
jmp 0x140003790
mov rbx, qword [0x1400146b8]
lea r8, [r15 + 0x12c0]
mov rcx, rbx
mov dword [r15 + 0x12bc], r14d
lea rdx, [0x1400103e8]
call fcn.1400051a0
cmp eax, 1
jne 0x140003944
inc dword [r15 + 0x12bc]
movzx eax, byte [rbx]
test al, al
je 0x140003944
movzx ecx, al
movzx eax, cl
cmp cl, 0x2c
je 0x140003918
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x140003902
test al, al
je 0x140003944
movsxd rax, dword [r15 + 0x12bc]
lea rdx, [0x1400103e8]
add rax, 0x4b0
inc rbx
mov rcx, rbx
lea r8, [r15 + rax*4]
call fcn.1400051a0
cmp eax, 1
je 0x1400038f1
mov rbx, qword [rsp + 0x68]
mov r10d, dword [rsp + 0x50]
mov dword [r15 + 0x14], 1
jmp 0x140003790
mov rcx, qword [0x1400146b8]
mov edx, 0x40
mov esi, r14d
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140003990
mov rax, qword [0x1400146b8]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003985
jmp 0x14000399b
mov ebx, edi
sub ebx, dword [0x1400146b8]
inc rdi
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
je 0x140004f55
mov rdx, qword [0x1400146b8]
mov rcx, rax
mov ebx, ebx
mov r8d, ebx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x60]
mov byte [rbx + r13], 0
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x54]
lea rax, [rbp - 0x50]
mov rcx, r13
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x58]
lea rax, [rbp - 0x74]
lea rdx, str._d__d__d__d__c
mov qword [rsp + 0x20], rax
call fcn.1400051a0
cmp eax, 5
jne 0x140003b65
movzx eax, byte [rsp + 0x60]
cmp al, 0x73
jne 0x140003a15
mov edx, 1
jmp 0x140003a20
cmp al, 0x75
jne 0x140003b65
mov edx, r14d
mov r8, qword [rbp - 0x80]
mov r15d, 1
mov eax, dword [rbp - 0x58]
mov r12d, r15d
mov ecx, dword [rbp - 0x74]
mov dword [r8], eax
mov eax, dword [rbp - 0x54]
mov dword [r8 + 4], eax
mov eax, dword [rbp - 0x50]
mov dword [r8 + 8], ecx
shl rcx, 3
mov dword [r8 + 0xc], eax
mov dword [r8 + 0x10], edx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbp - 0x80]
mov qword [rdx + 0x18], rax
test rax, rax
je 0x1400049be
cmp dword [rbp - 0x74], 0
jle 0x140003b32
xor ebx, ebx
test esi, esi
jne 0x140003b32
test rdi, rdi
jne 0x140003a96
mov rax, qword [rdx + 0x18]
mov dword [rbx + rax], r15d
mov rax, qword [rdx + 0x18]
mov dword [rax + rbx + 4], r12d
jmp 0x140003b21
mov edx, 0x3a
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
lea r9, [rsp + 0x78]
mov rcx, rdi
lea r8, [rbp - 0x78]
test rax, rax
jne 0x140003aea
lea rdx, str._dx_d
call fcn.1400051a0
mov rdx, qword [rbp - 0x80]
cmp eax, 2
jne 0x140003b1c
mov rax, qword [rdx + 0x18]
xor edi, edi
mov r15d, dword [rbp - 0x78]
mov r12d, dword [rsp + 0x78]
mov dword [rbx + rax], r15d
mov rcx, qword [rdx + 0x18]
mov eax, dword [rsp + 0x78]
mov dword [rcx + rbx + 4], eax
jmp 0x140003b21
lea rdx, str._dx_d:_s
mov qword [rsp + 0x20], rdi
call fcn.1400051a0
mov rdx, qword [rbp - 0x80]
cmp eax, 3
jne 0x140003b1c
mov rcx, qword [rdx + 0x18]
mov eax, dword [rbp - 0x78]
mov dword [rbx + rcx], eax
mov rcx, qword [rdx + 0x18]
mov eax, dword [rsp + 0x78]
mov dword [rcx + rbx + 4], eax
jmp 0x140003b21
mov esi, 1
inc r14d
add rbx, 8
cmp r14d, dword [rbp - 0x74]
jl 0x140003a73
mov r15, qword [rbp - 0x70]
xor r14d, r14d
mov r12, qword [rbp - 0x60]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test esi, esi
jne 0x1400049cf
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rbp - 0x68]
mov r10d, dword [rsp + 0x50]
mov r13, qword [rbp - 0x48]
jmp 0x140003782
mov esi, 1
jmp 0x140003b3d
movsxd rax, dword [r15 + 0x12bc]
lea rdx, [0x1400103e8]
mov rbx, qword [0x1400146b8]
add rax, 0x514
mov rcx, rbx
lea r8, [r15 + rax*4]
call fcn.1400051a0
cmp eax, 1
jne 0x140003bf3
nop dword [rax + rax]
inc dword [r15 + 0x12bc]
movzx eax, byte [rbx]
test al, al
je 0x140003bf3
movzx ecx, al
movzx eax, cl
cmp cl, 0x2c
je 0x140003bc7
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x140003bb1
test al, al
je 0x140003bf3
movsxd rax, dword [r15 + 0x12bc]
lea rdx, [0x1400103e8]
add rax, 0x514
inc rbx
mov rcx, rbx
lea r8, [r15 + rax*4]
call fcn.1400051a0
cmp eax, 1
je 0x140003ba0
mov rbx, qword [rsp + 0x68]
mov r10d, dword [rsp + 0x50]
mov dword [r15 + 0x1c], 1
jmp 0x140003790
mov rdi, qword [0x1400146b8]
lea r8, [rsp + 0x5c]
mov rcx, rdi
mov dword [rsp + 0x5c], r14d
lea rdx, [0x14001053c]
call fcn.1400051a0
mov eax, dword [rsp + 0x5c]
inc rdi
cmp eax, 9
jbe 0x140003c39
inc rdi
mov r13d, dword [r15 + 0x15e0]
mov dword [r15 + 0x12bc], eax
mov dword [rsp + 0x70], r13d
lea ebx, [r13*2]
add ebx, r13d
mov ecx, ebx
imul rcx, rax
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15 + 0x20], rax
test rax, rax
je 0x140004f55
add rdi, 2
mov r12d, r14d
cmp dword [rsp + 0x5c], 0
jbe 0x140003d7c
nop word [rax + rax]
mov rax, qword [r15 + 0x20]
lea rdx, [0x140010540]
mov ecx, r12d
mov dword [rsp + 0x58], r12d
imul ecx, ebx
lea rbx, [rax + rcx*4]
mov eax, r12d
mov r8, rbx
mov rcx, rdi
mov dword [r15 + rax*4 + 0x12c0], 0x3f800000
call fcn.1400051a0
cmp dword [rbx], 9
mov rsi, r14
mov dword [rbx + 4], r14d
lea r14, [rbx + 8]
setg sil
mov dword [r14], 0
add rsi, 2
add rsi, rdi
cmp r13d, 1
jbe 0x140003d4b
lea r15d, [r13 - 1]
xor r13d, r13d
add r14, 0xc
lea rdx, str._d__d__d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea r9, [r14 - 4]
lea r8, [r14 - 8]
call fcn.1400051a0
cmp dword [r14 - 8], 9
mov rcx, r13
setg cl
add rsi, 6
add rcx, rsi
cmp dword [r14 - 4], 9
lea rax, [rcx + 1]
cmovle rax, rcx
cmp dword [r14], 9
lea rsi, [rax + 1]
cmovle rsi, rax
sub r15, 1
jne 0x140003cf1
mov r13d, dword [rsp + 0x70]
mov r15, qword [rbp - 0x70]
mov ecx, dword [rsp + 0x5c]
lea rdi, [rsi + 1]
inc r12d
lea ebx, [r13 + r13*2]
mov r14d, 0
lea eax, [rcx - 1]
cmp dword [rsp + 0x58], eax
cmovae rdi, rsi
cmp r12d, ecx
jb 0x140003c90
mov rsi, qword [rbp + 0x290]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rbp - 0x68]
mov r10d, dword [rsp + 0x50]
mov r12, qword [rbp - 0x60]
mov r13, qword [rbp - 0x48]
mov dword [r15 + 0x18], 1
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r9, [r15 + 0x10]
lea r8, [r15 + 0xc]
lea rdx, str._d__d
call fcn.1400051a0
mov r10d, dword [rsp + 0x50]
mov dword [r15], 1
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r8, [r15 + 0x15e0]
lea rdx, [0x14001055c]
call fcn.1400051a0
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rdi, qword [0x1400146b8]
mov ebx, r14d
nop dword [rax]
movsxd rax, ebx
lea rdx, str.__d__d__c
mov rcx, rdi
mov byte [rsp + 0x54], 0
lea r9, [rax + 0x5a1]
add rax, 0x580
lea r9, [r15 + r9*4]
lea r8, [r15 + rax*4]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
call fcn.1400051a0
mov ecx, eax
movzx eax, byte [rsp + 0x54]
cmp ecx, 2
jne 0x140003e46
test al, al
jmp 0x140003e51
cmp ecx, 3
jne 0x140004a8a
cmp al, 0x2c
jne 0x140004a8a
or dword [r15 + 0x30], 1
lea rdx, [0x1400105e4]
mov rcx, rdi
inc ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
cmp byte [rsp + 0x54], 0x2c
lea rdi, [rax + 2]
je 0x140003e00
mov rdi, qword [rbp - 0x68]
mov r10d, dword [rsp + 0x50]
mov dword [r15 + 0x15fc], ebx
mov rbx, qword [rsp + 0x68]
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x5c]
mov dword [rsp + 0x5c], r14d
lea rdx, str._d__d
mov dword [rsp + 0x58], r14d
call fcn.1400051a0
mov edx, dword [rsp + 0x5c]
lea eax, [rdx - 4]
cmp eax, 0x3fc
ja 0x140004acc
mov ecx, dword [rsp + 0x58]
lea eax, [rcx - 4]
cmp eax, 0x3fc
ja 0x140004acc
mov eax, ecx
imul eax, edx
cmp eax, 0x1000
jg 0x140004acc
mov r10d, dword [rsp + 0x50]
mov dword [r15 + 0x15e4], edx
mov dword [r15 + 0x15e8], ecx
jmp 0x140003790
mov r8, qword [0x1400146b8]
mov rdx, rsi
mov rcx, qword [rbp - 0x40]
call fcn.140003450
test eax, eax
jne 0x140004f55
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._WARNING__Index_file_generation_is_currently_broken._n___________x_option_ignored._n
call fcn.140002170
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rdx, qword [0x1400146b8]
lea rcx, [rbp - 0x4c]
mov r8d, 4
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rcx, [rbp - 0x4c]
call fcn.140002530
mov dword [r15 + 0x34], eax
cmp eax, 0xffffffff
je 0x140004aeb
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r9, [r15 + 0x4718]
lea r8, [r15 + 0x4714]
lea rdx, str._d__d
call fcn.1400051a0
cmp eax, 2
jne 0x140004b0a
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r9, [r15 + 0x4710]
lea r8, [r15 + 0x470c]
lea rdx, str._d__d
call fcn.1400051a0
cmp eax, 2
jne 0x140004b29
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rbx, qword [0x1400146b8]
mov edi, r14d
lea r14, [r15 + 0x38]
lea rax, [r14 + 0x28]
mov qword [rsp + 0x40], rax
lea rcx, [r14 + 0x10]
mov qword [rsp + 0x38], rcx
lea rdx, [r14 + 0xc]
mov qword [rsp + 0x30], rdx
lea r9, [r14 + 8]
mov qword [rsp + 0x28], r9
lea r10, [r14 + 4]
mov r9, r14
mov qword [rsp + 0x20], r10
lea r8, [r14 + 0x30]
mov rcx, rbx
lea rdx, str.T_u_u__u__u__u__u__4s
call fcn.1400051a0
cmp eax, 7
jne 0x1400040ea
lea rsi, [r14 + 0x20]
movsxd rax, edi
imul rcx, rax, 0x94
add rcx, 0x28
add rcx, r14
call fcn.140002530
mov dword [rsi], eax
lea rsi, [rsi + 0x94]
movzx eax, byte [rbx]
inc edi
test al, al
je 0x1400040e3
movzx ecx, al
nop dword [rax + rax]
movzx eax, cl
cmp cl, 0x2f
je 0x140004086
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x140004070
test al, al
je 0x1400040e3
movsxd rax, edi
inc rbx
imul r9, rax, 0x94
add r9, r14
lea rcx, [r9 + 0x10]
lea rdx, [r9 + 0xc]
lea rax, [r9 + 0x28]
mov qword [rsp + 0x40], rax
lea r10, [r9 + 8]
mov qword [rsp + 0x38], rcx
lea r11, [r9 + 4]
mov qword [rsp + 0x30], rdx
lea r8, [r9 + 0x30]
mov qword [rsp + 0x28], r10
lea rdx, str.T_u_u__u__u__u__u__4s
mov rcx, rbx
mov qword [rsp + 0x20], r11
call fcn.1400051a0
cmp eax, 7
je 0x140004040
mov rsi, qword [rbp + 0x290]
mov rbx, qword [rsp + 0x68]
xor r14d, r14d
mov r10d, dword [rsp + 0x50]
mov dword [r15 + 0x12b8], edi
mov rdi, qword [rbp - 0x68]
jmp 0x140003790
or dword [r15 + 0x30], 2
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
or dword [r15 + 0x30], 4
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r8, [rsp + 0x58]
lea rdx, [0x14001055c]
mov dword [rsp + 0x58], r14d
call fcn.1400051a0
mov r10d, dword [rsp + 0x50]
cmp eax, 1
jne 0x140003790
mov ecx, dword [rsp + 0x58]
test cl, 1
je 0x14000416b
mov eax, dword [r15 + 0x15ec]
bts eax, 0
mov dword [r15 + 0x15ec], eax
test cl, 2
je 0x140004182
mov eax, dword [r15 + 0x15ec]
bts eax, 1
mov dword [r15 + 0x15ec], eax
test cl, 4
je 0x140004199
mov eax, dword [r15 + 0x15ec]
bts eax, 2
mov dword [r15 + 0x15ec], eax
test cl, 8
je 0x1400041b0
mov eax, dword [r15 + 0x15ec]
bts eax, 3
mov dword [r15 + 0x15ec], eax
test cl, 0x10
je 0x1400041c7
mov eax, dword [r15 + 0x15ec]
bts eax, 4
mov dword [r15 + 0x15ec], eax
test cl, 0x20
je 0x140003790
mov eax, dword [r15 + 0x15ec]
bts eax, 5
mov dword [r15 + 0x15ec], eax
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r9, [r15 + 0x15f8]
lea r8, [r15 + 0x15f4]
lea rdx, str.c_d_U_d
call fcn.1400051a0
cmp eax, 2
jne 0x140004b48
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r9, [r15 + 8]
lea r8, [r15 + 4]
lea rdx, str._d__d
call fcn.1400051a0
cmp eax, 2
jne 0x140004b67
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rax, qword [0x1400146b8]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140004257
inc rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10d, dword [rsp + 0x50]
mov rcx, rax
mov qword [r15 + 0x28], rax
test rax, rax
je 0x140003790
mov rdx, qword [0x1400146b8]
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140004290
jmp 0x140003790
mov r10d, dword [rsp + 0x50]
mov dword [r15 + 0x15f0], 1
jmp 0x140003790
mov rax, qword [0x1400146b8]
mov r10d, dword [rsp + 0x50]
movzx ecx, byte [rax]
mov byte [r15 + 0x4909], cl
mov byte [r15 + 0x4908], 1
jmp 0x140003790
mov rax, qword [0x1400146b8]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400042f0
inc rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x140004f55
mov rdx, qword [0x1400146b8]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140004320
mov r10d, dword [rsp + 0x50]
mov byte [rbx + 0x10], 1
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r8, [rsp + 0x58]
lea rdx, [0x14001055c]
mov dword [rsp + 0x58], r14d
call fcn.1400051a0
mov eax, dword [rsp + 0x58]
cmp eax, 0x18
jne 0x140004371
mov eax, 0x13de43
mov ecx, 0xfe502
jmp 0x140004384
cmp eax, 0x30
jne 0x140004b86
mov eax, 0x9ef21
mov ecx, 0x7f281
mov edx, 3
mov word [r15 + 0x491c], dx
mov dword [r15 + 0x4900], ecx
mov dword [r15 + 0x4918], eax
lea ecx, [rdx - 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.CINEMA_2K_profile_activated_nOther_options_specified_could_be_overridden_n
call fcn.140002170
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov eax, 4
mov word [r15 + 0x491c], ax
lea ecx, [rax - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.CINEMA_4K_profile_activated_nOther_options_specified_could_be_overridden_n
call fcn.140002170
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea rdx, str._mainlevel
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], r14d
mov dword [rsp + 0x70], r14d
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x140004435
lea rcx, [rax + 1]
lea r8, [rsp + 0x58]
lea rdx, str.mainlevel_d
call fcn.1400051a0
cmp eax, 1
jne 0x140004ba5
mov rcx, qword [0x1400146b8]
lea rdx, str._sublevel
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x14000446b
lea rcx, [rax + 1]
lea r8, [rsp + 0x5c]
lea rdx, str.sublevel_d
call fcn.1400051a0
cmp eax, 1
jne 0x140004ba5
mov rcx, qword [0x1400146b8]
lea rdx, str._framerate
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400044a1
lea rcx, [rax + 1]
lea r8, [rsp + 0x70]
lea rdx, str.framerate_d
call fcn.1400051a0
cmp eax, 1
jne 0x140004ba5
mov rcx, qword [0x1400146b8]
mov edx, 0x2c
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x1400044ba
mov byte [rax], 0
mov rdx, qword [0x1400146b8]
movzx eax, byte [rdx]
cmp al, byte [0x1400109e8]
jne 0x1400044ee
movzx eax, byte [rdx + 1]
cmp al, byte [0x1400109e9]
jne 0x1400044ee
movzx eax, byte [rdx + 2]
cmp al, byte [0x1400109ea]
jne 0x1400044ee
mov ecx, 0x400
jmp 0x1400045cd
movzx eax, byte [rdx]
cmp al, byte [0x1400109ec]
jne 0x14000451b
movzx eax, byte [rdx + 1]
cmp al, byte [0x1400109ed]
jne 0x14000451b
movzx eax, byte [rdx + 2]
cmp al, byte [0x1400109ee]
jne 0x14000451b
mov ecx, 0x500
jmp 0x1400045cd
movzx eax, byte [rdx]
cmp al, byte [0x1400109f0]
jne 0x140004548
movzx eax, byte [rdx + 1]
cmp al, byte [0x1400109f1]
jne 0x140004548
movzx eax, byte [rdx + 2]
cmp al, byte [0x1400109f2]
jne 0x140004548
mov ecx, 0x600
jmp 0x1400045cd
mov rcx, r14
lea r8, str.2K_R
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x14000456d
cmp rcx, 5
jne 0x140004552
mov ecx, 0x700
jmp 0x1400045cd
mov rcx, r14
lea r8, str.4K_R
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x14000459b
cmp rcx, 5
jne 0x140004580
mov ecx, 0x800
jmp 0x1400045cd
mov rcx, r14
lea r8, str.8K_R
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140004ba5
cmp rcx, 5
jne 0x1400045b0
mov ecx, 0x900
mov edx, dword [rsp + 0x58]
cmp edx, 0xf
ja 0x140004be2
mov eax, dword [rsp + 0x5c]
cmp eax, 0xf
ja 0x140004bc3
shl ax, 4
or ax, cx
mov ecx, 1
or ax, dx
mov word [r15 + 0x491c], ax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.IMF_profile_activated_nOther_options_specified_could_be_overridden_n
call fcn.140002170
mov ecx, dword [rsp + 0x70]
test r13, r13
je 0x140004620
mov dword [r13], ecx
mov r10d, dword [rsp + 0x50]
test ecx, ecx
jle 0x140003790
movsxd rax, dword [rsp + 0x5c]
test eax, eax
jle 0x140003790
cmp eax, 9
jg 0x140003790
movdqa xmm0, xmmword [0x1400112b0]
movdqa xmm1, xmmword [0x1400112d0]
movdqu xmmword [rbp + 0x190], xmm0
mov dword [rbp + 0x1b0], 0x6400
movdqu xmmword [rbp + 0x1a0], xmm1
mov dword [rbp + 0x1b4], 0xc800
imul eax, dword [rbp + rax*4 + 0x190], 0x1e848
cdq
idiv ecx
mov ecx, 1
mov ebx, eax
mov dword [r15 + 0x4918], eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Setting_max_codestream_size_to__d_bytes._n
mov rcx, rax
call fcn.140002170
mov r10d, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea r8, [rsp + 0x70]
lea rdx, [0x14001055c]
mov dword [rsp + 0x70], r14d
call fcn.1400051a0
mov eax, dword [rsp + 0x70]
cmp eax, 2
ja 0x140004c01
mov r10d, dword [rsp + 0x50]
mov byte [r15 + 0x490a], al
jmp 0x140003790
mov rcx, qword [0x1400146b8]
lea rdx, [0x140010b08]
mov esi, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
je 0x140004f55
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
movsxd r14, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
lea rcx, [r14 + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x70], rax
mov r15, rax
test rax, rax
je 0x140004c31
mov r9, rdi
mov r8, r14
mov edx, 1
mov rcx, 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]
cmp r14, rbx
jne 0x140004c23
mov byte [r15 + r14], 0
mov rax, r15
movzx ecx, byte [r15]
test cl, cl
je 0x1400047aa
cmp cl, 0x20
jne 0x14000479f
mov byte [rax], 0
inc esi
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x140004795
lea eax, [rsi*4 + 5]
mov rdi, r15
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mulsd xmm0, xmm6
subsd xmm0, xmm6
cvttsd2si r12d, xmm0
mov r15d, r12d
imul r15d, r12d
lea eax, [r15 + r12]
movsxd rcx, eax
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
je 0x140004c20
mov r14, rax
test r15d, r15d
jle 0x140004835
mov esi, r15d
nop dword [rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140004807
mov rcx, rdi
inc rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
add rdi, rbx
cvtsd2ss xmm1, xmm0
movss dword [r14], xmm1
add r14, 4
sub rsi, 1
jne 0x140004800
test r12d, r12d
jle 0x14000486c
mov esi, r12d
nop dword [rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140004847
mov rcx, rdi
inc rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [r14], eax
add rdi, rbx
add r14, 4
sub rsi, 1
jne 0x140004840
movsxd rax, r15d
mov r9d, r12d
mov r15, qword [rbp - 0x70]
mov rdx, r13
mov rcx, r15
lea r8, [rax*4]
add r8, r13
call sub.openjp2.dll_opj_set_MCT
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r10d, dword [rsp + 0x50]
xor r14d, r14d
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rbp - 0x68]
mov r12, qword [rbp - 0x60]
mov r13, qword [rbp - 0x48]
jmp 0x140003782
mov r10d, dword [rsp + 0x50]
mov dword [r15 + 0x490c], 1
jmp 0x140003790
mov rax, qword [rbp - 0x38]
mov r10d, dword [rsp + 0x50]
mov dword [rax], 1
jmp 0x140003790
mov rbx, qword [0x1400146b8]
lea rdx, str.ALL_CPUS
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140004926
call sub.openjp2.dll_opj_get_num_cpus
mov rbx, qword [rsp + 0x68]
mov r10d, dword [rsp + 0x50]
mov dword [r12], eax
cmp eax, 1
jne 0x140003790
mov dword [r12], r14d
jmp 0x140003790
mov r8, r12
lea rdx, [0x14001055c]
mov rcx, rbx
call fcn.1400051a0
mov r10d, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
jmp 0x140003790
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._WARNING__An_invalid_option_has_been_ignored_n
call fcn.140002170
mov r10d, dword [rsp + 0x50]
jmp 0x140003790
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._ERROR__Unknown_input_file_format:__s__n________Known_file_formats_are_.pnm__.pgm__.ppm__.pgx__png__.bmp__.tif__.raw_or_.tga_n
jmp 0x140004f4d
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.Unknown_output_format_image__s__only_.j2k__.j2c_or_.jp2_____n
jmp 0x140004f4d
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.Unknown_output_format_image__only_j2k__j2c__jp2_____n
call fcn.140002170
jmp 0x140004f55
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, r12d
jmp 0x140004f5a
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._nError:_invalid_raw_image_parameters_n
call fcn.140002170
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.Please_use_the_Format_option__F:_n
call fcn.140002170
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._F__width___height___ncomp___bitdepth__s_u__dx1_x_dy1_:...:_dxn_x_dyn__n
call fcn.140002170
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.If_subsampling_is_omitted__1x1_is_assumed_for_all_components_n
call fcn.140002170
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.Example:__i_image.raw__o_image.j2k__F_512_512_3_8_u_1x1:2x2:2x2_n
call fcn.140002170
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._________for_raw_512x512_image_with_4:2:0_subsampling_n
call fcn.140002170
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.Aborting._n
call fcn.140002170
jmp 0x140004f55
mov ecx, 2
movsx ebx, al
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, ebx
lea rdx, str._nError:_could_not_parse_precinct_dimension:__s__x_n
mov rcx, rax
mov r8, rdi
call fcn.140002170
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.Example:__i_lena.raw__o_lena.j2k__c__128_128___128_128__n
call fcn.140002170
jmp 0x140004f55
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.___Size_of_code_block_error__option__b_____n_nRestriction_:_n_____widthheight_4096_n_____4_width_height__1024_n_n
call fcn.140002170
jmp 0x140004f55
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.Unrecognized_progression_order__LRCP__RLCP__RPCL__PCRL__CPRL_____n
call fcn.140002170
jmp 0x140004f55
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._s_sub_sampling_argument_error______s_dx_dy__n
call fcn.140002170
jmp 0x140004f55
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._d_coordonnate_of_the_reference_grid_argument_error______d_x0_y0__n
call fcn.140002170
jmp 0x140004f55
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.ROI_error______ROI_ccompno_Ushift__n
call fcn.140002170
jmp 0x140004f55
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._T_tile_offset_argument_error______T_X0_Y0_
call fcn.140002170
jmp 0x140004f55
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.Incorrect_value___must_be_24_or_48_n
call fcn.140002170
jmp 0x140004f55
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.Wrong_value_for__IMF._Should_be__PROFILE___mainlevelX___sublevelY___framerateFPS__where__PROFILE__is_one_of_2K_4K_8K_2K_R_4K_R_8K_R._n
lea rdx, [0x1400109a0]
jmp 0x140004f4d
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.Invalid_sublevel_value._n
call fcn.140002170
jmp 0x140004f55
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.Invalid_mainlevel_value._n
call fcn.140002170
jmp 0x140004f55
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.MCT_incorrect_value___Current_accepted_values_are_0__1_or_2._n
call fcn.140002170
jmp 0x140004f55
mov r15, rdi
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004f55
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140004f55
call fcn.1400010c0
jmp 0x140004f55
cmp byte [rbx + 0x10], 1
movzx eax, byte [r15 + 0x1708]
jne 0x140004d00
test al, al
je 0x140004c7e
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._ERROR__options__ImgDir_and__i_cannot_be_used_together____n
call fcn.140002170
jmp 0x140004f55
cmp byte [rbx + 0x11], 0
jne 0x140004cbd
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._ERROR__When__ImgDir_is_used___OutFor__FORMAT__must_be_used____n
call fcn.140002170
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.Only_one_format_allowed__Valid_formats_are_j2k_and_jp2___n
call fcn.140002170
jmp 0x140004f55
cmp byte [r15 + 0x2708], 0
je 0x140004d16
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._ERROR__options__ImgDir_and__o_cannot_be_used_together____n
call fcn.140002170
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.Specify_OutputFormat_using__OutFor_FORMAT_____n
call fcn.140002170
jmp 0x140004f55
test al, al
je 0x140004f1b
cmp byte [r15 + 0x2708], 0
je 0x140004f1b
mov eax, dword [r15 + 0x471c]
mov rsi, qword [rbp - 0x80]
cmp eax, 0xf
jne 0x140004d72
cmp dword [rsi], 0
je 0x140004d7c
mov ecx, dword [r15 + 0x14]
test ecx, ecx
jne 0x140004d43
cmp dword [r15 + 0x18], ecx
jne 0x140004d43
cmp dword [r15 + 0x1c], ecx
je 0x140004e03
mov eax, dword [r15 + 0x1c]
xor eax, dword [r15 + 0x18]
cmp eax, ecx
jne 0x140004e03
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._ERROR__options__r__q_and__f_cannot_be_used_together____n
call fcn.140002170
jmp 0x140004f55
cmp eax, 0x12
jne 0x140004d2b
cmp dword [rsi], 0
jne 0x140004d2b
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._ERROR__invalid_raw_image_parameters_n
call fcn.140002170
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.Please_use_the_Format_option__F:_n
call fcn.140002170
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._F_rawWidth_rawHeight_rawComp_rawBitDepth_s_u__Signed_Unsigned__n
call fcn.140002170
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.Example:__i_lena.raw__o_lena.j2k__F_512_512_3_8_u_n
call fcn.140002170
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.Aborting_n
call fcn.140002170
jmp 0x140004f55
cmp dword [r15 + 0x12bc], 0
jne 0x140004e23
mov dword [r15 + 0x12c0], r14d
inc dword [r15 + 0x12bc]
mov dword [r15 + 0x14], 1
mov ebx, dword [r15 + 4]
mov edi, dword [r15 + 0x470c]
cmp ebx, edi
jg 0x140004ee6
mov eax, dword [r15 + 0x4710]
cmp dword [r15 + 8], eax
jg 0x140004ee6
cmp dword [r15 + 0x12b8], 0
jbe 0x140004e9c
nop dword [rax]
nop word [rax + rax]
mov eax, r14d
imul rcx, rax, 0x94
cmp dword [rcx + r15 + 0x5c], 0xffffffff
jne 0x140004e90
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8d, [r14 + 1]
lea rdx, str.Unrecognized_progression_order_in_option__P__POC_n__d___LRCP__RLCP__RPCL__PCRL__CPRL_____n
call fcn.140002170
inc r14d
cmp r14d, dword [r15 + 0x12b8]
jb 0x140004e60
mov eax, dword [r15 + 0x471c]
cmp eax, 0xf
je 0x140004ead
cmp eax, 0x12
jne 0x140004ee2
mov eax, dword [rsi + 8]
cmp eax, 1
jle 0x140004ec5
mov rcx, qword [rsi + 0x18]
cmp dword [rcx + 8], 1
jg 0x140004eda
cmp dword [rcx + 0xc], 1
jg 0x140004eda
cmp eax, 2
jle 0x140004ee2
mov rax, qword [rsi + 0x18]
cmp dword [rax + 0x10], 1
jg 0x140004eda
cmp dword [rax + 0x14], 1
jle 0x140004ee2
mov byte [r15 + 0x490a], 0
xor eax, eax
jmp 0x140004f5a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, edi
lea rdx, str._ERROR__Tile_offset_dimension_is_unnappropriate_____TX0__d__IMG_X0__d__TYO__d__IMG_Y0__d___n
mov rcx, rax
mov r8d, ebx
mov eax, dword [r15 + 0x4710]
mov dword [rsp + 0x28], eax
mov eax, dword [r15 + 8]
mov dword [rsp + 0x20], eax
call fcn.140002170
jmp 0x140004f55
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rdi]
lea rdx, str._ERROR__Required_parameters_are_missing_nExample:__s__i_image.pgm__o_image.j2k_n
mov rcx, rax
call fcn.140002170
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rdi]
lea rdx, str.___Help:__s__h_n
mov rcx, rax
call fcn.140002170
mov eax, 1
mov rcx, qword [rbp + 0x1f8]
xor rcx, rsp
call fcn.14000cdb0
movaps xmm6, xmmword [rsp + 0x300]
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret