Function at 0x140019640
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
mov eax, 0x1308
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140027bc0
sub rsp, rax
movaps xmmword [rsp + 0x12f0], xmm6
mov rbx, rcx
mov eax, dword [0x140046234]
test eax, eax
jne 0x14001979e
mov rax, rcx
sub rax, qword [0x140046220]
xor esi, esi
cmp rax, 0x1869f
jle 0x140019692
mov esi, dword [0x140046268]
test esi, esi
je 0x1400196b0
xor esi, esi
movaps xmm6, xmmword [rsp + 0x12f0]
mov eax, esi
add rsp, 0x1308
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp qword [0x140046218], 0
je 0x140019768
mov eax, dword [0x140046210]
test eax, eax
je 0x140019754
lea r14, [rsp + 0x2f0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], 0
mov rcx, qword [0x140046218]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1400197a8
mov r9d, dword [rsp + 0x2f0]
test r9d, r9d
je 0x1400197a8
lea rdx, [rsp + 0xf0]
mov r8d, 1
xor ecx, ecx
call sub.msvcrt.dll__read
movzx eax, byte [rsp + 0xf0]
mov dword [rsp + 0x4c], eax
cmp eax, 0x71
mov qword [0x140046220], rbx
je 0x14001979e
cmp eax, 0x2b
jne 0x1400197b4
call sub.avutil_56.dll_av_log_get_level
lea ecx, [rax + 0xa]
call sub.avutil_56.dll_av_log_set_level
jmp 0x140019692
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x1400197a8
call sub.msvcrt.dll__getch
mov dword [rsp + 0x4c], eax
jmp 0x140019731
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rsp + 0x1f0]
mov qword [0x140046218], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
sete al
movzx eax, al
mov dword [0x140046210], eax
jmp 0x1400196c4
mov esi, 0xabb6a7bb
jmp 0x140019692
mov qword [0x140046220], rbx
jmp 0x140019692
cmp dword [rsp + 0x4c], 0x2d
jne 0x1400197cd
call sub.avutil_56.dll_av_log_get_level
lea ecx, [rax - 0xa]
call sub.avutil_56.dll_av_log_set_level
jmp 0x140019692
cmp dword [rsp + 0x4c], 0x73
je 0x14001980c
cmp dword [rsp + 0x4c], 0x68
jne 0x140019838
mov rax, qword [sym.ffmpeg_g.exe_do_hex_dump]
mov rdx, qword [sym.ffmpeg_g.exe_do_pkt_dump]
mov r8d, dword [rax]
test r8d, r8d
je 0x140019820
mov dword [rdx], 0
mov dword [rax], 0
mov ecx, 0x30
call sub.avutil_56.dll_av_log_set_level
jmp 0x140019692
mov rax, qword [sym.ffmpeg_g.exe_qp_hist]
xor dword [rax], 1
jmp 0x140019692
mov ecx, dword [rdx]
test ecx, ecx
je 0x140019830
mov dword [rax], 1
jmp 0x1400197fd
mov dword [rdx], 1
jmp 0x1400197fd
mov eax, dword [rsp + 0x4c]
cmp eax, 0x63
sete byte [rsp + 0x5c]
and eax, 0xffffffdf
cmp eax, 0x43
jne 0x140019c51
lea r13, [rsp + 0x1f0]
xor eax, eax
mov ecx, 0x20
lea r14, [rsp + 0x2f0]
lea r15, [rsp + 0xb0]
xor r12d, r12d
mov rdi, r13
rep stosq qword [rdi], rax
mov rdi, qword [sym.imp.msvcrt.dll___iob_func]
call rdi
lea rdx, str._nEnter_command:__target_all__time__1__command____argument___n
lea rcx, [rax + 0x60]
call fcn.140017040
mov rbp, qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov dword [rsp + 0x50], r12d
mov ebx, r12d
jmp 0x140019919
lea rax, [rsp + 0xf0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], 0
mov rcx, qword [0x140046218]
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
je 0x1400199f3
mov edx, dword [rsp + 0xf0]
test edx, edx
je 0x1400199f3
lea rdx, [rsp + 0x70]
xor ecx, ecx
mov r8d, 1
call sub.msvcrt.dll__read
movzx eax, byte [rsp + 0x70]
cmp eax, 0xa
je 0x14001994c
cmp eax, 0xd
je 0x140019a40
cmp ebx, 0xffe
ja 0x140019a40
test eax, eax
jg 0x140019a30
cmp qword [0x140046218], 0
je 0x1400199c2
mov eax, dword [0x140046210]
test eax, eax
jne 0x1400198a2
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x1400199f3
call sub.msvcrt.dll__getch
cmp eax, 0xa
jne 0x1400198fc
movsxd rax, dword [rsp + 0x50]
mov byte [rsp + rax + 0x2f0], 0
call rdi
lea rdx, [0x14003f3e9]
lea rcx, [rax + 0x60]
call fcn.140017040
lea rbp, [rsp + 0x70]
lea rbx, [rsp + 0xf0]
lea r9, [rsp + 0x68]
lea rdx, str._63_____lf__255_____255__n_
mov qword [rsp + 0x28], r13
mov rcx, r14
mov qword [rsp + 0x20], rbx
mov r8, rbp
call fcn.140017070
cmp eax, 2
mov r9d, eax
jg 0x140019a80
lea r8, str.Parse_error__at_least_3_arguments_were_expected__only__d_given_in_string__s_n
mov qword [rsp + 0x20], r14
mov edx, 0x10
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x140019692
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, r15
mov qword [0x140046218], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
sete al
movzx eax, al
mov dword [0x140046210], eax
jmp 0x14001992d
cmp r12, 0xffe
jbe 0x140019919
movsxd rax, dword [rsp + 0x50]
mov byte [rsp + rax + 0x2f0], 0
call rdi
lea rdx, [0x14003f3e9]
lea rcx, [rax + 0x60]
call fcn.140017040
xor r9d, r9d
jmp 0x1400199a5
mov byte [r14 + r12], al
add r12, 1
jmp 0x140019898
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x50]
mov byte [rsp + rax + 0x2f0], 0
call rdi
lea rdx, [0x14003f3e9]
lea rcx, [rax + 0x60]
call fcn.140017040
mov r8d, dword [rsp + 0x58]
xor r9d, r9d
test r8d, r8d
jle 0x1400199a5
jmp 0x14001996b
movsd xmm0, qword [rsp + 0x68]
lea r8, str.Processing_command_target:_s_time:_f_command:_s_arg:_s
xor ecx, ecx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rbx
movsd qword [rsp + 0x20], xmm0
mov r9, rbp
mov edx, 0x30
xor r15d, r15d
lea r12, [sym.ffmpeg_g.exe_filtergraphs]
call sub.avutil_56.dll_av_log
mov eax, dword [sym.ffmpeg_g.exe_nb_filtergraphs]
test eax, eax
jle 0x140019692
lea rcx, [rsp + 0xb0]
pxor xmm6, xmm6
mov qword [rsp + 0x50], rcx
movzx ecx, byte [rsp + 0x5c]
mov dword [rsp + 0x58], ecx
mov rcx, r12
mov r12, rdi
mov rdi, rbp
mov rbp, rbx
mov rbx, rcx
jmp 0x140019b2a
movsd qword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
mov r9, r13
mov r8, rbp
mov rdx, rdi
call sub.avfilter_7.dll_avfilter_graph_queue_command
test eax, eax
js 0x140019bc2
mov eax, dword [sym.ffmpeg_g.exe_nb_filtergraphs]
lea edx, [r15 + 1]
add r15, 1
cmp edx, eax
jge 0x140019692
mov rdx, qword [rbx]
mov rdx, qword [rdx + r15*8]
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x140019b1a
movsd xmm0, qword [rsp + 0x68]
ucomisd xmm6, xmm0
ja 0x140019b70
cmp dword [rsp + 0x4c], 0x63
jne 0x140019af0
call r12
lea rdx, str.Queuing_commands_only_on_filters_supporting_the_specific_command_is_unsupported_n
lea rcx, [rax + 0x60]
call fcn.140017040
mov eax, dword [sym.ffmpeg_g.exe_nb_filtergraphs]
jmp 0x140019b1a
mov eax, dword [rsp + 0x58]
mov r9, r13
mov r8, rbp
mov rdx, rdi
mov dword [rsp + 0x28], 0x1000
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x30], eax
call sub.avfilter_7.dll_avfilter_graph_send_command
mov dword [rsp + 0x5c], eax
call r12
mov r9d, dword [rsp + 0x5c]
lea rcx, [rax + 0x60]
lea rdx, str.Command_reply_for_stream__d:_ret:_d_res:_n_s
mov qword [rsp + 0x20], r14
mov r8d, r15d
call fcn.140017040
mov eax, dword [sym.ffmpeg_g.exe_nb_filtergraphs]
jmp 0x140019b1a
mov rdx, qword [rsp + 0x50]
mov r8d, 0x40
mov ecx, eax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
call sub.avutil_56.dll_av_strerror
call r12
mov r8, qword [rsp + 0x50]
lea rcx, [rax + 0x60]
lea rdx, str.Queuing_command_failed_with_error__s_n
call fcn.140017040
jmp 0x140019b14
cmp eax, 0x44
jne 0x140019eb6
xor edi, edi
cmp dword [rsp + 0x4c], 0x44
mov dword [rsp + 0xb0], 0
je 0x140019de0
mov r15, qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
lea r13, [rsp + 0xf0]
movsxd r12, edi
mov ebx, edi
jmp 0x140019d04
lea rax, [rsp + 0x1f0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], 0
mov rcx, qword [0x140046218]
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
je 0x140019ee0
mov eax, dword [rsp + 0x1f0]
test eax, eax
je 0x140019ee0
lea rdx, [rsp + 0x70]
xor ecx, ecx
mov r8d, 1
call sub.msvcrt.dll__read
movzx eax, byte [rsp + 0x70]
cmp eax, 0xa
je 0x140019d37
cmp eax, 0xd
je 0x140019f50
cmp ebx, 0x1e
ja 0x140019f50
test eax, eax
jg 0x140019f40
cmp qword [0x140046218], 0
je 0x140019db0
mov eax, dword [0x140046210]
test eax, eax
jne 0x140019c90
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x140019ee0
call sub.msvcrt.dll__getch
cmp eax, 0xa
jne 0x140019cea
mov byte [rsp + r12 + 0x2f0], 0
mov rdi, qword [sym.imp.msvcrt.dll___iob_func]
call rdi
lea rdx, [0x14003f3e9]
lea rcx, [rax + 0x60]
call fcn.140017040
lea rcx, [rsp + 0x2f0]
lea r8, [rsp + 0xb0]
lea rdx, [0x14003f827]
call fcn.140017070
cmp eax, 1
je 0x140019d8c
call rdi
lea rdx, str.error_parsing_debug_value_n
lea rcx, [rax + 0x60]
call fcn.140017040
mov ebx, dword [rsp + 0xb0]
mov eax, dword [sym.ffmpeg_g.exe_nb_input_streams]
test eax, eax
jle 0x140019e5d
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
jmp 0x140019e30
mov ecx, 0xfffffff6
call r15
mov rdx, r13
mov qword [0x140046218], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
sete al
movzx eax, al
mov dword [0x140046210], eax
jmp 0x140019d18
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov rax, qword [rdx]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov ebx, dword [rax + 0x28c]
add ebx, ebx
test ebx, ebx
mov dword [rsp + 0xb0], ebx
jne 0x140019f83
mov eax, dword [sym.ffmpeg_g.exe_nb_input_streams]
mov dword [rsp + 0xb0], 1
mov ebx, 1
mov rdi, qword [sym.imp.msvcrt.dll___iob_func]
test eax, eax
jle 0x140019f11
nop
lea ecx, [rax - 1]
lea rax, [rdx + 8]
lea rcx, [rax + rcx*8]
jmp 0x140019e44
add rax, 8
mov rdx, qword [rdx]
cmp rcx, rax
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + 8]
mov dword [rdx + 0x28c], ebx
mov rdx, rax
jne 0x140019e40
mov eax, dword [sym.ffmpeg_g.exe_nb_output_streams]
test eax, eax
jle 0x140019e99
mov rdx, qword [sym.ffmpeg_g.exe_output_streams]
lea ecx, [rax - 1]
lea rax, [rdx + 8]
lea rcx, [rax + rcx*8]
jmp 0x140019e84
add rax, 8
mov rdx, qword [rdx]
cmp rcx, rax
mov rdx, qword [rdx + 0x60]
mov dword [rdx + 0x28c], ebx
mov rdx, rax
jne 0x140019e80
test ebx, ebx
jne 0x140019f20
call rdi
lea rdx, str.debug_d_n
lea rcx, [rax + 0x60]
mov r8d, ebx
call fcn.140017040
cmp dword [rsp + 0x4c], 0x3f
jne 0x140019692
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, str.key____function_n_______show_this_help_n______increase_verbosity_n_______decrease_verbosity_nc______Send_command_to_first_matching_filter_supporting_it_nC______Send_Queue_command_to_all_matching_filters_nD______cycle_through_available_debug_modes_nh______dump_packets_hex_press_to_cycle_through_the_3_states_nq______quit_ns______Show_QP_histogram_n
lea rcx, [rax + 0x60]
call fcn.140017040
jmp 0x140019692
cmp rdi, 0x1e
jbe 0x140019d04
mov byte [rsp + r12 + 0x2f0], 0
mov rdi, qword [sym.imp.msvcrt.dll___iob_func]
call rdi
lea rdx, [0x14003f3e9]
lea rcx, [rax + 0x60]
call fcn.140017040
jmp 0x140019d7a
mov eax, dword [sym.ffmpeg_g.exe_nb_output_streams]
test eax, eax
jg 0x140019e67
nop
mov ecx, 0x30
call sub.avutil_56.dll_av_log_set_level
mov ebx, dword [rsp + 0xb0]
jmp 0x140019ea1
mov byte [rsp + rdi + 0x2f0], al
add rdi, 1
jmp 0x140019c88
mov r14d, eax
mov byte [rsp + r12 + 0x2f0], 0
mov rdi, qword [sym.imp.msvcrt.dll___iob_func]
call rdi
lea rdx, [0x14003f3e9]
lea rcx, [rax + 0x60]
call fcn.140017040
test r14d, r14d
jle 0x140019d7a
jmp 0x140019d59
test bl, 0x40
je 0x140019f9e
nop dword [rax + rax]
add ebx, ebx
test bl, 0x40
jne 0x140019f90
mov dword [rsp + 0xb0], ebx
mov rdi, qword [sym.imp.msvcrt.dll___iob_func]
jmp 0x140019d93