Function at 0x40d780
Capabilities:
Reference 114dns dns server
Reference alidns dns server
Reference google public dns server

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463cf0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x48700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x48b384]
cmp eax, dword [edx + 4]
jle 0x40d821
push 0x48b384
call fcn.00461445
add esp, 4
cmp dword [0x48b384], 0xffffffff
jne 0x40d821
push 0x46ad30
mov dword [0x48b388], 0
mov dword [0x48b38c], 0
mov dword [0x48b390], 0
call fcn.004617a1
push 0x48b384
call fcn.004613fb
add esp, 8
mov ecx, dword [0x48b38c]
mov eax, 0x2aaaaaab
mov esi, dword [0x48b388]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40def5
push 0xf
push str.114.114.114.114
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
call fcn.00403560
mov dword [ebp - 4], 0
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40d8a0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40d8b2
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x48b388
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40d8ec
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d8e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d8e2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 0xf
push str.114.114.115.115
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00403560
mov dword [ebp - 4], 1
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40d94b
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40d95d
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x48b388
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40d997
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d98d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d98d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 7
push str.8.8.8.8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00403560
mov dword [ebp - 4], 2
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40d9f6
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40da08
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x48b388
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40da42
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40da38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40da38
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 7
push str.8.8.4.4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00403560
mov dword [ebp - 4], 3
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40daa1
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40dab3
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x48b388
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40daed
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dae3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40dae3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 0xb
push str.101.226.4.6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00403560
mov dword [ebp - 4], 4
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40db4c
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40db5e
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x48b388
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40db98
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40db8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40db8e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 0xc
push str.180.76.76.76
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00403560
mov dword [ebp - 4], 5
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40dbf7
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40dc09
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x48b388
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40dc43
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40dc39
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 7
push str.1.2.4.8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00403560
mov dword [ebp - 4], 6
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40dca2
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40dcb4
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x48b388
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40dcee
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dce4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40dce4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 0xc
push str.119.29.29.29
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00403560
mov dword [ebp - 4], 7
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40dd4d
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40dd5f
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x48b388
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40dd99
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dd8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40dd8f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 9
push str.223.5.5.5
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00403560
mov dword [ebp - 4], 8
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40ddf8
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40de0a
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x48b388
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40de44
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40de3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40de3a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 9
push str.223.6.6.6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00403560
mov dword [ebp - 4], 9
mov eax, dword [0x48b38c]
cmp dword [0x48b390], eax
je 0x40dea3
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [0x48b38c], 0x18
jmp 0x40deb5
lea edx, [ebp - 0x2c]
mov ecx, 0x48b388
push edx
push eax
call fcn.00411df0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40deef
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dee5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40dee5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
mov esi, dword [0x48b388]
mov ecx, dword [0x48b38c]
mov eax, 0x2aaaaaab
sub ecx, esi
xor edi, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x30], eax
je 0x40df4f
cmp eax, edi
jbe 0x40df73
mov edx, dword [ebp - 0x34]
mov eax, edx
cmp dword [edx + 0x14], 0x10
jb 0x40df26
mov eax, dword [edx]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40df30
mov ecx, dword [esi]
push dword [edx + 0x10]
push eax
push dword [esi + 0x10]
push ecx
call fcn.00402b80
add esp, 0x10
test eax, eax
je 0x40df6f
mov eax, dword [ebp - 0x30]
inc edi
add esi, 0x18
cmp eax, edi
ja 0x40df19
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00461231
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov al, 1
jmp 0x40df51
call fcn.004110b0
int3