Function at 0x46cc70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x5cc1b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x64aa84]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x48]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x46cce5
mov ecx, dword [0x6613e0]
push esi
call fcn.0046f610
test eax, eax
je 0x46ccec
mov eax, dword [esi + 0x8e8]
test eax, eax
je 0x46cce5
cmp dword [eax + 0x7e4], 0xb
jne 0x46cce5
mov ecx, dword [0x6613e0]
call fcn.0046f6a0
test eax, eax
je 0x46ccec
push str._ED2K_Queued_download_was_dropped_due_to_connection_overloading
push 3
push 0x661308
call fcn.0046abf0
add esp, 0xc
xor eax, eax
jmp 0x46cf83
cmp dword [esi + 0x7dc], 0x1000000
push edi
jae 0x46cee1
mov eax, dword [0x6613ac]
push eax
push 0x6613ac
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x46ce50
mov edx, dword [esi + 0x7f8]
test edx, edx
je 0x46ce50
mov eax, dword [esi + 0x8e8]
mov ecx, dword [eax + 0x7d8]
cmp word [ecx + 0x50], 0
mov edi, 2
jne 0x46cd82
push edx
lea ecx, [esi + 0x20]
push str.m_nVagaaID_u_Old_Tou_
push ecx
mov word [esi + 0x12], 0
call fcn.0040a170
mov eax, dword [esi + 0x7f8]
add esp, 0xc
lea edx, [esi + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0041bef0
test eax, eax
jne 0x46cd71
xor eax, eax
jmp 0x46cf82
mov ecx, dword [esi + 0x7f8]
push ecx
push str._ED__connect_to_VagaaID___u___old_tou__
jmp 0x46ce25
test eax, eax
je 0x46ce32
test ecx, ecx
je 0x46ce32
mov edx, dword [ecx + 0x94]
test edx, edx
je 0x46ce32
mov word [esp + 0x10], di
mov edx, dword [eax + 0x7d8]
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x7d8]
xor eax, eax
mov ax, word [edx + 0x50]
add ax, 0xa
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x7f8]
push ecx
lea edx, [esi + 0x20]
push str._u_new_tou_
push edx
mov word [esp + 0x1e], ax
call fcn.0040a170
mov ecx, dword [esi + 0x8e8]
mov edx, dword [ecx + 0x7d8]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x94]
push eax
mov ecx, esi
call fcn.0041bef0
test eax, eax
je 0x46cd6a
mov ecx, dword [esi + 0x8e8]
mov edx, dword [ecx + 0x7d8]
mov eax, dword [edx + 0x94]
push eax
push str._ED__connect_to_NewVG_ID___u___new_tou__
push 0x661308
call fcn.004e9a20
add esp, 0xc
push 0
push 0
push 0
mov ecx, esi
call fcn.00474b60
mov dword [esi + 0x44], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x30], eax
jmp 0x46cf7d
mov ebx, dword [sym.imp.WS2_32.dll_htons]
xor ecx, ecx
mov cx, word [esi + 0x7e6]
lea edi, [esi + 0x7e8]
push ecx
call ebx
mov ecx, dword [esi + 0x7dc]
movzx edx, ax
mov eax, dword [edi]
push edx
push eax
push ecx
lea edx, [esi + 0x20]
push str.Push__u_to__u:_u
push edx
call fcn.0040a170
xor eax, eax
mov ax, word [esi + 0x7e6]
add esp, 0x14
push 0
push 0
push eax
call ebx
mov ecx, dword [esi + 0x7dc]
push eax
push edi
push ecx
mov ecx, dword [0x6613f4]
call fcn.00492390
test eax, eax
je 0x46cd6a
mov edx, dword [esi + 0x7dc]
push edx
push str._ED__Push_to_ClientID___u
push 0x661308
mov dword [esi + 0x44], 7
call fcn.004e9a20
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x30], eax
jmp 0x46cf7d
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.0041bf20
test eax, eax
je 0x46cd6a
mov ecx, dword [esi + 0x14]
push ecx
mov dword [esi + 0x44], 1
lea edi, [esi + 0x20]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, edi
call fcn.00405320
lea ecx, [esp + 0xc]
call fcn.00401b20
mov dword [esp + 0x2c], 0
xor edx, edx
mov dx, word [esi + 0x12]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea ecx, [esp + 0x10]
push 0x5ecd14
push ecx
call fcn.0040a170
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
mov ecx, edi
call fcn.00403130
mov edx, dword [edi]
mov eax, dword [esi + 0x7dc]
push edx
push eax
push 0x5eccd0
push 0x661308
call fcn.004e9a20
add esp, 0x10
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0xc]
call fcn.00401b70
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18]
pop ebx
call fcn.0057981f
add esp, 0x24
ret