Function at 0x14003ba10
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 0x14003be00
lea rcx, str.Npcapwpcap.dll
call rsi
mov rbx, rax
test rax, rax
je 0x14003be60
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 0x14003c070
lea rdx, str.pcap_datalink
mov rcx, rbx
call rsi
mov qword [0x14004ca38], rax
test rax, rax
je 0x14003c0b0
lea rdx, str.pcap_dispatch
mov rcx, rbx
call rsi
mov qword [0x14004ca40], rax
test rax, rax
je 0x14003c090
lea rdx, str.pcap_findalldevs
mov rcx, rbx
call rsi
mov qword [0x14004ca48], rax
test rax, rax
je 0x14003c130
lea rdx, str.pcap_freealldevs
mov rcx, rbx
call rsi
mov qword [0x14004ca50], rax
test rax, rax
je 0x14003c110
lea rdx, str.pcap_lib_version
mov rcx, rbx
call rsi
mov qword [0x14004ca60], rax
test rax, rax
je 0x14003c0f0
lea rdx, str.pcap_lookupdev
mov rcx, rbx
call rsi
mov qword [0x14004ca58], rax
test rax, rax
je 0x14003c0d0
lea rdx, str.pcap_major_version
mov rcx, rbx
call rsi
mov qword [0x14004ca68], rax
test rax, rax
je 0x14003c230
lea rdx, str.pcap_minor_version
mov rcx, rbx
call rsi
mov qword [0x14004ca70], rax
test rax, rax
je 0x14003c210
lea rdx, str.pcap_open_live
mov rcx, rbx
call rsi
mov qword [0x14004ca78], rax
test rax, rax
je 0x14003c1f0
lea rdx, str.pcap_open_offline
mov rcx, rbx
call rsi
mov qword [0x14004ca80], rax
test rax, rax
je 0x14003c1d0
lea rdx, str.pcap_sendpacket
mov rcx, rbx
call rsi
mov qword [0x14004ca88], rax
test rax, rax
je 0x14003c1b0
lea rdx, str.pcap_next
mov rcx, rbx
call rsi
mov qword [0x14004ca90], rax
test rax, rax
je 0x14003c190
lea rdx, str.pcap_setdirection
mov rcx, rbx
call rsi
mov qword [0x14004ca98], rax
test rax, rax
je 0x14003c170
lea rdx, str.pcap_datalink_val_to_name
mov rcx, rbx
call rsi
mov qword [0x14004caa0], rax
test rax, rax
je 0x14003c150
lea rdx, str.pcap_perror
mov rcx, rbx
call rsi
mov qword [0x14004caa8], rax
test rax, rax
je 0x14003c030
lea rdx, str.pcap_geterr
mov rcx, rbx
call rsi
mov qword [0x14004cab0], rax
test rax, rax
je 0x14003c010
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 [0x14004cac8], rax
lea rdx, str.pcap_sendqueue_alloc
movups xmmword [0x14004cab8], xmm0
call rsi
mov qword [0x14004cad0], rax
test rax, rax
je 0x14003bff0
lea rdx, str.pcap_sendqueue_transmit
mov rcx, rbx
call rsi
mov qword [0x14004cad8], rax
test rax, rax
je 0x14003bfd0
lea rdx, str.pcap_sendqueue_destroy
mov rcx, rbx
call rsi
mov qword [0x14004cae0], rax
test rax, rax
je 0x14003bfb0
lea rdx, str.pcap_sendqueue_queue
mov rcx, rbx
call rsi
mov qword [0x14004cae8], rax
test rax, rax
je 0x14003bf90
lea rdx, str.pcap_create
mov rcx, rbx
call rsi
mov qword [0x14004caf0], rax
test rax, rax
je 0x14003bf70
lea rdx, str.pcap_set_snaplen
mov rcx, rbx
call rsi
mov qword [0x14004caf8], rax
test rax, rax
je 0x14003bf50
lea rdx, str.pcap_set_promisc
mov rcx, rbx
call rsi
mov qword [0x14004cb00], rax
test rax, rax
je 0x14003bf30
lea rdx, str.pcap_set_timeout
mov rcx, rbx
call rsi
mov qword [0x14004cb08], rax
test rax, rax
je 0x14003bf10
lea rdx, str.pcap_set_immediate_mode
mov rcx, rbx
call rsi
mov qword [0x14004cb10], rax
test rax, rax
je 0x14003bef0
lea rdx, str.pcap_set_buffer_size
mov rcx, rbx
call rsi
mov qword [0x14004cb18], rax
test rax, rax
je 0x14003bed0
lea rdx, str.pcap_set_rfmon
mov rcx, rbx
call rsi
mov qword [0x14004cb20], rax
test rax, rax
je 0x14003beb0
lea rdx, str.pcap_can_set_rfmon
mov rcx, rbx
call rsi
mov qword [0x14004cb28], rax
test rax, rax
je 0x14003be90
lea rdx, str.pcap_activate
mov rcx, rbx
call rsi
mov qword [0x14004cb30], rax
test rax, rax
je 0x14003c050
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 0x14003ba43
test byte [0x14004ca20], 4
je 0x14003ba43
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rsi
cmp eax, 0x7e
je 0x14003c277
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_34
jmp 0x14003be85
lea rdi, str.wpcap.dll
mov rcx, rdi
call rsi
mov rbx, rax
test rax, rax
jne 0x14003ba58
test byte [0x14004ca20], 4
jne 0x14003c24a
or eax, 0xffffffff
jmp 0x14003bdf7
lea rax, [sym.null_PCAP_CAN_SET_RFMON]
or byte [0x14004ca20], 1
mov qword [0x14004cb28], rax
jmp 0x14003bdbc
lea rax, [sym.null_PCAP_SET_RFMON]
or byte [0x14004ca20], 1
mov qword [0x14004cb20], rax
jmp 0x14003bda0
lea rax, [sym.null_PCAP_SET_BUFFER_SIZE]
or byte [0x14004ca20], 1
mov qword [0x14004cb18], rax
jmp 0x14003bd84
lea rax, [sym.null_PCAP_SET_IMMEDIATE_MODE]
or byte [0x14004ca20], 1
mov qword [0x14004cb10], rax
jmp 0x14003bd68
lea rax, [sym.null_PCAP_SET_TIMEOUT]
or byte [0x14004ca20], 1
mov qword [0x14004cb08], rax
jmp 0x14003bd4c
lea rax, [sym.null_PCAP_SET_PROMISC]
or byte [0x14004ca20], 1
mov qword [0x14004cb00], rax
jmp 0x14003bd30
lea rax, [sym.null_PCAP_SET_SNAPLEN]
or byte [0x14004ca20], 1
mov qword [0x14004caf8], rax
jmp 0x14003bd14
lea rax, [dbg.null_PCAP_CREATE]
or byte [0x14004ca20], 1
mov qword [0x14004caf0], rax
jmp 0x14003bcf8
lea rax, [dbg.null_PCAP_SENDQUEUE_QUEUE]
or byte [0x14004ca20], 1
mov qword [0x14004cae8], rax
jmp 0x14003bcdc
lea rax, [dbg.null_PCAP_SENDQUEUE_DESTROY]
or byte [0x14004ca20], 1
mov qword [0x14004cae0], rax
jmp 0x14003bcc0
lea rax, [dbg.null_PCAP_SENDQUEUE_TRANSMIT]
or byte [0x14004ca20], 1
mov qword [0x14004cad8], rax
jmp 0x14003bca4
lea rax, [dbg.null_PCAP_SENDQUEUE_ALLOC]
or byte [0x14004ca20], 1
mov qword [0x14004cad0], rax
jmp 0x14003bc88
lea rax, [dbg.null_PCAP_GETERR]
or byte [0x14004ca20], 1
mov qword [0x14004cab0], rax
jmp 0x14003bc3b
lea rax, [dbg.null_PCAP_PERROR]
or byte [0x14004ca20], 1
mov qword [0x14004caa8], rax
jmp 0x14003bc1f
lea rax, [sym.null_PCAP_ACTIVATE]
or byte [0x14004ca20], 1
mov qword [0x14004cb30], rax
jmp 0x14003bdd8
lea rax, [sym.null_PCAP_CLOSE]
or byte [0x14004ca20], 1
mov qword [sym.null_PCAP_CLOSE], rax
jmp 0x14003ba7b
lea rax, [dbg.null_PCAP_DISPATCH]
or byte [0x14004ca20], 1
mov qword [0x14004ca40], rax
jmp 0x14003bab3
lea rax, [dbg.null_PCAP_DATALINK]
or byte [0x14004ca20], 1
mov qword [0x14004ca38], rax
jmp 0x14003ba97
lea rax, [dbg.null_PCAP_LOOKUPDEV]
or byte [0x14004ca20], 1
mov qword [0x14004ca58], rax
jmp 0x14003bb23
lea rax, [dbg.null_PCAP_LIB_VERSION]
or byte [0x14004ca20], 1
mov qword [0x14004ca60], rax
jmp 0x14003bb07
lea rax, [sym.null_PCAP_FREEALLDEVS]
or byte [0x14004ca20], 1
mov qword [0x14004ca50], rax
jmp 0x14003baeb
lea rax, [dbg.null_PCAP_FINDALLDEVS]
or byte [0x14004ca20], 1
mov qword [0x14004ca48], rax
jmp 0x14003bacf
lea rax, [dbg.null_PCAP_DATALINK_VAL_TO_NAME]
or byte [0x14004ca20], 1
mov qword [0x14004caa0], rax
jmp 0x14003bc03
lea rax, [dbg.null_PCAP_SETDIRECTION]
or byte [0x14004ca20], 1
mov qword [0x14004ca98], rax
jmp 0x14003bbe7
lea rax, [sym.null_PCAP_NEXT]
or byte [0x14004ca20], 1
mov qword [0x14004ca90], rax
jmp 0x14003bbcb
lea rax, [dbg.null_PCAP_SENDPACKET]
or byte [0x14004ca20], 1
mov qword [0x14004ca88], rax
jmp 0x14003bbaf
lea rax, [sym.null_PCAP_OPEN_OFFLINE]
or byte [0x14004ca20], 1
mov qword [0x14004ca80], rax
jmp 0x14003bb93
lea rax, [dbg.null_PCAP_OPEN_LIVE]
or byte [0x14004ca20], 1
mov qword [0x14004ca78], rax
jmp 0x14003bb77
lea rax, [sym.null_PCAP_MINOR_VERSION]
or byte [0x14004ca20], 1
mov qword [0x14004ca70], rax
jmp 0x14003bb5b
lea rax, [sym.null_PCAP_MAJOR_VERSION]
or byte [0x14004ca20], 1
mov qword [0x14004ca68], rax
jmp 0x14003bb3f
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_34
jmp 0x14003be85
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_34
mov ecx, 2
call rsi
lea rdx, str.__HINT:_you_must_install_either_WinPcap_or_Npcap_n
mov rcx, rax
call sym.fprintf_34
jmp 0x14003be85