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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c40dc
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
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 - 0x98], ecx
mov dword [ebp - 0x74], 0
call fcn.1003ff40
movzx eax, byte [eax + 0x43c]
test eax, eax
je 0x10050dde
lea ecx, [ebp - 0x88]
call fcn.1004a660
mov dword [ebp - 4], 0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0xac]
call fcn.1002a8a0
mov byte [ebp - 4], 1
call fcn.1003ff40
add eax, 0x440
push eax
lea ecx, [ebp - 0x28]
call fcn.10008e80
mov byte [ebp - 4], 2
push 0x100d15a8
lea ecx, [ebp - 0x58]
call fcn.10005de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
push ecx
push 0x3e8
push 0
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x28]
call fcn.10007050
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1002bbb0
add esp, 4
push eax
lea ecx, [ebp - 0xac]
call fcn.1002a960
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10005f30
lea ecx, [ebp - 0x88]
call fcn.1000f7f0
movzx ecx, al
test ecx, ecx
jne 0x10050c71
push 0
lea ecx, [ebp - 0x88]
call fcn.1004d4d0
push eax
mov ecx, dword [ebp + 8]
call fcn.10008e80
mov edx, dword [ebp - 0x74]
or edx, 1
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.1002a8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10017280
mov eax, dword [ebp + 8]
jmp 0x10050df7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.1002a8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10017280
lea ecx, [ebp - 0x94]
call fcn.1004a660
mov dword [ebp - 4], 4
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0xc0]
call fcn.1002a8a0
mov byte [ebp - 4], 5
call fcn.1003ff40
add eax, 0x440
push eax
lea ecx, [ebp - 0x40]
call fcn.10008e80
mov byte [ebp - 4], 6
push 0x100d15b8
lea ecx, [ebp - 0x70]
call fcn.10005de0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x7c]
push eax
push 0x3e8
push 0
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10007050
push eax
lea edx, [ebp - 0x70]
push edx
call fcn.1002bbb0
add esp, 4
push eax
lea ecx, [ebp - 0xc0]
call fcn.1002a960
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.10005f30
lea ecx, [ebp - 0x94]
call fcn.1000f7f0
movzx eax, al
test eax, eax
jne 0x10050d90
push 0
lea ecx, [ebp - 0x94]
call fcn.1004d4d0
push eax
mov ecx, dword [ebp + 8]
call fcn.10008e80
mov ecx, dword [ebp - 0x74]
or ecx, 1
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10005f30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.1002a8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10017280
mov eax, dword [ebp + 8]
jmp 0x10050df7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10005f30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.1002a8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10017280
call fcn.1003ff40
add eax, 0x458
push eax
mov ecx, dword [ebp + 8]
call fcn.10008e80
mov edx, dword [ebp - 0x74]
or edx, 1
mov dword [ebp - 0x74], edx
mov eax, dword [ebp + 8]
jmp 0x10050df7
push 0x100d15c0
mov ecx, dword [ebp + 8]
call fcn.10005de0
mov eax, dword [ebp - 0x74]
or eax, 1
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
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 4