Function at 0x4573e0
Capabilities:
Reference alidns dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov eax, 0x8f4806
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004576b9
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45741f
push ebx
call fcn.00495453
add esp, 4
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 5
jg 0x457459
cmp dword [0xaa97d8], 1
jne 0x45743e
jmp 0x457459
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 0x3e8
call fcn.004031d4
pop ecx
jmp 0x457421
add esp, 4
mov ebx, 6
call fcn.00401e5b
push ioctlsocket
push 0
push 0x45837d
push 3
mov eax, 2
mov ebx, 0x505020
call fcn.0049544d
add esp, 0x28
cmp dword [0xaa98c4], 1
jne 0x45749b
jmp 0x4576a5
cmp dword [0xaa97d8], 1
jne 0x457509
cmp dword [0xaa9914], 2
jne 0x457504
mov dword [0xaa9914], 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 0x2711
push 0x80000301
push 0
push 0x2711
push 0x1000a
push 0x16010c8c
push 0x52010001
push 4
mov ebx, 0x4993e0
call fcn.00495459
add esp, 0x34
jmp 0x457688
push 1
push 0
push 1
lea eax, [ebp - 4]
push eax
mov eax, 0x5eb419
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, str.223.5.5.5
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, str.ping.dll
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040371b
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45754f
push ebx
call fcn.00495453
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45755f
push ebx
call fcn.00495453
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45756f
push ebx
call fcn.00495453
add esp, 4
push 0x554f42
push dword [ebp - 4]
call fcn.00401dbe
add esp, 8
cmp eax, 0
jne 0x457594
mov dword [ebp - 8], 0x1e
jmp 0x45759b
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0x1e
jne 0x457662
mov eax, dword [ebp - 8]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x45765a
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
push 0x80000601
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
mov ebx, 0x4973c0
call fcn.00495459
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x8f4837
push dword [ebp - 0x28]
push 0x8f4847
mov ecx, 3
call fcn.004010a7
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x457621
push ebx
call fcn.00495453
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.004576b9
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x45763a
push ebx
call fcn.00495453
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 0x3e8
call fcn.004031d4
pop eax
pop ebx
pop ecx
jmp 0x4575b1
add esp, 0xc
jmp 0x457683
mov eax, 0x8f4885
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004576b9
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x457683
push ebx
call fcn.00495453
add esp, 4
call fcn.00457f11
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 0x3e8
call fcn.004031d4
jmp 0x457489
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4576b5
push ebx
call fcn.00495453
add esp, 4
mov esp, ebp
pop ebp
ret