Function at 0x14000b190
Capabilities:
Reference google public dns server

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x310
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x308], rax
mov rbp, r8
mov r12, rdx
mov qword [rsp + 0x38], rdx
mov rdi, rcx
mov qword [r11 - 0x48], rdx
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x28], 0x78
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x40]
lea rdx, str._DNSMonitor::CheckAdapter_
lea rcx, [r11 - 0x1f8]
call fcn.140001d10
nop
movabs r14, 0x6666666666666667
mov r8, qword [0x140260548]
test r8, r8
je 0x14000b36a
mov rax, qword [r8]
mov edx, 0x7d0
mov rcx, r8
call qword [rax + 0x10]
test eax, eax
je 0x14000b363
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x1c0]
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov rcx, qword [rbp + 0x20]
sub rcx, qword [rbp + 0x18]
mov rax, r14
imul rcx
mov rbx, rdx
sar rbx, 4
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp qword [r12 + 0x20], 0x10
jb 0x14000b2b2
mov rsi, qword [r12 + 8]
jmp 0x14000b2b7
lea rsi, [r12 + 8]
lea rdx, str._DNSMonitor::CheckAdapter_
lea rcx, [rsp + 0x1c0]
call fcn.140002150
mov rcx, rax
mov rdx, rsi
call fcn.1400023c0
mov rcx, rax
lea rdx, str.dns_list_length:
call fcn.1400023c0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 8
cmovae r8, qword [rsp + 0x2e0]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x2f0]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x2d8]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov r8, qword [0x140260548]
jmp 0x14000b36a
mov r8, qword [0x140260548]
xor r13d, r13d
mov rcx, qword [rbp + 0x20]
sub rcx, qword [rbp + 0x18]
mov rax, r14
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14000b8eb
xor r12d, r12d
mov qword [rsp + 0x30], r12
nop word [rax + rax]
mov rsi, qword [rdi + 0x48]
cmp qword [rdi + 0x40], rsi
jbe 0x14000b3b0
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rbx, qword [rdi + 0x40]
cmp rbx, qword [rdi + 0x48]
jbe 0x14000b3c0
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov r14, qword [rdi + 0x28]
mov r15, qword [rdi + 0x48]
cmp qword [rdi + 0x40], r15
jbe 0x14000b3d4
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp + 0x20]
sub rcx, qword [rbp + 0x18]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r13, rdx
jb 0x14000b40b
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add r12, qword [rbp + 0x18]
cmp rbx, rsi
je 0x14000b42d
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
test al, al
jne 0x14000b42d
add rbx, 0x28
cmp rbx, rsi
jne 0x14000b414
test r14, r14
je 0x14000b439
cmp r14, qword [rsp + 0x20]
je 0x14000b43f
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp rbx, r15
jne 0x14000b492
inc r13
mov r12, qword [rsp + 0x30]
add r12, 0x28
mov qword [rsp + 0x30], r12
mov rcx, qword [rbp + 0x20]
sub rcx, qword [rbp + 0x18]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r13, rdx
jb 0x14000b3a0
mov r8, qword [0x140260548]
mov r12, qword [rsp + 0x38]
jmp 0x14000b8eb
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x14000b5d0
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x14000b5d0
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + rdx + 0x60]
lea rdx, [rsp + 0x20]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov rcx, qword [rbp + 0x20]
sub rcx, qword [rbp + 0x18]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r13, rdx
jb 0x14000b525
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea rax, [r13 + r13*4]
mov rcx, qword [rbp + 0x18]
cmp qword [rcx + rax*8 + 0x20], 0x10
jb 0x14000b53d
mov rbx, qword [rcx + rax*8 + 8]
jmp 0x14000b542
lea rbx, [rcx + rax*8 + 8]
lea rdx, str._DNSMonitor::CheckAdapter_
lea rcx, [rsp + 0x60]
call fcn.140002150
mov rcx, rax
lea rdx, str.BLACKLIST_contains_this_ip:
call fcn.140002150
mov rcx, rax
mov rdx, rbx
call fcn.1400023c0
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae r8, qword [rsp + 0x2b8]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x2c8]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov rcx, rdi
call fcn.14000bd10
test al, al
je 0x14000b8df
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
lea rdx, [0x1401b846a]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov r12, qword [rsp + 0x38]
mov rdx, r12
lea rcx, [rsp + 0x168]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14000b090
movzx r13d, al
lea r15, str._successeful
lea r14, str._failed__
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x14000b759
mov r8, qword [rcx]
mov edx, 0x7d0
call qword [r8 + 0x10]
test eax, eax
je 0x14000b759
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x60]
lea rdx, [rsp + 0x20]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
cmp qword [r12 + 0x20], 0x10
jb 0x14000b6b1
mov rsi, qword [r12 + 8]
jmp 0x14000b6b6
lea rsi, [r12 + 8]
mov rbx, r14
test r13b, r13b
cmovne rbx, r15
lea rdx, str._DNSMonitor::CheckAdapter_
lea rcx, [rsp + 0x60]
call fcn.140002150
mov rcx, rax
lea rdx, str.Reset_DNS_for_adapter
call fcn.140002150
mov rcx, rax
mov rdx, rsi
call fcn.1400023c0
mov rcx, rax
mov rdx, rbx
call fcn.1400023c0
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae r8, qword [rsp + 0x2b8]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x2c8]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.14000bd10
test al, al
jne 0x14000b8e4
lea rax, [rsp + 0x168]
mov qword [rsp + 0x20], rax
lea rdx, str.8.8.8.8
lea rcx, [rsp + 0x168]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov rdx, r12
lea rcx, [rsp + 0x190]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14000b090
movzx edi, al
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x14000b9d0
mov r8, qword [rcx]
mov edx, 0x7d0
call qword [r8 + 0x10]
test eax, eax
je 0x14000b8e4
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x60]
lea rdx, [rsp + 0x20]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
cmp qword [r12 + 0x20], 0x10
jb 0x14000b831
mov rbx, qword [r12 + 8]
jmp 0x14000b836
lea rbx, [r12 + 8]
test dil, dil
cmovne r14, r15
lea rdx, str._DNSMonitor::CheckAdapter_
lea rcx, [rsp + 0x60]
call fcn.140002150
mov rcx, rax
lea rdx, str.Reset_DNS_to_8.8.8.8_for_adapter
call fcn.140002150
mov rcx, rax
mov rdx, rbx
call fcn.1400023c0
mov rcx, rax
mov rdx, r14
call fcn.1400023c0
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae r8, qword [rsp + 0x2b8]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x2c8]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov r8, qword [0x140260548]
jmp 0x14000b8eb
mov r12, qword [rsp + 0x38]
mov r8, qword [0x140260548]
test r8, r8
je 0x14000b9d0
mov rax, qword [r8]
mov edx, 0x7d0
mov rcx, r8
call qword [rax + 0x10]
test eax, eax
je 0x14000b9d0
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x60]
lea rdx, [rsp + 0x20]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
lea rdx, str._DNSMonitor::CheckAdapter_
lea rcx, [rsp + 0x60]
call fcn.140002150
mov rcx, rax
lea rdx, str.checked_
call fcn.140002150
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae r8, qword [rsp + 0x2b8]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x2c8]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
nop
lea rcx, [rsp + 0x150]
call fcn.140001e50
nop
mov ecx, dword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, r12
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
mov rbx, qword [rbp + 0x18]
test rbx, rbx
je 0x14000ba20
mov rdi, qword [rbp + 0x20]
cmp rbx, rdi
je 0x14000ba17
mov rcx, rbx
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14000ba05
mov rcx, qword [rbp + 0x18]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x308]
xor rcx, rsp
call fcn.140155650
mov rbx, qword [rsp + 0x368]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret