Function at 0x6461e0
Capabilities:
Check for time delay via gettickcount
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x44
mov eax, dword [0x6d63d0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x50], eax
jne 0x646201
mov ebp, 0x6d17c8
jmp 0x646212
push 0x118
call fcn.0067492b
add esp, 4
mov dword [esi], eax
mov ebp, eax
call sub.KERNEL32.dll_GetTickCount
push eax
call fcn.00674c7f
mov eax, dword [esp + 0x68]
lea edx, [ebp + 4]
add esp, 4
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x646230
mov eax, dword [esp + 0x68]
lea edx, [ebp + 0x44]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x646243
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x6c]
mov dword [ebp + 0xc0], eax
mov eax, dword [esp + 0x74]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0x114], edx
mov edx, dword [esp + 0x7c]
mov dword [ebp + 0x88], eax
mov eax, dword [esp + 0x80]
mov dword [ebp + 0x8c], ecx
mov ecx, dword [esp + 0x84]
mov dword [ebp + 0x90], edx
mov edx, dword [esp + 0x88]
mov dword [ebp + 0x94], eax
mov eax, dword [esp + 0x70]
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
lea ecx, [ecx]
call fcn.00674c8c
cdq
mov ecx, 0xff
idiv ecx
inc esi
cmp esi, 4
mov byte [esi + ebp + 0x83], dl
jl 0x646310
mov eax, dword [0x76ef98]
or esi, 0xffffffff
cmp eax, 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 0x6463af
call fcn.0063cc60
cmp eax, edi
je 0x6463af
xor ecx, ecx
mov dword [0x76ef98], ecx
lea esp, [esp]
mov edx, dword [eax + 0xc]
mov edx, dword [edx + ecx*4]
cmp edx, edi
je 0x6463a9
mov edx, dword [edx]
mov dword [ecx*4 + 0x76ee80], edx
inc ecx
cmp ecx, 5
jl 0x646390
mov dword [0x76ef98], ecx
cmp ebx, edi
je 0x646447
movsx eax, byte [0x772700]
cmp eax, edi
jne 0x646403
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x14]
push str._s.master.gamespy.com
push ecx
call fcn.00671a9a
add esp, 0xc
lea ebx, [esp + 0x10]
push 0x6cfc
mov word [ebp + 0xcc], 2
call sub.WSOCK32.dll_htons
cmp ebx, edi
mov word [ebp + 0xce], ax
jne 0x64640a
mov dword [ebp + 0xd0], edi
jmp 0x646416
mov ebx, 0x772700
jmp 0x6463dd
push ebx
call sub.WSOCK32.dll_inet_addr
mov dword [ebp + 0xd0], eax
cmp dword [ebp + 0xd0], esi
jne 0x646447
mov edi, str.255.255.255.255
mov esi, ebx
mov ecx, 0x10
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x646447
push ebx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x64645a
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
mov ecx, dword [esp + 0x40]
call fcn.00671b23
add esp, 0x44
ret
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
call fcn.00671b23
add esp, 0x44
ret