Function at 0x43e190
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
mov eax, dword [0x45a4f0]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and eax, 0xfffffffd
or eax, 4
push str.NPcapPacket.dll
mov dword [0x45a4f0], eax
call edi
test eax, eax
jne 0x43e23d
push str.Packet.dll
call edi
test eax, eax
jne 0x43e23d
test byte [0x45a4f0], 4
je 0x43e23d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x7e
je 0x43e201
call esi
push eax
push str.Packet.dll
push str._s:_couldnt_load__d_n_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ecx
ret
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push str.Packet.dll
push str._s:_not_found_n
push 2
call esi
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
push str.__HINT:_you_must_install_either_WinPcap_or_Npcap_n_n
push 2
call esi
add esp, 4
push eax
call fcn.00401010
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ecx
ret
push str.Npcapwpcap.dll
call edi
mov esi, eax
test esi, esi
jne 0x43e271
push str.wpcap.dll
call edi
mov esi, eax
test esi, esi
jne 0x43e271
test byte [0x45a4f0], 4
je 0x43e1fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.wpcap.dll
jmp 0x43e1e1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.pcap_close
push esi
call edi
mov dword [fcn.0040c140], eax
test eax, eax
jne 0x43e299
or dword [0x45a4f0], 1
mov dword [fcn.0040c140], 0x40c140
push str.pcap_datalink
push esi
call edi
mov dword [0x45a500], eax
test eax, eax
jne 0x43e2bb
or dword [0x45a4f0], 1
mov dword [0x45a500], 0x410cb0
push str.pcap_dispatch
push esi
call edi
mov dword [0x45a504], eax
test eax, eax
jne 0x43e2dd
or dword [0x45a4f0], 1
mov dword [0x45a504], 0x410cb0
push str.pcap_findalldevs
push esi
call edi
mov dword [0x45a508], eax
test eax, eax
jne 0x43e2ff
or dword [0x45a4f0], 1
mov dword [0x45a508], 0x43df80
push str.pcap_freealldevs
push esi
call edi
mov dword [0x45a50c], eax
test eax, eax
jne 0x43e321
or dword [0x45a4f0], 1
mov dword [0x45a50c], 0x40c140
push str.pcap_lib_version
push esi
call edi
mov dword [0x45a514], eax
test eax, eax
jne 0x43e343
or dword [0x45a4f0], 1
mov dword [0x45a514], 0x43e010
push str.pcap_lookupdev
push esi
call edi
mov dword [0x45a510], eax
test eax, eax
jne 0x43e365
or dword [0x45a4f0], 1
mov dword [0x45a510], 0x43dfb0
push str.pcap_major_version
push esi
call edi
mov dword [0x45a518], eax
test eax, eax
jne 0x43e387
or dword [0x45a4f0], 1
mov dword [0x45a518], 0x410cb0
push str.pcap_minor_version
push esi
call edi
mov dword [0x45a51c], eax
test eax, eax
jne 0x43e3a9
or dword [0x45a4f0], 1
mov dword [0x45a51c], 0x410cb0
push str.pcap_open_live
push esi
call edi
mov dword [0x45a520], eax
test eax, eax
jne 0x43e3cb
or dword [0x45a4f0], 1
mov dword [0x45a520], 0x43dfe0
push str.pcap_open_offline
push esi
call edi
mov dword [0x45a524], eax
test eax, eax
jne 0x43e3ed
or dword [0x45a4f0], 1
mov dword [0x45a524], 0x43e040
push str.pcap_sendpacket
push esi
call edi
mov dword [0x45a528], eax
test eax, eax
jne 0x43e40f
or dword [0x45a4f0], 1
mov dword [0x45a528], 0x43e060
push str.pcap_next
push esi
call edi
mov dword [0x45a52c], eax
test eax, eax
jne 0x43e431
or dword [0x45a4f0], 1
mov dword [0x45a52c], 0x43e080
push str.pcap_setdirection
push esi
call edi
mov dword [0x45a530], eax
test eax, eax
jne 0x43e453
or dword [0x45a4f0], 1
mov dword [0x45a530], 0x43e0a0
push str.pcap_datalink_val_to_name
push esi
call edi
mov dword [0x45a534], eax
test eax, eax
jne 0x43e475
or dword [0x45a4f0], 1
mov dword [0x45a534], 0x43e0c0
push str.pcap_perror
push esi
call edi
mov dword [0x45a538], eax
test eax, eax
jne 0x43e497
or dword [0x45a4f0], 1
mov dword [0x45a538], 0x43e0e0
push str.pcap_geterr
push esi
call edi
mov dword [0x45a53c], eax
test eax, eax
jne 0x43e4b9
or dword [0x45a4f0], 1
mov dword [0x45a53c], 0x43e110
push str.pcap_sendqueue_alloc
push esi
mov dword [0x45a540], 0x43e120
mov dword [0x45a544], 0x43e130
mov dword [0x45a548], 0x43e140
call edi
mov dword [0x45a54c], eax
test eax, eax
jne 0x43e4f9
or dword [0x45a4f0], 1
mov dword [0x45a54c], 0x410cb0
push str.pcap_sendqueue_transmit
push esi
call edi
mov dword [0x45a550], eax
test eax, eax
jne 0x43e51b
or dword [0x45a4f0], 1
mov dword [0x45a550], 0x43e060
push str.pcap_sendqueue_destroy
push esi
call edi
mov dword [0x45a554], eax
test eax, eax
jne 0x43e53d
or dword [0x45a4f0], 1
mov dword [0x45a554], 0x43e150
push str.pcap_sendqueue_queue
push esi
call edi
mov dword [0x45a558], eax
test eax, eax
jne 0x43e55f
or dword [0x45a4f0], 1
mov dword [0x45a558], 0x43e170
push str.pcap_create
push esi
call edi
mov dword [0x45a55c], eax
test eax, eax
jne 0x43e581
or dword [0x45a4f0], 1
mov dword [0x45a55c], 0x410cb0
push str.pcap_set_snaplen
push esi
call edi
mov dword [0x45a560], eax
test eax, eax
jne 0x43e5a3
or dword [0x45a4f0], 1
mov dword [0x45a560], 0x410cb0
push str.pcap_set_promisc
push esi
call edi
mov dword [0x45a564], eax
test eax, eax
jne 0x43e5c5
or dword [0x45a4f0], 1
mov dword [0x45a564], 0x410cb0
push str.pcap_set_timeout
push esi
call edi
mov dword [0x45a568], eax
test eax, eax
jne 0x43e5e7
or dword [0x45a4f0], 1
mov dword [0x45a568], 0x410cb0
push str.pcap_set_immediate_mode
push esi
call edi
mov dword [0x45a56c], eax
test eax, eax
jne 0x43e609
or dword [0x45a4f0], 1
mov dword [0x45a56c], 0x410cb0
push str.pcap_set_buffer_size
push esi
call edi
mov dword [0x45a570], eax
test eax, eax
jne 0x43e62b
or dword [0x45a4f0], 1
mov dword [0x45a570], 0x410cb0
push str.pcap_set_rfmon
push esi
call edi
mov dword [0x45a574], eax
test eax, eax
jne 0x43e64d
or dword [0x45a4f0], 1
mov dword [0x45a574], 0x410cb0
push str.pcap_can_set_rfmon
push esi
call edi
mov dword [0x45a578], eax
test eax, eax
jne 0x43e66f
or dword [0x45a4f0], 1
mov dword [0x45a578], 0x410cb0
push str.pcap_activate
push esi
call edi
mov dword [0x45a57c], eax
test eax, eax
mov eax, dword [0x45a4f0]
jne 0x43e692
or eax, 1
mov dword [0x45a57c], 0x410cb0
test al, 1
jne 0x43e6a4
or eax, 2
mov dword [0x45a4f0], eax
xor eax, eax
pop edi
pop esi
pop ecx
ret
and eax, 0xfffffffd
pop edi
mov dword [0x45a4f0], eax
xor eax, eax
pop esi
pop ecx
ret