Function at 0x41a168
Capabilities:
Reference 114dns dns server
Reference google public dns server
Reference opendns dns server

Disassembly:
push 0x28
mov eax, 0x465d82
call fcn.00435814
mov edi, ecx
mov dword [ebp - 0x18], edi
lea ecx, [edi + 0x10f4]
call fcn.00417421
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x483dfc
mov dword [ebp - 4], ebx
call fcn.00415415
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x46d95c
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.208.67.222.222
mov byte [ebp - 4], 1
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.opendns
mov byte [ebp - 4], 2
call fcn.004076dd
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.004197ea
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.8.8.4.4
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.8.8.8.8
mov byte [ebp - 4], 3
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.google
mov byte [ebp - 4], 4
call fcn.004076dd
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.004197ea
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.114.114.115.115
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.114.114.114.114
mov byte [ebp - 4], 5
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x46e234
mov byte [ebp - 4], 6
call fcn.004076dd
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.004197ea
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
sub eax, esi
cdq
mov ecx, 0x6bc
idiv ecx
test eax, eax
je 0x41a2f5
cmp esi, dword [ebp - 0x30]
je 0x41a2f5
add esi, 0x474
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
test eax, eax
jg 0x41a2a4
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
test eax, eax
jle 0x41a2e4
push 1
push 1
push ecx
lea eax, [esi + 0x20]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004076dd
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
mov byte [ebp - 4], 7
call fcn.004076dd
push ecx
lea eax, [esi + 0x40]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 8
call fcn.004076dd
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.004197ea
add esi, 0x6bc
lea eax, [esi - 0x474]
cmp eax, dword [ebp - 0x30]
jne 0x41a28b
mov eax, dword [0x485f10]
mov dword [ebp - 0x10], ebx
cmp eax, ebx
jle 0x41a419
mov dword [ebp - 0x14], ebx
mov esi, str._IND
cmp dword [ebp - 0x10], ebx
jl 0x41a427
cmp dword [ebp - 0x10], eax
jge 0x41a427
mov eax, dword [0x485f0c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
cmp dword [eax + 4], 2
jl 0x41a39c
cmp dword [eax + 4], 1
push ebx
push ebx
jle 0x41a427
mov eax, dword [eax]
mov eax, dword [eax + 8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov edi, esp
push eax
call fcn.00405e04
add eax, 0x10
pop ecx
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 9
cmp eax, dword [0x485f10]
jge 0x41a427
mov eax, dword [0x485f0c]
mov ecx, dword [ebp - 0x14]
cmp dword [eax + ecx + 4], ebx
jle 0x41a427
mov eax, dword [eax + ecx]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
call fcn.00405e04
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x24], esp
jmp 0x41a3f1
cmp dword [eax + 4], 1
jl 0x41a404
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x46c7fc
call fcn.004076dd
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xb
cmp eax, dword [0x485f10]
jge 0x41a427
mov eax, dword [0x485f0c]
mov ecx, dword [ebp - 0x14]
cmp dword [eax + ecx + 4], ebx
jle 0x41a427
mov eax, dword [eax + ecx]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
call fcn.00405e04
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x1c], esp
mov ecx, esp
push esi
call fcn.004076dd
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004197ea
mov eax, dword [0x485f10]
inc dword [ebp - 0x10]
add dword [ebp - 0x14], 0x10
cmp dword [ebp - 0x10], eax
jl 0x41a30d
lea ecx, [ebp - 0x34]
call fcn.00414faf
call fcn.004358ec
ret
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.DLL_RaiseException]