Function at 0x411684
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x14
call fcn.0051fdd5
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
add ebx, 0x10
push ebx
push 0xc
call fcn.0051fdd5
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x88e6fe
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 1
push ecx
push ebx
push 0xc
call fcn.0051fdd5
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4116d8
pop ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41171f
mov eax, 0x6024b4
push eax
push 1
mov ebx, 0x5243a0
call fcn.0051fded
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411749
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x6024b4
push dword [ebp - 4]
call fcn.0040102b
add esp, 8
cmp eax, 0
je 0x411787
mov eax, dword [ebp - 4]
test eax, eax
je 0x411782
push eax
mov ebx, eax
call fcn.004010d0
inc eax
push eax
call fcn.0051fdd5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x411896
push 1
mov eax, str.8.8.8.8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.00408722
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4117b3
push ebx
call fcn.0051fddb
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4117ce
push ebx
call fcn.0051fddb
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4117f0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4117ec
imul eax, dword [ebx]
jmp 0x4117e1
mov ecx, eax
test ecx, ecx
je 0x41181f
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41180e
push ebx
call fcn.0051fddb
add esp, 4
pop ebx
call fcn.0051fddb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4117f6
call fcn.0051fddb
add esp, 4
pop ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
jne 0x411853
mov eax, 0x6024b4
jmp 0x411896
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x411891
push eax
mov ebx, eax
call fcn.004010d0
inc eax
push eax
call fcn.0051fdd5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x411896
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4118a7
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4118be
push ebx
call fcn.0051fddb
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4118e0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4118dc
imul eax, dword [ebx]
jmp 0x4118d1
mov ecx, eax
test ecx, ecx
je 0x41190f
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4118fe
push ebx
call fcn.0051fddb
add esp, 4
pop ebx
call fcn.0051fddb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4118e6
call fcn.0051fddb
add esp, 4
pop ebx
call fcn.0051fddb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4