Function at 0x1400428a0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
mov ebp, dword [rsp + 0x1d0]
lea rdi, [rcx + 0xc]
mov eax, ecx
mov rbx, rcx
mov r13, rdx
and rdi, 0xfffffffffffffff8
mov rdx, qword [rsp + 0x1c8]
mov r12, r9
mov r14, r8
sub eax, edi
mov qword [rcx + 4], 0
mov qword [rcx + 0x58], 0
lea ecx, [rax + 0x60]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
mov dword [rbx], edx
lea rcx, [rdx + 0x800]
call dbg.MALLOC
mov r8d, dword [rbx]
mov rdx, qword [rsp + 0x1c0]
mov qword [rbx + 0x10], rax
mov rcx, rax
call sym.memcpy
mov rsi, qword [rbx + 0x10]
mov edx, dword [rbx]
lea r9, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
call dbg.preprocess_frame
test eax, eax
je 0x140042eca
mov edx, dword [rsp + 0xb8]
test edx, edx
je 0x140042eca
mov ecx, dword [rsp + 0xa0]
mov eax, dword [rsp + 0x48]
mov dword [rbx + 8], ecx
mov ecx, dword [rsp + 0xb0]
mov dword [rbx + 4], eax
mov dword [rbx + 0xc], ecx
cmp edx, 0x11
je 0x140042b90
add eax, dword [rsp + 0x54]
mov dword [rbx], eax
mov eax, dword [r14]
mov edx, dword [r13]
mov dword [rsi], eax
movzx eax, word [r14 + 4]
mov dword [rsi + 6], edx
mov word [rsi + 4], ax
movzx eax, word [r13 + 4]
mov word [rsi + 0xa], ax
mov rcx, qword [rsp + 0x60]
mov dword [rcx], 0
mov rcx, qword [rsp + 0x68]
mov dword [rcx], 0
cmp dword [rsp + 0xb8], 0x11
je 0x140042b60
mov eax, dword [rbx + 4]
xor r10d, r10d
xor r11d, r11d
mov word [rsi + rax + 4], r10w
mov eax, dword [rbx + 4]
mov word [rsi + rax + 0xa], r11w
mov eax, dword [rbx + 4]
mov qword [rsi + rax + 0xc], 0
mov edi, dword [rbx]
mov r11, qword [rbx + 0x10]
mov edx, dword [rbx + 4]
mov r8d, edi
mov rcx, r11
call dbg.ip_header_checksum
mov dword [rbx + 0x18], eax
mov eax, dword [rsp + 0x50]
cmp eax, 0x11
je 0x140042e30
ja 0x140042ba0
cmp eax, 1
je 0x140042d50
cmp eax, 6
jne 0x140042bc1
mov eax, dword [rbx + 8]
xor r9d, r9d
mov qword [rsi + rax], 0
mov eax, dword [rbx + 8]
mov word [rsi + rax + 0x10], r9w
mov eax, dword [rbx + 4]
mov r8, qword [rbx + 0x10]
mov r10d, dword [rbx + 0xc]
lea ecx, [rax + 0xc]
lea r11d, [rax + 0xd]
mov edx, dword [rbx + 8]
movzx ecx, byte [r8 + rcx]
movzx r11d, byte [r8 + r11]
mov r9d, r10d
sub r9d, edx
shl ecx, 8
or ecx, r11d
lea r11d, [rax + 0xf]
lea r9d, [r9 + rcx + 6]
lea ecx, [rax + 0xe]
movzx r11d, byte [r8 + r11]
movzx ecx, byte [r8 + rcx]
shl ecx, 8
or ecx, r11d
lea r11d, [rax + 0x11]
add ecx, r9d
lea r9d, [rax + 0x10]
movzx r11d, byte [r8 + r11]
movzx r9d, byte [r8 + r9]
shl r9d, 8
or r9d, r11d
add r9d, ecx
lea ecx, [rax + 0x12]
add eax, 0x13
movzx ecx, byte [r8 + rcx]
movzx eax, byte [r8 + rax]
shl ecx, 8
or ecx, eax
add ecx, r9d
cmp edx, r10d
jae 0x140042ae0
nop word cs:[rax + rax]
nop dword [rax + rax]
mov eax, edx
lea r9d, [rdx + 1]
add edx, 2
movzx eax, byte [r8 + rax]
movzx r9d, byte [r8 + r9]
shl eax, 8
or eax, r9d
add ecx, eax
cmp edx, r10d
jb 0x140042ac0
movzx edx, cx
shr ecx, 0x10
mov dword [rbx + 0x50], 0
add edx, ecx
movzx eax, dx
shr edx, 0x10
add eax, edx
movzx edx, ax
shr eax, 0x10
add eax, edx
mov dword [rbx + 0x1c], eax
test ebp, ebp
jne 0x140042bc9
nop word [rax + rax]
mov eax, dword [rbx]
mov edx, dword [rbx + 4]
mov rcx, qword [rbx + 0x10]
lea r8d, [rax + 4]
mov eax, dword [rbx + 8]
sub r8d, edx
add eax, 4
mov dword [rbx], r8d
sub eax, edx
mov dword [rbx + 8], eax
mov eax, dword [rbx + 0xc]
add eax, 4
sub eax, edx
add rdx, rcx
add rcx, 4
mov dword [rbx + 0xc], eax
call sym.memmove
mov rax, qword [rbx + 0x10]
mov dword [rbx + 4], 4
mov dword [rax], 2
jmp 0x140042bdb
mov rcx, qword [rsp + 0x60]
mov dword [rcx - 6], edx
mov word [rcx - 2], ax
mov dword [rbx + 0x50], 5
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add eax, 0x1c
jmp 0x140042972
cmp eax, 0x84
jne 0x140042bc1
mov eax, dword [rbx + 8]
mov edx, edi
sub edx, eax
lea rcx, [r11 + rax]
call dbg.sctp_checksum
mov dword [rbx + 0x50], 2
mov dword [rbx + 0x1c], eax
test ebp, ebp
je 0x140042b10
cmp ebp, 0xc
je 0x140042e68
cmp ebp, 1
jne 0x140042efa
mov eax, dword [r12]
mov rcx, qword [rbx + 0x38]
mov dword [rsp + 0x2a], eax
movzx eax, word [r12 + 4]
mov word [rsp + 0x2e], ax
test rcx, rcx
je 0x140042c10
call sym.free
mov qword [rbx + 0x48], 0
pxor xmm0, xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
lea r13, [rsp + 0xc0]
mov edx, dword [rbx]
mov rcx, qword [rbx + 0x10]
mov r8d, ebp
mov r9, r13
call dbg.preprocess_frame
test eax, eax
je 0x140042eca
mov ecx, dword [rsp + 0x148]
test ecx, ecx
je 0x140042eca
mov eax, dword [rbx]
mov r12d, dword [rbx + 8]
mov edi, dword [rbx + 4]
lea ecx, [rax + 0x28]
mov r14d, eax
call dbg.MALLOC
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rbx]
sub r14d, r12d
mov rsi, rax
mov rcx, rax
call sym.memcpy
mov qword [rbx + 0x38], rsi
lea ecx, [rdi + 0x28]
mov edx, r12d
mov r15, rcx
add rdx, rsi
add rcx, rsi
mov r8d, r14d
add r15d, r14d
call sym.memmove
pxor xmm0, xmm0
mov rcx, rax
mov eax, edi
add rax, rsi
mov qword [rax + 0x20], 0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov dword [rbx + 0x28], r15d
test ebp, ebp
je 0x140042e20
cmp ebp, 1
jne 0x140042ccb
mov edx, dword [rsp + 0x2a]
mov dword [rsi], edx
movzx edx, word [rsp + 0x2e]
mov word [rsi + 4], dx
mov edx, 0xffffdd86
mov word [rsi + 0xc], dx
mov byte [rax], 0x60
mov edx, r14d
lea eax, [rdi + 4]
mov byte [rsi + rax], dh
lea eax, [rdi + 5]
mov byte [rsi + rax], r14b
lea eax, [rdi + 6]
mov edx, dword [rsp + 0xe0]
add rax, rsi
mov byte [rax], dl
cmp dword [rsp + 0xe0], 1
je 0x140042e00
lea eax, [rdi + 7]
mov r9, r13
mov r8d, ebp
mov rcx, rsi
mov byte [rsi + rax], 0xff
mov edx, dword [rbx + 0x28]
call dbg.preprocess_frame
test eax, eax
je 0x140042ee2
mov eax, dword [rsp + 0x148]
test eax, eax
je 0x140042ee2
mov eax, dword [rsp + 0xd8]
mov dword [rbx + 0x2c], eax
mov eax, dword [rsp + 0x130]
mov dword [rbx + 0x30], eax
mov eax, dword [rsp + 0x140]
mov dword [rbx + 0x34], eax
jmp 0x140042b73
mov edx, dword [rbx + 8]
mov dword [rbx + 0xc], edi
sub edi, edx
je 0x140042ec0
xor ecx, ecx
xor r9d, r9d
lea r10d, [rdx + 1]
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop dword [rax]
lea eax, [r9 + rdx]
lea r8d, [r10 + r9]
add r9d, 2
movzx eax, byte [r11 + rax]
movzx r8d, byte [r11 + r8]
shl eax, 8
or eax, r8d
cdqe
add rcx, rax
cmp r9d, edi
jb 0x140042d80
lea eax, [r9 + rdx - 1]
and edi, 1
movzx eax, byte [r11 + rax]
neg rdi
and rax, rdi
sub rcx, rax
movzx eax, cx
shr rcx, 0x10
add rcx, rax
movzx eax, cx
shr rcx, 0x10
add rax, rcx
movzx ecx, ax
shr rax, 0x10
add rax, rcx
mov dword [rbx + 0x1c], eax
movzx eax, byte [rsi + rdx]
cmp al, 8
je 0x140042eb0
cmp al, 0xd
jne 0x140042bc1
mov dword [rbx + 0x50], 4
jmp 0x140042bc1
mov byte [rax], 0x3a
test r14d, r14d
je 0x140042cfb
cmp byte [rcx], 8
jne 0x140042cfb
mov byte [rcx], pe_nt_image_headers64
jmp 0x140042cfb
mov dword [rsi], 0x17
jmp 0x140042ccb
mov eax, dword [rbx + 8]
xor r8d, r8d
mov word [rsi + rax + 6], r8w
mov r8d, dword [rbx + 8]
mov r9d, dword [rbx]
mov edx, dword [rbx + 4]
mov rcx, qword [rbx + 0x10]
sub r9d, r8d
call dbg.udp_checksum2
mov dword [rbx + 0x50], 1
mov dword [rbx + 0x1c], eax
jmp 0x140042bc1
movq xmm0, qword [rbx]
mov r8d, dword [rbx]
movq xmm1, qword [rbx + 8]
mov rcx, qword [rbx + 0x10]
pshufd xmm2, xmm0, 0xe5
pshufd xmm0, xmm0, 0xe5
movd edx, xmm2
sub r8d, edx
psubd xmm1, xmm0
add rdx, rcx
mov dword [rbx], r8d
movq qword [rbx + 8], xmm1
call sym.memmove
mov dword [rbx + 4], 0
jmp 0x140042bdb
mov dword [rbx + 0x50], 3
jmp 0x140042bc1
xor r9d, r9d
xor ecx, ecx
jmp 0x140042da6
xor ecx, ecx
lea rdx, str.ERROR:_bad_packet_template_n
call dbg.LOG
mov ecx, 1
call sym.exit
xor ecx, ecx
lea rdx, str.____FAILED:_bad_packet_template_n
call dbg.LOG
mov ecx, 1
call sym.exit
lea rdx, str.____FAILED:_bad_packet_template__unknown_data_link_type_n
xor ecx, ecx
call dbg.LOG
xor ecx, ecx
lea rdx, str._____hint__masscan_doesnt_know_how_to_format_packets_for_this_interface_n
call dbg.LOG
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]