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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43a688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x4134
call fcn.00437df0
mov eax, dword [0x44e7a0]
push ebx
push esi
push edi
mov esi, ecx
push str.DownloadPeerTransfer
lea ecx, [esp + 0x10]
mov dword [esp + 0x4140], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esi + 0x18]
push 0x440140
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
add ecx, 0x27c
push ebx
push ecx
mov dword [esp + 0x415c], ebx
call dword [sym.imp.KwLogSvr.dll_void___cdecl_YL_Log_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x414c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov byte [esp + 0x134], bl
mov word [esp + 0x135], bx
mov dword [esp + 0x130], ebx
mov ecx, 0x1000
lea edi, [esp + 0x137]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x134]
push eax
call dword [edx + 4]
mov edx, dword [esi + 0x18]
push esi
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [edx + 0x278]
call fcn.004297f0
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi + 0x54]
cmp ecx, ebx
jne 0x4190d2
mov ecx, dword [esi + 0x58]
sub eax, ecx
mov ecx, eax
cmp ecx, ebx
je 0x4190e6
mov eax, 0xfa0000
xor edx, edx
div ecx
mov dword [esi + 0x5c], eax
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x278]
push esi
call fcn.00428240
test al, al
jne 0x4191b8
cmp byte [esi + 0x4c], bl
jne 0x4191b8
mov eax, dword [esi + 0x18]
mov dword [esi + 0x24], 0xa
inc dword [eax + 0x78]
mov eax, dword [esi + 0x18]
inc dword [eax + 0x38]
push str.DownloadPeerTransfer
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edx, dword [esi + 0x18]
push 0x440124
lea ecx, [esp + 0x10]
push ecx
add edx, 0x27c
push ebx
push edx
mov dword [esp + 0x415c], 1
call dword [sym.imp.KwLogSvr.dll_void___cdecl_YL_Log_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x414c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esi + 0x24]
push 0x7f
lea eax, [esp + 0x2c]
push str.All_request_packets_has_been_received
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
mov dword [esp + 0xb4], esi
add esp, 0xc
mov byte [esp + 0xa7], bl
mov ecx, 0x21
lea esi, [esp + 0x28]
lea edi, [esp + 0xac]
rep movsd dword es:[edi], dword [esi]
push 0x446b4c
lea ecx, [esp + 0xb0]
push ecx
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [esp + 0x4144]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x413c]
call fcn.00437d67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4