Function at 0x140019f00
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
mov eax, 0x1318
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140381e20
sub rsp, rax
movaps xmmword [rsp + 0x1300], xmm6
mov rbx, rcx
mov ebp, dword [0x14046d234]
test ebp, ebp
jne 0x14001a74e
mov rax, rcx
sub rax, qword [0x14046d220]
cmp rax, 0x1869f
jle 0x140019f50
mov r10d, dword [0x14046d288]
test r10d, r10d
je 0x140019f70
movaps xmm6, xmmword [rsp + 0x1300]
mov eax, ebp
add rsp, 0x1318
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp qword [0x14046d218], 0
je 0x14001a7b0
mov eax, dword [0x14046d210]
test eax, eax
je 0x14001a5c0
lea rax, [rsp + 0x300]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], 0
mov rcx, qword [0x14046d218]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14001a7a4
mov r9d, dword [rsp + 0x300]
test r9d, r9d
je 0x14001a7a4
lea rdx, [rsp + 0x100]
mov r8d, 1
xor ecx, ecx
call sub.msvcrt.dll__read
movzx eax, byte [rsp + 0x100]
mov dword [rsp + 0x4c], eax
cmp eax, 0x71
mov qword [0x14046d220], rbx
je 0x14001a74e
mov ebx, eax
and ebx, 0xffffffdf
cmp eax, 0x2b
je 0x14001a13c
cmp dword [rsp + 0x4c], 0x2d
jne 0x14001a344
call fcn.14036cfc0
lea ecx, [rax - 0xa]
call fcn.14036cfd0
cmp ebx, 0x43
je 0x14001a152
cmp ebx, 0x44
jne 0x14001a116
cmp dword [rsp + 0x4c], 0x44
mov dword [rsp + 0xc0], 0
jne 0x14001a36d
mov rax, qword [0x14046d118]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov ebx, dword [rax + 0x28c]
add ebx, ebx
test ebx, ebx
mov dword [rsp + 0xc0], ebx
jne 0x14001a5e0
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
mov dword [rsp + 0xc0], 1
mov ebx, 1
nop
mov edx, dword [0x14046d110]
test edx, edx
jle 0x14001a0ca
mov rax, qword [0x14046d118]
sub edx, 1
lea rcx, [rax + rdx*8 + 8]
nop dword [rax]
mov rdx, qword [rax]
add rax, 8
cmp rax, rcx
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + 8]
mov dword [rdx + 0x28c], ebx
jne 0x14001a0b0
mov edx, dword [0x14046d0f0]
test edx, edx
jle 0x14001a0f9
mov rax, qword [0x14046d0f8]
sub edx, 1
lea rcx, [rax + rdx*8 + 8]
mov rdx, qword [rax]
add rax, 8
cmp rcx, rax
mov rdx, qword [rdx + 0x60]
mov dword [rdx + 0x28c], ebx
jne 0x14001a0e3
test ebx, ebx
jne 0x14001a550
call rsi
lea rdx, str.debug_d_n
lea rcx, [rax + 0x60]
mov r8d, ebx
call fcn.140016eb0
cmp dword [rsp + 0x4c], 0x3f
jne 0x140019f50
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.140016eb0
jmp 0x140019f50
call fcn.14036cfc0
lea ecx, [rax + 0xa]
call fcn.14036cfd0
cmp ebx, 0x43
jne 0x14001a030
lea rdi, [rsp + 0x200]
xor eax, eax
mov ecx, 0x20
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
lea r12, [rsp + 0x100]
lea r13, [rsp + 0x80]
mov qword [rsp + 0x58], rdi
xor r14d, r14d
rep stosq qword [rdi], rax
call rsi
lea rdx, str._nEnter_command:__target_all__time__1__command____argument___n
lea rcx, [rax + 0x60]
call fcn.140016eb0
lea rax, [rsp + 0x300]
mov rdi, qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
movsxd r15, r14d
mov ebx, r14d
jmp 0x14001a230
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r12
mov rcx, qword [0x14046d218]
call rdi
test eax, eax
je 0x14001a2e4
mov edx, dword [rsp + 0x100]
test edx, edx
je 0x14001a2e4
xor ecx, ecx
mov r8d, 1
mov rdx, r13
call sub.msvcrt.dll__read
movzx eax, byte [rsp + 0x80]
cmp eax, 0xa
je 0x14001a263
cmp eax, 0xd
je 0x14001a582
cmp ebx, 0xffe
ja 0x14001a582
test eax, eax
jg 0x14001a570
cmp qword [0x14046d218], 0
je 0x14001a311
mov eax, dword [0x14046d210]
test eax, eax
jne 0x14001a1c0
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x14001a2e4
call sub.msvcrt.dll__getch
cmp eax, 0xa
jne 0x14001a213
mov byte [rsp + r15 + 0x300], 0
call rsi
lea rdx, [0x1403c23f1]
lea rcx, [rax + 0x60]
call fcn.140016eb0
mov rax, qword [rsp + 0x58]
lea r12, [rsp + 0x80]
lea r13, [rsp + 0x100]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x78]
lea rdx, str._63_____lf__255_____255__n_
mov qword [rsp + 0x20], r13
mov r8, r12
mov qword [rsp + 0x28], rax
call fcn.140016e80
cmp eax, 2
mov r9d, eax
jg 0x14001a600
mov rax, qword [rsp + 0x50]
lea r8, str.Parse_error__at_least_3_arguments_were_expected__only__d_given_in_string__s_n
mov edx, 0x10
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.14036cf30
jmp 0x14001a116
cmp r14, 0xffe
jbe 0x14001a230
mov byte [rsp + r15 + 0x300], 0
call rsi
lea rdx, [0x1403c23f1]
lea rcx, [rax + 0x60]
call fcn.140016eb0
xor r9d, r9d
jmp 0x14001a2c2
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, qword [rsp + 0x60]
mov qword [0x14046d218], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
sete al
movzx eax, al
mov dword [0x14046d210], eax
jmp 0x14001a244
cmp dword [rsp + 0x4c], 0x73
jne 0x14001a7e6
mov rax, qword [0x140445100]
xor dword [rax], 1
cmp ebx, 0x44
jne 0x14001a116
mov dword [rsp + 0xc0], 0
mov rsi, qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
lea r15, [rsp + 0x100]
lea rdi, [rsp + 0x200]
lea r12, [rsp + 0x80]
xor r13d, r13d
movsxd r14, r13d
mov ebx, r13d
jmp 0x14001a40d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
mov rcx, qword [0x14046d218]
call rsi
test eax, eax
je 0x14001a4a0
mov eax, dword [rsp + 0x200]
test eax, eax
je 0x14001a4a0
xor ecx, ecx
mov r8d, 1
mov rdx, r12
call sub.msvcrt.dll__read
movzx eax, byte [rsp + 0x80]
cmp eax, 0xa
je 0x14001a43c
cmp eax, 0xd
je 0x14001a512
cmp ebx, 0x1e
ja 0x14001a512
test eax, eax
jg 0x14001a501
cmp qword [0x14046d218], 0
je 0x14001a4d0
mov eax, dword [0x14046d210]
test eax, eax
jne 0x14001a3a0
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x14001a4a0
call sub.msvcrt.dll__getch
cmp eax, 0xa
jne 0x14001a3f3
mov byte [rsp + r14 + 0x300], 0
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
call rsi
lea rdx, [0x1403c23f1]
lea rcx, [rax + 0x60]
call fcn.140016eb0
lea rcx, [rsp + 0x300]
lea r8, [rsp + 0xc0]
lea rdx, [0x1403c2ad2]
call fcn.140016e80
cmp eax, 1
je 0x14001a491
call rsi
lea rdx, str.error_parsing_debug_value_n
lea rcx, [rax + 0x60]
call fcn.140016eb0
mov ebx, dword [rsp + 0xc0]
jmp 0x14001a090
cmp r13, 0x1e
jbe 0x14001a40d
mov byte [rsp + r14 + 0x300], 0
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
call rsi
lea rdx, [0x1403c23f1]
lea rcx, [rax + 0x60]
call fcn.140016eb0
jmp 0x14001a47f
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, r15
mov qword [0x14046d218], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
sete al
movzx eax, al
mov dword [0x14046d210], eax
jmp 0x14001a421
mov byte [rsp + r13 + 0x300], al
add r13, 1
jmp 0x14001a38f
mov dword [rsp + 0x50], eax
mov byte [rsp + r14 + 0x300], 0
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
call rsi
lea rdx, [0x1403c23f1]
lea rcx, [rax + 0x60]
call fcn.140016eb0
mov r8d, dword [rsp + 0x50]
test r8d, r8d
jg 0x14001a45e
jmp 0x14001a47f
mov ecx, 0x30
call fcn.14036cfd0
mov ebx, dword [rsp + 0xc0]
jmp 0x14001a101
mov rbx, qword [rsp + 0x50]
mov byte [rbx + r14], al
add r14, 1
jmp 0x14001a1b6
mov dword [rsp + 0x60], eax
mov byte [rsp + r15 + 0x300], 0
call rsi
lea rdx, [0x1403c23f1]
lea rcx, [rax + 0x60]
call fcn.140016eb0
mov r8d, dword [rsp + 0x60]
test r8d, r8d
jg 0x14001a27e
xor r9d, r9d
jmp 0x14001a2c2
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x14001a7a4
call sub.msvcrt.dll__getch
mov dword [rsp + 0x4c], eax
jmp 0x140019ff1
test bl, 0x40
je 0x14001a5f3
add ebx, ebx
test bl, 0x40
jne 0x14001a5e5
mov dword [rsp + 0xc0], ebx
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
jmp 0x14001a090
mov rax, qword [rsp + 0x58]
movsd xmm0, qword [rsp + 0x78]
lea r8, str.Processing_command_target:_s_time:_f_command:_s_arg:_s
xor ecx, ecx
mov qword [rsp + 0x28], r13
movsd qword [rsp + 0x20], xmm0
mov r9, r12
mov edx, 0x30
mov qword [rsp + 0x30], rax
xor r14d, r14d
xor ebx, ebx
call fcn.14036cf30
mov eax, dword [0x1405ee9a0]
lea r15, [0x1405ee998]
test eax, eax
jle 0x14001a116
lea rdi, [rsp + 0xc0]
mov dword [rsp + 0x60], ebp
mov rbp, r14
pxor xmm6, xmm6
mov r14, r15
mov qword [rsp + 0x68], rdi
mov r15, rsi
mov esi, dword [rsp + 0x4c]
jmp 0x14001a6ae
mov r9, qword [rsp + 0x58]
movsd qword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
mov r8, r13
mov rdx, r12
call fcn.14002df10
test eax, eax
mov r9d, eax
js 0x14001a761
mov eax, dword [0x1405ee9a0]
add ebx, 1
add rbp, 8
cmp ebx, eax
jge 0x14001a758
mov rdx, qword [r14]
mov rdx, qword [rdx + rbp]
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x14001a69f
movsd xmm0, qword [rsp + 0x78]
ucomisd xmm6, xmm0
ja 0x14001a6f0
cmp esi, 0x63
jne 0x14001a670
call r15
lea rdx, str.Queuing_commands_only_on_filters_supporting_the_specific_command_is_unsupported_n
lea rcx, [rax + 0x60]
call fcn.140016eb0
mov eax, dword [0x1405ee9a0]
jmp 0x14001a69f
xor eax, eax
cmp esi, 0x63
mov r9, qword [rsp + 0x58]
sete al
mov r8, r13
mov rdx, r12
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x50]
mov dword [rsp + 0x28], 0x1000
mov qword [rsp + 0x20], rax
call fcn.14002dd80
mov edi, eax
call r15
lea rcx, [rax + 0x60]
mov rax, qword [rsp + 0x50]
lea rdx, str.Command_reply_for_stream__d:_ret:_d_res:_n_s
mov r9d, edi
mov r8d, ebx
mov qword [rsp + 0x20], rax
call fcn.140016eb0
mov eax, dword [0x1405ee9a0]
jmp 0x14001a69f
mov ebp, 0xabb6a7bb
jmp 0x140019f50
mov ebp, dword [rsp + 0x60]
jmp 0x14001a116
lea rdi, [rsp + 0xc0]
xor eax, eax
mov ecx, 8
mov r8d, 0x40
rep stosq qword [rdi], rax
mov rdi, qword [rsp + 0x68]
mov ecx, r9d
mov rdx, rdi
call fcn.1403561a0
call r15
lea rdx, str.Queuing_command_failed_with_error__s_n
lea rcx, [rax + 0x60]
mov r8, rdi
call fcn.140016eb0
jmp 0x14001a699
mov qword [0x14046d220], rbx
jmp 0x140019f50
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rsp + 0x200]
mov qword [0x14046d218], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
sete al
movzx eax, al
mov dword [0x14046d210], eax
jmp 0x140019f84
cmp dword [rsp + 0x4c], 0x68
jne 0x14001a149
mov rax, qword [0x140440610]
mov rdx, qword [0x140440620]
mov r8d, dword [rax]
test r8d, r8d
je 0x14001a822
mov dword [rdx], 0
mov dword [rax], 0
mov ecx, 0x30
call fcn.14036cfd0
jmp 0x14001a359
mov ecx, dword [rdx]
test ecx, ecx
je 0x14001a830
mov dword [rax], 1
jmp 0x14001a813
mov dword [rdx], 1
jmp 0x14001a813