Function at 0x1400018f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r9, qword [rcx + 8]
lea r10, [rdx + 8]
mov r13d, dword [rcx]
xor ebp, ebp
xor r8d, r8d
mov qword [rsp + 0x68], r9
test rdx, rdx
mov dword [rsp + 0x60], r8d
mov rdi, rcx
cmove r10, r9
lea eax, [rbp + 1]
mov qword [rsp + 0x70], r10
test r13d, r13d
jle 0x140001f04
lea esi, [rbp + 2]
lea r14d, [rbp + 3]
lea rdx, str._set
nop word [rax + rax]
movsxd rax, r8d
movsxd r12, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x48]
mov rbx, qword [r9 + r12*8]
lea r15, [rax + rcx*8]
cmp byte [rbx], 0x2d
jne 0x140001c9c
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14000199a
cmp rcx, 5
jne 0x140001971
cmp dword [rdi + 0x28], 0
jne 0x140001ea6
mov dword [rdi + 0x28], 2
jmp 0x140001e94
lea rdx, str._duration
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001a01
cmp r13d, esi
jl 0x140001ee2
mov eax, dword [rdi + 0x28]
test eax, eax
je 0x1400019c6
cmp eax, 6
jne 0x140001ea6
mov eax, dword [rdi + 0x40]
mov dword [rdi + 0x28], 6
test eax, eax
je 0x1400019dd
cmp eax, 5
jne 0x140001ec4
mov r9, qword [rsp + 0x68]
mov dword [rdi + 0x40], 5
mov rax, qword [r9 + r12*8 + 8]
mov r8d, dword [rsp + 0x60]
mov r10, qword [rsp + 0x70]
mov qword [r15 + 0x10], rax
jmp 0x140001da1
xor ecx, ecx
lea rdx, str._get
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001a48
cmp rcx, 5
jne 0x140001a10
cmp dword [rdi + 0x28], 0
jne 0x140001ea6
mov r8d, dword [rsp + 0x60]
mov r9, qword [rsp + 0x68]
mov r10, qword [rsp + 0x70]
mov dword [rdi + 0x28], 1
jmp 0x140001e8d
xor ecx, ecx
lea rdx, str._strip
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001a90
cmp rcx, 7
jne 0x140001a51
cmp dword [rdi + 0x28], 0
jne 0x140001ea6
mov r8d, dword [rsp + 0x60]
mov r9, qword [rsp + 0x68]
mov r10, qword [rsp + 0x70]
mov dword [rdi + 0x28], 3
mov dword [rdi + 0x50], 0
jmp 0x140001e8d
xor ecx, ecx
lea rdx, str._frame
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001b2a
cmp rcx, 7
jne 0x140001aa0
cmp r13d, r14d
jl 0x140001ee2
test dword [rdi + 0x28], 0xfffffffd
jne 0x140001ea6
test dword [rdi + 0x40], 0xfffffffb
mov dword [rdi + 0x28], 2
jne 0x140001ec4
mov r8d, dword [rsp + 0x60]
lea rdx, str._set
mov r10, qword [rsp + 0x70]
inc r8d
mov r9, qword [rsp + 0x68]
add ebp, 3
mov dword [rdi + 0x40], 4
add r14d, 3
mov dword [r15], 1
add esi, 3
mov rax, qword [r10 + r12*8 + 8]
mov qword [r15 + 8], rax
mov rax, qword [r9 + r12*8 + 0x10]
mov qword [r15 + 0x10], rax
mov dword [rsp + 0x60], r8d
jmp 0x140001e9b
xor ecx, ecx
lea r11, str._loop
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x140001b59
cmp rcx, 6
jne 0x140001b40
jmp 0x140001c28
lea rdx, str._bgcolor
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001c21
movzx eax, byte [rbx]
cmp al, byte [0x140006628]
jne 0x140001bac
movzx eax, byte [rbx + 1]
cmp al, byte [0x140006629]
jne 0x140001bac
movzx eax, byte [rbx + 2]
cmp al, byte [0x14000662a]
jne 0x140001bac
cmp r13d, esi
jl 0x140001ee2
mov r10, qword [rsp + 0x70]
mov rax, qword [r10 + r12*8 + 8]
mov qword [rdi + 0x38], rax
jmp 0x140001c01
xor ecx, ecx
lea rdx, str._info
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001f33
cmp rcx, 6
jne 0x140001bb5
cmp r13d, esi
jl 0x140001ee2
jg 0x140001f19
cmp dword [rdi + 0x28], 0
jne 0x140001ea6
mov r10, qword [rsp + 0x70]
mov dword [rdi + 0x28], 4
mov dword [rdi + 0x50], 0
mov rax, qword [r10 + r12*8 + 8]
mov qword [rdi + 0x30], rax
mov r8d, dword [rsp + 0x60]
lea rdx, str._set
mov r9, qword [rsp + 0x68]
add ebp, 2
add r14d, 2
add esi, 2
jmp 0x140001e9b
lea r11, str._loop
cmp r13d, esi
jl 0x140001ee2
test dword [rdi + 0x28], 0xfffffffd
jne 0x140001ea6
test dword [rdi + 0x40], 0xfffffffb
mov dword [rdi + 0x28], 2
jne 0x140001ec4
mov r9, qword [rsp + 0x68]
xor eax, eax
mov dword [rdi + 0x40], 4
mov rdx, qword [r9 + r12*8]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r11 + rax - 1]
jne 0x140001c89
cmp rax, 6
jne 0x140001c70
cmp cl, byte [r11 + rax - 1]
mov eax, 0
setne al
add eax, 2
mov dword [r15], eax
jmp 0x1400019e9
mov edx, dword [rdi + 0x28]
test edx, edx
je 0x1400020b2
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
lea r11, [0x1400068d4]
inc rcx
cmp al, byte [r11 + rcx - 1]
lea r11, str.exif
jne 0x140001cd4
cmp rcx, 4
jne 0x140001cb0
jmp 0x140001d1f
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x140001cf6
cmp rcx, 5
jne 0x140001ce0
jmp 0x140001d1f
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
lea r11, [0x1400068e0]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x140001dbf
cmp rcx, 4
jne 0x140001d00
cmp dword [rdi + 0x40], 0
jne 0x140001ec4
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
lea r11, [0x1400068d4]
inc rcx
cmp al, byte [r11 + rcx - 1]
lea r11, str.exif
jne 0x140001d57
cmp rcx, 4
jne 0x140001d30
lea eax, [rcx - 1]
jmp 0x140001d83
xor eax, eax
nop dword [rax]
movzx ecx, byte [rbx + rax]
inc rax
cmp cl, byte [r11 + rax - 1]
jne 0x140001d79
cmp rax, 5
jne 0x140001d60
cmp cl, byte [r11 + rax - 1]
mov eax, 0
setne al
inc eax
mov dword [rdi + 0x40], eax
cmp edx, 2
jne 0x140001e8d
cmp r13d, esi
jl 0x140002072
mov rax, qword [r10 + r12*8 + 8]
mov qword [r15 + 8], rax
inc r8d
lea rdx, str._set
add ebp, 2
mov dword [rsp + 0x60], r8d
add r14d, 2
add esi, 2
jmp 0x140001e9b
xor ecx, ecx
movzx eax, byte [rbx + rcx]
lea r11, str.frame
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x140001dfc
cmp rcx, 6
jne 0x140001dc1
cmp edx, 1
jne 0x140001dfc
cmp r13d, esi
jl 0x140001ee2
mov dword [rdi + 0x40], 4
mov rax, qword [r9 + r12*8 + 8]
mov qword [r15 + 0x10], rax
jmp 0x140001da1
xor ecx, ecx
nop
movzx eax, byte [rbx + rcx]
lea r11, str.loop
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x140001e3e
cmp rcx, 5
jne 0x140001e00
cmp edx, 2
jne 0x140001e3e
cmp r13d, esi
jl 0x140001ee2
mov dword [rdi + 0x40], 6
mov rax, qword [r9 + r12*8 + 8]
mov qword [r15 + 0x10], rax
jmp 0x140001da1
xor ecx, ecx
movzx eax, byte [rbx + rcx]
lea r11, str.bgcolor
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x140001e7a
cmp rcx, 8
jne 0x140001e40
cmp edx, 2
jne 0x140001e7a
cmp r13d, esi
jl 0x140001ee2
mov dword [rdi + 0x40], 7
mov rax, qword [r9 + r12*8 + 8]
mov qword [r15 + 0x10], rax
jmp 0x140001da1
cmp qword [rdi + 0x30], 0
jne 0x14000208e
mov rax, qword [r10 + r12*8]
mov qword [rdi + 0x30], rax
lea rdx, str._set
inc ebp
inc r14d
inc esi
cmp ebp, r13d
jl 0x140001950
jmp 0x140001eff
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:_Multiple_actions_specified._n
call fcn.1400034a0
xor eax, eax
jmp 0x140001f04
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:_Multiple_features_specified._n
call fcn.1400034a0
xor eax, eax
jmp 0x140001f04
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8, rbx
lea rdx, str.ERROR:_Too_few_arguments_for__s._n
call fcn.1400034a0
mov eax, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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:_Too_many_arguments_for__s._n
mov rcx, rax
jmp 0x140001efa
movzx eax, byte [rbx]
cmp al, byte [0x140006818]
jne 0x140001f56
movzx eax, byte [rbx + 1]
cmp al, byte [0x140006819]
jne 0x140001f56
movzx eax, byte [rbx + 2]
cmp al, byte [0x14000681a]
je 0x140001f73
xor ecx, ecx
lea rdx, str._help
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001f89
cmp rcx, 6
jne 0x140001f60
call fcn.1400020e0
mov rcx, rdi
call fcn.140001100
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str._version
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001fd1
call sub.libwebpmux.dll_WebPGetMuxVersion
mov ecx, eax
movzx r9d, al
sar ecx, 8
sar eax, 0x10
movzx r8d, cl
lea rcx, str._d._d._d_n
movzx edx, al
call fcn.140003550
mov rcx, rdi
call fcn.140001100
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movzx eax, byte [rbx]
cmp al, byte [0x140006844]
jne 0x14000204e
movzx eax, byte [rbx + 1]
cmp al, byte [0x140006845]
jne 0x14000204e
movzx eax, byte [rbx + 2]
cmp al, byte [0x140006846]
jne 0x14000204e
lea eax, [r13 - 1]
cmp ebp, eax
jge 0x140001eff
cmp qword [rdi + 0x30], 0
movsxd rax, ebp
lea rbx, [rax*8 + 8]
jne 0x140002024
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + rbx]
mov qword [rdi + 0x30], rax
jmp 0x140001eff
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x68]
lea rdx, str.ERROR_at__s:_Multiple_input_files_specified._n
mov rcx, rax
mov r8, qword [rbx + r8]
call fcn.1400034a0
xor eax, eax
jmp 0x140001f04
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_option:__s._n
mov rcx, rax
call fcn.1400034a0
xor eax, eax
jmp 0x140001f04
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x68]
mov rcx, rax
mov r8, qword [r8 + r12*8]
jmp 0x140001ef3
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_at__s:_Multiple_input_files_specified._n
mov rcx, rax
call fcn.1400034a0
xor eax, eax
jmp 0x140001f04
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:_Action_must_be_specified_before_other_arguments._n
call fcn.1400034a0
xor eax, eax
jmp 0x140001f04