Function at 0x140065d90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x220
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
lea rcx, [0x1401a57a6]
call fcn.14006b9e0
mov r8d, 0x60
xor edx, edx
mov rcx, qword [rbp + 0x220]
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x220]
mov ecx, dword [rbp + 0x248]
mov dword [rax], ecx
mov rax, qword [rbp + 0x248]
add rax, 0x800
mov rcx, rax
call fcn.14006b410
mov rcx, qword [rbp + 0x220]
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax]
mov r8d, eax
mov rdx, qword [rbp + 0x240]
mov rax, qword [rbp + 0x220]
mov rcx, qword [rax + 0x10]
call sub.VCRUNTIME140D.dll_memcpy
mov rax, qword [rbp + 0x220]
mov rax, qword [rax + 0x10]
mov qword [rbp + 8], rax
lea r9, [rbp + 0x30]
mov r8d, 1
mov rax, qword [rbp + 0x220]
mov edx, dword [rax]
mov rcx, qword [rbp + 8]
call fcn.140045570
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 0
je 0x140065e81
cmp dword [rbp + 0xb8], 0
jne 0x140065e9a
lea rdx, str.ERROR:_bad_packet_template_n
xor ecx, ecx
call fcn.14002f7e0
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov rax, qword [rbp + 0x220]
mov ecx, dword [rbp + 0x48]
mov dword [rax + 4], ecx
mov rax, qword [rbp + 0x220]
mov ecx, dword [rbp + 0xa0]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0x220]
mov ecx, dword [rbp + 0xb0]
mov dword [rax + 0xc], ecx
cmp dword [rbp + 0xb8], 0x11
jne 0x140065ee1
mov eax, dword [rbp + 0x48]
add eax, 0x1c
mov rcx, qword [rbp + 0x220]
mov dword [rcx], eax
jmp 0x140065ef4
mov eax, dword [rbp + 0x54]
mov ecx, dword [rbp + 0x48]
add ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x220]
mov dword [rcx], eax
mov rax, qword [rbp + 0x230]
mov r8d, 6
mov rdx, rax
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140D.dll_memcpy
mov rax, qword [rbp + 0x228]
mov rcx, qword [rbp + 8]
add rcx, 6
mov r8d, 6
mov rdx, rax
call sub.VCRUNTIME140D.dll_memcpy
mov r8d, 4
xor edx, edx
mov rcx, qword [rbp + 0x60]
call sub.VCRUNTIME140D.dll_memset
mov r8d, 4
xor edx, edx
mov rcx, qword [rbp + 0x68]
call sub.VCRUNTIME140D.dll_memset
cmp dword [rbp + 0xb8], 0x11
jne 0x140065f85
mov rax, qword [rbp + 0x228]
mov rcx, qword [rbp + 0x60]
sub rcx, 6
mov r8d, 6
mov rdx, rax
call sub.VCRUNTIME140D.dll_memcpy
mov rax, qword [rbp + 0x220]
mov dword [rax + 0x50], 5
jmp 0x1400663f7
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 4]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax + 4]
mov r8d, 2
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 4]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax + 0xa]
mov r8d, 2
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 4]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax + 0xc]
mov r8d, 8
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x220]
mov r8d, dword [rax]
mov rax, qword [rbp + 0x220]
mov edx, dword [rax + 4]
mov rax, qword [rbp + 0x220]
mov rcx, qword [rax + 0x10]
call fcn.140066980
mov rcx, qword [rbp + 0x220]
mov dword [rcx + 0x18], eax
mov eax, dword [rbp + 0x50]
mov dword [rbp + 0x1f4], eax
cmp dword [rbp + 0x1f4], 1
je 0x14006605d
cmp dword [rbp + 0x1f4], 6
je 0x1400660da
cmp dword [rbp + 0x1f4], 0x11
je 0x14006614a
cmp dword [rbp + 0x1f4], 0x84
je 0x140066193
jmp 0x1400661de
mov rax, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx]
mov dword [rax + 0xc], ecx
mov rcx, qword [rbp + 0x220]
call fcn.140066920
mov rcx, qword [rbp + 0x220]
mov dword [rcx + 0x1c], eax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 8]
mov rcx, qword [rbp + 8]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x1f4], al
cmp byte [rbp + 0x1f4], 8
je 0x1400660b2
cmp byte [rbp + 0x1f4], 0xd
je 0x1400660c2
jmp 0x1400660d0
mov rax, qword [rbp + 0x220]
mov dword [rax + 0x50], 3
jmp 0x1400660d0
mov rax, qword [rbp + 0x220]
mov dword [rax + 0x50], 4
jmp 0x1400661de
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 8]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov r8d, 8
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 8]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax + 0x10]
mov r8d, 2
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140D.dll_memset
mov rcx, qword [rbp + 0x220]
call fcn.140067dc0
mov rcx, qword [rbp + 0x220]
mov dword [rcx + 0x1c], eax
mov rax, qword [rbp + 0x220]
mov dword [rax + 0x50], 0
jmp 0x1400661de
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 8]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax + 6]
mov r8d, 2
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140D.dll_memset
mov rcx, qword [rbp + 0x220]
call fcn.14006a9c0
mov rcx, qword [rbp + 0x220]
mov dword [rcx + 0x1c], eax
mov rax, qword [rbp + 0x220]
mov dword [rax + 0x50], 1
jmp 0x1400661de
mov rax, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx + 8]
mov eax, dword [rax]
sub eax, ecx
mov eax, eax
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx + 8]
mov rdx, qword [rbp + 0x220]
add rcx, qword [rdx + 0x10]
mov edx, eax
call fcn.140021d70
mov rcx, qword [rbp + 0x220]
mov dword [rcx + 0x1c], eax
mov rax, qword [rbp + 0x220]
mov dword [rax + 0x50], 2
cmp dword [rbp + 0x250], 0
jne 0x1400662e4
mov dword [rbp + 0xf4], 2
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 4]
sub rax, 4
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x220]
mov dword [rcx], eax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 4]
sub rax, 4
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x220]
mov dword [rcx + 8], eax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 4]
sub rax, 4
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx + 0xc]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x220]
mov dword [rcx + 0xc], eax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx + 4]
mov rdx, qword [rbp + 0x220]
add rcx, qword [rdx + 0x10]
mov rdx, qword [rbp + 0x220]
mov rdx, qword [rdx + 0x10]
add rdx, 4
mov qword [rbp + 0x1f8], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rbp + 0x1f8]
mov rcx, rax
call sub.VCRUNTIME140D.dll_memmove
mov rax, qword [rbp + 0x220]
mov dword [rax + 4], 4
mov r8d, 4
lea rdx, [rbp + 0xf4]
mov rax, qword [rbp + 0x220]
mov rcx, qword [rax + 0x10]
call sub.VCRUNTIME140D.dll_memcpy
jmp 0x1400663c5
cmp dword [rbp + 0x250], 0xc
jne 0x140066393
mov rax, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx + 4]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rbp + 0x220]
mov dword [rcx], eax
mov rax, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx + 4]
mov eax, dword [rax + 8]
sub eax, ecx
mov rcx, qword [rbp + 0x220]
mov dword [rcx + 8], eax
mov rax, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx + 4]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov rcx, qword [rbp + 0x220]
mov dword [rcx + 0xc], eax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x220]
mov ecx, dword [rcx + 4]
mov rdx, qword [rbp + 0x220]
add rcx, qword [rdx + 0x10]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rbp + 0x220]
mov rcx, qword [rax + 0x10]
call sub.VCRUNTIME140D.dll_memmove
mov rax, qword [rbp + 0x220]
mov dword [rax + 4], 0
jmp 0x1400663c5
cmp dword [rbp + 0x250], 1
jne 0x14006639e
jmp 0x1400663c5
lea rdx, str.____FAILED:_bad_packet_template__unknown_data_link_type_n
xor ecx, ecx
call fcn.14002f7e0
lea rdx, str._____hint__masscan_doesnt_know_how_to_format_packets_for_this_interface_n
xor ecx, ecx
call fcn.14002f7e0
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rax, [rbp + 0x1e0]
mov rdi, rax
mov rsi, qword [rbp + 0x238]
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
mov r8d, dword [rbp + 0x250]
lea rdx, [rbp + 0x1e0]
mov rcx, qword [rbp + 0x220]
call fcn.140066420
lea rcx, [rbp - 0x20]
lea rdx, [0x140092c20]
call fcn.14006b950
lea rsp, [rbp + 0x200]
pop rdi
pop rsi
pop rbp
ret