Function at 0x140001440
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
mov dword [0x14000a060], 1
mov qword [0x14000a070], rbp
xor r12b, r12b
mov rax, qword [rcx]
mov edi, 1
mov qword [0x14000a050], rbp
mov r13d, r9d
mov qword [0x14000a058], rbp
mov r14, r8
mov esi, edx
mov r15, rcx
mov dword [rax + 0x7c], ebp
cmp edx, edi
jle 0x140001b11
nop word [rax + rax]
movsxd rax, edi
mov rbx, qword [r14 + rax*8]
cmp byte [rbx], 0x2d
je 0x1400014c5
cmp edi, r13d
jg 0x140001b11
mov qword [0x14000a050], 0
jmp 0x140001b07
inc rbx
lea rdx, str.arithmetic
mov rcx, rbx
mov r8d, 1
call fcn.140002850
test al, al
je 0x1400014ee
mov byte [r15 + 0x121], 1
jmp 0x140001b07
mov r8d, 2
lea rdx, str.copy
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001599
inc edi
cmp edi, esi
jge 0x140001b98
movsxd rax, edi
lea rdx, str.none
mov rcx, qword [r14 + rax*8]
lea rbx, [r14 + rax*8]
mov r8d, 1
call fcn.140002850
test al, al
je 0x140001545
mov dword [0x14000a060], 0
jmp 0x140001b07
mov rcx, qword [rbx]
lea rdx, str.comments
mov r8d, 1
call fcn.140002850
test al, al
je 0x14000156d
mov dword [0x14000a060], 1
jmp 0x140001b07
mov rcx, qword [rbx]
lea rdx, [0x1400078fc]
mov r8d, 1
call fcn.140002850
test al, al
je 0x140001b92
mov dword [0x14000a060], 2
jmp 0x140001b07
mov r8d, 2
lea rdx, str.crop
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001614
inc edi
cmp edi, esi
jge 0x140001b9e
cmp byte [0x14000a077], 0
jne 0x1400015e0
movsxd rdx, edi
lea rcx, [0x14000a070]
mov rdx, qword [r14 + rdx*8]
call fcn.140005520
test al, al
jne 0x140001b07
mov ecx, 2
movsxd rbx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [r14 + rbx*8]
lea rdx, str._s:_bogus__crop_argument__s_n
mov r8, qword [0x14000a048]
mov rcx, rax
call fcn.140001020
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, 1
lea rdx, str.debug
mov rcx, rbx
call fcn.140002850
test al, al
jne 0x140001ac9
mov r8d, 1
lea rdx, str.verbose
mov rcx, rbx
call fcn.140002850
test al, al
jne 0x140001ac9
mov r8d, 1
lea rdx, str.flip
mov rcx, rbx
call fcn.140002850
test al, al
je 0x1400016cd
inc edi
cmp edi, esi
jge 0x140001baa
movsxd rax, edi
lea rdx, str.horizontal
mov rcx, qword [r14 + rax*8]
lea rbx, [r14 + rax*8]
mov r8d, 1
call fcn.140002850
test al, al
je 0x1400016a1
mov ecx, 1
call fcn.140001c00
jmp 0x140001b07
mov rcx, qword [rbx]
lea rdx, str.vertical
mov r8d, 1
call fcn.140002850
test al, al
je 0x140001ba4
mov ecx, 2
call fcn.140001c00
jmp 0x140001b07
mov r8d, 1
lea rdx, str.grayscale
mov rcx, rbx
call fcn.140002850
test al, al
jne 0x140001ac0
mov r8d, 1
lea rdx, str.greyscale
mov rcx, rbx
call fcn.140002850
test al, al
jne 0x140001ac0
mov r8d, 3
lea rdx, str.maxmemory
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001794
inc edi
mov byte [rsp + 0x78], 0x78
cmp edi, esi
jge 0x140001bb6
movsxd rcx, edi
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x70]
lea rdx, str._ld_c
mov rcx, qword [r14 + rcx*8]
call fcn.140001c50
cmp eax, 1
jl 0x140001bb0
movzx eax, byte [rsp + 0x78]
sub al, 0x4d
test al, 0xdf
jne 0x14000177e
imul eax, dword [rsp + 0x70], 0x3e8
mov dword [rsp + 0x70], eax
imul ecx, eax, 0x3e8
mov rax, qword [r15 + 8]
mov dword [rax + 0x58], ecx
jmp 0x140001b07
mov eax, dword [rsp + 0x70]
imul ecx, eax, 0x3e8
mov rax, qword [r15 + 8]
mov dword [rax + 0x58], ecx
jmp 0x140001b07
mov r8d, 1
lea rdx, str.optimize
mov rcx, rbx
call fcn.140002850
test al, al
jne 0x140001ab6
mov r8d, 1
lea rdx, str.optimise
mov rcx, rbx
call fcn.140002850
test al, al
jne 0x140001ab6
mov r8d, 4
lea rdx, str.outfile
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001804
inc edi
cmp edi, esi
jge 0x140001bbc
movsxd rax, edi
mov rcx, qword [r14 + rax*8]
mov qword [0x14000a050], rcx
jmp 0x140001b07
mov r8d, 2
lea rdx, str.perfect
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001829
mov byte [0x14000a074], 1
jmp 0x140001b07
mov r8d, 2
lea rdx, str.progressive
mov rcx, rbx
call fcn.140002850
test al, al
je 0x14000184a
mov r12b, 1
jmp 0x140001b07
mov r8d, 1
lea rdx, str.restart
mov rcx, rbx
call fcn.140002850
test al, al
je 0x1400018d6
inc edi
mov byte [rsp + 0x78], 0x78
cmp edi, esi
jge 0x140001bce
movsxd rcx, edi
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x20]
lea rdx, str._ld_c
mov rcx, qword [r14 + rcx*8]
call fcn.140001c50
cmp eax, 1
jl 0x140001bc8
mov ecx, dword [rsp + 0x20]
cmp ecx, 0xffff
ja 0x140001bc2
movzx eax, byte [rsp + 0x78]
sub al, 0x42
test al, 0xdf
je 0x1400018bf
mov dword [r15 + 0x134], ecx
jmp 0x140001b07
mov dword [r15 + 0x130], ecx
mov dword [r15 + 0x134], 0
jmp 0x140001b07
mov r8d, 2
lea rdx, str.rotate
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001981
inc edi
cmp edi, esi
jge 0x140001bda
movsxd rax, edi
lea rdx, [0x140007a68]
mov rcx, qword [r14 + rax*8]
lea rbx, [r14 + rax*8]
mov r8d, 2
call fcn.140002850
test al, al
je 0x14000192d
mov ecx, 5
call fcn.140001c00
jmp 0x140001b07
mov rcx, qword [rbx]
lea rdx, [0x140007a6c]
mov r8d, 3
call fcn.140002850
test al, al
je 0x140001955
mov ecx, 6
call fcn.140001c00
jmp 0x140001b07
mov rcx, qword [rbx]
lea rdx, [0x140007a70]
mov r8d, 3
call fcn.140002850
test al, al
je 0x140001bd4
mov ecx, 7
call fcn.140001c00
jmp 0x140001b07
mov r8d, 4
lea rdx, str.scale
mov rcx, rbx
call fcn.140002850
test al, al
je 0x1400019b7
inc edi
cmp edi, esi
jge 0x140001be0
movsxd rax, edi
mov rcx, qword [r14 + rax*8]
mov qword [0x14000a058], rcx
jmp 0x140001b07
mov r8d, 1
lea rdx, str.scans
mov rcx, rbx
call fcn.140002850
test al, al
je 0x1400019e6
inc edi
cmp edi, esi
jge 0x140001be6
movsxd rax, edi
mov rbp, qword [r14 + rax*8]
jmp 0x140001b07
mov r8d, 1
lea rdx, str.transpose
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001a0e
mov ecx, 3
call fcn.140001c00
jmp 0x140001b07
mov r8d, 6
lea rdx, str.transverse
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001a36
mov ecx, 4
call fcn.140001c00
jmp 0x140001b07
mov r8d, 3
lea rdx, str.trim
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001a5b
mov byte [0x14000a075], 1
jmp 0x140001b07
mov r8d, 1
lea rdx, str.wipe
mov rcx, rbx
call fcn.140002850
test al, al
je 0x140001bf2
inc edi
cmp edi, esi
jge 0x140001bec
cmp byte [0x14000a077], 0
jne 0x140001b3e
movsxd rdx, edi
lea rcx, [0x14000a070]
mov rdx, qword [r14 + rdx*8]
call fcn.140005520
test al, al
je 0x140001b3e
mov ecx, 8
call fcn.140001c00
jmp 0x140001b07
mov byte [r15 + 0x122], 1
jmp 0x140001b07
mov byte [0x14000a076], 1
jmp 0x140001b07
cmp byte [0x14000a040], 0
jne 0x140001b01
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r9, str.Copyright__C__2016__Thomas_G._Lane__Guido_Vollbeding
lea r8, str.9b__17_Jan_2016
lea rdx, str.Independent_JPEG_Groups_JPEGTRAN__version__s_n_s_n
call fcn.140001020
mov byte [0x14000a040], 1
mov rax, qword [r15]
inc dword [rax + 0x7c]
inc edi
cmp edi, esi
jl 0x1400014a0
cmp byte [rsp + 0x90], 0
je 0x140001b72
test r12b, r12b
je 0x140001b28
mov rcx, r15
call sub.libjpeg.dll_jpeg_simple_progression
test rbp, rbp
je 0x140001b72
mov rdx, rbp
mov rcx, r15
call fcn.140001f80
test al, al
jne 0x140001b72
jmp 0x140001b8c
mov ecx, 2
movsxd rbx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [r14 + rbx*8]
lea rdx, str._s:_bogus__wipe_argument__s_n
mov r8, qword [0x14000a048]
mov rcx, rax
call fcn.140001020
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3
call fcn.140001ca0
int3