Function at 0x1400131f0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
lea r9, str.loglevel
mov r13, r8
mov edi, ecx
mov rbp, rdx
call sym.ffmpeg_g.exe_locate_option
cmp qword [r13], 0
je 0x14001323e
mov rdx, r13
nop
mov ecx, dword [rdx + 8]
test ch, 0x20
je 0x140013234
and ecx, 0xc0000
je 0x140013581
add rdx, 0x28
cmp qword [rdx], 0
jne 0x140013220
test eax, eax
je 0x140013560
cdqe
mov r8, qword [rbp + rax*8 + 8]
test r8, r8
je 0x140013260
lea rdx, str.loglevel
xor ecx, ecx
call sym.ffmpeg_g.exe_opt_loglevel
lea r9, str.report
mov r8, r13
mov rdx, rbp
mov ecx, edi
call sym.ffmpeg_g.exe_locate_option
lea rcx, str.FFREPORT
mov ebx, eax
call sub.msvcrt.dll_getenv
test rax, rax
jne 0x14001328f
test ebx, ebx
je 0x14001335d
mov rcx, rax
call fcn.14000ff20
mov rcx, qword [0x1400460d0]
test rcx, rcx
je 0x14001335d
lea rdx, str.Command_line:_n
call fcn.14000f7e0
test edi, edi
jle 0x140013351
lea eax, [rdi - 1]
test eax, eax
mov dword [rsp + 0x3c], eax
jg 0x14001342d
xor esi, esi
lea r12, [0x14003dc69]
movsxd rsi, esi
movabs rbx, 0x10ffffffe0ffff
mov r14, qword [rbp + rsi*8]
movzx eax, byte [r14]
mov rdx, r14
test al, al
jne 0x140013310
jmp 0x140013329
sub eax, 0x61
cmp al, 0x19
ja 0x140013390
add rdx, 1
movzx eax, byte [rdx]
test al, al
je 0x140013329
nop dword [rax + rax]
lea ecx, [rax - 0x2b]
cmp cl, 0x34
ja 0x1400132f2
bt rbx, rcx
jae 0x1400132f2
add rdx, 1
movzx eax, byte [rdx]
test al, al
jne 0x140013310
mov rdx, qword [0x1400460d0]
mov rcx, r14
call sub.msvcrt.dll_fputs
mov rdx, qword [0x1400460d0]
mov ecx, 0xa
add rsi, 1
call sub.msvcrt.dll_fputc
cmp edi, esi
jg 0x1400132e0
mov rcx, qword [0x1400460d0]
call sub.msvcrt.dll_fflush
lea r9, str.hide_banner
mov r8, r13
mov rdx, rbp
mov ecx, edi
call sym.ffmpeg_g.exe_locate_option
test eax, eax
je 0x14001337f
mov dword [sym.ffmpeg_g.exe_hide_banner], 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [0x1400460d0]
mov ecx, 0x22
lea r15, str.x_02x
call sub.msvcrt.dll_fputc
movzx eax, byte [r14]
test al, al
jne 0x1400133c6
jmp 0x140013402
mov rdx, r12
call fcn.14000f7e0
add r14, 1
movzx eax, byte [r14]
test al, al
je 0x140013402
lea edx, [rax - 0x22]
mov rcx, qword [0x1400460d0]
movzx r8d, al
and edx, 0xfd
je 0x1400133b2
lea edx, [rax - 0x5c]
and edx, 0xfb
je 0x1400133b2
sub eax, 0x20
cmp al, 0x5e
jbe 0x140013420
add r14, 1
mov rdx, r15
call fcn.14000f7e0
movzx eax, byte [r14]
test al, al
jne 0x1400133c6
mov rdx, qword [0x1400460d0]
mov ecx, 0x22
call sub.msvcrt.dll_fputc
jmp 0x140013338
mov rdx, rcx
mov ecx, r8d
call sub.msvcrt.dll_fputc
jmp 0x1400133ba
lea r14, [0x14003dc69]
mov r12, rbp
xor esi, esi
movabs rbx, 0x10ffffffe0ffff
mov r15, qword [r12]
movzx eax, byte [r15]
test al, al
je 0x140013489
mov rdx, r15
jmp 0x140013470
sub eax, 0x61
cmp al, 0x19
ja 0x1400134c3
add rdx, 1
movzx eax, byte [rdx]
test al, al
je 0x140013489
nop word cs:[rax + rax]
lea ecx, [rax - 0x2b]
cmp cl, 0x34
ja 0x140013454
bt rbx, rcx
jae 0x140013454
add rdx, 1
movzx eax, byte [rdx]
test al, al
jne 0x140013470
mov rdx, qword [0x1400460d0]
mov rcx, r15
call sub.msvcrt.dll_fputs
mov rdx, qword [0x1400460d0]
mov ecx, 0x20
add esi, 1
add r12, 8
call sub.msvcrt.dll_fputc
cmp esi, dword [rsp + 0x3c]
jl 0x140013443
cmp edi, esi
jg 0x1400132cc
jmp 0x140013351
mov rdx, qword [0x1400460d0]
mov ecx, 0x22
call sub.msvcrt.dll_fputc
movzx eax, byte [r15]
test al, al
jne 0x1400134f4
jmp 0x140013534
mov rdx, r14
call fcn.14000f7e0
add r15, 1
movzx eax, byte [r15]
test al, al
je 0x140013534
lea edx, [rax - 0x22]
mov rcx, qword [0x1400460d0]
movzx r8d, al
and edx, 0xfd
je 0x1400134e0
lea edx, [rax - 0x5c]
and edx, 0xfb
je 0x1400134e0
sub eax, 0x20
cmp al, 0x5e
jbe 0x140013550
lea rdx, str.x_02x
add r15, 1
call fcn.14000f7e0
movzx eax, byte [r15]
test al, al
jne 0x1400134f4
mov rdx, qword [0x1400460d0]
mov ecx, 0x22
call sub.msvcrt.dll_fputc
jmp 0x140013498
mov rdx, rcx
mov ecx, r8d
call sub.msvcrt.dll_fputc
jmp 0x1400134e8
lea r9, [0x14003dc48]
mov r8, r13
mov rdx, rbp
mov ecx, edi
call sym.ffmpeg_g.exe_locate_option
test eax, eax
je 0x140013260
jmp 0x140013246
lea rax, str.src_fftools_cmdutils.c
lea r9, str.po__flags___0x40000__0x80000_
lea r8, [0x14003cfc8]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x1f5
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
call sub.msvcrt.dll_abort
nop
nop dword [rax]
nop word cs:[rax + rax]