Function at 0x140011500
Capabilities:
Execute command
Reference cloudflare dns server
Reference google public dns server

Disassembly:
jmp 0x140018550
push rbp
push rdi
mov eax, 0x1088
call fcn.14001114f
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2fa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x1058], rax
lea rcx, [0x14002e0f5]
call fcn.140011726
nop
call fcn.1400116a4
movzx eax, al
test eax, eax
jne 0x140018604
lea rdx, [0x1400240a8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110c8
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
nop
lea rdx, [0x1400240d0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
nop
call qword [sym.imp.ucrtbased.dll__kbhit]
test eax, eax
jne 0x1400185f4
jmp 0x1400185e8
call qword [sym.imp.ucrtbased.dll__getch]
mov byte [rbp + 4], al
xor eax, eax
jmp 0x140018da5
lea rcx, [rbp + 0x28]
call fcn.140011717
nop
lea rdx, [0x140024108]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
nop
lea rdx, [rbp + 0x28]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140011406
nop
lea rcx, [rbp + 0x68]
call fcn.140011717
nop
lea rdx, [0x140022df0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
nop
lea rdx, [rbp + 0x68]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140011406
nop
xor eax, eax
cmp eax, 1
je 0x140018d91
lea rdx, [0x140024138]
lea rcx, str.ping__n_3_8.8.8.8
call qword [sym.imp.ucrtbased.dll__popen]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x140018784
mov r8, qword [rbp + 0xa8]
mov edx, 0x100
lea rcx, [rbp + 0xd0]
call qword [sym.imp.ucrtbased.dll_fgets]
test rax, rax
je 0x1400186b6
jmp 0x140018696
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x1e8]
call fcn.14001132a
nop
lea rax, [rbp + 0xe48]
mov qword [rbp + 0xe88], rax
lea rdx, [rbp + 0x1e8]
mov rcx, qword [rbp + 0xe88]
call fcn.1400110f5
mov qword [rbp + 0x1038], rax
mov r9d, 3
mov r8d, 6
mov rdx, qword [rbp + 0x1038]
lea rcx, [rbp + 0x228]
call fcn.140011438
nop
lea rcx, [rbp + 0x228]
call fcn.1400110a5
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x264], eax
lea rdx, str.8.8.8.8:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
mov edx, dword [rbp + 0x264]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
nop
mov eax, dword [rbp + 0x264]
mov dword [0x1400284c0], eax
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
lea rcx, [rbp + 0x228]
call fcn.140011159
nop
lea rcx, [rbp + 0x1e8]
call fcn.140011159
nop
lea rdx, [0x140024138]
lea rcx, str.ping__n_3_8.8.4.4
call qword [sym.imp.ucrtbased.dll__popen]
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0
je 0x1400188aa
mov r8, qword [rbp + 0x288]
mov edx, 0x100
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.ucrtbased.dll_fgets]
test rax, rax
je 0x1400187cd
jmp 0x1400187ad
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x3c8]
call fcn.14001132a
nop
lea rax, [rbp + 0xea8]
mov qword [rbp + 0xee8], rax
lea rdx, [rbp + 0x3c8]
mov rcx, qword [rbp + 0xee8]
call fcn.1400110f5
mov qword [rbp + 0x1038], rax
mov r9d, 3
mov r8d, 6
mov rdx, qword [rbp + 0x1038]
lea rcx, [rbp + 0x408]
call fcn.140011438
nop
lea rcx, [rbp + 0x408]
call fcn.1400110a5
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x444], eax
lea rdx, [0x14002418c]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, str.8.8.4.4:
mov rcx, rax
call fcn.1400110c8
mov edx, dword [rbp + 0x444]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
nop
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
mov eax, dword [rbp + 0x444]
mov dword [0x1400284c4], eax
lea rcx, [rbp + 0x408]
call fcn.140011159
nop
lea rcx, [rbp + 0x3c8]
call fcn.140011159
nop
lea rdx, [0x140024138]
lea rcx, str.ping__n_3_1.1.1.1
call qword [sym.imp.ucrtbased.dll__popen]
mov qword [rbp + 0x468], rax
cmp qword [rbp + 0x468], 0
je 0x1400189d0
mov r8, qword [rbp + 0x468]
mov edx, 0x100
lea rcx, [rbp + 0x490]
call qword [sym.imp.ucrtbased.dll_fgets]
test rax, rax
je 0x1400188f3
jmp 0x1400188d3
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x5a8]
call fcn.14001132a
nop
lea rax, [rbp + 0xf08]
mov qword [rbp + 0xf48], rax
lea rdx, [rbp + 0x5a8]
mov rcx, qword [rbp + 0xf48]
call fcn.1400110f5
mov qword [rbp + 0x1038], rax
mov r9d, 3
mov r8d, 6
mov rdx, qword [rbp + 0x1038]
lea rcx, [rbp + 0x5e8]
call fcn.140011438
nop
lea rcx, [rbp + 0x5e8]
call fcn.1400110a5
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x624], eax
lea rdx, [0x14002418c]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, str.1.1.1.1:
mov rcx, rax
call fcn.1400110c8
mov edx, dword [rbp + 0x624]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
nop
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
mov eax, dword [rbp + 0x624]
mov dword [0x1400284c8], eax
lea rcx, [rbp + 0x5e8]
call fcn.140011159
nop
lea rcx, [rbp + 0x5a8]
call fcn.140011159
nop
lea rdx, [0x140024138]
lea rcx, str.ping__n_3_1.0.0.1
call qword [sym.imp.ucrtbased.dll__popen]
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
je 0x140018b05
mov r8, qword [rbp + 0x648]
mov edx, 0x100
lea rcx, [rbp + 0x670]
call qword [sym.imp.ucrtbased.dll_fgets]
test rax, rax
je 0x140018a19
jmp 0x1400189f9
lea rdx, [rbp + 0x670]
lea rcx, [rbp + 0x788]
call fcn.14001132a
nop
lea rax, [rbp + 0xf68]
mov qword [rbp + 0xfa8], rax
lea rdx, [rbp + 0x788]
mov rcx, qword [rbp + 0xfa8]
call fcn.1400110f5
mov qword [rbp + 0x1038], rax
mov r9d, 3
mov r8d, 6
mov rdx, qword [rbp + 0x1038]
lea rcx, [rbp + 0x7c8]
call fcn.140011438
nop
lea rcx, [rbp + 0x7c8]
call fcn.1400110a5
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [rbp + 0x804], eax
lea rdx, [0x14002418c]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, str.1.0.0.1:
mov rcx, rax
call fcn.1400110c8
mov edx, dword [rbp + 0x804]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x14002418c]
mov rcx, rax
call fcn.1400110c8
nop
mov eax, dword [rbp + 0x804]
mov dword [0x1400284cc], eax
mov rcx, qword [rbp + 0x648]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
lea rcx, [rbp + 0x7c8]
call fcn.140011159
nop
lea rcx, [rbp + 0x788]
call fcn.140011159
nop
mov eax, dword [0x1400284c0]
mov dword [rbp + 0x824], eax
mov eax, dword [0x1400284c4]
mov dword [rbp + 0x844], eax
mov eax, dword [0x1400284c8]
mov dword [rbp + 0x864], eax
mov eax, dword [0x1400284cc]
mov dword [rbp + 0x884], eax
mov eax, dword [rbp + 0x824]
mov dword [rbp + 0x8a4], eax
mov eax, dword [rbp + 0x8a4]
cmp dword [rbp + 0x844], eax
jge 0x140018b5b
mov eax, dword [rbp + 0x844]
mov dword [rbp + 0x8a4], eax
mov eax, dword [rbp + 0x8a4]
cmp dword [rbp + 0x864], eax
jge 0x140018b75
mov eax, dword [rbp + 0x864]
mov dword [rbp + 0x8a4], eax
mov eax, dword [rbp + 0x8a4]
cmp dword [rbp + 0x884], eax
jge 0x140018b8f
mov eax, dword [rbp + 0x884]
mov dword [rbp + 0x8a4], eax
lea rcx, [rbp + 0x8c8]
call fcn.140011717
nop
mov eax, dword [0x1400284c0]
cmp dword [rbp + 0x8a4], eax
jne 0x140018bbe
lea rdx, str.8.8.8.8
lea rcx, [rbp + 0x8c8]
call fcn.140011041
nop
mov eax, dword [0x1400284c4]
cmp dword [rbp + 0x8a4], eax
jne 0x140018be0
lea rdx, str.8.8.4.4
lea rcx, [rbp + 0x8c8]
call fcn.140011041
nop
mov eax, dword [0x1400284c8]
cmp dword [rbp + 0x8a4], eax
jne 0x140018c02
lea rdx, str.1.1.1.1
lea rcx, [rbp + 0x8c8]
call fcn.140011041
nop
mov eax, dword [0x1400284cc]
cmp dword [rbp + 0x8a4], eax
jne 0x140018c24
lea rdx, str.1.0.0.1
lea rcx, [rbp + 0x8c8]
call fcn.140011041
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x908]
call fcn.1400110f5
nop
lea r8, [rbp + 0x908]
lea rdx, str.netsh_interface_ip_set_dns_name_
lea rcx, [rbp + 0xfc8]
call fcn.140011055
mov qword [rbp + 0x1038], rax
mov rax, qword [rbp + 0x1038]
mov qword [rbp + 0x1040], rax
lea r8, str.__static
mov rdx, qword [rbp + 0x1040]
lea rcx, [rbp + 0x1008]
call fcn.140011690
mov qword [rbp + 0x1048], rax
mov rax, qword [rbp + 0x1048]
mov qword [rbp + 0x1050], rax
lea r8, [rbp + 0x8c8]
mov rdx, qword [rbp + 0x1050]
lea rcx, [rbp + 0x948]
call fcn.140011271
nop
lea rcx, [rbp + 0x1008]
call fcn.140011159
nop
lea rcx, [rbp + 0xfc8]
call fcn.140011159
nop
lea rcx, [rbp + 0x948]
call fcn.1400110a5
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0x984], eax
cmp dword [rbp + 0x984], 0
jne 0x140018d12
lea rdx, [0x140024280]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
nop
jmp 0x140018d36
lea rdx, [0x1400242a8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
nop
mov r8d, 0xa
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.140011244
mov dword [rbp + 0x9a4], eax
cmp dword [rbp + 0x9a4], 0
jne 0x140018d58
jmp 0x140018d65
mov ecx, dword [rbp + 0x9a4]
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rbp + 0x948]
call fcn.140011159
nop
lea rcx, [rbp + 0x908]
call fcn.140011159
nop
lea rcx, [rbp + 0x8c8]
call fcn.140011159
nop
jmp 0x140018662
lea rcx, [rbp + 0x68]
call fcn.140011159
nop
lea rcx, [rbp + 0x28]
call fcn.140011159
nop
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140023650]
call fcn.1400115eb
mov rax, rdi
mov rcx, qword [rbp + 0x1058]
xor rcx, rbp
call fcn.14001137f
lea rsp, [rbp + 0x1068]
pop rdi
pop rbp
ret