Function at 0x140005000
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, [0x140032b76]
mov r13, r8
mov edi, ecx
mov rbp, rdx
call fcn.140003a90
cmp qword [r13], 0
je 0x14000504e
mov rdx, r13
nop
mov ecx, dword [rdx + 8]
test ch, 0x20
je 0x140005044
and ecx, 0xc0000
je 0x140005391
add rdx, 0x28
cmp qword [rdx], 0
jne 0x140005030
test eax, eax
je 0x140005370
cdqe
mov r8, qword [rbp + rax*8 + 8]
test r8, r8
je 0x140005070
lea rdx, [0x140032b76]
xor ecx, ecx
call fcn.140004cc0
lea r9, [0x140032ba2]
mov r8, r13
mov rdx, rbp
mov ecx, edi
call fcn.140003a90
lea rcx, str.FFREPORT
mov ebx, eax
call sub.msvcrt.dll_getenv
test rax, rax
jne 0x14000509f
test ebx, ebx
je 0x14000516d
mov rcx, rax
call fcn.140001d10
mov rcx, qword [0x140042050]
test rcx, rcx
je 0x14000516d
lea rdx, str.Command_line:_n
call fcn.1400015d0
test edi, edi
jle 0x140005161
lea eax, [rdi - 1]
test eax, eax
mov dword [rsp + 0x3c], eax
jg 0x14000523d
xor esi, esi
lea r12, [0x140032bc1]
movsxd rsi, esi
movabs rbx, 0x10ffffffe0ffff
mov r14, qword [rbp + rsi*8]
movzx eax, byte [r14]
mov rdx, r14
test al, al
jne 0x140005120
jmp 0x140005139
sub eax, 0x61
cmp al, 0x19
ja 0x1400051a0
add rdx, 1
movzx eax, byte [rdx]
test al, al
je 0x140005139
nop dword [rax + rax]
lea ecx, [rax - 0x2b]
cmp cl, 0x34
ja 0x140005102
bt rbx, rcx
jae 0x140005102
add rdx, 1
movzx eax, byte [rdx]
test al, al
jne 0x140005120
mov rdx, qword [0x140042050]
mov rcx, r14
call sub.msvcrt.dll_fputs
mov rdx, qword [0x140042050]
mov ecx, 0xa
add rsi, 1
call sub.msvcrt.dll_fputc
cmp edi, esi
jg 0x1400050f0
mov rcx, qword [0x140042050]
call sub.msvcrt.dll_fflush
lea r9, [0x140032bcc]
mov r8, r13
mov rdx, rbp
mov ecx, edi
call fcn.140003a90
test eax, eax
je 0x14000518f
mov dword [0x140042030], 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [0x140042050]
mov ecx, 0x22
lea r15, str.x_02x
call sub.msvcrt.dll_fputc
movzx eax, byte [r14]
test al, al
jne 0x1400051d6
jmp 0x140005212
mov rdx, r12
call fcn.1400015d0
add r14, 1
movzx eax, byte [r14]
test al, al
je 0x140005212
lea edx, [rax - 0x22]
mov rcx, qword [0x140042050]
movzx r8d, al
and edx, 0xfd
je 0x1400051c2
lea edx, [rax - 0x5c]
and edx, 0xfb
je 0x1400051c2
sub eax, 0x20
cmp al, 0x5e
jbe 0x140005230
add r14, 1
mov rdx, r15
call fcn.1400015d0
movzx eax, byte [r14]
test al, al
jne 0x1400051d6
mov rdx, qword [0x140042050]
mov ecx, 0x22
call sub.msvcrt.dll_fputc
jmp 0x140005148
mov rdx, rcx
mov ecx, r8d
call sub.msvcrt.dll_fputc
jmp 0x1400051ca
lea r14, [0x140032bc1]
mov r12, rbp
xor esi, esi
movabs rbx, 0x10ffffffe0ffff
mov r15, qword [r12]
movzx eax, byte [r15]
test al, al
je 0x140005299
mov rdx, r15
jmp 0x140005280
sub eax, 0x61
cmp al, 0x19
ja 0x1400052d3
add rdx, 1
movzx eax, byte [rdx]
test al, al
je 0x140005299
nop word cs:[rax + rax]
lea ecx, [rax - 0x2b]
cmp cl, 0x34
ja 0x140005264
bt rbx, rcx
jae 0x140005264
add rdx, 1
movzx eax, byte [rdx]
test al, al
jne 0x140005280
mov rdx, qword [0x140042050]
mov rcx, r15
call sub.msvcrt.dll_fputs
mov rdx, qword [0x140042050]
mov ecx, 0x20
add esi, 1
add r12, 8
call sub.msvcrt.dll_fputc
cmp esi, dword [rsp + 0x3c]
jl 0x140005253
cmp edi, esi
jg 0x1400050dc
jmp 0x140005161
mov rdx, qword [0x140042050]
mov ecx, 0x22
call sub.msvcrt.dll_fputc
movzx eax, byte [r15]
test al, al
jne 0x140005304
jmp 0x140005344
mov rdx, r14
call fcn.1400015d0
add r15, 1
movzx eax, byte [r15]
test al, al
je 0x140005344
lea edx, [rax - 0x22]
mov rcx, qword [0x140042050]
movzx r8d, al
and edx, 0xfd
je 0x1400052f0
lea edx, [rax - 0x5c]
and edx, 0xfb
je 0x1400052f0
sub eax, 0x20
cmp al, 0x5e
jbe 0x140005360
lea rdx, str.x_02x
add r15, 1
call fcn.1400015d0
movzx eax, byte [r15]
test al, al
jne 0x140005304
mov rdx, qword [0x140042050]
mov ecx, 0x22
call sub.msvcrt.dll_fputc
jmp 0x1400052a8
mov rdx, rcx
mov ecx, r8d
call sub.msvcrt.dll_fputc
jmp 0x1400052f8
lea r9, [0x140032ba0]
mov r8, r13
mov rdx, rbp
mov ecx, edi
call fcn.140003a90
test eax, eax
je 0x140005070
jmp 0x140005056
lea rax, str.cmdutils.c
lea r9, str.po__flags___0x40000__0x80000_
lea r8, [0x1400320d8]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x1ef
mov qword [rsp + 0x20], rax
call sub.avutil_55.dll_av_log
call sub.msvcrt.dll_abort
nop
nop dword [rax]
nop word cs:[rax + rax]
xor ecx, ecx
jmp fcn.140001d10