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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4d78
mov eax, dword fs:[0]
push eax
sub esp, 0x70
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 - 0x64], ecx
call fcn.10059e70
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x8a]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x86]
push eax
lea ecx, [ebp - 0x58]
call fcn.1000e9e0
mov dword [ebp - 4], 0
push 0x100d31a8
lea ecx, [ebp - 0x40]
call fcn.10005de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.1005a270
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.10005f30
lea ecx, [ebp - 0x70]
call fcn.1004a660
mov byte [ebp - 4], 4
mov dword [ebp - 0x60], 0
jmp 0x1005a012
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x7c]
call fcn.1000cf50
cmp dword [ebp - 0x60], eax
jae 0x1005a164
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x7c]
call fcn.1004d4d0
push eax
lea ecx, [ebp - 0x28]
call fcn.10008e80
mov byte [ebp - 4], 5
push 0x100d31ac
lea eax, [ebp - 0x28]
push eax
call fcn.100090e0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1005a062
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
jmp 0x1005a009
push 0
push 0x100d31b4
lea ecx, [ebp - 0x28]
call fcn.1000b9c0
test eax, eax
jne 0x1005a083
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
jmp 0x1005a009
push 0
push str.8.8.8.8
lea ecx, [ebp - 0x28]
call fcn.1000b9c0
test eax, eax
jne 0x1005a0a7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
jmp 0x1005a009
push 0
push str.114.114.114.114
lea ecx, [ebp - 0x28]
call fcn.1000b9c0
test eax, eax
jne 0x1005a0cb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
jmp 0x1005a009
call fcn.10059e70
add eax, 0x50
mov ecx, eax
call fcn.10021b60
movzx edx, al
test edx, edx
jne 0x1005a109
push 0
call fcn.10059e70
add eax, 0x50
push eax
lea ecx, [ebp - 0x28]
call fcn.10059f10
test eax, eax
jne 0x1005a109
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
jmp 0x1005a009
call fcn.10059e70
add eax, 0x68
mov ecx, eax
call fcn.10021b60
movzx eax, al
test eax, eax
jne 0x1005a147
push 0
call fcn.10059e70
add eax, 0x50
push eax
lea ecx, [ebp - 0x28]
call fcn.10059f10
test eax, eax
jne 0x1005a147
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
jmp 0x1005a009
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x70]
call fcn.100243f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005f30
jmp 0x1005a009
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x64]
add ecx, 0x120
call fcn.100752a0
mov ecx, dword [ebp - 0x64]
add ecx, 0x120
call fcn.10075e40
mov byte [ebp - 0x59], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.10017280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10017280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10005f30
mov al, byte [ebp - 0x59]
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