Function at 0x140032c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
mov rsi, rcx
mov edi, edx
mov ecx, 1
mov edx, 0x30
mov qword [rsp + 0x40], 0x70616370
mov r12d, r9d
mov ebp, r8d
mov qword [rsp + 0x48], 0
and r12d, 1
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
call dbg.CALLOC
movzx r9d, byte [rax + 0x18]
mov rbx, rax
and r9d, 0xfffffffe
or r9d, r12d
mov byte [rax + 0x18], r9b
call sym.pixie_getthetime
test rax, rax
js 0x1400330f0
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
movzx edx, byte [rsp + 0x1b0]
movzx eax, byte [rbx + 0x18]
divsd xmm0, qword [0x1400659f0]
movsd qword [rbx + 0x20], xmm0
and edx, 1
and eax, 0xfffffffd
add edx, edx
or eax, edx
mov byte [rbx + 0x18], al
mov eax, dword [rsp + 0x1b8]
mov dword [rbx + 0x1c], eax
mov eax, dword [rsp + 0x1a0]
test eax, eax
jne 0x140032f9b
movzx eax, byte [rsi]
test al, al
je 0x140032e34
lea rdx, [rsi + 1]
mov ecx, 1
xor r8d, r8d
nop dword [rax]
sub eax, 0x30
cmp al, 0xa
cmovae ecx, r8d
movzx eax, byte [rdx]
add rdx, 1
test al, al
jne 0x140032e18
test ecx, ecx
jne 0x140033110
test edi, edi
je 0x140032e48
mov rcx, rsi
call sym.is_pfring_dna
test eax, eax
je 0x14003335a
mov rcx, rsi
call sym.is_pfring_dna
test eax, eax
jne 0x140032fb0
cmp dword [rsi], 0x656c6966
je 0x140033140
mov rdi, qword [0x140068a40]
lea r12, [rsp + 0x40]
call qword [rdi + 0x40]
mov r8, rsi
lea rdx, str.___if__s_:_pcap:__s_n
mov ecx, 1
mov r9, rax
call dbg.LOG
mov r8, rsi
mov ecx, 2
lea rdx, str.___if__s_:_opening..._n
call dbg.LOG
mov rcx, rsi
mov rdx, r12
call qword [rdi + 0xd0]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x140033198
mov edx, 0x10000
call qword [rdi + 0xd8]
mov rcx, qword [rbx]
test eax, eax
jne 0x1400332d0
mov edx, 8
call qword [rdi + 0xe0]
mov rcx, qword [rbx]
test eax, eax
jne 0x140033320
mov edx, 0x3e8
call qword [rdi + 0xe8]
mov rcx, qword [rbx]
test eax, eax
jne 0x1400333b1
mov edx, 1
call qword [rdi + 0xf0]
mov rcx, qword [rbx]
test eax, eax
jne 0x1400333c3
call qword [rdi + 0x110]
mov r12d, eax
cmp eax, 0xfffffff8
je 0x140033390
test eax, eax
jne 0x1400332e8
mov r8, rsi
lea rdx, str.___if__s_:_successfully_opened_n
mov ecx, 1
call dbg.LOG
mov rcx, qword [rbx]
call qword [rdi + 0x18]
mov dword [rbx + 0x28], eax
test eax, eax
je 0x1400332b0
jg 0x140033250
cmp eax, 0xffffffff
jne 0x140033288
mov rcx, qword [rbx]
lea rdx, str.if:_datalink
call qword [rdi + 0x88]
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x140032f82
call qword [rdi + 0x10]
mov qword [rbx], 0
lea rdx, str.vmnet1
mov rcx, rsi
call sym.strcmp
test eax, eax
je 0x14003337b
xor ebx, ebx
mov rax, rbx
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r8, rsi
lea rdx, str.pfring:_s:_opening..._n
mov ecx, 2
call dbg.LOG
xor r8d, r8d
mov edx, 0x5dc
mov rcx, rsi
mov rdi, qword [0x140068a50]
call qword [rdi]
mov dword [rbx + 0x28], 1
mov qword [rbx + 0x10], rax
mov qword [rbx], rax
test rax, rax
je 0x140033332
mov r8, rsi
lea rdx, str.pfring:_s:_successfully_opened_n
mov ecx, 1
call dbg.LOG
mov rcx, qword [rbx + 0x10]
lea rdx, str.masscan
call qword [rdi + 0x40]
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x3c]
call qword [rdi + 0x30]
mov eax, dword [rsp + 0x3c]
movzx edx, al
movzx ecx, ah
shr eax, 0x10
mov dword [rsp + 0x20], edx
mov r9d, ecx
mov r8d, eax
lea rdx, str.pfring:_version__d._d._d_n
mov ecx, 1
call dbg.LOG
mov r8, rsi
mov ecx, 2
lea rdx, str.pfring:_s:_setting_direction_n
call dbg.LOG
mov rcx, qword [rbx + 0x10]
mov edx, 1
call qword [rdi + 0x38]
mov ebp, eax
test eax, eax
je 0x140033230
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r9d, ebp
mov r8, rsi
lea rdx, str.pfring:_s:_setdirection___d_n
mov rcx, rax
call sym.fprintf_28
mov ecx, 2
mov r8, rsi
lea rdx, str.pfring:_s:_activating_n
call dbg.LOG
mov rcx, qword [rbx + 0x10]
call qword [rdi + 0x10]
test eax, eax
je 0x140033210
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call dbg.strerror_x
mov r8, rsi
lea rdx, str.pfring:__s:_ENABLE_ERROR:__s_n
xor ecx, ecx
mov r9, rax
call dbg.LOG
mov rcx, qword [rbx + 0x10]
call qword [rdi + 8]
mov qword [rbx + 0x10], 0
xor ebx, ebx
jmp 0x140032f9b
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x140032dbf
mov rcx, rsi
call sym.atoi
mov ecx, eax
call dbg.adapter_from_index
test rax, rax
je 0x1400333d5
mov rsi, rax
test edi, edi
je 0x140032e48
jmp 0x140032e38
cmp byte [rsi + 4], 0x3a
jne 0x140032e64
lea r13, [rsi + 5]
mov ecx, 1
lea r12, [rsp + 0x40]
mov r8, r13
lea rdx, str.pcap:_file:__s_n
call dbg.LOG
mov rdi, qword [0x140068a40]
mov rdx, r12
mov rcx, r13
mov dword [0x1401720c8], 1
call qword [rdi + 0x60]
mov qword [rbx], rax
mov rcx, rax
call qword [rdi + 0x18]
mov dword [rbx + 0x28], eax
jmp 0x140032e70
mov qword [rsp + 0x20], r12
mov r9d, 0x3e8
mov edx, 0x10000
mov rcx, rsi
mov r8d, 8
call qword [rdi + 0x58]
mov qword [rbx], rax
test rax, rax
jne 0x140032f2b
xor ecx, ecx
lea rdx, str.FAIL:_s:_cant_open_adapter:__s_n
mov r9, r12
mov r8, rsi
call dbg.LOG
lea rdx, str.perm
mov rcx, r12
call sym.strstr
test rax, rax
je 0x140032f99
lea rdx, str.FAIL:_permission_denied_n
xor ecx, ecx
xor ebx, ebx
call dbg.LOG
lea rdx, str.__hint__need_to_sudo_or_run_as_root_or_something_n
xor ecx, ecx
call dbg.LOG
jmp 0x140032f9b
mov r8, rsi
lea rdx, str.pfring:_s:_successfully_enabled_n
mov ecx, 1
call dbg.LOG
jmp 0x140032f9b
mov r8, rsi
lea rdx, str.pfring:_s:_direction_success_n
mov ecx, 2
call dbg.LOG
jmp 0x14003308f
cmp eax, 1
je 0x140033260
cmp eax, 0xc
jne 0x140033288
nop word [rax + rax]
mov qword [rbx + 8], 0
test ebp, ebp
je 0x140032f9b
mov ecx, 0x80000
call qword [rdi + 0xb0]
mov qword [rbx + 8], rax
jmp 0x140032f9b
mov ecx, eax
call qword [rdi + pe_nt_image_headers64]
mov r9d, dword [rbx + 0x28]
mov r8, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea rdx, str.____if__s_:_unknown_data_link_type:__u__s__n
call dbg.LOG
jmp 0x140033260
mov r8, rsi
lea rdx, str.___if__s_:_VPN_tunnel_interface_found_n
mov ecx, 1
call dbg.LOG
jmp 0x140033260
lea rdx, str.if:_set_snaplen
call qword [rdi + 0x88]
jmp 0x140032f70
mov rcx, qword [rbx]
call qword [rdi + 0x90]
xor ecx, ecx
mov r9d, r12d
mov r8, rsi
mov qword [rsp + 0x20], rax
lea rdx, str.____if__s_:_activate:_d:__s_n
call dbg.LOG
test r12d, r12d
jns 0x140032f2b
jmp 0x140032f70
lea rdx, str.if:_set_promisc
call qword [rdi + 0x88]
jmp 0x140032f70
call qword [sym.imp.msvcrt.dll__errno]
xor ebx, ebx
mov ecx, dword [rax]
call dbg.strerror_x
mov r8, rsi
lea rdx, str.pfring:_s:_OPEN_ERROR:__s_n
xor ecx, ecx
mov r9, rax
call dbg.LOG
jmp 0x140032f9b
mov ecx, 2
xor ebx, ebx
call qword [dbg.__acrt_iob_func]
lea rdx, str.No_pfring_adapter_available._Please_install_pfring_or_run_masscan_without_the___pfring_option._n
mov rcx, rax
call sym.fprintf_28
jmp 0x140032f9b
lea rdx, str.__hint__VMware_on_Macintosh_doesnt_support_masscan_n
xor ecx, ecx
xor ebx, ebx
call dbg.LOG
jmp 0x140032f9b
xor ecx, ecx
lea rdx, str.____FAIL:_permission_denied_n
call dbg.LOG
lea rdx, str._____hint__need_to_sudo_or_run_as_root_or_something_n
xor ecx, ecx
call dbg.LOG
jmp 0x140032f70
lea rdx, str.if:_set_timeout
call qword [rdi + 0x88]
jmp 0x140032f70
lea rdx, str.if:_set_immediate_mode
call qword [rdi + 0x88]
jmp 0x140032f70
mov ecx, 2
xor ebx, ebx
call qword [dbg.__acrt_iob_func]
mov r8, rsi
lea rdx, str.pcap_open_live__s__error:_bad_index_n
mov rcx, rax
call sym.fprintf_28
jmp 0x140032f9b