Function at 0x1004bac0
Capabilities:
Reference 114dns dns server
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3ab1
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [eax + 0x2e]
test ecx, ecx
je 0x1004bd06
lea ecx, [ebp - 0xb4]
call fcn.1004a660
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x28]
call fcn.10005de0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.100377f0
add esp, 8
movzx edx, al
test edx, edx
jne 0x1004bb80
mov dword [ebp - 0xb8], 1
jmp 0x1004bb8a
mov dword [ebp - 0xb8], 0
mov al, byte [ebp - 0xb8]
mov byte [ebp - 0xa5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005f30
movzx ecx, byte [ebp - 0xa5]
test ecx, ecx
je 0x1004bbb8
lea ecx, [ebp - 0xb4]
call fcn.1006b710
lea ecx, [ebp - 0xb4]
call fcn.1000f7f0
movzx edx, al
test edx, edx
je 0x1004bbeb
lea eax, [ebp - 0xb4]
push eax
call fcn.10037740
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x1004bbeb
lea ecx, [ebp - 0xb4]
call fcn.1006b710
lea ecx, [ebp - 0xb4]
call fcn.1006c810
test eax, eax
jne 0x1004bc63
push 0x100d03c4
lea ecx, [ebp - 0x40]
call fcn.10005de0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
push edx
call fcn.1002bbb0
add esp, 4
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10005f30
push 0x100d03cc
lea ecx, [ebp - 0x58]
call fcn.10005de0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x58]
push edx
call fcn.1002bbb0
add esp, 4
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10005f30
jmp 0x1004bcef
lea ecx, [ebp - 0xb4]
call fcn.1006c810
cmp eax, 1
jne 0x1004bcbf
push 0
lea ecx, [ebp - 0xb4]
call fcn.10063520
mov edx, dword [ebp - 0xa4]
mov eax, dword [eax]
mov dword [edx + 0x24], eax
push 0x100d03dc
lea ecx, [ebp - 0x70]
call fcn.10005de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
push ecx
call fcn.1002bbb0
add esp, 4
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.10005f30
jmp 0x1004bcef
push 0
lea ecx, [ebp - 0xb4]
call fcn.10063520
mov ecx, dword [ebp - 0xa4]
mov edx, dword [eax]
mov dword [ecx + 0x24], edx
push 1
lea ecx, [ebp - 0xb4]
call fcn.10063520
mov ecx, dword [ebp - 0xa4]
mov edx, dword [eax]
mov dword [ecx + 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.10062af0
jmp 0x1004bd88
push str.8.8.8.1
lea ecx, [ebp - 0x88]
call fcn.10005de0
mov dword [ebp - 4], 5
lea eax, [ebp - 0x88]
push eax
call fcn.1002bbb0
add esp, 4
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10005f30
push 0x100d03ec
lea ecx, [ebp - 0xa0]
call fcn.10005de0
mov dword [ebp - 4], 6
lea edx, [ebp - 0xa0]
push edx
call fcn.1002bbb0
add esp, 4
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x28], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.10005f30
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x30], 0
jne 0x1004bd98
xor al, al
jmp 0x1004bddd
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa4]
call fcn.1004ad10
movzx ecx, al
mov edx, dword [ebp - 0xa4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 4], 0
jne 0x1004bddb
xor al, al
jmp 0x1004bddd
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret 0x1c