Function at 0x717c10
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
xor edi, edi
cmp esi, edi
jne 0x717c28
mov ebp, 0x8691c8
jmp 0x717c39
push pe_nt_image_headers32
call fcn.0071ed42
add esp, 4
mov dword [esi], eax
mov ebp, eax
call sub.KERNEL32.dll_GetTickCount
push eax
call fcn.0072019d
mov eax, dword [esp + 0x64]
lea edx, [ebp + 4]
add esp, 4
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x717c50
mov eax, dword [esp + 0x64]
lea edx, [ebp + 0x44]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x717c65
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x68]
mov dword [ebp + 0xc0], eax
mov eax, dword [esp + 0x70]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x74]
mov dword [ebp + 0x114], edx
mov edx, dword [esp + 0x78]
mov dword [ebp + 0x88], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + 0x8c], ecx
mov ecx, dword [esp + 0x80]
mov dword [ebp + 0x90], edx
mov edx, dword [esp + 0x84]
mov dword [ebp + 0x94], eax
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0xac], edi
mov dword [ebp + 0xb0], edi
mov dword [ebp + 0xb8], 1
mov dword [ebp + 0x98], ecx
mov dword [ebp + 0x9c], edx
mov dword [ebp + 0xa0], edi
mov dword [ebp + 0xa4], edi
mov dword [ebp + 0xdc], edi
mov dword [ebp + 0xbc], ebx
mov dword [ebp + 0xc4], edi
mov dword [ebp + 0xc8], eax
mov dword [ebp + 0x10c], edi
mov word [ebp + 0x110], di
mov dword [ebp + 0xa8], edi
mov dword [ebp + 0xb4], edi
xor esi, esi
mov edi, edi
call fcn.007201aa
cdq
mov ecx, 0xff
idiv ecx
add esi, 1
cmp esi, 4
mov byte [esi + ebp + 0x83], dl
jl 0x717d30
or esi, 0xffffffff
cmp dword [0x9aa908], edi
mov dword [ebp + 0xe0], esi
mov dword [ebp + 0xe4], esi
mov dword [ebp + 0xe8], esi
mov dword [ebp + 0xec], esi
mov dword [ebp + 0xf0], esi
mov dword [ebp + 0xf4], esi
mov dword [ebp + 0xf8], esi
mov dword [ebp + 0xfc], esi
mov dword [ebp + 0x100], esi
mov dword [ebp + 0x104], esi
mov dword [ebp + 0x108], edi
jne 0x717dd1
call fcn.00716850
cmp eax, edi
je 0x717dd1
xor ecx, ecx
mov dword [0x9aa908], ecx
lea ebx, [ebx]
mov edx, dword [eax + 0xc]
mov edx, dword [edx + ecx*4]
cmp edx, edi
je 0x717dcb
mov edx, dword [edx]
mov dword [ecx*4 + 0x9aa7f0], edx
add ecx, 1
cmp ecx, 5
jl 0x717db0
mov dword [0x9aa908], ecx
cmp ebx, edi
je 0x717e69
movsx eax, byte [0x9aae40]
cmp eax, edi
jne 0x717e25
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x14]
push str._s.master.gamespy.com
push ecx
call fcn.007210ab
add esp, 0xc
lea ebx, [esp + 0x10]
push 0x6cfc
mov word [ebp + 0xcc], 2
call sub.WS2_32.dll_htons
cmp ebx, edi
mov word [ebp + 0xce], ax
jne 0x717e2c
mov dword [ebp + 0xd0], edi
jmp 0x717e38
mov ebx, 0x9aae40
jmp 0x717dff
push ebx
call sub.WS2_32.dll_inet_addr
mov dword [ebp + 0xd0], eax
cmp dword [ebp + 0xd0], esi
jne 0x717e69
mov edi, str.255.255.255.255
mov esi, ebx
mov ecx, 0x10
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x717e69
push ebx
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x717e73
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp + 0xd0], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x40
ret