Function at 0x11172730
Capabilities:
Check for time delay via queryperformancecounter
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e9868
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov ecx, dword [ebp + 0x10]
push 0xa
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.MSVCR100.dll__itoa]
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x11172796
mov eax, dword [edi]
jmp 0x11172798
mov eax, edi
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x111727cf
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push edi
mov ecx, esi
mov byte [esi], 0
call fcn.11011a90
cmp dword [ebp - 0x24], 0x10
jb 0x11172969
mov edx, dword [ebp - 0x38]
push edx
jmp 0x11172961
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x44]
mov ebx, 2
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], 0x11
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp dword [edi + 0x14], 0x10
jb 0x11172817
mov edi, dword [edi]
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1117287d
mov edx, dword [ebp - 0x3c]
mov eax, edx
test edx, edx
je 0x11172876
cmp dword [eax + 4], ebx
jne 0x11172845
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 4], 0xffffffff
jne 0x1117284e
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x11172837
jmp 0x11172876
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
mov ecx, eax
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x11172860
sub ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.11011b80
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [0x1127f568]
mov ecx, eax
inc eax
mov dword [0x1127f568], eax
cmp ecx, 0xa
ja 0x111728ee
mov edi, dword [ebp - 0x54]
sub edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x50]
sbb ebx, dword [ebp - 0x48]
push 0
push 0x3e8
push ebx
push edi
call fcn.111d92f0
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
push ecx
push edx
push eax
call fcn.111d9040
push eax
push 0
push 0xf4240
push ebx
push edi
call fcn.111d92f0
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
push ecx
push edx
push eax
call fcn.111d9040
push eax
push str.getaddrinfo_for_radius_server_took__u_us___u_ms_n
call fcn.111bd7b0
add esp, 0xc
xor ebx, ebx
mov edi, 0xf
lea edx, [ebp - 0x38]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp esi, edx
je 0x11172957
cmp dword [esi + 0x14], 0x10
jb 0x11172915
mov eax, dword [esi]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x24], 0x10
jae 0x11172944
mov ecx, dword [ebp - 0x28]
inc ecx
push ecx
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x11172969
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [esi], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x11172969
cmp dword [ebp - 0x24], 0x10
jb 0x11172969
mov eax, dword [ebp - 0x38]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret