Function at 0x1400763c0
Capabilities:
Reference google public dns server

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1d0
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, r8
mov rdi, rdx
mov r13, rcx
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x58], r8
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x20], 0x78
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x50]
lea rdx, [0x14025d868]
lea rcx, [rbp + 0x60]
call fcn.14003fda0
nop
mov r14d, 0x7d0
mov rsi, qword [0x1402de630]
test rsi, rsi
je 0x140076585
mov rax, qword [rsi]
mov edx, r14d
mov rcx, rsi
call qword [rax + 0x10]
test eax, eax
je 0x14007657e
lea edx, [r12 + 2]
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x60]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400764bc
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400764bc
mov r8, qword [rax]
lea edx, [r12 + 1]
mov rcx, rax
call qword [r8]
nop
mov rbx, qword [r15 + 8]
sub rbx, qword [r15]
sar rbx, 5
cmp qword [rdi + 0x18], 0x10
jb 0x1400764d3
mov rsi, qword [rdi]
jmp 0x1400764d6
mov rsi, rdi
lea rdx, [0x14025d868]
lea rcx, [rsp + 0x60]
call fcn.140043d80
mov rcx, rax
mov rdx, rsi
call fcn.140043a10
mov rcx, rax
lea rdx, str.d_l_le:
call fcn.140043a10
mov rcx, rax
mov rdx, rbx
call fcn.14006ef2c
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.14003ffc0
nop
lea r8, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r8, qword [rbp + 0x80]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x90]
mov edx, r14d
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140006e40
nop
lea rcx, [rbp - 0x18]
call fcn.14003fff0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14010acb0
nop
mov rsi, qword [0x1402de630]
mov r14, r12
mov rax, qword [r15 + 8]
sub rax, qword [r15]
sar rax, 5
test rax, rax
je 0x140076b0e
mov rbx, qword [r13 + 0x28]
mov rcx, qword [r15]
mov qword [rsp + 0x28], rcx
mov r12, rbx
cmp rbx, qword [r13 + 0x30]
je 0x1400765db
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov rcx, r12
call fcn.1400761e4
test al, al
jne 0x1400765cf
add r12, 0x20
cmp r12, qword [r13 + 0x30]
jne 0x1400765b6
mov rsi, qword [0x1402de630]
mov rcx, qword [rsp + 0x28]
cmp r12, qword [r13 + 0x30]
jne 0x140076605
inc r14
add rcx, 0x20
mov qword [rsp + 0x28], rcx
mov rax, qword [r15 + 8]
sub rax, qword [r15]
sar rax, 5
cmp r14, rax
jb 0x1400765a8
xor r12d, r12d
jmp 0x140076b0e
xor r12d, r12d
test rsi, rsi
je 0x140076734
mov rax, qword [rsi]
mov edx, 0x7d0
mov rcx, rsi
call qword [rax + 0x10]
test eax, eax
je 0x140076734
lea edx, [r12 + 2]
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x60]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140076684
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140076684
mov r8, qword [rax]
lea edx, [r12 + 1]
mov rcx, rax
call qword [r8]
nop
shl r14, 5
add r14, qword [r15]
cmp qword [r14 + 0x18], 0x10
jb 0x140076695
mov r14, qword [r14]
lea rdx, [0x14025d868]
lea rcx, [rsp + 0x60]
call fcn.140043d80
mov rcx, rax
lea rdx, str.B_C_this_i:
call fcn.140043d80
mov rcx, rax
mov rdx, r14
call fcn.140043a10
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.14003ffc0
nop
lea r8, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r8, qword [rbp + 0x80]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x90]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140006e40
nop
lea rcx, [rbp - 0x18]
call fcn.14003fff0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14010acb0
nop
mov rcx, r13
call fcn.140077474
test al, al
je 0x140076b07
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x90], r12
mov byte [rbp + 0x80], r12b
xor r8d, r8d
lea rdx, [0x14025d840]
lea rcx, [rbp + 0x80]
call fcn.140007260
nop
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x30], r12b
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140007390
nop
lea r8, [rbp + 0x80]
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.140077c2c
mov r14b, al
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x14007690d
mov r8, qword [rcx]
mov edx, 0x7d0
call qword [r8 + 0x10]
test eax, eax
je 0x14007690d
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x60]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007683f
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14007683f
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
cmp qword [rdi + 0x18], 0x10
jb 0x14007684b
mov rsi, qword [rdi]
jmp 0x14007684e
mov rsi, rdi
lea rax, [0x14021d87c]
lea rbx, [0x14021d880]
test r14b, r14b
cmovne rbx, rax
lea rdx, [0x14025d868]
lea rcx, [rsp + 0x60]
call fcn.140043d80
mov rcx, rax
lea rdx, [0x14021d888]
call fcn.140043d80
mov rcx, rax
mov rdx, rsi
call fcn.140043a10
mov rcx, rax
mov rdx, rbx
call fcn.140043a10
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.14003ffc0
nop
lea r8, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r8, qword [rbp + 0x80]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x90]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140006e40
nop
lea rcx, [rbp - 0x18]
call fcn.14003fff0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14010acb0
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r13
call fcn.140077474
test al, al
jne 0x140076b07
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x90], r12
mov byte [rbp + 0x80], r12b
mov r8d, 7
lea rdx, str.8.8.8.8
lea rcx, [rbp + 0x80]
call fcn.140007260
nop
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xb0], r12
mov byte [rbp + 0xa0], r12b
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.140007390
nop
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0xa0]
mov rcx, r13
call fcn.140077c2c
mov r14b, al
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x140076c1d
mov r8, qword [rcx]
mov edx, 0x7d0
call qword [r8 + 0x10]
test eax, eax
je 0x140076b07
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x60]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140076a30
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140076a30
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
cmp qword [rdi + 0x18], 0x10
jb 0x140076a3c
mov rsi, qword [rdi]
jmp 0x140076a3f
mov rsi, rdi
lea rax, str._successeful
lea rbx, str._failed__
test r14b, r14b
cmovne rbx, rax
lea rdx, [0x14025d868]
lea rcx, [rsp + 0x60]
call fcn.140043d80
mov rcx, rax
lea rdx, str.Reset_DNS_to_8.8.8.8_for_adapter
call fcn.140043d80
mov rcx, rax
mov rdx, rsi
call fcn.140043a10
mov rcx, rax
mov rdx, rbx
call fcn.140043a10
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.14003ffc0
nop
lea r8, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae r8, qword [rbp + 0xa0]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0xb0]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xa0]
call fcn.140006e40
nop
lea rcx, [rbp - 0x18]
call fcn.14003fff0
nop
lea rbx, vtable.std::ios_base.0
mov qword [rbp - 0x18], rbx
lea rcx, [rbp - 0x18]
call fcn.14010acb0
nop
mov rsi, qword [0x1402de630]
jmp 0x140076b15
mov rsi, qword [0x1402de630]
lea rbx, vtable.std::ios_base.0
test rsi, rsi
je 0x140076c1d
mov rax, qword [rsi]
mov edx, 0x7d0
mov rcx, rsi
call qword [rax + 0x10]
test eax, eax
je 0x140076c1d
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x60]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140076b90
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140076b90
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
lea rdx, [0x14025d868]
lea rcx, [rsp + 0x60]
call fcn.140043d80
mov rcx, rax
lea rdx, str.checked_
call fcn.140043d80
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.14003ffc0
nop
lea r8, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae r8, qword [rbp + 0xa0]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0xb0]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xa0]
call fcn.140006e40
nop
lea rcx, [rbp - 0x18]
call fcn.14003fff0
nop
mov qword [rbp - 0x18], rbx
lea rcx, [rbp - 0x18]
call fcn.14010acb0
nop
lea rcx, [rbp + 0x60]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp qword [rdi + 0x18], 0x10
jb 0x140076c4e
mov rdx, qword [rdi + 0x18]
inc rdx
mov r8d, 1
mov rcx, qword [rdi]
call fcn.140002a70
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], r12
cmp qword [rdi + 0x18], 0x10
jb 0x140076c64
mov rdi, qword [rdi]
mov byte [rdi], r12b
mov rcx, r15
call fcn.1400782dc
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret