Function at 0x14003cfd0
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
movzx eax, byte [global_pl]
mov rsi, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.NPcapPacket.dll
and eax, 0xfffffff9
or eax, 4
mov byte [global_pl], al
call rsi
test rax, rax
je 0x14003d3c0
lea rcx, str.Npcapwpcap.dll
call rsi
mov rbx, rax
test rax, rax
je 0x14003d420
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.pcap_close
mov rcx, rbx
call rsi
mov qword [sym.null_PCAP_CLOSE], rax
test rax, rax
je 0x14003d630
lea rdx, str.pcap_datalink
mov rcx, rbx
call rsi
mov qword [0x14004fc38], rax
test rax, rax
je 0x14003d670
lea rdx, str.pcap_dispatch
mov rcx, rbx
call rsi
mov qword [0x14004fc40], rax
test rax, rax
je 0x14003d650
lea rdx, str.pcap_findalldevs
mov rcx, rbx
call rsi
mov qword [0x14004fc48], rax
test rax, rax
je 0x14003d6f0
lea rdx, str.pcap_freealldevs
mov rcx, rbx
call rsi
mov qword [0x14004fc50], rax
test rax, rax
je 0x14003d6d0
lea rdx, str.pcap_lib_version
mov rcx, rbx
call rsi
mov qword [0x14004fc60], rax
test rax, rax
je 0x14003d6b0
lea rdx, str.pcap_lookupdev
mov rcx, rbx
call rsi
mov qword [0x14004fc58], rax
test rax, rax
je 0x14003d690
lea rdx, str.pcap_major_version
mov rcx, rbx
call rsi
mov qword [0x14004fc68], rax
test rax, rax
je 0x14003d7f0
lea rdx, str.pcap_minor_version
mov rcx, rbx
call rsi
mov qword [0x14004fc70], rax
test rax, rax
je 0x14003d7d0
lea rdx, str.pcap_open_live
mov rcx, rbx
call rsi
mov qword [0x14004fc78], rax
test rax, rax
je 0x14003d7b0
lea rdx, str.pcap_open_offline
mov rcx, rbx
call rsi
mov qword [0x14004fc80], rax
test rax, rax
je 0x14003d790
lea rdx, str.pcap_sendpacket
mov rcx, rbx
call rsi
mov qword [0x14004fc88], rax
test rax, rax
je 0x14003d770
lea rdx, str.pcap_next
mov rcx, rbx
call rsi
mov qword [0x14004fc90], rax
test rax, rax
je 0x14003d750
lea rdx, str.pcap_setdirection
mov rcx, rbx
call rsi
mov qword [0x14004fc98], rax
test rax, rax
je 0x14003d730
lea rdx, str.pcap_datalink_val_to_name
mov rcx, rbx
call rsi
mov qword [0x14004fca0], rax
test rax, rax
je 0x14003d710
lea rdx, str.pcap_perror
mov rcx, rbx
call rsi
mov qword [0x14004fca8], rax
test rax, rax
je 0x14003d5f0
lea rdx, str.pcap_geterr
mov rcx, rbx
call rsi
mov qword [0x14004fcb0], rax
test rax, rax
je 0x14003d5d0
lea rax, [dbg.null_PCAP_DEV_DESCRIPTION]
lea rdi, [dbg.null_PCAP_DEV_NAME]
mov rcx, rbx
movq xmm1, rax
movq xmm0, rdi
lea rax, [dbg.null_PCAP_DEV_NEXT]
punpcklqdq xmm0, xmm1
mov qword [0x14004fcc8], rax
lea rdx, str.pcap_sendqueue_alloc
movups xmmword [0x14004fcb8], xmm0
call rsi
mov qword [0x14004fcd0], rax
test rax, rax
je 0x14003d5b0
lea rdx, str.pcap_sendqueue_transmit
mov rcx, rbx
call rsi
mov qword [0x14004fcd8], rax
test rax, rax
je 0x14003d590
lea rdx, str.pcap_sendqueue_destroy
mov rcx, rbx
call rsi
mov qword [0x14004fce0], rax
test rax, rax
je 0x14003d570
lea rdx, str.pcap_sendqueue_queue
mov rcx, rbx
call rsi
mov qword [0x14004fce8], rax
test rax, rax
je 0x14003d550
lea rdx, str.pcap_create
mov rcx, rbx
call rsi
mov qword [0x14004fcf0], rax
test rax, rax
je 0x14003d530
lea rdx, str.pcap_set_snaplen
mov rcx, rbx
call rsi
mov qword [0x14004fcf8], rax
test rax, rax
je 0x14003d510
lea rdx, str.pcap_set_promisc
mov rcx, rbx
call rsi
mov qword [0x14004fd00], rax
test rax, rax
je 0x14003d4f0
lea rdx, str.pcap_set_timeout
mov rcx, rbx
call rsi
mov qword [0x14004fd08], rax
test rax, rax
je 0x14003d4d0
lea rdx, str.pcap_set_immediate_mode
mov rcx, rbx
call rsi
mov qword [0x14004fd10], rax
test rax, rax
je 0x14003d4b0
lea rdx, str.pcap_set_buffer_size
mov rcx, rbx
call rsi
mov qword [0x14004fd18], rax
test rax, rax
je 0x14003d490
lea rdx, str.pcap_set_rfmon
mov rcx, rbx
call rsi
mov qword [0x14004fd20], rax
test rax, rax
je 0x14003d470
lea rdx, str.pcap_can_set_rfmon
mov rcx, rbx
call rsi
mov qword [0x14004fd28], rax
test rax, rax
je 0x14003d450
lea rdx, str.pcap_activate
mov rcx, rbx
call rsi
mov qword [0x14004fd30], rax
test rax, rax
je 0x14003d610
movzx edx, byte [global_pl]
mov ecx, edx
mov eax, edx
and ecx, 0xfffffffd
or eax, 2
and edx, 1
cmovne eax, ecx
mov byte [global_pl], al
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rbx, str.Packet.dll
mov rcx, rbx
call rsi
test rax, rax
jne 0x14003d003
test byte [0x14004fc20], 4
je 0x14003d003
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rsi
cmp eax, 0x7e
je 0x14003d837
call rsi
mov ecx, 2
mov esi, eax
call qword [dbg.__acrt_iob_func]
mov r9d, esi
mov r8, rbx
lea rdx, str._s:_couldnt_load__d_n
mov rcx, rax
call sym.fprintf_35
jmp 0x14003d445
lea rdi, str.wpcap.dll
mov rcx, rdi
call rsi
mov rbx, rax
test rax, rax
jne 0x14003d018
test byte [0x14004fc20], 4
jne 0x14003d80a
or eax, 0xffffffff
jmp 0x14003d3b7
lea rax, [sym.null_PCAP_CAN_SET_RFMON]
or byte [0x14004fc20], 1
mov qword [0x14004fd28], rax
jmp 0x14003d37c
lea rax, [sym.null_PCAP_SET_RFMON]
or byte [0x14004fc20], 1
mov qword [0x14004fd20], rax
jmp 0x14003d360
lea rax, [sym.null_PCAP_SET_BUFFER_SIZE]
or byte [0x14004fc20], 1
mov qword [0x14004fd18], rax
jmp 0x14003d344
lea rax, [sym.null_PCAP_SET_IMMEDIATE_MODE]
or byte [0x14004fc20], 1
mov qword [0x14004fd10], rax
jmp 0x14003d328
lea rax, [sym.null_PCAP_SET_TIMEOUT]
or byte [0x14004fc20], 1
mov qword [0x14004fd08], rax
jmp 0x14003d30c
lea rax, [sym.null_PCAP_SET_PROMISC]
or byte [0x14004fc20], 1
mov qword [0x14004fd00], rax
jmp 0x14003d2f0
lea rax, [sym.null_PCAP_SET_SNAPLEN]
or byte [0x14004fc20], 1
mov qword [0x14004fcf8], rax
jmp 0x14003d2d4
lea rax, [dbg.null_PCAP_CREATE]
or byte [0x14004fc20], 1
mov qword [0x14004fcf0], rax
jmp 0x14003d2b8
lea rax, [dbg.null_PCAP_SENDQUEUE_QUEUE]
or byte [0x14004fc20], 1
mov qword [0x14004fce8], rax
jmp 0x14003d29c
lea rax, [dbg.null_PCAP_SENDQUEUE_DESTROY]
or byte [0x14004fc20], 1
mov qword [0x14004fce0], rax
jmp 0x14003d280
lea rax, [dbg.null_PCAP_SENDQUEUE_TRANSMIT]
or byte [0x14004fc20], 1
mov qword [0x14004fcd8], rax
jmp 0x14003d264
lea rax, [dbg.null_PCAP_SENDQUEUE_ALLOC]
or byte [0x14004fc20], 1
mov qword [0x14004fcd0], rax
jmp 0x14003d248
lea rax, [dbg.null_PCAP_GETERR]
or byte [0x14004fc20], 1
mov qword [0x14004fcb0], rax
jmp 0x14003d1fb
lea rax, [dbg.null_PCAP_PERROR]
or byte [0x14004fc20], 1
mov qword [0x14004fca8], rax
jmp 0x14003d1df
lea rax, [sym.null_PCAP_ACTIVATE]
or byte [0x14004fc20], 1
mov qword [0x14004fd30], rax
jmp 0x14003d398
lea rax, [sym.null_PCAP_CLOSE]
or byte [0x14004fc20], 1
mov qword [sym.null_PCAP_CLOSE], rax
jmp 0x14003d03b
lea rax, [dbg.null_PCAP_DISPATCH]
or byte [0x14004fc20], 1
mov qword [0x14004fc40], rax
jmp 0x14003d073
lea rax, [dbg.null_PCAP_DATALINK]
or byte [0x14004fc20], 1
mov qword [0x14004fc38], rax
jmp 0x14003d057
lea rax, [dbg.null_PCAP_LOOKUPDEV]
or byte [0x14004fc20], 1
mov qword [0x14004fc58], rax
jmp 0x14003d0e3
lea rax, [dbg.null_PCAP_LIB_VERSION]
or byte [0x14004fc20], 1
mov qword [0x14004fc60], rax
jmp 0x14003d0c7
lea rax, [sym.null_PCAP_FREEALLDEVS]
or byte [0x14004fc20], 1
mov qword [0x14004fc50], rax
jmp 0x14003d0ab
lea rax, [dbg.null_PCAP_FINDALLDEVS]
or byte [0x14004fc20], 1
mov qword [0x14004fc48], rax
jmp 0x14003d08f
lea rax, [dbg.null_PCAP_DATALINK_VAL_TO_NAME]
or byte [0x14004fc20], 1
mov qword [0x14004fca0], rax
jmp 0x14003d1c3
lea rax, [dbg.null_PCAP_SETDIRECTION]
or byte [0x14004fc20], 1
mov qword [0x14004fc98], rax
jmp 0x14003d1a7
lea rax, [sym.null_PCAP_NEXT]
or byte [0x14004fc20], 1
mov qword [0x14004fc90], rax
jmp 0x14003d18b
lea rax, [dbg.null_PCAP_SENDPACKET]
or byte [0x14004fc20], 1
mov qword [0x14004fc88], rax
jmp 0x14003d16f
lea rax, [sym.null_PCAP_OPEN_OFFLINE]
or byte [0x14004fc20], 1
mov qword [0x14004fc80], rax
jmp 0x14003d153
lea rax, [dbg.null_PCAP_OPEN_LIVE]
or byte [0x14004fc20], 1
mov qword [0x14004fc78], rax
jmp 0x14003d137
lea rax, [sym.null_PCAP_MINOR_VERSION]
or byte [0x14004fc20], 1
mov qword [0x14004fc70], rax
jmp 0x14003d11b
lea rax, [sym.null_PCAP_MAJOR_VERSION]
or byte [0x14004fc20], 1
mov qword [0x14004fc68], rax
jmp 0x14003d0ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [dbg.__acrt_iob_func]
mov r9d, ebx
mov r8, rdi
lea rdx, str._s:_couldnt_load__d_n
mov rcx, rax
call sym.fprintf_35
jmp 0x14003d445
mov rsi, qword [dbg.__acrt_iob_func]
mov ecx, 2
call rsi
mov r8, rbx
lea rdx, str._s:_not_found_n
mov rcx, rax
call sym.fprintf_35
mov ecx, 2
call rsi
lea rdx, str.__HINT:_you_must_install_either_WinPcap_or_Npcap_n
mov rcx, rax
call sym.fprintf_35
jmp 0x14003d445